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

Issue 424813007: Simplify V8 wrapper generation for Event objects (Closed)

Created:
6 years, 4 months ago by jsbell
Modified:
6 years, 4 months ago
CC:
blink-reviews, blink-reviews-bindings_chromium.org, arv+blink, abarth-chromium
Project:
blink
Visibility:
Public.

Description

Simply V8 wrapper generation for Event objects When trying to determine what kind of wrapper to produce, we'd iterate over core event types (exiting early) then try iterating over module event types. If the latter yielded an empty handle we'd wrap the object as just a V8Event, which is bogus. This could happen in a worker if the object was indeed a module event type, but the worker had been asynchronously stopped and v8 was politely failing to produce a wrapper. Remove the fallback case, and instead assert if we make it as far as module event type iteration and no match is found. BUG=395411 R=abarth,tasak Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=179340

Patch Set 1 #

Total comments: 1

Patch Set 2 : Add comment #

Patch Set 3 : Tweak comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+9 lines, -6 lines) Patch
M Source/bindings/core/v8/custom/V8EventCustom.cpp View 1 chunk +2 lines, -5 lines 0 comments Download
M Source/bindings/modules/v8/ModuleBindingsInitializer.cpp View 1 2 1 chunk +7 lines, -1 line 0 comments Download

Messages

Total messages: 11 (0 generated)
jsbell
abarth@, tasak@ - Please take a look?
6 years, 4 months ago (2014-07-31 16:40:22 UTC) #1
haraken
LGTM > but the worker had been asynchronously stopped and v8 was politely failing to ...
6 years, 4 months ago (2014-07-31 16:51:01 UTC) #2
jsbell
The CQ bit was checked by jsbell@chromium.org
6 years, 4 months ago (2014-07-31 17:12:33 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jsbell@chromium.org/424813007/20001
6 years, 4 months ago (2014-07-31 17:12:49 UTC) #4
jsbell
On 2014/07/31 16:51:01, haraken wrote: > LGTM > > > but the worker had been ...
6 years, 4 months ago (2014-07-31 17:14:01 UTC) #5
jsbell
The CQ bit was unchecked by jsbell@chromium.org
6 years, 4 months ago (2014-07-31 17:14:25 UTC) #6
jsbell
The CQ bit was checked by jsbell@chromium.org
6 years, 4 months ago (2014-07-31 17:15:42 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jsbell@chromium.org/424813007/40001
6 years, 4 months ago (2014-07-31 17:17:07 UTC) #8
haraken
> > > but the worker had been asynchronously stopped and v8 was politely failing ...
6 years, 4 months ago (2014-07-31 17:18:12 UTC) #9
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: linux_blink_dbg on tryserver.blink ...
6 years, 4 months ago (2014-07-31 18:26:06 UTC) #10
commit-bot: I haz the power
6 years, 4 months ago (2014-07-31 19:31:25 UTC) #11
Message was sent while issue was closed.
Change committed as 179340

Powered by Google App Engine
This is Rietveld 408576698