Drive-by performance improvement. convertUInt64ToDouble is slower because it has
a different code path for negative inputs but that can't happen here.
Differential Revision: https://phabricator.services.mozilla.com/D77803
Note that the math-random.js jit-test is a good correctness test for this. It
overrides the RNG's seed, generates a few thousand numbers, and then checks some
of them. I verified this test fails if I add a bug to the Math.random JIT code.
Differential Revision: https://phabricator.services.mozilla.com/D77801
Automatic update from web-platform-tests
Ensure that <object>/<embed> navigation bypasses Service Workers.
Step 13 of https://w3c.github.io/ServiceWorker/#on-fetch-request-algorithm
should exclude `embed` and `object` requests from Service Workers. Our
implementation handles this correctly for the initial request, but failed
to bypass the Service Worker for subsequent navigations. This patch adds
a destination check to
`ServiceWorkerMainResourceLoaderInterceptor::ShouldCreateForNavigation`,
and ensures that the `destination` for a given request is set early enough
in the lifecycle to ensure that the check succeeds.
See also https://github.com/whatwg/fetch/pull/948.
Change-Id: I21a1d37da438e1d0f185696f2b3b4058bc3911fc
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2209456
Reviewed-by: Matt Falkenhagen <falken@chromium.org>
Reviewed-by: Tsuyoshi Horo <horo@chromium.org>
Reviewed-by: Kinuko Yasuda <kinuko@chromium.org>
Reviewed-by: Ben Kelly <wanderview@chromium.org>
Commit-Queue: Mike West <mkwst@chromium.org>
Cr-Commit-Position: refs/heads/master@{#773781}
--
wpt-commits: 51e3a46a45c3a3ff3c934246d6de70fa3e63c7e9
wpt-pr: 23706
Differential Revision: https://phabricator.services.mozilla.com/D78336
Automatic update from web-platform-tests
[ScrollTimeline] Add timeline to Element.animate()
This patch adds a timeline option to Element.animate() function based on
the recent spec change: https://github.com/w3c/csswg-drafts/issues/5013.
Change-Id: Ibf7e6f824f9e013f62da015cebdbc893255142dd
Bug: 1080720
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2220352
Commit-Queue: Yi Gu <yigu@chromium.org>
Reviewed-by: Majid Valipour <majidvp@chromium.org>
Cr-Commit-Position: refs/heads/master@{#773733}
--
wpt-commits: a0740be4f6a5f18e016abd3dcadef53177dde234
wpt-pr: 23847
Differential Revision: https://phabricator.services.mozilla.com/D78334
Automatic update from web-platform-tests
Remove ability to specify subproduct with ':'
This was only used in sauce, where you could set the product to
something like sauce:firefox:63. There were multiple problems with it:
- it wasn't documented,
- it overlaps with the --sauce-browser and --sauce-version flags, and
- it actually would crash wpt if you didn't set a sub-product, even
thought it was meant to be optional!
The first user of sauce in a long time ran into this problem
immediately, so let's just remove it and make people use --sauce-browser
and --sauce-version.
Fixes https://github.com/web-platform-tests/wpt/issues/23875
--
wpt-commits: f5dbcc58e598553fdc5df57b4f57415577192797
wpt-pr: 23883
Differential Revision: https://phabricator.services.mozilla.com/D78329
Automatic update from web-platform-tests
Add test to fire scrollend events for user scrolls (#23753)
Add test for firing scrollend event for user scrolling.
The user scrolling includes dragging, press scrollbar, dragging scrollbar thumb, and send DOWN key scrolling.
--
wpt-commits: c99723afe33bc5b265e41c1a9446eaff7f8e0d57
wpt-pr: 23753
Differential Revision: https://phabricator.services.mozilla.com/D78327
Removed UI references to blacklist, replaced with ignore. Also updated the shortcut key to 'I' instead of 'D' since it's no longer Blacklist. Lastly updated tests to fix failing snapshot tests and jest tests.
Differential Revision: https://phabricator.services.mozilla.com/D78071
OuterWindow ID is deprecated in a Fission world and we should rather use Browsing Context ID.
The outer window ID will change when navigating to another origin, loaded in a distinct process,
whereas Browsing Context ID will stay the same.
Differential Revision: https://phabricator.services.mozilla.com/D78253