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

Issue 2092953003: Fix http-to-https-redirect-and-register.html for --site-per-process. (Closed)

Created:
4 years, 6 months ago by alexmos
Modified:
4 years, 6 months ago
Reviewers:
falken
CC:
chromium-reviews, michaeln, jsbell+serviceworker_chromium.org, kenjibaheux+watch_chromium.org, tzik, serviceworker-reviews, nhiroki, falken, kinuko+serviceworker, blink-reviews, horo+watch_chromium.org, site-isolation-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix http-to-https-redirect-and-register.html for --site-per-process. The test was assuming that the onload callback would be dispatched before the postMessage from SW registration, which wasn't happening when the frame in the second promise_test was an OOPIF. This CL changes the onload and postMessage handlers to be independent of ordering. See bug for more details. BUG=622887 Committed: https://crrev.com/033dafcf829151ce612ed36460049e0a282fbf38 Cr-Commit-Position: refs/heads/master@{#401900}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Review comments #

Total comments: 4

Patch Set 3 : Fix indent #

Unified diffs Side-by-side diffs Delta from patch set Stats (+8 lines, -13 lines) Patch
M third_party/WebKit/LayoutTests/FlagExpectations/site-per-process View 1 chunk +0 lines, -1 line 0 comments Download
M third_party/WebKit/LayoutTests/http/tests/serviceworker/http-to-https-redirect-and-register.html View 1 2 1 chunk +8 lines, -12 lines 0 comments Download

Messages

Total messages: 12 (4 generated)
alexmos
falken@: since you wrote the original test, can you please take a look at whether ...
4 years, 6 months ago (2016-06-24 01:05:18 UTC) #2
falken
Yes this looks good. Just style nits. https://codereview.chromium.org/2092953003/diff/1/third_party/WebKit/LayoutTests/http/tests/serviceworker/http-to-https-redirect-and-register.html File third_party/WebKit/LayoutTests/http/tests/serviceworker/http-to-https-redirect-and-register.html (right): https://codereview.chromium.org/2092953003/diff/1/third_party/WebKit/LayoutTests/http/tests/serviceworker/http-to-https-redirect-and-register.html#newcode18 third_party/WebKit/LayoutTests/http/tests/serviceworker/http-to-https-redirect-and-register.html:18: }); serviceworker ...
4 years, 6 months ago (2016-06-24 01:18:55 UTC) #3
alexmos
Thanks! https://codereview.chromium.org/2092953003/diff/1/third_party/WebKit/LayoutTests/http/tests/serviceworker/http-to-https-redirect-and-register.html File third_party/WebKit/LayoutTests/http/tests/serviceworker/http-to-https-redirect-and-register.html (right): https://codereview.chromium.org/2092953003/diff/1/third_party/WebKit/LayoutTests/http/tests/serviceworker/http-to-https-redirect-and-register.html#newcode18 third_party/WebKit/LayoutTests/http/tests/serviceworker/http-to-https-redirect-and-register.html:18: }); On 2016/06/24 01:18:54, falken wrote: > serviceworker ...
4 years, 6 months ago (2016-06-24 01:52:37 UTC) #4
falken
lgtm with nits https://codereview.chromium.org/2092953003/diff/20001/third_party/WebKit/LayoutTests/http/tests/serviceworker/http-to-https-redirect-and-register.html File third_party/WebKit/LayoutTests/http/tests/serviceworker/http-to-https-redirect-and-register.html (right): https://codereview.chromium.org/2092953003/diff/20001/third_party/WebKit/LayoutTests/http/tests/serviceworker/http-to-https-redirect-and-register.html#newcode18 third_party/WebKit/LayoutTests/http/tests/serviceworker/http-to-https-redirect-and-register.html:18: }); line 17-18 should be indented ...
4 years, 6 months ago (2016-06-24 01:55:22 UTC) #5
alexmos
Thanks, I definitely wasn't familiar with the intricacies of SW coding style. https://codereview.chromium.org/2092953003/diff/20001/third_party/WebKit/LayoutTests/http/tests/serviceworker/http-to-https-redirect-and-register.html File third_party/WebKit/LayoutTests/http/tests/serviceworker/http-to-https-redirect-and-register.html ...
4 years, 6 months ago (2016-06-24 16:33:11 UTC) #6
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/2092953003/40001
4 years, 6 months ago (2016-06-24 16:34:13 UTC) #9
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 6 months ago (2016-06-24 17:48:02 UTC) #10
commit-bot: I haz the power
4 years, 6 months ago (2016-06-24 17:51:12 UTC) #12
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/033dafcf829151ce612ed36460049e0a282fbf38
Cr-Commit-Position: refs/heads/master@{#401900}

Powered by Google App Engine
This is Rietveld 408576698