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

Issue 330293002: Removing unnecessary PerWorldBindings for DOM API calls that are monitored by Activity Logger. (Closed)

Created:
6 years, 6 months ago by pmarch
Modified:
6 years, 6 months ago
Reviewers:
haraken
CC:
blink-reviews, webcomponents-bugzilla_chromium.org, eae+blinkwatch, fs, eric.carlson_apple.com, rwlbuis, arv+blink, blink-reviews-events_chromium.org, blink-reviews-html_chromium.org, abarth-chromium, blink-reviews-dom_chromium.org, dglazkov+blink, blink-reviews-bindings_chromium.org, nessy, sof, timvolodine, feature-media-reviews_chromium.org, vcarbune.chromium, philipj_slow, gavinp+prerender_chromium.org, gasubic, mvanouwerkerk+watch_chromium.org, Inactive, watchdog-blink-watchlist_google.com
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Visibility:
Public.

Description

Removing unnecessary PerWorldBindings for DOM API calls that are monitored by Activity Logger. Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=176336

Patch Set 1 #

Patch Set 2 : reverted URLUtils #

Patch Set 3 : revert TestObject #

Patch Set 4 : revert TestObject #

Patch Set 5 : createElement reverted #

Patch Set 6 : createElement reverted #

Total comments: 3

Patch Set 7 : isolated world logging #

Patch Set 8 : style #

Total comments: 2

Patch Set 9 : nit #

Patch Set 10 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+151 lines, -98 lines) Patch
M Source/bindings/scripts/v8_attributes.py View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -0 lines 0 comments Download
M Source/bindings/scripts/v8_utilities.py View 1 2 3 4 5 6 7 8 9 1 chunk +17 lines, -0 lines 0 comments Download
M Source/bindings/templates/attributes.cpp View 1 2 3 4 5 6 7 8 2 chunks +12 lines, -2 lines 0 comments Download
M Source/bindings/templates/methods.cpp View 1 2 3 4 5 6 7 8 9 1 chunk +6 lines, -1 line 0 comments Download
M Source/bindings/tests/results/V8TestObject.cpp View 1 2 3 4 5 6 7 8 9 20 chunks +43 lines, -23 lines 0 comments Download
M Source/core/dom/Document.idl View 1 2 3 4 5 6 7 8 9 4 chunks +5 lines, -5 lines 0 comments Download
M Source/core/dom/Element.idl View 1 2 3 4 5 6 7 8 9 2 chunks +3 lines, -3 lines 0 comments Download
M Source/core/dom/GlobalEventHandlers.idl View 1 chunk +22 lines, -22 lines 0 comments Download
M Source/core/dom/shadow/ShadowRoot.idl View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/frame/Location.idl View 1 chunk +2 lines, -2 lines 0 comments Download
M Source/core/frame/Window.idl View 1 2 3 4 5 6 7 8 9 3 chunks +6 lines, -6 lines 0 comments Download
M Source/core/html/HTMLButtonElement.idl View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/html/HTMLCanvasElement.idl View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/html/HTMLDocument.idl View 1 chunk +2 lines, -2 lines 0 comments Download
M Source/core/html/HTMLEmbedElement.idl View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/html/HTMLFormElement.idl View 2 chunks +2 lines, -2 lines 0 comments Download
M Source/core/html/HTMLFrameElement.idl View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/html/HTMLIFrameElement.idl View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/html/HTMLImageElement.idl View 1 chunk +3 lines, -3 lines 0 comments Download
M Source/core/html/HTMLInputElement.idl View 1 2 3 4 5 6 7 8 9 2 chunks +2 lines, -2 lines 0 comments Download
M Source/core/html/HTMLLinkElement.idl View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/html/HTMLMediaElement.idl View 1 2 3 4 5 6 7 8 9 1 chunk +2 lines, -2 lines 0 comments Download
M Source/core/html/HTMLModElement.idl View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/html/HTMLObjectElement.idl View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/html/HTMLQuoteElement.idl View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/html/HTMLScriptElement.idl View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/html/HTMLSourceElement.idl View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/html/HTMLTrackElement.idl View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/html/HTMLVideoElement.idl View 1 chunk +3 lines, -3 lines 0 comments Download
M Source/core/storage/Storage.idl View 1 chunk +4 lines, -4 lines 0 comments Download
M Source/modules/geolocation/Geolocation.idl View 1 chunk +2 lines, -2 lines 0 comments Download
M Source/modules/webdatabase/WindowWebDatabase.idl View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 22 (0 generated)
haraken
https://codereview.chromium.org/330293002/diff/90001/Source/core/frame/Window.idl File Source/core/frame/Window.idl (left): https://codereview.chromium.org/330293002/diff/90001/Source/core/frame/Window.idl#oldcode199 Source/core/frame/Window.idl:199: [PerWorldBindings, LogActivity=SetterOnly] attribute EventHandler onwheel; If we just remove ...
6 years, 6 months ago (2014-06-16 14:57:47 UTC) #1
pmarch
https://codereview.chromium.org/330293002/diff/90001/Source/core/frame/Window.idl File Source/core/frame/Window.idl (left): https://codereview.chromium.org/330293002/diff/90001/Source/core/frame/Window.idl#oldcode199 Source/core/frame/Window.idl:199: [PerWorldBindings, LogActivity=SetterOnly] attribute EventHandler onwheel; Nice catch. You are ...
6 years, 6 months ago (2014-06-16 15:11:01 UTC) #2
haraken
https://codereview.chromium.org/330293002/diff/90001/Source/core/frame/Window.idl File Source/core/frame/Window.idl (left): https://codereview.chromium.org/330293002/diff/90001/Source/core/frame/Window.idl#oldcode199 Source/core/frame/Window.idl:199: [PerWorldBindings, LogActivity=SetterOnly] attribute EventHandler onwheel; On 2014/06/16 15:11:01, pmarch ...
6 years, 6 months ago (2014-06-16 15:16:49 UTC) #3
pmarch
On 2014/06/16 15:16:49, haraken wrote: > https://codereview.chromium.org/330293002/diff/90001/Source/core/frame/Window.idl > File Source/core/frame/Window.idl (left): > > https://codereview.chromium.org/330293002/diff/90001/Source/core/frame/Window.idl#oldcode199 > ...
6 years, 6 months ago (2014-06-16 16:20:24 UTC) #4
pmarch
have another look, I've add a world check when there is no PerWorldBindings and no ...
6 years, 6 months ago (2014-06-16 16:21:32 UTC) #5
haraken
LGTM. I'm curious how much this CL decreases the binary size. You can compare the ...
6 years, 6 months ago (2014-06-17 01:22:34 UTC) #6
pmarch
The size reduction is 92KB https://codereview.chromium.org/330293002/diff/130001/Source/bindings/tests/results/V8TestObject.cpp File Source/bindings/tests/results/V8TestObject.cpp (right): https://codereview.chromium.org/330293002/diff/130001/Source/bindings/tests/results/V8TestObject.cpp#newcode4359 Source/bindings/tests/results/V8TestObject.cpp:4359: if (contextData && contextData->activityLogger() ...
6 years, 6 months ago (2014-06-17 10:00:05 UTC) #7
pmarch
The CQ bit was checked by pmarch@chromium.org
6 years, 6 months ago (2014-06-17 10:04:25 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/pmarch@chromium.org/330293002/150001
6 years, 6 months ago (2014-06-17 10:04:48 UTC) #9
haraken
> The size reduction is 92KB This looks great!
6 years, 6 months ago (2014-06-17 10:14:25 UTC) #10
pmarch
The CQ bit was unchecked by pmarch@chromium.org
6 years, 6 months ago (2014-06-17 10:24:16 UTC) #11
pmarch
The CQ bit was checked by pmarch@chromium.org
6 years, 6 months ago (2014-06-17 10:26:53 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/pmarch@chromium.org/330293002/170001
6 years, 6 months ago (2014-06-17 10:27:43 UTC) #13
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 6 months ago (2014-06-17 12:32:04 UTC) #14
commit-bot: I haz the power
Try jobs failed on following builders: win_gpu_triggered_tests on tryserver.chromium.gpu (http://build.chromium.org/p/tryserver.chromium.gpu/builders/win_gpu_triggered_tests/builds/18046)
6 years, 6 months ago (2014-06-17 12:32:05 UTC) #15
pmarch
The CQ bit was checked by pmarch@chromium.org
6 years, 6 months ago (2014-06-17 12:33:32 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/pmarch@chromium.org/330293002/170001
6 years, 6 months ago (2014-06-17 12:34:10 UTC) #17
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 6 months ago (2014-06-17 14:19:58 UTC) #18
commit-bot: I haz the power
Try jobs failed on following builders: win_gpu_triggered_tests on tryserver.chromium.gpu (http://build.chromium.org/p/tryserver.chromium.gpu/builders/win_gpu_triggered_tests/builds/18064)
6 years, 6 months ago (2014-06-17 14:19:59 UTC) #19
pmarch
The CQ bit was checked by pmarch@chromium.org
6 years, 6 months ago (2014-06-17 15:53:07 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/pmarch@chromium.org/330293002/170001
6 years, 6 months ago (2014-06-17 15:53:27 UTC) #21
commit-bot: I haz the power
6 years, 6 months ago (2014-06-17 17:11:37 UTC) #22
Message was sent while issue was closed.
Change committed as 176336

Powered by Google App Engine
This is Rietveld 408576698