| Index: third_party/WebKit/LayoutTests/http/tests/cookies/same-site/popup-cross-site-post.html
|
| diff --git a/third_party/WebKit/LayoutTests/http/tests/cookies/same-site/popup-cross-site-post.html b/third_party/WebKit/LayoutTests/http/tests/cookies/same-site/popup-cross-site-post.html
|
| index eecc978e1b6d59e991534c69f2805852d8c1fff2..ec32a8947c3e644eb80c6a169c8822996ce7d433 100644
|
| --- a/third_party/WebKit/LayoutTests/http/tests/cookies/same-site/popup-cross-site-post.html
|
| +++ b/third_party/WebKit/LayoutTests/http/tests/cookies/same-site/popup-cross-site-post.html
|
| @@ -15,21 +15,13 @@
|
| window.location.hostname = TEST_HOST;
|
| } else {
|
| async_test(t => {
|
| - triggeredReload = false;
|
| window.addEventListener("message", t.step_func_done(e => {
|
| assert_equals(e.data.http[STRICT_DOM], undefined, "strict");
|
| assert_equals(e.data.http[LAX_DOM], undefined, "lax");
|
| assert_equals(e.data.http[NORMAL_DOM], "1", "normal");
|
| // TODO(mkwst): This should exclude the samesite cookies.
|
| assert_equals(e.data.document, STRICT_DOM + "=1; " + LAX_DOM + "=1; " + NORMAL_DOM + "=1");
|
| -
|
| - if (triggeredReload) {
|
| - e.source.close();
|
| - t.done();
|
| - } else {
|
| - triggeredReload = true;
|
| - e.source.postMessage("reload", "*");
|
| - }
|
| + e.source.close();
|
| }));
|
|
|
| var f = document.createElement('form');
|
|
|