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

Issue 2049493005: binding: Uses the relevant realm instead of the current realm (1 of ?) (Closed)

Created:
4 years, 6 months ago by Yuki
Modified:
4 years, 5 months ago
Reviewers:
haraken
CC:
chromium-reviews, blink-reviews, blink-reviews-bindings_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

binding: Uses the relevant realm instead of the current realm (1 of ?) There are many places where we're passing the current realm instead of the relevant realm of the platform object, and it's wrong. This CL fixes most of those but not all. Following CLs may fix the rest. BUG=618672, 560308 Committed: https://crrev.com/36f52aca24a7fdf60ff33ada980e663e550b622b Cr-Commit-Position: refs/heads/master@{#407133}

Patch Set 1 #

Patch Set 2 : Synced. #

Patch Set 3 : Synced. #

Patch Set 4 : Updated layout tests. #

Total comments: 2

Patch Set 5 : Synced. #

Patch Set 6 : Addressed a review comment. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+120 lines, -95 lines) Patch
M third_party/WebKit/LayoutTests/fast/dom/Window/timeout-callback-scope.html View 1 2 3 2 chunks +26 lines, -12 lines 0 comments Download
M third_party/WebKit/LayoutTests/fast/dom/Window/timeout-callback-scope-expected.txt View 1 2 3 1 chunk +4 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/bindings/core/v8/ScriptState.h View 1 2 3 4 5 1 chunk +10 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/bindings/templates/attributes.cpp View 1 2 3 4 5 4 chunks +4 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/bindings/templates/methods.cpp View 1 2 3 4 5 2 chunks +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/bindings/tests/results/core/V8TestInterface.cpp View 1 2 3 4 5 2 chunks +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/bindings/tests/results/core/V8TestInterface2.cpp View 1 2 3 4 5 6 chunks +6 lines, -6 lines 0 comments Download
M third_party/WebKit/Source/bindings/tests/results/core/V8TestInterface3.cpp View 1 2 3 4 5 5 chunks +5 lines, -5 lines 0 comments Download
M third_party/WebKit/Source/bindings/tests/results/core/V8TestInterfaceConstructor.cpp View 1 2 3 4 5 7 chunks +7 lines, -7 lines 0 comments Download
M third_party/WebKit/Source/bindings/tests/results/core/V8TestInterfaceGarbageCollected.cpp View 1 2 3 4 5 9 chunks +9 lines, -9 lines 0 comments Download
M third_party/WebKit/Source/bindings/tests/results/core/V8TestObject.cpp View 1 2 3 4 5 40 chunks +40 lines, -40 lines 0 comments Download
M third_party/WebKit/Source/bindings/tests/results/modules/V8TestInterface5.cpp View 1 2 3 4 5 5 chunks +5 lines, -5 lines 0 comments Download

Messages

Total messages: 16 (8 generated)
Yuki
Could you review this CL?
4 years, 6 months ago (2016-06-10 06:00:15 UTC) #2
haraken
This change looks good, but I might want to have an overall plan (i.e. design ...
4 years, 6 months ago (2016-06-10 06:22:37 UTC) #3
Yuki
haraken@, could you take another look at this CL? I think we agree on this ...
4 years, 5 months ago (2016-07-22 09:48:56 UTC) #8
haraken
LGTM, go for it! https://codereview.chromium.org/2049493005/diff/60001/third_party/WebKit/Source/bindings/core/v8/ScriptState.h File third_party/WebKit/Source/bindings/core/v8/ScriptState.h (right): https://codereview.chromium.org/2049493005/diff/60001/third_party/WebKit/Source/bindings/core/v8/ScriptState.h#newcode60 third_party/WebKit/Source/bindings/core/v8/ScriptState.h:60: static ScriptState* forThisObject(const v8::FunctionCallbackInfo<v8::Value>& info) ...
4 years, 5 months ago (2016-07-22 09:51:02 UTC) #9
Yuki
https://codereview.chromium.org/2049493005/diff/60001/third_party/WebKit/Source/bindings/core/v8/ScriptState.h File third_party/WebKit/Source/bindings/core/v8/ScriptState.h (right): https://codereview.chromium.org/2049493005/diff/60001/third_party/WebKit/Source/bindings/core/v8/ScriptState.h#newcode60 third_party/WebKit/Source/bindings/core/v8/ScriptState.h:60: static ScriptState* forThisObject(const v8::FunctionCallbackInfo<v8::Value>& info) On 2016/07/22 09:51:01, haraken ...
4 years, 5 months ago (2016-07-22 10:11:03 UTC) #10
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/2049493005/100001
4 years, 5 months ago (2016-07-22 10:11:28 UTC) #13
commit-bot: I haz the power
Committed patchset #6 (id:100001)
4 years, 5 months ago (2016-07-22 11:49:41 UTC) #14
commit-bot: I haz the power
4 years, 5 months ago (2016-07-22 11:51:04 UTC) #16
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/36f52aca24a7fdf60ff33ada980e663e550b622b
Cr-Commit-Position: refs/heads/master@{#407133}

Powered by Google App Engine
This is Rietveld 408576698