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

Issue 2697243003: Worklet: Avoid import() on a detached frame (Closed)

Created:
3 years, 10 months ago by nhiroki
Modified:
3 years, 10 months ago
Reviewers:
falken
CC:
chromium-reviews, tfarina, shimazu+worker_chromium.org, kinuko+worker_chromium.org, blink-reviews, horo+watch_chromium.org, falken+watch_chromium.org, blink-worker-reviews_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Worklet: Avoid import() on a detached frame Without this fix, import() on a detached frame eventually crashes because of a null execution context. BUG=689265 Review-Url: https://codereview.chromium.org/2697243003 Cr-Commit-Position: refs/heads/master@{#450972} Committed: https://chromium.googlesource.com/chromium/src/+/5989961e2951701ff4a2d74bde290a0d26b45370

Patch Set 1 #

Total comments: 4

Patch Set 2 : address review comments #

Patch Set 3 : move to chromium/ #

Messages

Total messages: 22 (12 generated)
nhiroki
PTAL
3 years, 10 months ago (2017-02-16 07:19:01 UTC) #4
falken
Nice bug. Does it make sense to commit the test to external/wpt instead? https://codereview.chromium.org/2697243003/diff/20001/third_party/WebKit/LayoutTests/http/tests/worklet/import-on-detached-iframe.html File ...
3 years, 10 months ago (2017-02-16 07:25:03 UTC) #6
nhiroki
On 2017/02/16 07:25:03, falken wrote: > Nice bug. Does it make sense to commit the ...
3 years, 10 months ago (2017-02-16 07:32:52 UTC) #7
nhiroki
Thank you! Updated. https://codereview.chromium.org/2697243003/diff/20001/third_party/WebKit/LayoutTests/http/tests/worklet/import-on-detached-iframe.html File third_party/WebKit/LayoutTests/http/tests/worklet/import-on-detached-iframe.html (right): https://codereview.chromium.org/2697243003/diff/20001/third_party/WebKit/LayoutTests/http/tests/worklet/import-on-detached-iframe.html#newcode12 third_party/WebKit/LayoutTests/http/tests/worklet/import-on-detached-iframe.html:12: var frame = document.createElement('iframe'); On 2017/02/16 ...
3 years, 10 months ago (2017-02-16 07:33:07 UTC) #8
falken
lgtm. please add a comment for "This tests chromium-specific behavior (the HTML spec does not ...
3 years, 10 months ago (2017-02-16 07:35:57 UTC) #11
nhiroki
On 2017/02/16 07:35:57, falken wrote: > lgtm. please add a comment for "This tests chromium-specific ...
3 years, 10 months ago (2017-02-16 08:47:36 UTC) #12
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/2697243003/60001
3 years, 10 months ago (2017-02-16 08:48:54 UTC) #15
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_rel_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_ng/builds/384014)
3 years, 10 months ago (2017-02-16 11:50:02 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/2697243003/60001
3 years, 10 months ago (2017-02-16 13:46:17 UTC) #19
commit-bot: I haz the power
3 years, 10 months ago (2017-02-16 15:31:42 UTC) #22
Message was sent while issue was closed.
Committed patchset #3 (id:60001) as
https://chromium.googlesource.com/chromium/src/+/5989961e2951701ff4a2d74bde29...

Powered by Google App Engine
This is Rietveld 408576698