The allocation still needs to be a power of two so the ergonomics are not
amazing, but this will do until we replace with a buffer-based MPSC ringbuffer.
Differential Revision: https://phabricator.services.mozilla.com/D78499
This patch disables and removes the raptor-webext fennec68 tests and replaces them with the browsertime variants. The raptor tests which ran through a cron are also swapped for the browsertime tests.
Differential Revision: https://phabricator.services.mozilla.com/D77674
Currently, a SystemParametersInfo(SPI_GETFLATMENU) happens very very early
during the XUL DLL startup. This is unnecessary, as this value is not used
until way later.
For Win32k lockdown, we will need to remote this call, so ContentChild must
be available.
By loading this value lazily, we ensure IPC will be available and also get to
remove a Win32 call from the Firefox startup time.
Differential Revision: https://phabricator.services.mozilla.com/D76022
This patch adds IDs to all the box divs so they can be referenced by ARIA attributes. The actual legend spans also act as region landmarks with an associated level so the nesting is relayed.
In addition, each of those boxes gets the buttons for its dimensions rendered in-place so for assistive technologies, this all follows a logical flow. aria-owns changes the accessibility tree so the nesting and associated properties are grouped together.
The actual buttons also receive a localizable aria-label that is a combination of the button text and title, so screen reader users not only hear "0 button" without knowing immediately what that button actually belongs to. Title is secondary information.
Differential Revision: https://phabricator.services.mozilla.com/D78953
This patch turns the info that holds the dimensions and position info into a region. Because the visual representation is without explanatory text, an aria-label is constructed for that region to hold a more explicit version of the displayed information.
Differential Revision: https://phabricator.services.mozilla.com/D78952
1. Fix the twisty so it has a role and name that reflects the action the button will take when clicked (show or hide).
2. Give the section itself a heading so it can easily be found. Make it a level 3 so it is clear that this is a sub section of the box model view.
3. Order the properties themselves in a table with rows for each property, and cells for the name and value.
4. Make the property names and values, which are not editable, not clickable.
Differential Revision: https://phabricator.services.mozilla.com/D78951
We really should be color managing them. It was a mistake and
misunderstanding of how Chrome worked because of differences in how we
color manage canvas.
Differential Revision: https://phabricator.services.mozilla.com/D79295
When a transform depends on the layout size of an element, one can see
visual distortions caused by the difference between the unsnapped size
used in the transform, and the snapped size calculated during scene
building. Ideally we could compute the transform after we snap, rather
than before. This patch adds support for a computed reference frame
which takes parameters to calculate the ideal transform dynamically.
In a future patch, we should make videos take advantage of this same
mechanism to avoid similar problems. This requires support for mirroring
and rotations.
Differential Revision: https://phabricator.services.mozilla.com/D77956
We can perform the same function as RecyclingSourceSurface by checking
the ref count of the underlying surface directly. We need to ensure
WebRender is explicitly aware that it is a recycled surface, but that is
easily achieved by changing the type of the surface. This avoids
unnecessary heap allocations, particularly in the case where many
elements on the same page refer to the same animation (and thus
duplicating RecyclingSourceSurface objects).
Differential Revision: https://phabricator.services.mozilla.com/D77513
Automatic update from web-platform-tests
Correct validation of the WebRTC stats
- Allow codecType to be missing in CodecStats
- Allow address to be null (not missing) in iceCandidateStats
- Allow url to be missing (it is only supposed to be present for
STUN and TURN generated candidates)
Exceptionally allow address to be missing in order to work around a bug.
Bug: chromium:1092721
Change-Id: Ib6d290a177b3c1be4c6238d346cba17ac0c18ca3
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2236477
Reviewed-by: Henrik Boström <hbos@chromium.org>
Commit-Queue: Harald Alvestrand <hta@chromium.org>
Cr-Commit-Position: refs/heads/master@{#776866}
--
wpt-commits: 44d3b34ba6ef37c673ed2964edc08137f1d7f648
wpt-pr: 24073
Automatic update from web-platform-tests
Re-compute referrer for navigation requests that CSP upgrades
We're seeing a spike of DumpWithoutCrashes() from
NetworkServiceNetworkDelegate in crbug.com/1090391. This indicates a
request's referrer violates its policy.
From debugging Windows minidups, I found that all or most of the DWCs
are coming from the following scenario:
- A site is loaded over HTTP and is not upgraded
- It is sent with the following Response Headers:
- Content-Security-Policy: `upgrade-insecure-requests`
- Referrer-Policy: `origin-when-cross-origin`
- All subresource requests on the page are requested as relative URLs,
which are necessarily upgraded to HTTPs
- These upgraded URLs are of course cross-origin with the HTTP main
resource, so their referrer is restricted to the origin.
- However, for iframe navigations, the browser process upgrades the
request to HTTPs, but does not re-compute the referrer.
This CL fixes that, and adds two tests:
- HTTP page with origin-when-cross-origin policy requesting an
upgraded iframe
- Assert that the `Referer` is correctly redacted
- HTTPs page requests an HTTP iframe that gets upgraded to HTTPs to be
same-origin
- Assert that the `Referer` is not redacted
R=jochen@chromium.org,kinuko@chromium.org
Bug: 1090391, 1093160
Change-Id: Ib4e0da6e68850ae478020643d4c0fabca4e87e30
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2236900
Commit-Queue: Dominic Farolino <dom@chromium.org>
Reviewed-by: Kinuko Yasuda <kinuko@chromium.org>
Cr-Commit-Position: refs/heads/master@{#776818}
--
wpt-commits: 57727f82763c80c89a94593a7b0960abcf4daa4a
wpt-pr: 24074
Automatic update from web-platform-tests
Roll WebGPU CTS
This also updates the roll script to explicitly rsync the desired
directories and files instead of using an exclude list.
Bug: dawn:433
Change-Id: I5d2404042b419b01e76c73738888cbacf612d350
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2238626
Commit-Queue: Austin Eng <enga@chromium.org>
Reviewed-by: Kai Ninomiya <kainino@chromium.org>
Cr-Commit-Position: refs/heads/master@{#776789}
--
wpt-commits: 2bc620bf57d65492ee9bbfbc93483428b80341e1
wpt-pr: 24068
Automatic update from web-platform-tests
[wptrunner/chromium] Produce full logs and screenshots
1. artifacts["log"] now contains the full logs, including the harness
status and passing subtests.
2. Base64-encoded reftest screenshots, if present, are now stored in
artifacts["screenshots"].
R=lpz
Change-Id: I6da1ba9e87f0dfbf1b1579d25f173d057c4e79e8
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2225741
Commit-Queue: Robert Ma <robertma@chromium.org>
Reviewed-by: Luke Z <lpz@chromium.org>
Cr-Commit-Position: refs/heads/master@{#776739}
--
wpt-commits: 090f052c18cb3a0cb919f921749801f30f9f62a8
wpt-pr: 23902
Automatic update from web-platform-tests
Integration of WMAS test runner into WPT (#21323)
Adding [WMAS (Web Media API Snapshot) test runner](https://github.com/cta-wave/WMAS/) for running tests on embedded devices (TVs, Set-Top-Boxes, Streaming devices) in a single window/tab with server-side monitoring and execution. The [WMAS Specification](https://github.com/w3c/webmediaapi/) targets devices that are not able to run the WPT test runner due performance limitations and missing support of multiple windows/tabs (TV Apps run usually in a single window and not able to use window.open() which is used by the WPT Test Runner).
This [PR](https://github.com/web-platform-tests/rfcs/pull/23) in the [web-platform-tests RFCs](https://github.com/web-platform-tests/rfcs) provides more info about the discussion of the integration of the WMAS Test Runner into WPT.
Co-authored-by: Fritz Heiden <fritz.heiden@fokus.fraunhofer.de>
Co-authored-by: Stephen McGruer <smcgruer@chromium.org>
--
wpt-commits: 333521dce3954312a06d24b0484a0501b46948fa
wpt-pr: 21323
Automatic update from web-platform-tests
Add subpixel transform tests
These are tests intended to verify that supbixel transforms
have the very same effect after being modified.
BUG=1078401
Change-Id: I8ddf2d503b6a0fe64707025be98e8ed81eabe44e
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2238048
Reviewed-by: Xianzhu Wang <wangxianzhu@chromium.org>
Commit-Queue: Manuel Rego <rego@igalia.com>
Cr-Commit-Position: refs/heads/master@{#776698}
--
wpt-commits: aa8160dc7ecc44ee759cafbd8f93e5994cc941bc
wpt-pr: 24072
Automatic update from web-platform-tests
Add additional Web Platform Tests for the Split Cache
This expands the existing web platform tests to ensure that same-origin
frames do not share a cache if their top-level origins are different.
The additional tests create a popup with an iframe, where the iframe is
same-origin to the opener. When the popup's mainframe is also
same-origin to the opener, we expect the cache to be shared. Otherwise,
it should not be.
As with the existing tests, two virtual test suites test the cases of a
split and non-split cache. The default test is disabled as its result
depends on whether the split cache is enabled.
Bug: 1064765
Change-Id: If301e03e0a07a681f960a0972c02fd452b19d798
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2238306
Reviewed-by: Shivani Sharma <shivanisha@chromium.org>
Commit-Queue: Alex Turner <alexmt@chromium.org>
Cr-Commit-Position: refs/heads/master@{#776663}
--
wpt-commits: 9b572e3991481034103c91d4089b342a934b1a45
wpt-pr: 24075
Automatic update from web-platform-tests
Minor fixes for Split Cache Web Platform Test
The current WPT has a few missing tags and typos, which we fix.
Additionally, we now throw an error when a fetch is unsuccessful and
ensure the default test is skipped on Android so that it does not cause
an error when the split cache is turned on by default.
Bug: 1092991
Change-Id: I33682aa94b4ad2d0539f787f1965c46c1dbc8f95
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2238347
Reviewed-by: Shivani Sharma <shivanisha@chromium.org>
Commit-Queue: Alex Turner <alexmt@chromium.org>
Cr-Commit-Position: refs/heads/master@{#776650}
--
wpt-commits: 46b8e8729166151fa30200895dc321689d4362b0
wpt-pr: 24067