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

Issue 1939713003: Dispatch events in isolated worlds, even if script execution is forbidden (Closed)

Created:
4 years, 7 months ago by jochen (gone - plz use gerrit)
Modified:
4 years, 7 months ago
Reviewers:
haraken, Mike West
CC:
blink-reviews, blink-reviews-bindings_chromium.org, chromium-reviews, jochen+watch_chromium.org, mlamouri+watch-test-runner_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Dispatch events in isolated worlds, even if script execution is forbidden BUG=608286, 607072 R=mkwst@chromium.org Committed: https://crrev.com/866d1237c72059624def2242e218a7dfe78b125e Cr-Commit-Position: refs/heads/master@{#391197}

Patch Set 1 #

Total comments: 5

Patch Set 2 : updates #

Unified diffs Side-by-side diffs Delta from patch set Stats (+49 lines, -24 lines) Patch
M components/test_runner/mock_content_settings_client.h View 1 chunk +15 lines, -14 lines 0 comments Download
M components/test_runner/mock_content_settings_client.cc View 2 chunks +12 lines, -8 lines 0 comments Download
A third_party/WebKit/LayoutTests/fast/events/events-in-isolated-world.html View 1 chunk +18 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/fast/events/events-in-isolated-world-expected.txt View 1 chunk +2 lines, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/permissionclient/script-permissions-expected.txt View 1 chunk +0 lines, -1 line 0 comments Download
M third_party/WebKit/Source/bindings/core/v8/V8EventListener.cpp View 1 1 chunk +2 lines, -1 line 0 comments Download

Messages

Total messages: 20 (4 generated)
jochen (gone - plz use gerrit)
4 years, 7 months ago (2016-05-02 09:18:12 UTC) #1
haraken
https://codereview.chromium.org/1939713003/diff/1/third_party/WebKit/Source/bindings/core/v8/V8EventListener.cpp File third_party/WebKit/Source/bindings/core/v8/V8EventListener.cpp (right): https://codereview.chromium.org/1939713003/diff/1/third_party/WebKit/Source/bindings/core/v8/V8EventListener.cpp#newcode89 third_party/WebKit/Source/bindings/core/v8/V8EventListener.cpp:89: if (scriptState->world().isMainWorld() && !frame->script().canExecuteScripts(AboutToExecuteScript)) Would it be better to ...
4 years, 7 months ago (2016-05-02 09:23:55 UTC) #3
Mike West
https://codereview.chromium.org/1939713003/diff/1/third_party/WebKit/Source/bindings/core/v8/V8EventListener.cpp File third_party/WebKit/Source/bindings/core/v8/V8EventListener.cpp (right): https://codereview.chromium.org/1939713003/diff/1/third_party/WebKit/Source/bindings/core/v8/V8EventListener.cpp#newcode89 third_party/WebKit/Source/bindings/core/v8/V8EventListener.cpp:89: if (scriptState->world().isMainWorld() && !frame->script().canExecuteScripts(AboutToExecuteScript)) On 2016/05/02 at 09:23:55, haraken ...
4 years, 7 months ago (2016-05-02 09:30:15 UTC) #4
haraken
On 2016/05/02 09:30:15, Mike West wrote: > https://codereview.chromium.org/1939713003/diff/1/third_party/WebKit/Source/bindings/core/v8/V8EventListener.cpp > File third_party/WebKit/Source/bindings/core/v8/V8EventListener.cpp (right): > > https://codereview.chromium.org/1939713003/diff/1/third_party/WebKit/Source/bindings/core/v8/V8EventListener.cpp#newcode89 ...
4 years, 7 months ago (2016-05-02 09:31:45 UTC) #5
Mike West
On 2016/05/02 at 09:31:45, haraken wrote: > On 2016/05/02 09:30:15, Mike West wrote: > > ...
4 years, 7 months ago (2016-05-02 09:40:12 UTC) #6
jochen (gone - plz use gerrit)
https://codereview.chromium.org/1939713003/diff/1/third_party/WebKit/Source/bindings/core/v8/V8EventListener.cpp File third_party/WebKit/Source/bindings/core/v8/V8EventListener.cpp (right): https://codereview.chromium.org/1939713003/diff/1/third_party/WebKit/Source/bindings/core/v8/V8EventListener.cpp#newcode89 third_party/WebKit/Source/bindings/core/v8/V8EventListener.cpp:89: if (scriptState->world().isMainWorld() && !frame->script().canExecuteScripts(AboutToExecuteScript)) On 2016/05/02 at 09:23:55, haraken ...
4 years, 7 months ago (2016-05-02 09:41:52 UTC) #7
haraken
https://codereview.chromium.org/1939713003/diff/1/third_party/WebKit/Source/bindings/core/v8/V8EventListener.cpp File third_party/WebKit/Source/bindings/core/v8/V8EventListener.cpp (right): https://codereview.chromium.org/1939713003/diff/1/third_party/WebKit/Source/bindings/core/v8/V8EventListener.cpp#newcode89 third_party/WebKit/Source/bindings/core/v8/V8EventListener.cpp:89: if (scriptState->world().isMainWorld() && !frame->script().canExecuteScripts(AboutToExecuteScript)) On 2016/05/02 09:41:52, jochen wrote: ...
4 years, 7 months ago (2016-05-02 09:45:59 UTC) #8
jochen (gone - plz use gerrit)
On 2016/05/02 at 09:45:59, haraken wrote: > https://codereview.chromium.org/1939713003/diff/1/third_party/WebKit/Source/bindings/core/v8/V8EventListener.cpp > File third_party/WebKit/Source/bindings/core/v8/V8EventListener.cpp (right): > > https://codereview.chromium.org/1939713003/diff/1/third_party/WebKit/Source/bindings/core/v8/V8EventListener.cpp#newcode89 ...
4 years, 7 months ago (2016-05-02 09:50:10 UTC) #9
haraken
On 2016/05/02 09:50:10, jochen wrote: > On 2016/05/02 at 09:45:59, haraken wrote: > > > ...
4 years, 7 months ago (2016-05-02 10:08:34 UTC) #10
jochen (gone - plz use gerrit)
On 2016/05/02 at 10:08:34, haraken wrote: > On 2016/05/02 09:50:10, jochen wrote: > > On ...
4 years, 7 months ago (2016-05-02 10:27:54 UTC) #11
haraken
On 2016/05/02 10:27:54, jochen wrote: > On 2016/05/02 at 10:08:34, haraken wrote: > > On ...
4 years, 7 months ago (2016-05-02 10:47:37 UTC) #12
jochen (gone - plz use gerrit)
What about me filling a bug to consider doing this? I think changing this all ...
4 years, 7 months ago (2016-05-02 16:05:51 UTC) #13
haraken
On 2016/05/02 16:05:51, jochen wrote: > What about me filling a bug to consider doing ...
4 years, 7 months ago (2016-05-02 17:04:32 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1939713003/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1939713003/20001
4 years, 7 months ago (2016-05-03 08:51:47 UTC) #17
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 7 months ago (2016-05-03 11:08:24 UTC) #18
commit-bot: I haz the power
4 years, 7 months ago (2016-05-03 11:10:13 UTC) #20
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/866d1237c72059624def2242e218a7dfe78b125e
Cr-Commit-Position: refs/heads/master@{#391197}

Powered by Google App Engine
This is Rietveld 408576698