Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Issue 29353237: Issue 4361 - Pass all parameters to initEvent (Closed)

Created:
Sept. 15, 2016, 5:57 p.m. by kzar
Modified:
Sept. 19, 2016, 7:15 a.m.
Reviewers:
Sebastian Noack
Visibility:
Public.

Description

Issue 4361 - Pass all parameters to initEvent

Patch Set 1 #

Total comments: 7

Patch Set 2 : load and error events shouldn't be cancelable #

Patch Set 3 : Use sendMessageSync #

Total comments: 2

Patch Set 4 : Fixed typo #

Unified diffs Side-by-side diffs Delta from patch set Stats (+4 lines, -8 lines) Patch
M safari/ext/content.js View 1 2 chunks +2 lines, -2 lines 0 comments Download
M safari/include.youtube.js View 1 2 3 1 chunk +2 lines, -6 lines 0 comments Download

Messages

Total messages: 9
kzar
Patch Set 1
Sept. 15, 2016, 5:57 p.m. (2016-09-15 17:57:59 UTC) #1
Sebastian Noack
https://codereview.adblockplus.org/29353237/diff/29353238/safari/ext/content.js File safari/ext/content.js (right): https://codereview.adblockplus.org/29353237/diff/29353238/safari/ext/content.js#newcode156 safari/ext/content.js:156: evt.initEvent(eventName, false, true); "load" and "error" event don't bubble. ...
Sept. 16, 2016, 12:42 p.m. (2016-09-16 12:42:53 UTC) #2
Sebastian Noack
https://codereview.adblockplus.org/29353237/diff/29353238/safari/ext/content.js File safari/ext/content.js (right): https://codereview.adblockplus.org/29353237/diff/29353238/safari/ext/content.js#newcode156 safari/ext/content.js:156: evt.initEvent(eventName, false, true); On 2016/09/16 12:42:52, Sebastian Noack wrote: ...
Sept. 16, 2016, 12:48 p.m. (2016-09-16 12:48:52 UTC) #3
kzar
Patch Set 2 : load and error events shouldn't be cancelable https://codereview.adblockplus.org/29353237/diff/29353238/safari/ext/content.js File safari/ext/content.js (right): ...
Sept. 16, 2016, 1 p.m. (2016-09-16 13:00:43 UTC) #4
Sebastian Noack
https://codereview.adblockplus.org/29353237/diff/29353238/safari/include.youtube.js File safari/include.youtube.js (right): https://codereview.adblockplus.org/29353237/diff/29353238/safari/include.youtube.js#newcode26 safari/include.youtube.js:26: beforeLoadEvent.initEvent("beforeload", false, true); On 2016/09/16 13:00:43, kzar wrote: > ...
Sept. 16, 2016, 1:29 p.m. (2016-09-16 13:29:03 UTC) #5
kzar
Patch Set 3 : Use sendMessageSync Note: I've not tested this patch set yet. https://codereview.adblockplus.org/29353237/diff/29353238/safari/include.youtube.js ...
Sept. 16, 2016, 2:04 p.m. (2016-09-16 14:04:24 UTC) #6
Sebastian Noack
https://codereview.adblockplus.org/29353237/diff/29353297/safari/include.youtube.js File safari/include.youtube.js (right): https://codereview.adblockplus.org/29353237/diff/29353297/safari/include.youtube.js#newcode26 safari/include.youtube.js:26: key: "safariContentBlocker"} != true)) Here is a typo. You ...
Sept. 16, 2016, 2:06 p.m. (2016-09-16 14:06:43 UTC) #7
kzar
Patch Set 4 : Fixed typo Note: Not tested this patch set yet either. https://codereview.adblockplus.org/29353237/diff/29353297/safari/include.youtube.js ...
Sept. 16, 2016, 2:10 p.m. (2016-09-16 14:10:36 UTC) #8
Sebastian Noack
Sept. 16, 2016, 2:12 p.m. (2016-09-16 14:12:32 UTC) #9
LGTM

Powered by Google App Engine
This is Rietveld