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

Issue 180743013: Ensure DOMWrapperWorld always exists in all webkit_unit_tests (Closed)

Created:
6 years, 9 months ago by haraken
Modified:
6 years, 9 months ago
CC:
blink-reviews, shans, jsbell+idb_chromium.org, dgrogan, adamk+blink_chromium.org, Steve Block, dino_apple.com, Nils Barth (inactive), Nate Chapin, arv+blink, alancutter (OOO until 2018), marja+watch_chromium.org, alecflett, abarth-chromium, dstockwell, Timothy Loh, Eric Willigers, rjwright, sof, ericu+idb_chromium.org, darktears, kojih, jsbell+bindings_chromium.org, Mike Lawther (Google), Inactive, cmumford
Visibility:
Public.

Description

Ensure DOMWrapperWorld always exists in all webkit_unit_tests Currently DOMWrapperWorld can be 0 in some tests. This is problematic since I want to make DOMWrapperWorld::current() callable from anywhere. Thus this CL adds DOMWrapperWorld to all webkit_unit_tests. - It's verbose to initialize v8::HandleScope, v8::Context, v8::Context::Scope, V8PerContextData and DOMWrapperWorld in each test. So this CL adds a helper class (V8BindingTestScope) that does all the initialization work. - This CL also fixes indentation of V8Binding.h. BUG=341032 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=168355 R=dcarney@chromium.org Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=168376

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Patch Set 4 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+740 lines, -736 lines) Patch
M Source/bindings/v8/DOMWrapperWorld.h View 1 2 3 2 chunks +4 lines, -2 lines 0 comments Download
M Source/bindings/v8/DOMWrapperWorld.cpp View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M Source/bindings/v8/IDBBindingUtilitiesTest.cpp View 1 chunk +2 lines, -5 lines 0 comments Download
M Source/bindings/v8/ScriptPromiseResolverTest.cpp View 3 chunks +4 lines, -10 lines 0 comments Download
M Source/bindings/v8/ScriptPromiseTest.cpp View 2 chunks +5 lines, -10 lines 0 comments Download
M Source/bindings/v8/V8Binding.h View 1 chunk +671 lines, -661 lines 0 comments Download
M Source/bindings/v8/V8Binding.cpp View 1 chunk +14 lines, -0 lines 0 comments Download
M Source/bindings/v8/WorkerScriptController.cpp View 1 2 1 chunk +1 line, -1 line 0 comments Download
M Source/core/animation/AnimationTest.cpp View 9 chunks +21 lines, -23 lines 0 comments Download
M Source/core/animation/AnimationTimingInputTest.cpp View 4 chunks +13 lines, -15 lines 0 comments Download
M Source/modules/indexeddb/IDBRequestTest.cpp View 2 chunks +2 lines, -4 lines 0 comments Download
M Source/modules/indexeddb/IDBTransactionTest.cpp View 2 chunks +2 lines, -4 lines 0 comments Download

Messages

Total messages: 23 (0 generated)
haraken
PTAL Regarding V8Binding.h, please just take a look at V8BindingTestScope. Other diffs are just fixing ...
6 years, 9 months ago (2014-03-03 12:33:09 UTC) #1
dcarney
lgtm
6 years, 9 months ago (2014-03-03 12:48:32 UTC) #2
haraken
The CQ bit was checked by haraken@chromium.org
6 years, 9 months ago (2014-03-03 12:58:36 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/haraken@chromium.org/180743013/1
6 years, 9 months ago (2014-03-03 12:58:48 UTC) #4
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-03 16:39:50 UTC) #5
commit-bot: I haz the power
Retried try job too often on win_layout for step(s) webkit_lint http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win_layout&number=24610
6 years, 9 months ago (2014-03-03 16:39:51 UTC) #6
haraken
The CQ bit was checked by haraken@chromium.org
6 years, 9 months ago (2014-03-03 23:19:25 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/haraken@chromium.org/180743013/1
6 years, 9 months ago (2014-03-03 23:25:13 UTC) #8
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-03 23:25:17 UTC) #9
commit-bot: I haz the power
Failed to apply patch for Source/bindings/v8/WorkerScriptController.cpp: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
6 years, 9 months ago (2014-03-03 23:25:18 UTC) #10
haraken
The CQ bit was checked by haraken@chromium.org
6 years, 9 months ago (2014-03-04 00:54:42 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/haraken@chromium.org/180743013/20001
6 years, 9 months ago (2014-03-04 00:54:48 UTC) #12
haraken
The CQ bit was checked by haraken@chromium.org
6 years, 9 months ago (2014-03-04 00:55:57 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/haraken@chromium.org/180743013/40001
6 years, 9 months ago (2014-03-04 00:56:14 UTC) #14
haraken
The CQ bit was unchecked by haraken@chromium.org
6 years, 9 months ago (2014-03-04 03:39:05 UTC) #15
haraken
The CQ bit was checked by haraken@chromium.org
6 years, 9 months ago (2014-03-04 03:39:18 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/haraken@chromium.org/180743013/40001
6 years, 9 months ago (2014-03-04 03:39:25 UTC) #17
commit-bot: I haz the power
Change committed as 168355
6 years, 9 months ago (2014-03-04 03:40:06 UTC) #18
apavlov
A revert of this CL has been created in https://codereview.chromium.org/183803017/ by apavlov@chromium.org. The reason for ...
6 years, 9 months ago (2014-03-04 07:59:29 UTC) #19
haraken
The CQ bit was checked by haraken@chromium.org
6 years, 9 months ago (2014-03-04 09:02:44 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/haraken@chromium.org/180743013/40002
6 years, 9 months ago (2014-03-04 09:02:50 UTC) #21
haraken
On 2014/03/04 07:59:29, apavlov wrote: > A revert of this CL has been created in ...
6 years, 9 months ago (2014-03-04 09:03:16 UTC) #22
haraken
6 years, 9 months ago (2014-03-04 10:55:41 UTC) #23
Message was sent while issue was closed.
Committed patchset #4 manually as r168376 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698