Commit Graph

776861 Commits

Author SHA1 Message Date
Emilio Cobos Álvarez
c2c592e87f Bug 1741089 - Make attachShadow() not reframe the shadow host unconditionally. r=smaug
We only need to clean up the frames for its flat tree children which are
about to go away from the flat tree, but we don't need to do anything
else. This avoids issues with the following patches because menupopups
depend a lot on their frame tree state.

Differential Revision: https://phabricator.services.mozilla.com/D131083
2021-11-16 16:34:51 +00:00
Bryce Seager van Dyk
b5902ee658 Bug 1737666 - Update widevine fallback URLs to 4.10.2391.0 CDM. r=mjf
Update the fallback URLs for Widevine version 4.10.2391.0. This also adds a
fallback for the Windows asan case. This makes the fallback URLs consistent with
the balrog rules and handles the (edge) case where asan Win builds can't connect
to balrog.

Differential Revision: https://phabricator.services.mozilla.com/D131159
2021-11-16 16:24:49 +00:00
criss
d68f0e9684 Backed out changeset 5c921d8e51bd (bug 1741089) for causing mochitest failures on test_bug557987.xhtml . CLOSED TREE 2021-11-16 18:27:45 +02:00
Henri Sivonen
e266e0f13a Bug 1741219 - Remove Expat usage from nsHtml5StreamParser. r=smaug
To be overwritten by the patch for https://bugzilla.mozilla.org/show_bug.cgi?id=1701828 .

Differential Revision: https://phabricator.services.mozilla.com/D131215
2021-11-16 16:02:04 +00:00
Emilio Cobos Álvarez
3cf56f8e1f Bug 1741089 - Make async OpenMenu simpler/sound. r=mstange
There's only one caller of it and it's not sound: The runnable captures a
raw frame pointer etc. Instead, just do a dispatch to the main thread
and call OpenMenu there. This simplifies the following patch.

Differential Revision: https://phabricator.services.mozilla.com/D131082
2021-11-16 15:43:38 +00:00
Kershaw Chang
f4838a045c Bug 1653543 - When socket process is used, don't leak host name with SOCKS proxy, r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D131116
2021-11-16 15:28:33 +00:00
moz-wptsync-bot
df18dd52da Bug 1741275 - [wpt-sync] Update web-platform-tests to 625a2df832b19acee6a5510cfeadac01019e17e9, a=testonly
MANUAL PUSH: wpt sync bot

wpt-head: 625a2df832b19acee6a5510cfeadac01019e17e9
wpt-type: landing
2021-11-16 15:28:59 +00:00
cathiechen
6ff0e13434 Bug 1741128 [wpt PR 31631] - Fixed the typos in contain-layout-019.html, a=testonly
Automatic update from web-platform-tests
Fixed the typos in contain-layout-019.html (#31631)

--

wpt-commits: 625a2df832b19acee6a5510cfeadac01019e17e9
wpt-pr: 31631
2021-11-16 15:28:59 +00:00
Greg Tatum
ec908112f4 Bug 1738057 - Split out BidiEmbeddingLevel into its own file; r=platform-i18n-reviewers,dminor
This should speed up re-compile times, as mozilla/intl/Bidi.h will only
be included in a few places.

Differential Revision: https://phabricator.services.mozilla.com/D129662
2021-11-16 15:11:58 +00:00
Ben Hearsum
72b7841950 Bug 1737177: Add nsSystemInfo runtime flag for whether running application is running under Microsoft Windows S Mode. r=mhowell
This patch uses the Windows.System.Profile.WindowsIntegrityPolicy class to determine whether or not Windows is in S mode. This class is only available beginning with SDK 17763 (newer than what we use right now), so we need to fetch it at runtime with some magic.

This is a completely no-op for Windows versions older than 1810, where the WindowsIntegrityPolicy class is not available.

Differential Revision: https://phabricator.services.mozilla.com/D130397
2021-11-16 15:11:32 +00:00
Greg Tatum
0f0b78cc1d Bug 1736907 - Add a build flag to experimentally build with ICU4X static data; r=platform-i18n-reviewers,dminor
Differential Revision: https://phabricator.services.mozilla.com/D129080
2021-11-16 15:09:09 +00:00
Henrik Skupin
57bc6555f9 Bug 1740225 - [wdspec] Don't print async shutdown logs for CI jobs. r=webdriver-reviewers,jdescottes
These logs have been added to help with the investigation of shutdown issues. But it turned out to not be that helpful. Lets get it removed from wdspec jobs to lesser clutter the logs.

Differential Revision: https://phabricator.services.mozilla.com/D130974
2021-11-16 14:58:50 +00:00
Henrik Skupin
bece95705b Bug 1740798 - [puppeteer] Update expected meta data. r=webdriver-reviewers,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D131212
2021-11-16 14:58:11 +00:00
Henrik Skupin
d505f7b753 Bug 1740798 - [remote] Await the mouse event before returning from Input.dispatchMouseEvent(). r=webdriver-reviewers,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D131211
2021-11-16 14:58:11 +00:00
Kershaw Chang
32a2353494 Bug 1740515 - Add 'socket' in record_in_processes for telemetry probes in socket process, r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D130980
2021-11-16 14:56:30 +00:00
Dave Townsend
45cb59267a Bug 1740539: Get siteName, image and description from twitter cards. r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D130884
2021-11-16 14:54:09 +00:00
Dave Townsend
55b5583284 Bug 1740538: Get site name from organization microdata. r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D130883
2021-11-16 14:54:09 +00:00
Dave Townsend
90890337d7 Bug 1740536: Support descriptions for pages. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D130882
2021-11-16 14:54:08 +00:00
Andrew McCreight
8648653dd1 Bug 1741246 - Pass JS::GCCellPtr in nsCycleCollectionTraversalCallback::NoteJSChild(). r=jonco
This is a pointer-sized value, so there's no need to pass it by
value. All of the SpiderMonkey places that pass GCCellPtr are doing
it by value, so this is aligning with that.

In addition, I removed a NoteJSChild() overload that is no longer
used.

Differential Revision: https://phabricator.services.mozilla.com/D131163
2021-11-16 14:52:54 +00:00
Julian Descottes
d226afc848 Bug 1740438 - [devtools] Remove backward compatibility code for recordAllocations target configuration option r=devtools-reviewers,bomsy
Depends on D130847

Differential Revision: https://phabricator.services.mozilla.com/D130848
2021-11-16 14:34:27 +00:00
Julian Descottes
474ba47047 Bug 1740438 - [devtools] Remove backward compatibility code for clearPickerSupport trait r=devtools-reviewers,bomsy
Depends on D130846

Differential Revision: https://phabricator.services.mozilla.com/D130847
2021-11-16 14:34:27 +00:00
Julian Descottes
cbd04951b9 Bug 1740438 - [devtools] Remove backward compatibility code for typename browsingContextTarget r=devtools-reviewers,bomsy
Depends on D130845

Differential Revision: https://phabricator.services.mozilla.com/D130846
2021-11-16 14:34:26 +00:00
Julian Descottes
a33af7064f Bug 1740438 - [devtools] Remove backward compatibility code for useChildTargetToFetchChildren r=devtools-reviewers,bomsy
Depends on D130844

Differential Revision: https://phabricator.services.mozilla.com/D130845
2021-11-16 14:34:26 +00:00
Julian Descottes
4e5f134653 Bug 1740438 - [devtools] Remove backward compatibility code for event-breakpoints trait r=devtools-reviewers,bomsy
Differential Revision: https://phabricator.services.mozilla.com/D130844
2021-11-16 14:34:25 +00:00
M. Sirringhaus
59c1dc3789 Bug 1736990 - Expose /dev/random and /proc/sys/crypto/fips_enabled in sandboxes. r=bryce,gcp
For running in FIPS mode, NSS needs to check /proc/sys/crypto/fips_enabled, to be able to tell whether FIPS is enabled or not.
FIPS also mandates using /dev/random instead of /dev/urandom.

Differential Revision: https://phabricator.services.mozilla.com/D129126
2021-11-16 14:16:19 +00:00
Dão Gottwald
57aa369908 Bug 1740950 - Remove arrow coloring code for CFR milestone notifications. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D131057
2021-11-16 14:03:29 +00:00
Henrik Skupin
b7152c9264 Bug 1418778 - [wdspec] Re-enable disabled tests for CCOV on Windows. r=webdriver-reviewers,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D131226
2021-11-16 13:46:56 +00:00
criss
523d8fe9b6 Backed out 3 changesets (bug 1740536, bug 1740538, bug 1740539) for causing xpcshell failures on test_snapshots_page_image.js. CLOSED TREE
Backed out changeset 5799bb789d17 (bug 1740539)
Backed out changeset 7b6d2c239663 (bug 1740538)
Backed out changeset 6d91e21a9ae3 (bug 1740536)
2021-11-16 16:12:08 +02:00
Dave Townsend
3dda387a13 Bug 1740539: Get siteName, image and description from twitter cards. r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D130884
2021-11-16 13:13:26 +00:00
Dave Townsend
fe86d983fc Bug 1740538: Get site name from organization microdata. r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D130883
2021-11-16 13:13:26 +00:00
Dave Townsend
606a3f598a Bug 1740536: Support descriptions for pages. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D130882
2021-11-16 13:13:25 +00:00
Will Kahn-Greene
e6d2fa42bb Bug 1594515 - Pass INTERNET_FLAG_SECURE when using https symbol supplier. r=gsvelto
Differential Revision: https://phabricator.services.mozilla.com/D130927
2021-11-16 13:13:23 +00:00
Dragana Damjanovic
2ed21be3b6 Bug 1740208 - mEarlyHintObserver needs to be called with a lock. r=necko-reviewers,kershaw
Differential Revision: https://phabricator.services.mozilla.com/D131223
2021-11-16 12:28:13 +00:00
Dragana Damjanovic
89e1663bd8 Bug 1740208 - Implement an EarlyHint listener r=necko-reviewers,kershaw
Differential Revision: https://phabricator.services.mozilla.com/D130729
2021-11-16 12:28:13 +00:00
André Bargull
6befc832ea Bug 1739660 - Part 3: Transpile SpreadNew and SpreadSuperCall. r=iain
After the preparations from the preceding patches, we can now simply enable
transpiling `SpreadNew` and `SpreadSuperCall`.

Differential Revision: https://phabricator.services.mozilla.com/D130490
2021-11-16 12:19:15 +00:00
André Bargull
fec72f55dd Bug 1739660 - Part 2: Record 'needsThisCheck' in MConstructArray. r=iain
Adds `MConstructArray::needsThisCheck` so we can pass this flag to `MakeCall()`
in `ArrayMemoryView::visitConstructArray()`. This is needed because the next
patch will change `MConstructArray` to store a single caller in
`MConstructArray::target_` and we have assertions in place which disallow to
emit a `this`-check when we know it's unnecessary (because the target function
is known).

Differential Revision: https://phabricator.services.mozilla.com/D130494
2021-11-16 12:19:14 +00:00
André Bargull
9aee391250 Bug 1739660 - Part 1: Support constructing in makeSpreadCall. r=iain
No change in behaviour, only changes `build_SpreadNew()` to call `makeSpreadCall()`
in preparation for the next patches in this stack.

Additionally moves the `MCreateThis::New` call from `WarpBuilder::buildCallOp()`
into a new method `WarpBuilder::buildCreateThis()`.

Differential Revision: https://phabricator.services.mozilla.com/D130489
2021-11-16 12:19:14 +00:00
André Bargull
e68a9d44fd Bug 1700398 - Part 3: Support scalar replacement for rest arguments in construct calls. r=iain
Adds a copy of `ApplyArgs` to handle constructor calls. This new instruction is
then used to scalar replace rest arrays in `new` and `super` spread calls.

With this patch applied, we can scalar replace rest parameters in derived class
constructors:
```
class Derived extends Base {
  constructor(...args) {
    super(...args);
  }
}
```

Differential Revision: https://phabricator.services.mozilla.com/D130485
2021-11-16 12:19:13 +00:00
André Bargull
a68365c840 Bug 1700398 - Part 2: Scalar replace rest arrays. r=iain
This follows the existing scalar replacement support for `arguments`. When the
rest array isn't modified, we can read the rest array elements from the frame.
And the rest array length can be computed through `max(numActuals - numFormals, 0)`.

There isn't yet support for scalar replacing rest arrays in `MApplyArray` when
additional formals are present, because `MApplyArgs` doesn't yet cover this case.

Differential Revision: https://phabricator.services.mozilla.com/D130484
2021-11-16 12:19:13 +00:00
André Bargull
2266623d72 Bug 1700398 - Part 1: Recover MRest. r=iain
Add recover support for `MRest`. When rest arguments are present, the `arguments`
object isn't mapped, so the rest array can be directly recovered from the frame.

Differential Revision: https://phabricator.services.mozilla.com/D130483
2021-11-16 12:19:12 +00:00
OnuohaOluebube
4e0acf805c Bug 1673438 -[remote] Refactored evaluate.fromJSON parameters into an options object r=whimboo,webdriver-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D129597
2021-11-16 11:25:52 +00:00
Emilio Cobos Álvarez
9d20445d1e Bug 1741251 - Use rect rather than point for button box position computation. r=dholbert
Otherwise the origin of the rect might not be correctly converted.

We have a supposed test for something like this:

  layout/reftests/forms/input/number/spinner-overflow-vertical.html

But in practice it doesn't work, because I removed the "overflowing
descendants inflate outlines" behavior (bug 1739894), and even with that
pref it doesn't seem to cut it... So repurpose that test to test both.

Differential Revision: https://phabricator.services.mozilla.com/D131175
2021-11-16 10:57:05 +00:00
criss
507f143b88 Backed out 2 changesets (bug 1617611) for causing mochitest failures on storageAccessWithDynamicFpi.js. CLOSED TREE
Backed out changeset fdb2c6bfc0c6 (bug 1617611)
Backed out changeset c3352f4b3681 (bug 1617611)
2021-11-16 13:02:05 +02:00
Dave Townsend
bda0bb4a05 Bug 1740531: Move page data collection into PageDataSchema for easier testing. r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D130881
2021-11-16 10:29:17 +00:00
Niklas Goegge
5b684c7fc6 Bug 1617611: Annotate each failing test individually. r=webdriver-reviewers,necko-reviewers,ckerschb,whimboo,valentin
Annotating each test individually lets us avoid introducing new failing tests
while we go through the backlog of failing tests.

Depends on D129162

Differential Revision: https://phabricator.services.mozilla.com/D129163
2021-11-16 10:15:45 +00:00
Niklas Goegge
707d824008 Bug 1617611: Enable SameSite=Lax by default in mochitests. r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D129162
2021-11-16 10:15:44 +00:00
Hubert Boma Manilla
de4e58224c Bug 1736366 - [devtools] Refactor the getBreakpointSources selector to no longer use makeShallowQuery r=ochameau
Differential Revision: https://phabricator.services.mozilla.com/D128742
2021-11-16 09:51:18 +00:00
Mirko Brodesser
628629cf0c Bug 1741162: refine <jsactors.rst> a little. r=nika
To someone new to Fission and Gecko, it's unclear the Message Manager
mechanism is pre-Fission.

Differential Revision: https://phabricator.services.mozilla.com/D131126
2021-11-16 09:30:40 +00:00
Andreea Pavel
caa6cc4f0b Backed out changeset 3d28e4c556d7 (bug 1740208) for ThreadSanitizer failures in assign_assuming_AddRef on a CLOSED TREE 2021-11-16 11:35:29 +02:00
Jon Coppeard
1ab5c358ce Bug 1693775 - Change remaining uses to pass GCCellPtr by value r=sfink
Depends on D131142

Differential Revision: https://phabricator.services.mozilla.com/D131143
2021-11-16 09:09:38 +00:00