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

Issue 2418413004: binding: Creates a reject promise always in the current realm. (Closed)

Created:
4 years, 2 months ago by Yuki
Modified:
4 years, 2 months ago
Reviewers:
haraken, peria
CC:
chromium-reviews, blink-reviews, blink-reviews-bindings_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

binding: Creates a reject promise always in the current realm. Regular promises are created in the relevant real of the context object. However, reject promises are special, they must be created in the current realm as same as exceptions must be created in the current realm. BUG=656274 Committed: https://crrev.com/9e04d69152b9c2ac7b4e395213c0e19c52e69bcc Cr-Commit-Position: refs/heads/master@{#426171}

Patch Set 1 #

Patch Set 2 : Added a layout test. #

Total comments: 5
Unified diffs Side-by-side diffs Delta from patch set Stats (+74 lines, -16 lines) Patch
A third_party/WebKit/LayoutTests/http/tests/security/promise-realm.html View 1 1 chunk +67 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/bindings/core/v8/GeneratedCodeHelper.h View 1 chunk +5 lines, -4 lines 2 comments Download
M third_party/WebKit/Source/bindings/templates/methods.cpp.tmpl View 2 chunks +2 lines, -12 lines 3 comments Download

Messages

Total messages: 22 (11 generated)
Yuki
Could you guys review this CL?
4 years, 2 months ago (2016-10-18 14:04:10 UTC) #8
haraken
https://chromiumcodereview.appspot.com/2418413004/diff/20001/third_party/WebKit/Source/bindings/core/v8/GeneratedCodeHelper.h File third_party/WebKit/Source/bindings/core/v8/GeneratedCodeHelper.h (right): https://chromiumcodereview.appspot.com/2418413004/diff/20001/third_party/WebKit/Source/bindings/core/v8/GeneratedCodeHelper.h#newcode54 third_party/WebKit/Source/bindings/core/v8/GeneratedCodeHelper.h:54: ScriptState* scriptState = ScriptState::forFunctionObject(m_info); Just help me understand: - ...
4 years, 2 months ago (2016-10-18 18:46:57 UTC) #11
Yuki
https://chromiumcodereview.appspot.com/2418413004/diff/20001/third_party/WebKit/Source/bindings/core/v8/GeneratedCodeHelper.h File third_party/WebKit/Source/bindings/core/v8/GeneratedCodeHelper.h (right): https://chromiumcodereview.appspot.com/2418413004/diff/20001/third_party/WebKit/Source/bindings/core/v8/GeneratedCodeHelper.h#newcode54 third_party/WebKit/Source/bindings/core/v8/GeneratedCodeHelper.h:54: ScriptState* scriptState = ScriptState::forFunctionObject(m_info); On 2016/10/18 18:46:56, haraken wrote: ...
4 years, 2 months ago (2016-10-19 06:06:58 UTC) #12
haraken
On 2016/10/19 06:06:58, Yuki wrote: > https://chromiumcodereview.appspot.com/2418413004/diff/20001/third_party/WebKit/Source/bindings/core/v8/GeneratedCodeHelper.h > File third_party/WebKit/Source/bindings/core/v8/GeneratedCodeHelper.h (right): > > https://chromiumcodereview.appspot.com/2418413004/diff/20001/third_party/WebKit/Source/bindings/core/v8/GeneratedCodeHelper.h#newcode54 > ...
4 years, 2 months ago (2016-10-19 09:28:34 UTC) #13
Yuki
Do the following comments make sense? https://chromiumcodereview.appspot.com/2418413004/diff/20001/third_party/WebKit/Source/bindings/templates/methods.cpp.tmpl File third_party/WebKit/Source/bindings/templates/methods.cpp.tmpl (right): https://chromiumcodereview.appspot.com/2418413004/diff/20001/third_party/WebKit/Source/bindings/templates/methods.cpp.tmpl#newcode27 third_party/WebKit/Source/bindings/templates/methods.cpp.tmpl:27: {# Security checks ...
4 years, 2 months ago (2016-10-19 11:23:37 UTC) #14
haraken
https://chromiumcodereview.appspot.com/2418413004/diff/20001/third_party/WebKit/Source/bindings/templates/methods.cpp.tmpl File third_party/WebKit/Source/bindings/templates/methods.cpp.tmpl (right): https://chromiumcodereview.appspot.com/2418413004/diff/20001/third_party/WebKit/Source/bindings/templates/methods.cpp.tmpl#newcode27 third_party/WebKit/Source/bindings/templates/methods.cpp.tmpl:27: {# Security checks #} On 2016/10/19 11:23:37, Yuki wrote: ...
4 years, 2 months ago (2016-10-19 12:38:48 UTC) #15
Yuki
On 2016/10/19 12:38:48, haraken wrote: > https://chromiumcodereview.appspot.com/2418413004/diff/20001/third_party/WebKit/Source/bindings/templates/methods.cpp.tmpl > File third_party/WebKit/Source/bindings/templates/methods.cpp.tmpl (right): > > https://chromiumcodereview.appspot.com/2418413004/diff/20001/third_party/WebKit/Source/bindings/templates/methods.cpp.tmpl#newcode27 > ...
4 years, 2 months ago (2016-10-19 12:48:00 UTC) #16
haraken
On 2016/10/19 12:48:00, Yuki wrote: > On 2016/10/19 12:38:48, haraken wrote: > > > https://chromiumcodereview.appspot.com/2418413004/diff/20001/third_party/WebKit/Source/bindings/templates/methods.cpp.tmpl ...
4 years, 2 months ago (2016-10-19 12:49:58 UTC) #17
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/2418413004/20001
4 years, 2 months ago (2016-10-19 13:08:46 UTC) #19
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 2 months ago (2016-10-19 13:19:41 UTC) #20
commit-bot: I haz the power
4 years, 2 months ago (2016-10-21 13:07:44 UTC) #22
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/9e04d69152b9c2ac7b4e395213c0e19c52e69bcc
Cr-Commit-Position: refs/heads/master@{#426171}

Powered by Google App Engine
This is Rietveld 408576698