Граф коммитов

712294 Коммитов

Автор SHA1 Сообщение Дата
Frédéric Wang d26d3aaded Bug 1642656 [wpt PR 23915] - Add a test to check edge cases of radical kerning., a=testonly
Automatic update from web-platform-tests
Add a test to check edge cases of radical kerning. (#23915)

https://github.com/mathml-refresh/mathml/issues/213
--

wpt-commits: 0546635a0f399f57b0f26d804926c2ca5049e376
wpt-pr: 23915

Differential Revision: https://phabricator.services.mozilla.com/D78778
2020-06-09 10:25:04 +00:00
Stephen McGruer 0604dc0b2b Bug 1642473 [wpt PR 23897] - [Sauce] Remove workaround that manually sets selenium version for edge, a=testonly
Automatic update from web-platform-tests
[Sauce] Remove workaround that manually sets selenium version for edge (#23897)

This appears to be a leftover from the previous use of the sauce runner,
assumedly when there was some bug that required a specific version of
selenium to be used (it was sadly undocumented).

Fixes https://github.com/web-platform-tests/wpt/issues/23895
--

wpt-commits: d5aae4ab7f99e024f70aa0d93ca3748809995263
wpt-pr: 23897

Differential Revision: https://phabricator.services.mozilla.com/D78777
2020-06-09 10:25:02 +00:00
arthursonzogni f0cea01af2 Bug 1641236 [wpt PR 23795] - Fix "blocked-iframe-are-cross-origin.html"., a=testonly
Automatic update from web-platform-tests
Fix "blocked-iframe-are-cross-origin.html".

Reported by antoniosartori@, there was an error in the test:
"blocked_iframe-are-cross-origin.html"

In Javascript, lambda capture is done by reference. The reference was
the loop 'variable'. As a result the second test case was run twice.

The first test case couldn't work, because embedded enforcement do not
apply to same-origin iframes.

The patch fixes the test.
TBR=mkwst@chromium.org

Bug: 1041376
Change-Id: Id5f223aa138470cb263eea5b0af9f616a314a374
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2218049
Reviewed-by: Arthur Sonzogni <arthursonzogni@chromium.org>
Commit-Queue: Arthur Sonzogni <arthursonzogni@chromium.org>
Cr-Commit-Position: refs/heads/master@{#774065}

--

wpt-commits: 2e45d1610c21b55ac4dcf4c223964d0d8069f3ee
wpt-pr: 23795

Differential Revision: https://phabricator.services.mozilla.com/D78776
2020-06-09 10:25:00 +00:00
moz-wptsync-bot 07a56faba6 Bug 1642564 [wpt PR 23907] - Update wpt metadata, a=testonly
wpt-pr: 23907
wpt-type: metadata

Differential Revision: https://phabricator.services.mozilla.com/D78775
2020-06-09 10:24:58 +00:00
Anne van Kesteren 836ec10bb5 Bug 1642564 [wpt PR 23907] - COEP: do not test exception message, a=testonly
Automatic update from web-platform-tests
COEP: do not test exception message

It's implementation-defined, see https://bugzilla.mozilla.org/show_bug.cgi?id=1642149.
--

wpt-commits: 5cf5c990b4e55923a055a04614dec1afa0439f9d
wpt-pr: 23907

Differential Revision: https://phabricator.services.mozilla.com/D78774
2020-06-09 10:24:50 +00:00
Aaron Gustafson 03d2aca030 Bug 1641452 [wpt PR 23816] - First pass WPT for Web App Manifest, a=testonly
Automatic update from web-platform-tests
test if link rel manifest is supported (#23816)

--

wpt-commits: fd60ba25a0726dfea59024d8143240b355c46a55
wpt-pr: 23816

Differential Revision: https://phabricator.services.mozilla.com/D78773
2020-06-09 10:24:48 +00:00
Paul Adenot 1185075aa8 Bug 1644362 - Update cubeb-coreaudio-rs to 4cdbceadae8. r=cubeb-reviewers,achronop
Differential Revision: https://phabricator.services.mozilla.com/D78871
2020-06-09 10:24:41 +00:00
Jean-Yves Avenard 067a5a74d1 Bug 1641737 - P7. Make the DLL and PPDC promises use direct task dispatch. r=mattwoodrow
We attempt to reduce the number of event loop iterations, which would bring us back to a similar behaviour to the pre-DocumentChannel days.

This prevent some tests to have increase intermittent failures.

While ideally, we would prefer to fix or re-write those tests properly, the extra work would block us for too long.

All those increased intermittents already have bug logged about them; so we aren't hiding dust under the rust.

Differential Revision: https://phabricator.services.mozilla.com/D78489
2020-06-09 07:24:23 +00:00
Jean-Yves Avenard 55dc18c387 Bug 1641737 - P6. Remove the need for an extra promise for when a DocumentChannel would connect. r=mattwoodrow
The earlier changes make this unnecessary. The load will start and will automatically resume once the PDocumentChannelParent::RedirectToRealChannel promise gets resolved when a DocumentChannel claim the DocumentLoadListener.

Differential Revision: https://phabricator.services.mozilla.com/D78488
2020-06-09 07:24:15 +00:00
Jean-Yves Avenard 3fce8c1366 Bug 1641737 - P5. Remove unnecessary method. r=mattwoodrow
Differential Revision: https://phabricator.services.mozilla.com/D78210
2020-06-09 07:24:04 +00:00
Jean-Yves Avenard bb29b401bc Bug 1641737 - P4. Add UseDirectTaskDispatch/UseSynchronousDispatch to MozPromiseHolder. r=bholley
The allows to not have to deal with MozPromise::Private directly.

Differential Revision: https://phabricator.services.mozilla.com/D78208
2020-06-09 07:23:57 +00:00
Jean-Yves Avenard f5611e2936 Bug 1641737 - P3. Streamline cleanup so it's all done in the same place. r=mattwoodrow
Differential Revision: https://phabricator.services.mozilla.com/D78180
2020-06-09 07:23:49 +00:00
Jean-Yves Avenard fdc7c5c703 Bug 1641737 - P2. Use MozPromise with DocumentLoadListener and remove cycle. r=mattwoodrow.
Differential Revision: https://phabricator.services.mozilla.com/D78179
2020-06-09 10:11:11 +00:00
Jean-Yves Avenard 0e3faed81f Bug 1641737 - P1. Set dispatch type to chained promises. r=bholley
When chaining a MozPromise set to be dispatched via the direct task queue (or synchronous), it makes sense for the chained promise to be dispatched in the same fashion.

All MozPromises generated by the IPC bindings are set to use the direct task queue in order to prevent the then runnable to run out of order with other IPC tasks.
We want to preserve that task ordering by default.

Differential Revision: https://phabricator.services.mozilla.com/D78178
2020-06-09 07:23:29 +00:00
Alphan Chen f013b16106 Bug 1636926 - Fix tabData is null case when doing finishRestoreHistory() r=mikedeboer
Differential Revision: https://phabricator.services.mozilla.com/D78517
2020-06-09 09:24:23 +00:00
Kartikaya Gupta fe2e3901bb Bug 1644180 - Don't make an async zoom container of a layer that isn't async scrollable. r=botond
Differential Revision: https://phabricator.services.mozilla.com/D78840
2020-06-09 04:35:45 +00:00
Razvan Maries ed45c75750 Backed out changeset 4cf40cf33b0a (bug 1639153) for SM bustages on WasmFrameIter.cpp. CLOSED TREE 2020-06-09 12:32:58 +03:00
Tom Tung ee41bb5026 Bug 1641874 - Update test expectations; r=baku
Differential Revision: https://phabricator.services.mozilla.com/D78283
2020-06-09 09:25:06 +00:00
Tom Tung 492794a250 Bug 1641874 - Make the pref unchangeable at runtime; r=nika
Differential Revision: https://phabricator.services.mozilla.com/D78282
2020-06-09 08:10:42 +00:00
Dmitry Bezhetskov 6f5b781a29 Bug 1639153 - change call_indirect signature check to happen after frame is pushed r=lth,wingo
Move call_indirect's signature check after pushing the frame. We are going to start to implement trampolines as inline code in call_indirect and so, we will push frame and only then tail call to one of the function entries.

Differential Revision: https://phabricator.services.mozilla.com/D75924
2020-06-09 08:54:23 +00:00
James Graham 545c620ab2 Bug 1642163 - Make Web Locks tests check the API is implemented, r=annevk
This avoids needless timeouts

Differential Revision: https://phabricator.services.mozilla.com/D78689
2020-06-09 07:34:37 +00:00
Jonathan Kew 90eb219457 Bug 1643126 - When measuring text, don't include letter-spacing on a preformatted newline character. r=heycam
Differential Revision: https://phabricator.services.mozilla.com/D78603
2020-06-09 08:52:10 +00:00
Simon Fraser d5c5c1164e Bug 1598055 Fix up output redirection in ubuntu1804-test creation r=egao
I think this is meant to be a 'stderr into stdout' redirection

Differential Revision: https://phabricator.services.mozilla.com/D78482
2020-06-08 19:21:23 +00:00
Colomban Wendling 120fea1c42 Bug 1628762 - Fix tree column header color to follow theme. r=geckoview-reviewers,snorp
The background color for the tree column headers is drawn using the
system APIs, but the foreground uses custom colors, which didn't follow
theme.  This can lead to unreadable text with specific colors, e.g.
leading to black on black.

Fix this by using system colors for the foreground as well.  It also
adds on-hover styling to match possible background change on hover.

Differential Revision: https://phabricator.services.mozilla.com/D78073
2020-06-03 20:52:55 +00:00
Razvan Maries d6cd2e480b Backed out 2 changesets (bug 1641874) for perma failures on test_audioWorklet_WASM.html. CLOSED TREE
Backed out changeset df279d4082d8 (bug 1641874)
Backed out changeset 45045a6a1b24 (bug 1641874)
2020-06-09 11:05:26 +03:00
Dimi Lee 53b848ce2f Bug 1644073 - Remove storageAccessAPI permission from preload list r=baku
We add storageAccessAPI permission to perload list in Bug 1499442.

In the recent ETP fission works, we have ensured that the user interaction
permission check can only happen either in the parent process or in the
content processes that load principal to check. This means we don't need
to preload it anymore.

Differential Revision: https://phabricator.services.mozilla.com/D78639
2020-06-08 11:24:05 +00:00
Julian Descottes 67fbd88fbd Bug 1642875 - Remove getBrowsingContextDescriptor r=ochameau,nchevobbe
Depends on D77998

Differential Revision: https://phabricator.services.mozilla.com/D77999
2020-06-09 07:27:27 +00:00
Julian Descottes a2c4ad9d7e Bug 1642875 - Remove legacy-frame-watcher r=nchevobbe
Depends on D77996

Differential Revision: https://phabricator.services.mozilla.com/D77998
2020-06-09 07:26:55 +00:00
Julian Descottes d21194c5dd Bug 1642875 - Remove listRemoteFrames r=nchevobbe
Depends on D77995

Differential Revision: https://phabricator.services.mozilla.com/D77996
2020-06-09 07:26:38 +00:00
Julian Descottes 89a8d5e9e5 Bug 1642875 - Remove unused Frame Descriptor r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D77995
2020-06-09 07:26:11 +00:00
Lars T Hansen 0b6f454037 Bug 1643681 - Fold scalar.const+NxM.splat as v128.const. r=bbouvier
Emscripten will generate eg f32.const + f32x4.splat instead of
f32x4.const when the same value is used for all lanes, presumably
because this is more compact bytecode.  Fold the MIR node to recover
the constant, for all types.

Differential Revision: https://phabricator.services.mozilla.com/D78646
2020-06-09 06:48:47 +00:00
Tom Tung b0dbaf41b2 Bug 1641874 - Update test expectations; r=baku
Depends on D78282

Differential Revision: https://phabricator.services.mozilla.com/D78283
2020-06-08 11:26:19 +00:00
Tom Tung 322e512941 Bug 1641874 - Make the pref unchangeable at runtime; r=nika
Differential Revision: https://phabricator.services.mozilla.com/D78282
2020-06-08 15:25:52 +00:00
Adam Roach [:abr] bc9b8c5433 Bug 1624646: Adding localization notes for macos prompts r=flod
Differential Revision: https://phabricator.services.mozilla.com/D78853
2020-06-09 06:34:05 +00:00
Glenn Watson 238bfaa4ae Bug 1640496 - Fix incorrect FBO state caching when updating external textures. r=sotaro
The `reset_state` method being called after locking external textures
was resetting the cached state, but not actually forcing the GL
state to match.

This could result in cached state getting out of sync with GL. In
this case, we'd end up trying to composite to the external texture
FBO rather than the main framebuffer.

Differential Revision: https://phabricator.services.mozilla.com/D78851
2020-06-09 06:12:23 +00:00
Razvan Maries d72c849034 Backed out changeset a5ba8c617b11 (bug 1643681) for build bustages on MIR.cpp. CLOSED TREE 2020-06-09 09:20:48 +03:00
Andreea Pavel 183ca9e9d9 Bug 1589297 - disable test_search_counts_across_sessions.py on debug, 64bits platforms r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D78581
2020-06-08 09:44:18 +00:00
Lars T Hansen 0edb29be78 Bug 1643681 - Fold scalar.const+NxM.splat as v128.const. r=bbouvier
Emscripten will generate eg f32.const + f32x4.splat instead of
f32x4.const when the same value is used for all lanes, presumably
because this is more compact bytecode.  Fold the MIR node to recover
the constant, for all types.

Differential Revision: https://phabricator.services.mozilla.com/D78646
2020-06-08 16:53:16 +00:00
Marco Zehe fac90408bc Bug 1644127 - Turn the layout side pane into a document for screen readers, r=yzen
This will make it navigable with screen reader commands.

Depends on D78674

Differential Revision: https://phabricator.services.mozilla.com/D78675
2020-06-08 16:53:03 +00:00
Marco Zehe 829c6bdfc4 Bug 977244 - Make the rules view easier to navigate with a screen reader, r=yzen
To give the whole rules view more structure:

1. Make the container a document so screen readers invoke their reading mode.
2. Give the different section headers a proper heading role.
3. Make each separate item an article so screen readers can navigate them more easily.
4. Give the expander twisty for the pseudo classes a proper label that adjusts depending on whether pseudo classes are expanded or collapsed. Also make it a button for screen readers.

This patch does not attempt to simulate any advanced navigation via the keyboard.

Differential Revision: https://phabricator.services.mozilla.com/D78674
2020-06-08 17:08:53 +00:00
Dorel Luca 09bade99f8 Backed out changeset 425e0a7a10fd (bug 1642868) for Linting failure in /python/mozrelease/mozrelease/platforms.py 2020-06-09 06:52:59 +03:00
alwu 934302cd0d Bug 1640998 - part9 : use `MediaControlKey` to replace `MediaControlKeysEvent` r=chunmin,agi,geckoview-reviewers
This patch will
- remove `MediaControlKeysEvent` and use `MediaControlKey` to replace it
- rename names for all `MediaControlKey` related methods, functions, classes and descriptions

The advantage of doing so are
- remove the duplicated type so that we only need to maintain `MediaControlKey`

Differential Revision: https://phabricator.services.mozilla.com/D78140
2020-06-09 02:59:57 +00:00
alwu 1b2d8c78ce Bug 1640998 - part8 : add test. r=chunmin
Differential Revision: https://phabricator.services.mozilla.com/D77758
2020-06-08 23:27:19 +00:00
alwu 0d200dff8a Bug 1640998 - part7 : create `MediaController` webidl. r=chunmin,smaug
This patch will
- create a chrome-only webdil interface `MediaController`
- expose supported keys via `MediaController` webidl interface

The advantage of doing so are
- to have a dedicated interface that is only used for MediaController that can be used for testing and our future plan (media hub)

More Details :
Currently, we access media controller's from `ChromeUtils` [1], but it causes a problem of creating a duplicated enum of the enum which we want to expose into Chrome JS.

Instead, we should create a media controller interface to access all its attibutes, which is more easier and clean.

In addition, we're planning to have a something like Chrome's media hub [2]. In order to do that, we have to expose some JS methods to allow us to control playback directly from Chrome JS.

[1] https://searchfox.org/mozilla-central/rev/559b25eb41c1cbffcb90a34e008b8288312fcd25/dom/chrome-webidl/ChromeUtils.webidl#485-493
[2] https://blog.google/products/chrome/manage-audio-and-video-in-chrome/

Differential Revision: https://phabricator.services.mozilla.com/D77757
2020-06-08 18:51:12 +00:00
alwu 5aa603709c Bug 1640998 - part6 : only notify the active media session's metadata change. r=chunmin
This patch will
- prevent dispatching metadata change event for non-active media session (we only care about the event from the active media session)

The advantage of doing so are
-  reduce some unnecessary code running

Differential Revision: https://phabricator.services.mozilla.com/D77756
2020-06-08 18:51:10 +00:00
alwu 15d6f8b8ae Bug 1640998 - part5 : set supported keys to the event source r=chunmin
This patch will
- add a method `SetSupportedMediaKeys()` on `MediaControlKeysEventSource`
- set main controller's supported key to the event source

The advantage of doing so are
- to allow the event source knowing which key is supported in order to determine the displayed UI button

Differential Revision: https://phabricator.services.mozilla.com/D77200
2020-06-09 02:23:35 +00:00
alwu d05ba91da0 Bug 1640998 - part4 : update supported action changes from the content process. r=chunmin
This patch will
- tell the media controll supported action changes when media session updates its action handler

The advantage of doing so are
- to sync the status between media session in content process and the `MediaSessionInfo` in chrome process

Differential Revision: https://phabricator.services.mozilla.com/D77199
2020-06-08 22:16:46 +00:00
alwu 258a1fae24 Bug 1640998 - part3 : add methods to update supported action from media sessions. r=chunmin
This patch will
- add methods to allow media controller to enable/disable action for specific media session

The advantage of doing so are
- to know the supported actions for each media session

Differential Revision: https://phabricator.services.mozilla.com/D77198
2020-06-08 18:50:53 +00:00
alwu 337718365e Bug 1640998 - part2 : use `ContentMediaAgent` to update media session's related information. r=chunmin
This patch will
- `ContentMediaAgent` as the only class to propagate the information to chrome process

The advantage of doing so are
- to group all methods involving IPC in one place, that would be easier to see what information would be propagated to chrome process

Differential Revision: https://phabricator.services.mozilla.com/D77197
2020-06-08 18:50:45 +00:00
alwu cc64086a9c Bug 1640998 - part1 : make `ContentMediaAgent` inherit from `IMediaInfoUpdater`. r=chunmin
This patch will
- make `ContentMediaAgent` inherit from `IMediaInfoUpdater`
- move `MediaPlaybackState` and `MediaAudibleState` to `MediaPlaybackStatus.h`

The advantage of doing so are
- to force all methods which are related with updating information from content process to chrome process to be manged by `IMediaInfoUpdater`. It can help us only put the descriptive comment for methods on one place. (on `IMediaInfoUpdater`)

Differential Revision: https://phabricator.services.mozilla.com/D77196
2020-06-08 22:08:26 +00:00