Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(337)

Issue 19693006: Pass column as 4th argument to WorkerGlobalScope.onerror handler (Closed)

Created:
7 years, 5 months ago by do-not-use
Modified:
7 years, 5 months ago
CC:
blink-reviews, Nils Barth (inactive), kojih, jsbell+bindings_chromium.org, eae+blinkwatch, abarth-chromium, marja+watch_chromium.org, dglazkov+blink, adamk+blink_chromium.org, haraken, Nate Chapin, lgombos
Visibility:
Public.

Description

Pass column as 4th argument to WorkerGlobalScope.onerror handler As per the latest WebWorker specification, the WorkerGlobalScope.onerror event handler should be given the column as fourth argument: http://www.whatwg.org/specs/web-apps/current-work/multipage/workers.html#workerglobalscope http://www.whatwg.org/specs/web-apps/current-work/multipage/webappapis.html#onerroreventhandler The behavior is consistent with IE10. Note that ErrorEvent.column is not exposed yet because no other browser implements it except IE10 which uses a different name ("colno"). BUG=262126 R=abarth@chromium.org, arv@chromium.org Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=154630

Patch Set 1 #

Total comments: 1

Patch Set 2 : Add non-worker tests #

Patch Set 3 : Add FIXME comment #

Patch Set 4 : Rebase on master #

Unified diffs Side-by-side diffs Delta from patch set Stats (+101 lines, -79 lines) Patch
M LayoutTests/fast/events/window-onerror1.html View 1 1 chunk +2 lines, -2 lines 0 comments Download
M LayoutTests/fast/events/window-onerror1-expected.txt View 1 1 chunk +1 line, -1 line 0 comments Download
M LayoutTests/fast/events/window-onerror11.html View 1 1 chunk +2 lines, -2 lines 0 comments Download
M LayoutTests/fast/events/window-onerror11-expected.txt View 1 1 chunk +1 line, -1 line 0 comments Download
M LayoutTests/fast/events/window-onerror12.html View 1 1 chunk +2 lines, -1 line 0 comments Download
M LayoutTests/fast/events/window-onerror12-expected.txt View 1 1 chunk +1 line, -0 lines 0 comments Download
M LayoutTests/fast/events/window-onerror13.html View 1 1 chunk +1 line, -1 line 0 comments Download
M LayoutTests/fast/events/window-onerror14.html View 1 1 chunk +1 line, -1 line 0 comments Download
M LayoutTests/fast/events/window-onerror16.html View 1 1 chunk +1 line, -1 line 0 comments Download
M LayoutTests/fast/events/window-onerror2.html View 1 1 chunk +2 lines, -2 lines 0 comments Download
M LayoutTests/fast/events/window-onerror2-expected.txt View 1 1 chunk +3 lines, -3 lines 0 comments Download
M LayoutTests/fast/events/window-onerror4.html View 1 1 chunk +2 lines, -2 lines 0 comments Download
M LayoutTests/fast/events/window-onerror4-expected.txt View 1 1 chunk +1 line, -1 line 0 comments Download
M LayoutTests/fast/events/window-onerror5.html View 1 1 chunk +2 lines, -2 lines 0 comments Download
M LayoutTests/fast/events/window-onerror5-expected.txt View 1 1 chunk +1 line, -1 line 0 comments Download
M LayoutTests/fast/events/window-onerror6.html View 1 1 chunk +2 lines, -2 lines 0 comments Download
M LayoutTests/fast/events/window-onerror6-expected.txt View 1 1 chunk +1 line, -1 line 0 comments Download
M LayoutTests/fast/events/window-onerror7.html View 1 1 chunk +2 lines, -2 lines 0 comments Download
M LayoutTests/fast/events/window-onerror7-expected.txt View 1 1 chunk +1 line, -1 line 0 comments Download
M LayoutTests/fast/events/window-onerror8.html View 1 1 chunk +2 lines, -2 lines 0 comments Download
M LayoutTests/fast/events/window-onerror8-expected.txt View 1 1 chunk +1 line, -1 line 0 comments Download
M LayoutTests/fast/events/window-onerror9.html View 1 1 chunk +2 lines, -2 lines 0 comments Download
M LayoutTests/fast/events/window-onerror9-expected.txt View 1 1 chunk +1 line, -1 line 0 comments Download
M LayoutTests/fast/workers/resources/worker-script-error-handled.js View 1 chunk +3 lines, -3 lines 0 comments Download
M LayoutTests/fast/workers/worker-script-error-expected.txt View 1 chunk +1 line, -1 line 0 comments Download
M Source/bindings/v8/V8ErrorHandler.cpp View 1 chunk +2 lines, -2 lines 0 comments Download
M Source/bindings/v8/V8Initializer.cpp View 2 chunks +3 lines, -2 lines 0 comments Download
M Source/bindings/v8/WorkerScriptController.h View 1 2 3 2 chunks +2 lines, -0 lines 0 comments Download
M Source/bindings/v8/WorkerScriptController.cpp View 2 chunks +3 lines, -2 lines 0 comments Download
M Source/core/dom/Document.h View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/dom/Document.cpp View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M Source/core/dom/ErrorEvent.h View 3 chunks +6 lines, -3 lines 0 comments Download
M Source/core/dom/ErrorEvent.cpp View 1 chunk +3 lines, -1 line 0 comments Download
M Source/core/dom/ErrorEvent.idl View 1 2 1 chunk +4 lines, -0 lines 0 comments Download
M Source/core/dom/ScriptExecutionContext.h View 1 2 3 2 chunks +4 lines, -4 lines 0 comments Download
M Source/core/dom/ScriptExecutionContext.cpp View 1 2 3 5 chunks +14 lines, -10 lines 0 comments Download
M Source/core/workers/SharedWorkerGlobalScope.h View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M Source/core/workers/SharedWorkerGlobalScope.cpp View 1 2 3 1 chunk +2 lines, -2 lines 0 comments Download
M Source/core/workers/WorkerGlobalScope.h View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M Source/core/workers/WorkerGlobalScope.cpp View 1 2 3 1 chunk +2 lines, -2 lines 0 comments Download
M Source/core/workers/WorkerMessagingProxy.h View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M Source/core/workers/WorkerMessagingProxy.cpp View 1 2 3 3 chunks +9 lines, -7 lines 0 comments Download
M Source/core/workers/WorkerReportingProxy.h View 1 chunk +1 line, -1 line 0 comments Download
M Source/web/WebSharedWorkerImpl.h View 1 chunk +1 line, -1 line 0 comments Download
M Source/web/WebSharedWorkerImpl.cpp View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 14 (0 generated)
do-not-use
Note that the following test is still not passing: http://samples.msdn.microsoft.com/ietestcenter/WebWorkers/webworkers_harness.htm?url=WorkerGlobalScope_ErrorEvent_colno.htm The reason for that is ...
7 years, 5 months ago (2013-07-19 15:42:24 UTC) #1
haraken
arv would be the best reviewer for this. https://codereview.chromium.org/19693006/diff/1/Source/core/dom/ErrorEvent.idl File Source/core/dom/ErrorEvent.idl (right): https://codereview.chromium.org/19693006/diff/1/Source/core/dom/ErrorEvent.idl#newcode37 Source/core/dom/ErrorEvent.idl:37: //[InitializedByEventConstructor] ...
7 years, 5 months ago (2013-07-19 15:57:31 UTC) #2
arv (Not doing code reviews)
LGTM
7 years, 5 months ago (2013-07-19 16:03:58 UTC) #3
arv (Not doing code reviews)
Actually, it seems like our test coverage is a bit thin here. Do you mind ...
7 years, 5 months ago (2013-07-19 16:04:44 UTC) #4
do-not-use
On 2013/07/19 16:04:44, arv wrote: > Actually, it seems like our test coverage is a ...
7 years, 5 months ago (2013-07-19 16:51:42 UTC) #5
do-not-use
I still need OWNER review for the changes under Source/web.
7 years, 5 months ago (2013-07-19 16:53:10 UTC) #6
arv (Not doing code reviews)
LGTM thanks
7 years, 5 months ago (2013-07-19 17:04:03 UTC) #7
do-not-use
abarth@, could you please take a look as well?
7 years, 5 months ago (2013-07-19 19:36:07 UTC) #8
abarth-chromium
lgtm
7 years, 5 months ago (2013-07-20 02:25:30 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ch.dumez@sisa.samsung.com/19693006/13001
7 years, 5 months ago (2013-07-20 06:33:41 UTC) #10
commit-bot: I haz the power
Retried try job too often on win_blink_rel for step(s) webkit_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win_blink_rel&number=299
7 years, 5 months ago (2013-07-20 11:38:23 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ch.dumez@sisa.samsung.com/19693006/13001
7 years, 5 months ago (2013-07-20 12:24:30 UTC) #12
commit-bot: I haz the power
Retried try job too often on win_blink_rel for step(s) webkit_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win_blink_rel&number=320
7 years, 5 months ago (2013-07-20 15:52:46 UTC) #13
do-not-use
7 years, 5 months ago (2013-07-22 06:59:13 UTC) #14
Message was sent while issue was closed.
Committed patchset #4 manually as r154630 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698