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

750132 Коммитов

Автор SHA1 Сообщение Дата
Tom Schuster 2fe6127401 Bug 1684316 - Add @@toStringTag to CountQueuingStrategy and ByteLengthQueuingStrategy to match WebIDL. r=arai
Differential Revision: https://phabricator.services.mozilla.com/D109238
2021-03-22 16:38:18 +00:00
Tom Schuster 108b1f33c0 Bug 1657509 - Always resolve ReadableStream's tee()'s cancel promise after the stream closes or errors. r=arai
Seems like the existing step numbers refer to a differently formatted spec. I updated the numbers
where I changed something to match https://streams.spec.whatwg.org/.

Differential Revision: https://phabricator.services.mozilla.com/D109237
2021-03-22 16:38:18 +00:00
Andrew Halberstadt d581304cf1 Bug 1699932 - [ci] Run mochitest and reftest selftests with Python 3, r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D109207
2021-03-22 16:36:34 +00:00
Eitan Isaacson e2e455ad6a Bug 1697683 - Don't allow getAvailableLanguages to return null. r=geckoview-reviewers,agi
Differential Revision: https://phabricator.services.mozilla.com/D109111
2021-03-22 16:30:06 +00:00
Florian Quèze 8ad1e5d0aa Bug 1699742 - Remove MOZ_GECKO_PROFILER ifdefs that are no longer needed, r=gerald.
Differential Revision: https://phabricator.services.mozilla.com/D109078
2021-03-22 16:29:52 +00:00
Alexandru Michis 8e177ab98a Bug 1681691 - Update manifest expectations for fontface-override-descriptor-getter-setter.sub.html and idlharness.https.html a=manifest-fix
CLOSED TREE
2021-03-22 19:10:17 +02:00
Emilio Cobos Álvarez 0bcd73e6f9 Bug 1699931 - Hopefully the last fuzzy annotation change...
MANUAL PUSH: Orange CLOSED TREE
2021-03-22 17:34:05 +01:00
Tom Schuster f870fa5d6a Bug 1536094 - Add test for importing from WebExtension content scripts r=smaug,robwu
Differential Revision: https://phabricator.services.mozilla.com/D108236
2021-03-22 16:22:28 +00:00
Tom Schuster 896f971e00 Bug 1536094 - CC changes. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D108532
2021-03-22 16:22:27 +00:00
Tom Schuster aa320997de Bug 1536094 - Support dynamic import from content scripts (sandboxed code) r=smaug,jonco
Firstly we need to find a usable ScriptLoader for code in the content script sandbox,
for that we use the normal ScriptLoader associated with DOMWindow wrapped by the sandbox.

Secondly we need to execute the module in the global of the sandbox instead of the
"ScriptGlobal" the ScriptLoader is actually associated with. The main
behavior change here comes from using xpc::NativeGlobal in HostImportModuleDynamically
and passing that global around inside ScriptFetchOptions.

To ensure that content-scripts and the webpage don't share imported modules,
the module map (mFetchingModules and mFetchedModules) now uses a complex key
of <URI, Global>. The Global is a nullptr for normal imports from a webpage.

Differential Revision: https://phabricator.services.mozilla.com/D107076
2021-03-22 16:22:27 +00:00
Eitan Isaacson 30b42bba1c Bug 1415960 - Use flattened tree parent when returning GetContainerAccessible. r=Jamie
This fixes an inconsistency where CacheChildrenInSubtree uses the
flattened tree via DOM child iterators, but ProcessInvalidationList uses
GetContainerAccessible that doesn't currently use the flattened tree.

Differential Revision: https://phabricator.services.mozilla.com/D108980
2021-03-22 16:21:08 +00:00
Jan de Mooij dcef02cab1 Bug 1698791 part 3 - Add an is-index flag to JS atoms. r=evilpie
This lets us speed up JSAtom to PropertyKey conversions. This matters for example
for megamorphic GetElem lookups (a very hot code path for modern JS frameworks).

Although this calls isIndexSlow for each atom we create, it still results in a lot
less calls to that method compared to before, when browsing some popular websites.

Differential Revision: https://phabricator.services.mozilla.com/D108743
2021-03-22 16:16:35 +00:00
Jan de Mooij 76f917674f Bug 1698791 part 2 - Use isIndex/CheckStringIsIndex for StringIsArrayIndex. r=evilpie
StringIsArrayIndex is almost identical to isIndex/CheckStringIsIndex, but it's
limited to UINT32_MAX - 2 instead of UINT32_MAX.

This patch de-duplicates this with an explicit check for the smaller max length.
This ensures we can benefit from the index-value optimization and the ATOM_IS_INDEX
flag added in the next patch.

The difference in maximum length is still confusing and should probably be cleaned
up separately.

Differential Revision: https://phabricator.services.mozilla.com/D108742
2021-03-22 16:16:35 +00:00
Jan de Mooij 7921a27010 Bug 1698791 part 1 - Replace JSLinearString::isIndexSlow with CheckStringIsIndex. r=evilpie
Differential Revision: https://phabricator.services.mozilla.com/D108741
2021-03-22 16:16:34 +00:00
Emilio Cobos Álvarez 75e5766b67 Bug 1699930 - Don't let GTK text scale affect non-native scrollbar sizes. r=mstange
This matches the native theme. We plumb it via LookAndFeel to avoid
having to load GTK settings in child processes.

Differential Revision: https://phabricator.services.mozilla.com/D109275
2021-03-22 16:11:33 +00:00
Steve Fink c8b4a27dc9 Bug 1698172 - Add descriptions to GC markers r=jonco
Differential Revision: https://phabricator.services.mozilla.com/D108249
2021-03-22 16:00:52 +00:00
Myeongjun Go 68c759ec5b Bug 1691558 - Strengthen a log to confirm that the file will be searched r=sparky
Differential Revision: https://phabricator.services.mozilla.com/D107391
2021-03-22 15:48:50 +00:00
Jonathan Kew a27156910e Bug 1681691 - Update metadata for WPT metrics-override tests. r=emilio
Depends on D109290

Differential Revision: https://phabricator.services.mozilla.com/D109291
2021-03-22 15:40:54 +00:00
Jonathan Kew fd42b5edc6 Bug 1681691 - Adjust font-family names used in WPT metrics-override tests to avoid spurious failures due to antialiasing in Gecko. r=emilio
Many WPT reftests compare Ahem glyphs (squares) with a reference that uses simple shapes
such as a <div> with a solid background that is expected to have the exact same size.

If antialiasing is applied to the Ahem font, such tests will often fail because of
faint antialiasing pixels at the edges of the square glyphs, even though the test is
"passing" in terms of what it actually aims to check.

Rather than annotate all such tests as "fuzzy", Gecko has an option to disable antialiasing
for the Ahem font, despite it being enabled for font rendering in general, and we use this
when running the WPT reftests. However, this depends on the font-family name being exactly
"Ahem".

Therefore, in the tests which load Ahem via @font-face and override some descriptors,
we still want to use "Ahem" as the resulting family name (shadowing the standard Ahem,
if it is locally installed) so that the non-antialiased rendering will be used.

(In the case of metrics-override-normal-keyword, there are multiple "custom" versions
of Ahem loaded by the testcase, so we instead take the approach of also loading it with
a modified family name in the reference; then both testcase and reference will get
the default antialiased font rendering rather than special "Ahem" treatment.)

Differential Revision: https://phabricator.services.mozilla.com/D109290
2021-03-22 15:40:54 +00:00
Jonathan Kew 9c404e3453 Bug 1681691 - Add support for metrics overrides to gfxUserFontEntry, dom::FontFace, etc r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D109289
2021-03-22 15:40:54 +00:00
Jonathan Kew c7f2ecd67e Bug 1681691 - Add metrics override descriptors to webidl. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D109288
2021-03-22 15:40:53 +00:00
Jonathan Kew 74d9e1842c Bug 1681691 - Also remove unnecessary 'unsafe' from a bunch of FontFaceRule descriptor getters. r=emilio
Depends on D109287

Differential Revision: https://phabricator.services.mozilla.com/D109344
2021-03-22 15:40:53 +00:00
Jonathan Kew cd80bce521 Bug 1681691 - Add ascent-, descent- and line-gap-override descriptors to the style system. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D109287
2021-03-22 15:40:52 +00:00
Jonathan Kew 93f83b8081 Bug 1681691 - Convert the font-stretch descriptor to use NonNegativePercentage. r=emilio
Depends on D109285

Differential Revision: https://phabricator.services.mozilla.com/D109286
2021-03-22 15:40:52 +00:00
Jonathan Kew 327afe6604 Bug 1681691 - Create a NonNegativePercentage type in values:specified. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D109285
2021-03-22 15:40:52 +00:00
Jonathan Watt 9dacac801e Bug 1689265. Renew probes expiring in Firefox 88: PRINT_BACKGROUND_TASK_*. r=bobowen
Differential Revision: https://phabricator.services.mozilla.com/D109059
2021-03-22 15:39:24 +00:00
Simon Giesecke 57f6b5ad54 Bug 1698871 - Use SafeRefPtr with FullIndexMetadata/FullObjectStoreMetadata. r=dom-storage-reviewers,janv
Differential Revision: https://phabricator.services.mozilla.com/D108659
2021-03-22 15:18:36 +00:00
Simon Giesecke 3dfd3cf4dc Bug 1698871 - Add SafeRefPtr support to nsBaseHashtable. r=dom-storage-reviewers,janv
Differential Revision: https://phabricator.services.mozilla.com/D108658
2021-03-22 15:18:35 +00:00
Markus Stange b4b77a1bb0 Bug 1700023 - Make #detailsPane background transparent. r=desktop-theme-reviewers,Itiel
This will show the dialog background, which correctly adapts to Dark Mode.

Differential Revision: https://phabricator.services.mozilla.com/D109257
2021-03-22 15:15:12 +00:00
Tim Nguyen 2116e7693b Bug 1698404 - Refresh customize mode panels for Proton. r=Gijs
Also removes dead code from the old "Recommended themes" section, along with the unnecessary negative margins that went with it.

Differential Revision: https://phabricator.services.mozilla.com/D108362
2021-03-22 15:12:38 +00:00
Emma Malysz 9a844ca5d2 Bug 1697659, remove chevron from fxa sign in button r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D109109
2021-03-22 15:03:43 +00:00
Emma Malysz 1706325439 Bug 1690334: update findbar styling when proton is enabled r=mconley,desktop-theme-reviewers,ntim
Differential Revision: https://phabricator.services.mozilla.com/D108149
2021-03-22 15:02:13 +00:00
ffxbld f6cb811758 No Bug, mozilla-central repo-update HSTS HPKP remote-settings - a=repo-update r=jcristau
Differential Revision: https://phabricator.services.mozilla.com/D109355
2021-03-22 14:58:39 +00:00
Andrew Halberstadt afc041270e Bug 1520458 - Run ./mach raptor with Python 3, r=perftest-reviewers,Bebe,sparky
Differential Revision: https://phabricator.services.mozilla.com/D108828
2021-03-22 14:55:18 +00:00
Jared Wein 7ba3580f2e Bug 1692669 - Replace icon group navigation on macOS page context menu with 'normal' menuitems. r=flod,mconley
Differential Revision: https://phabricator.services.mozilla.com/D108475
2021-03-22 14:43:32 +00:00
Tom Ritter b33f2f2170 Bug 1699808: Fix test exception to use quotes r=jewilde
Differential Revision: https://phabricator.services.mozilla.com/D109345
2021-03-22 14:42:10 +00:00
Mirko Brodesser 22d17f7692 Bug 1698786: part 6) Add some `const`-correctness to `mozInlineSpellWordUtil`. r=smaug
Depends on D109038

Differential Revision: https://phabricator.services.mozilla.com/D109269
2021-03-22 14:34:09 +00:00
Snehaa2296 b1341f2bbf Bug 1629420 - ClientWebGLContext.cpp: the 'empty' method should be used to check for emptiness instead of 'size'. r=andi
Differential Revision: https://phabricator.services.mozilla.com/D109271
2021-03-22 14:28:05 +00:00
smolnar 20bfecac32 Backed out 2 changesets (bug 1698871) backed out for causing mochitest and xpc failures in SafeRefPtr. CLOSED TREE
Backed out changeset 1c617ab7df90 (bug 1698871)
Backed out changeset c3605f06194b (bug 1698871)
2021-03-22 16:40:12 +02:00
Francesco Lodolo (:flod) 1d4f7db065 Bug 1698859 - Use sentence case for appmenu-fxa-sync-and-save-data, r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D109284
2021-03-22 13:58:23 +00:00
Andrew Creskey b70829a366 Bug 1695252 - Add a pageload test that reports PerfStats r=sparky,perftest-reviewers
This commit adds a simple pageload test, a warm pageload of https://www.google.com.
Low-level perfstats are collected.

All platforms were included. Not running as a cron job.

The motivation is that we can now collect low-level perfStats timings and determine how useful they will be for performance work.

Differential Revision: https://phabricator.services.mozilla.com/D109072
2021-03-22 13:50:32 +00:00
Alexandru Michis 5b82d35841 Bug 1694647 - Update expectations for worker_timer_nesting_level.html on all platforms for frequent failures. r=edenchuang
Differential Revision: https://phabricator.services.mozilla.com/D109194
2021-03-22 13:31:33 +00:00
Emilio Cobos Álvarez a44a4a8b0f Bug 1699931 - A couple more fuzzy annotation changes.
MANUAL PUSH: Orange CLOSED TREE
2021-03-22 14:47:15 +01:00
Simon Giesecke 416a6c2f7a Bug 1669730 - Add telemetry for number of attempts to open an unknown objectstore. r=dom-workers-and-storage-reviewers,edenchuang
Differential Revision: https://phabricator.services.mozilla.com/D92775
2021-03-22 13:24:18 +00:00
Simon Giesecke b8712902d1 Bug 1698871 - Use SafeRefPtr with FullIndexMetadata/FullObjectStoreMetadata. r=dom-storage-reviewers,janv
Differential Revision: https://phabricator.services.mozilla.com/D108659
2021-03-22 13:23:42 +00:00
Simon Giesecke d06dde5f0e Bug 1698871 - Add SafeRefPtr support to nsBaseHashtable. r=dom-storage-reviewers,janv
Differential Revision: https://phabricator.services.mozilla.com/D108658
2021-03-22 13:23:42 +00:00
Francesco Lodolo (:flod) 2ab2dffa79 Bug 1699881 - Use separate string for macOS Preferences in application menu, r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D109197
2021-03-22 13:23:35 +00:00
Francesco Lodolo (:flod) dd2b688041 Bug 1700036 - Remove Fluent migration recipes for Firefox 83-87, r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D109267
2021-03-22 13:23:12 +00:00
Sebastian Hengst 697f87739c Bug 1699904 - skip test_FeatureGate.js on asan+debug and let HTTP/3 feature depend on EARLY_BETA_OR_EARLIER r=preferences-reviewers,Gijs
asan and debug builds are always set to the 'default' update channel (used by
FeatureGate to determine the build channel) while the independent build channel
determines conditional variables depending on it.

The HTTP/3 feature preference network.http.http3.enabled depends on the
variable EARLY_BETA_OR_EARLIER since bug 1699490).

Differential Revision: https://phabricator.services.mozilla.com/D109205
2021-03-22 13:18:13 +00:00
Sebastian Hengst d815fce073 Bug 1699870 - expectation updates for cross-origin-opener-policy/navigate-top-to-aboutblank
Got modified in bug 1699396 / wpt PR2 28127 and saw further expectation updates.
2021-03-22 14:07:41 +01:00