Bug 1459569 [wpt PR 10864] - Update WPT test: url-in-tags.window.js, a=testonly
commit44a5b13315af3af004611ad896c81e07f94c3af3
authorarthursonzogni <arthursonzogni@chromium.org>
Thu, 10 May 2018 18:32:41 +0000 (10 18:32 +0000)
committermoz-wptsync-bot <wptsync@mozilla.com>
Mon, 14 May 2018 09:55:27 +0000 (14 09:55 +0000)
tree5eda715d57785f0fbb0f5957c2a7fbfd9e906f95
parent34838a76fd733127be6a90f7c1cb66dbb4695902
Bug 1459569 [wpt PR 10864] - Update WPT test: url-in-tags.window.js, a=testonly

Automatic update from web-platform-testsUpdate WPT test: url-in-tags.window.js

The web-platform-test: FileAPI/url/url-in-tags.window.js relies on the
load event to be dispatched after the page has scrolled to the anchor.

This is not guaranteed. It is currently non-deterministic in Chrome.
The page: https://scrolly-in-onload-event.glitch.me/ shows a case where
the opposite happens.

Doing task https://crbug.com/831155 caused this test to fail.

Note: This test was working only on Chrome.
Current status: https://wpt.fyi/FileAPI/url/url-in-tags.window.html
There is a chance applying this patch will make it work on Safari as
well.

Related CL:
https://chromium-review.googlesource.com/c/chromium/src/+/1042191

Bug: 831155
Change-Id: Ifa3f8e3d35cdb2635261248c3c9e9fd959f44340
Reviewed-on: https://chromium-review.googlesource.com/1046596
Reviewed-by: Steve Kobes <skobes@chromium.org>
Commit-Queue: Arthur Sonzogni <arthursonzogni@chromium.org>
Cr-Commit-Position: refs/heads/master@{#556479}

--

wpt-commits: d353ff8898fdbb0e9d909c081d1a42d67e75b804
wpt-pr: 10864
testing/web-platform/meta/MANIFEST.json
testing/web-platform/tests/FileAPI/url/url-in-tags.window.js