Automatic update from web-platform-tests
FSA: Add AccessHandleHost
This CL adds the basic scaffolding for AccessHandleHost.
AccessHandleHost allows the renderer to notify the browser when an
access handle closes. Future CLs will use this functionality to create
exclusive write locks that prevent the creation of other access handles
or writables. AccessHandleHost will also eventually own the browser
side of the file delegate when in incognito mode.
For more context on this surface and the general objective of the merger
between Storage Foundation and OPFS, check out:
https://docs.google.com/document/d/1g7ZCqZ5NdiU7oqyCpsc2iZ7rRAY1ZXO-9VoG4LfP7fM
Bug: 1218431
Change-Id: I0f804bb08da96bd978e5899b68f55cf7501935b5
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3015198
Reviewed-by: Richard Stotz <rstz@chromium.org>
Reviewed-by: Austin Sullivan <asully@chromium.org>
Reviewed-by: Mike West <mkwst@chromium.org>
Commit-Queue: Emanuel Krivoy <krivoy@google.com>
Cr-Commit-Position: refs/heads/master@{#902978}
--
wpt-commits: a8a36544812a1e9fa655820ae3361931c47559b7
wpt-pr: 29625
Automatic update from web-platform-tests
Add Chris Lord as a suggested reviewer for OffscreenCanvas tests (#29704)
--
wpt-commits: d8899c277366e6960b0c564f76815f14dfd92cab
wpt-pr: 29704
Automatic update from web-platform-tests
Improve tests for extra arguments to getContext(). (#29618)
--
wpt-commits: 7f5aaca5709faad3f7cb40f79000028ddded078a
wpt-pr: 29618
Automatic update from web-platform-tests
[css-ui] Added "checked" to accent-color test
This test was comparing an unchecked checkbox
but you usually don't see the accent-color in that case.
This patch just marks it as "checked" so if accent-color applies
we'll see some difference.
--
wpt-commits: f9d5959e214985a0895943d8559ca62806e38ebf
wpt-pr: 29699
Automatic update from web-platform-tests
[css-text] Make text-indent apply to anonymous flex and grid items
There was a check that only allowed text-indent to apply to
anonymous blocks if they were the first child of the parent block.
That's exactly right for anonymous blocks that take part in a BFC and
surround inline content, but is overrestrictive for anonymous blocks
that take part in a flex or grid formatting context.
Fixed: 1159311
Change-Id: Id2d6909a30da9e8fe3de3b3058ffe630f180ff8c
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3036862
Reviewed-by: Koji Ishii <kojii@chromium.org>
Commit-Queue: David Grogan <dgrogan@chromium.org>
Cr-Commit-Position: refs/heads/master@{#902884}
--
wpt-commits: 9c174dc5f5044609669af7bc28e35924ac02fbb4
wpt-pr: 29697
Automatic update from web-platform-tests
Fix a few bugs in declarative Shadow DOM cloning
Previously, the cloning operation would fail if the declarative shadow
root was sufficiently nested (e.g. inside another <div> or inside a
nexted <template>). This CL fixes this bug, by passing through the
CloneChildrenFlag to all the places it's needed.
Two new test conditions are added for the two broken cases.
Fixed: 1229311
Change-Id: I3e1fe7e6075e1aa74ff753c66ee209bd08a8a29c
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3033299
Auto-Submit: Mason Freed <masonf@chromium.org>
Reviewed-by: Aleks Totic <atotic@chromium.org>
Commit-Queue: Mason Freed <masonf@chromium.org>
Cr-Commit-Position: refs/heads/master@{#902843}
--
wpt-commits: eafef7e9e90735e4cc2e55d704e3cf6c3d0f8a2c
wpt-pr: 29682
It leads to OpenGL errors, as we must initialize a webrender Device in
order to initialize the shaders, and this Device attempts to use
OpenGL commands not supported by the GL context. For example the GL
context may only support GLES 2, hence why we are using SWGL in the
first place.
Differential Revision: https://phabricator.services.mozilla.com/D120356
This commit implements a framework for creating 'intrinsics' which are
natively implemented functions that are exposable as wasm functions
that can be called or linked against. A simple 8-bit vector product for
flexible vectors is implemented as a proof of concept.
The basic API is:
```
let module = wasmIntrinsicI8VecMul(); // WebAssembly.Module
let memory = new WebAssembly.Module({ initial: pageSize });
let instance = new WebAssembly.Instance(module,
{ "": { memory } });
instance.exports.i8vecmul(dest, src1, src2, len);
```
The implementation is mainly done through `CompileIntrisicModule` which
manually builds a ModuleEnvironment with an imported memory, and a single
exported function which is of the bytecode form:
```
(func (params ...)
local.get 0
...
local.get n
private_intrinsic_opcode
)
```
The private_intrinsic_opcode is implemented as an instance call. An
additional heap base parameter is added which allows quick bounds
checking, similar to Instance::memory32Copy.
A followup will implement the intrinsic for the firefox
translations project.
Differential Revision: https://phabricator.services.mozilla.com/D119919
- Move screen getter initialization to ScreenGetterGtk::Init() to initialize it after a global object is created.
- Store screen list internally at ScreenGetterWayland to allow searching in it.
- Implement ScreenGetterWayland::GetMonitorForWindow() to get monitor/wl_output for nsWindow.
- Implement ScreenGetterWayland::GetScreenForWindow() to get screen where the window is placed.
- Implement ScreenGetterWayland::GetScreenRectForWindow() to get window screen rect.
- Do some more logging on ScreenHelperGTK.cpp
Differential Revision: https://phabricator.services.mozilla.com/D120056
- Implement new ScreenGetterWayland() object and get screen/monitor configuration directly from Wayland.
- Use it at ScreenHelperGTK when runnin on Wayland
- Use LOG_SCREEN() macro for screen logging
Differential Revision: https://phabricator.services.mozilla.com/D118959
According to our current usage, I don't see a case where we need to call
SlotAssignedNodeChanged without acutally moving the node. So this patch
just simpifies that behaviour.
Differential Revision: https://phabricator.services.mozilla.com/D119443
The rules to not run GTest for Windows Shippable didn't get updated when the
platform name got the '-qr' suffix in bug 1715515 and the gtest test bundle was
missing. The generation of the GTest bundle takes too long with Windows pgo
(see bug 1200311), hence it's kept disabled on these platforms.
Differential Revision: https://phabricator.services.mozilla.com/D120343
The Netmonitor used to call the WebConsoleFront `getString` method to get the full
text of a long string. This could make some test to fail with Fission and target
switching.
Since the webconsole actor is not even involved in the webconsole method, there's
no reason to keep using it. A similar function is added into a util file; the only
difference is that it doesn't cache the front it creates, which does not matter
as the netmonitor only calls this once and then put the full text in its redux
store.
This allows us to re-enable `browser_ext_devtools_network.js` with Fission.
Differential Revision: https://phabricator.services.mozilla.com/D120333
The helper is already calling `gDevTools.closeToolboxForTab`, which does take care
of destroying its associated descriptor.
This makes some extension test to pass with server side target switching enabled.
Differential Revision: https://phabricator.services.mozilla.com/D120332