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

Issue 2628053003: Remove extension group from DOMWrapperWorld. (Closed)

Created:
3 years, 11 months ago by dcheng
Modified:
3 years, 11 months ago
CC:
chromium-reviews, nasko+codewatch_chromium.org, dcheng, dominicc+watchlist_chromium.org, kinuko+watch, extensions-reviews_chromium.org, jam, dglazkov+blink, blink-reviews-bindings_chromium.org, gavinp+loader_chromium.org, loading-reviews_chromium.org, darin-cc_chromium.org, blink-reviews-api_chromium.org, mlamouri+watch-content_chromium.org, creis+watch_chromium.org, blink-reviews, chromium-apps-reviews_chromium.org, Nate Chapin, jochen+watch_chromium.org, tyoshino+watch_chromium.org, mlamouri+watch-test-runner_chromium.org, mlamouri+watch-blink_chromium.org, einbinder+watch-test-runner_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Remove extension group from DOMWrapperWorld. Presumably this was used in the past, but it isn't used anymore except in the ScriptContextSet classifier. However, the classifier can use the world ID to accomplish the same thing, so just remove this and clean up a bunch of dead code. BUG=481699 R=haraken@chromium.org,peria@chromium.org,yukishiino@chromium.org TBR=jochen@chromium.org,rdevlin.cronin@chromium.org Review-Url: https://codereview.chromium.org/2628053003 Cr-Commit-Position: refs/heads/master@{#443498} Committed: https://chromium.googlesource.com/chromium/src/+/05529947077574fb6d7ebd4e0a9ced6159847fc9

Patch Set 1 #

Total comments: 6

Patch Set 2 : . #

Patch Set 3 : Fix GCCallbackTest #

Unified diffs Side-by-side diffs Delta from patch set Stats (+89 lines, -220 lines) Patch
M chrome/renderer/chrome_render_frame_observer.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/renderer/translate/translate_helper_browsertest.cc View 1 chunk +0 lines, -1 line 0 comments Download
M components/dom_distiller/content/renderer/distiller_js_render_frame_observer.h View 1 chunk +0 lines, -1 line 0 comments Download
M components/dom_distiller/content/renderer/distiller_js_render_frame_observer.cc View 1 chunk +0 lines, -1 line 0 comments Download
M components/test_runner/test_runner_for_specific_view.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M components/translate/content/renderer/translate_helper.h View 2 chunks +0 lines, -4 lines 0 comments Download
M components/translate/content/renderer/translate_helper.cc View 5 chunks +4 lines, -10 lines 0 comments Download
M content/public/renderer/render_frame_observer.h View 1 chunk +0 lines, -1 line 0 comments Download
M content/renderer/dom_automation_controller.h View 1 chunk +0 lines, -1 line 0 comments Download
M content/renderer/dom_automation_controller.cc View 1 chunk +0 lines, -1 line 0 comments Download
M content/renderer/render_frame_impl.h View 1 chunk +0 lines, -1 line 0 comments Download
M content/renderer/render_frame_impl.cc View 2 chunks +2 lines, -3 lines 0 comments Download
M content/renderer/render_view_browsertest.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M extensions/renderer/BUILD.gn View 1 chunk +0 lines, -1 line 0 comments Download
M extensions/renderer/dispatcher.h View 1 chunk +0 lines, -1 line 0 comments Download
M extensions/renderer/dispatcher.cc View 1 chunk +2 lines, -3 lines 0 comments Download
M extensions/renderer/extension_frame_helper.h View 1 chunk +0 lines, -1 line 0 comments Download
M extensions/renderer/extension_frame_helper.cc View 2 chunks +4 lines, -6 lines 0 comments Download
D extensions/renderer/extension_groups.h View 1 chunk +0 lines, -21 lines 0 comments Download
M extensions/renderer/gc_callback_unittest.cc View 1 2 3 chunks +5 lines, -3 lines 0 comments Download
M extensions/renderer/script_context_set.h View 2 chunks +1 line, -2 lines 0 comments Download
M extensions/renderer/script_context_set.cc View 1 4 chunks +10 lines, -9 lines 0 comments Download
M extensions/renderer/script_context_set_unittest.cc View 1 3 chunks +5 lines, -2 lines 0 comments Download
M extensions/renderer/script_injection.cc View 2 chunks +0 lines, -2 lines 0 comments Download
M extensions/renderer/test_extensions_renderer_client.cc View 1 1 chunk +6 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/bindings/core/v8/DOMWrapperWorld.h View 5 chunks +4 lines, -12 lines 0 comments Download
M third_party/WebKit/Source/bindings/core/v8/DOMWrapperWorld.cpp View 4 chunks +8 lines, -16 lines 0 comments Download
M third_party/WebKit/Source/bindings/core/v8/LocalWindowProxy.cpp View 2 chunks +7 lines, -15 lines 0 comments Download
M third_party/WebKit/Source/bindings/core/v8/ScriptController.h View 1 chunk +0 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/bindings/core/v8/ScriptController.cpp View 1 chunk +1 line, -2 lines 0 comments Download
M third_party/WebKit/Source/bindings/core/v8/ScriptPromisePropertyTest.cpp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/loader/EmptyClients.h View 1 chunk +1 line, -6 lines 0 comments Download
M third_party/WebKit/Source/core/loader/FrameLoaderClient.h View 1 chunk +1 line, -4 lines 0 comments Download
M third_party/WebKit/Source/core/xml/DocumentXMLTreeViewer.cpp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/web/FrameLoaderClientImpl.h View 1 chunk +2 lines, -6 lines 0 comments Download
M third_party/WebKit/Source/web/FrameLoaderClientImpl.cpp View 2 chunks +2 lines, -10 lines 0 comments Download
M third_party/WebKit/Source/web/SuspendableScriptExecutor.h View 1 chunk +0 lines, -1 line 0 comments Download
M third_party/WebKit/Source/web/SuspendableScriptExecutor.cpp View 4 chunks +3 lines, -9 lines 0 comments Download
M third_party/WebKit/Source/web/WebLocalFrameImpl.h View 2 chunks +1 line, -4 lines 0 comments Download
M third_party/WebKit/Source/web/WebLocalFrameImpl.cpp View 8 chunks +8 lines, -13 lines 0 comments Download
M third_party/WebKit/Source/web/WebRemoteFrameImpl.h View 2 chunks +1 line, -3 lines 0 comments Download
M third_party/WebKit/Source/web/WebRemoteFrameImpl.cpp View 2 chunks +1 line, -3 lines 0 comments Download
M third_party/WebKit/Source/web/tests/ActivityLoggerTest.cpp View 2 chunks +1 line, -2 lines 0 comments Download
M third_party/WebKit/Source/web/tests/WebFrameTest.cpp View 3 chunks +1 line, -4 lines 0 comments Download
M third_party/WebKit/public/web/WebContentSettingsClient.h View 1 chunk +0 lines, -16 lines 0 comments Download
M third_party/WebKit/public/web/WebFrame.h View 2 chunks +1 line, -6 lines 0 comments Download
M third_party/WebKit/public/web/WebFrameClient.h View 1 chunk +0 lines, -1 line 0 comments Download
M third_party/WebKit/public/web/WebLocalFrame.h View 1 chunk +0 lines, -1 line 0 comments Download

Messages

Total messages: 44 (24 generated)
dcheng
This removes all the plumbing for extension group. No tests seem to break... so yay? ...
3 years, 11 months ago (2017-01-12 01:39:53 UTC) #6
haraken
LGTM on my side
3 years, 11 months ago (2017-01-12 01:53:45 UTC) #8
peria
LGTM. Yay!
3 years, 11 months ago (2017-01-12 02:04:51 UTC) #9
Yuki
LGTM. Yay!!
3 years, 11 months ago (2017-01-12 03:31:12 UTC) #10
Devlin
Nice cleanup! One small, but important, correction. https://codereview.chromium.org/2628053003/diff/1/extensions/renderer/script_context_set.cc File extensions/renderer/script_context_set.cc (right): https://codereview.chromium.org/2628053003/diff/1/extensions/renderer/script_context_set.cc#newcode178 extensions/renderer/script_context_set.cc:178: // for ...
3 years, 11 months ago (2017-01-12 16:30:12 UTC) #11
dcheng
https://codereview.chromium.org/2628053003/diff/1/extensions/renderer/script_context_set.cc File extensions/renderer/script_context_set.cc (right): https://codereview.chromium.org/2628053003/diff/1/extensions/renderer/script_context_set.cc#newcode178 extensions/renderer/script_context_set.cc:178: // for content script. On 2017/01/12 16:30:12, Devlin wrote: ...
3 years, 11 months ago (2017-01-12 18:35:13 UTC) #12
Devlin
https://codereview.chromium.org/2628053003/diff/1/extensions/renderer/script_context_set.cc File extensions/renderer/script_context_set.cc (right): https://codereview.chromium.org/2628053003/diff/1/extensions/renderer/script_context_set.cc#newcode178 extensions/renderer/script_context_set.cc:178: // for content script. On 2017/01/12 18:35:12, dcheng wrote: ...
3 years, 11 months ago (2017-01-12 21:31:39 UTC) #13
dcheng
https://codereview.chromium.org/2628053003/diff/1/extensions/renderer/script_context_set.cc File extensions/renderer/script_context_set.cc (right): https://codereview.chromium.org/2628053003/diff/1/extensions/renderer/script_context_set.cc#newcode178 extensions/renderer/script_context_set.cc:178: // for content script. On 2017/01/12 21:31:39, Devlin wrote: ...
3 years, 11 months ago (2017-01-12 21:40:41 UTC) #14
Devlin
https://codereview.chromium.org/2628053003/diff/1/extensions/renderer/script_context_set.cc File extensions/renderer/script_context_set.cc (right): https://codereview.chromium.org/2628053003/diff/1/extensions/renderer/script_context_set.cc#newcode178 extensions/renderer/script_context_set.cc:178: // for content script. On 2017/01/12 21:40:41, dcheng wrote: ...
3 years, 11 months ago (2017-01-12 22:02:09 UTC) #15
dcheng
PTAL. I tried to write a test for this, but ScriptContextSet depends on too many ...
3 years, 11 months ago (2017-01-12 22:58:01 UTC) #18
Devlin
extensions lgtm. Thanks :)
3 years, 11 months ago (2017-01-12 23:00:10 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2628053003/20001
3 years, 11 months ago (2017-01-12 23:03:20 UTC) #23
dcheng
TBRing jochen for: chrome/renderer/chrome_render_frame_observer.cc chrome/renderer/translate/translate_helper_browsertest.cc components/dom_distiller/content/renderer/distiller_js_render_frame_observer.cc components/dom_distiller/content/renderer/distiller_js_render_frame_observer.h components/test_runner/test_runner_for_specific_view.cc components/translate/content/renderer/translate_helper.cc components/translate/content/renderer/translate_helper.h content/public/renderer/render_frame_observer.h content/renderer/dom_automation_controller.cc content/renderer/dom_automation_controller.h content/renderer/render_frame_impl.cc content/renderer/render_frame_impl.h ...
3 years, 11 months ago (2017-01-12 23:10:40 UTC) #26
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2628053003/20001
3 years, 11 months ago (2017-01-12 23:11:25 UTC) #29
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_x64_rel_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_x64_rel_ng/builds/347470)
3 years, 11 months ago (2017-01-13 00:27:01 UTC) #31
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2628053003/20001
3 years, 11 months ago (2017-01-13 00:45:42 UTC) #33
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_ng/builds/370208) mac_chromium_rel_ng on master.tryserver.chromium.mac (JOB_FAILED, ...
3 years, 11 months ago (2017-01-13 00:56:23 UTC) #35
dcheng
TBRing rdevlin for a small fix to another extensions test that uses ScriptContextSet (just adds ...
3 years, 11 months ago (2017-01-13 03:30:02 UTC) #37
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2628053003/40001
3 years, 11 months ago (2017-01-13 03:31:25 UTC) #41
commit-bot: I haz the power
3 years, 11 months ago (2017-01-13 05:36:18 UTC) #44
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/chromium/src/+/05529947077574fb6d7ebd4e0a9c...

Powered by Google App Engine
This is Rietveld 408576698