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

765976 Коммитов

Автор SHA1 Сообщение Дата
Harry Twyford 56b979ba71 Bug 1724320 - Collect Open Graph page data. r=mossop
Differential Revision: https://phabricator.services.mozilla.com/D121927
2021-08-09 17:16:29 +00:00
Drew Willcoxon f4c00a8872 Bug 1724492 - Stop using nsIAutocompleteResult in UrlbarProviderPlaces. r=harry
This will help me fix bug 1723160 by letting me add frecency values to Places
result payloads.

I tried to keep this simple and only do what was necessary to fix the bug. Of
course there's a lot more cleanup we could do, like skip the whole conversion
between match objects and UrlbarResults altogether by only creating
UrlbarResults in the first place, but I didn't want to scope creep into fixing
bug 1717511.

Differential Revision: https://phabricator.services.mozilla.com/D122022
2021-08-09 17:08:47 +00:00
Drew Willcoxon b65a37077b Bug 1723158 - Allow heuristic result to be experimentally hidden or not present. r=mak
This adds `browser.urlbar.experimental.hideHeuristic`. When true, the heuristic
is hidden in the view except for the search tip heuristic.

This is implemented as part of the larger prototype described in the JIRA ticket
(see the bug for a link) and some Slack conversation. There isn't much of a spec
in that ticket, and I think that's OK because we'd like to iterate on a
prototype and we're not sure yet how exactly the UX should work.

For example, should the heuristic always be hidden or only in certain cases?
This revision always hides it (except search tips), but it's easy to imagine
we'll want to introduce some more sophisticated logic. Or more simply we may
want to always show specific types of heuristics, like omnibox, as this revision
does for search tips.

The implementation works by excluding the heuristic in the view. Each heuristic
provider still creates their heuristics. When the view receives the heuristic,
instead of adding and selecting it, it calls `input.setResultForCurrentValue()`
so that the heuristic is set as the current result. When the user presses enter,
the input checks `experimental.hideHeuristic` and whether the current result is
a heuristic.

Differential Revision: https://phabricator.services.mozilla.com/D121785
2021-08-09 17:07:40 +00:00
Iulian Moraru 01f91c94a7 Backed out 2 changesets (bug 1723536, bug 1723198) for causing xpcshell failures on test_SocketScalars.js. CLOSED TREE
Backed out changeset 16c398716c60 (bug 1723198)
Backed out changeset 47c08d2c33f4 (bug 1723536)
2021-08-09 20:16:59 +03:00
Sebastian Hengst c136a57852 Merge mozilla-central to autoland. CLOSED TREE 2021-08-09 19:13:59 +02:00
Sebastian Hengst 0ef2383266 Bug 1724583 - restrict fuzzy annotation for 513153-2a.html on Apple Silicon to WebRender. DONTBUILD CLOSED TREE
Differential Revision: https://phabricator.services.mozilla.com/D122130
2021-08-09 16:53:23 +00:00
Sebastian Hengst 4a7ee77930 Bug 1724582 - restrict fuzzy annotation for dynamic-max-width.html on Apple Silicon to WebRender. DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D122129
2021-08-09 16:55:58 +00:00
Paul Zuehlcke 2cffa3f5c4 Bug 1724386 - Cache InternalStorageAllowedCheck on inner window. r=timhuang,nika
Differential Revision: https://phabricator.services.mozilla.com/D120833
2021-08-09 16:50:42 +00:00
Mozilla Releng Treescript a536ab927f Update configs. IGNORE BROKEN CHANGESETS CLOSED TREE NO BUG a=release ba=release 2021-08-09 16:20:45 +00:00
Mozilla Releng Treescript f693a6fd39 No bug - tagging 82f33bb4e9dbcb837a484109a607d28eac7837dd with FIREFOX_NIGHTLY_92_END a=release DONTBUILD CLOSED TREE 2021-08-09 16:20:38 +00:00
Barret Rennie 247bd59b37 Bug 1703356 - Support color-mix() in non-sRGB color spaces r=emilio
Out of gamut colours are currently clipped into sRGB.

Differential Revision: https://phabricator.services.mozilla.com/D120561
2021-08-09 16:16:40 +00:00
Emilio Cobos Álvarez 26e7801dfc Bug 1724719- Ensure IntersectionObserver.observe is O(1), not O(targetCount). r=smaug
And that IntersectionObserver.unobserve is O(targetCount) worst case,
not O(2*targetCount).

Differential Revision: https://phabricator.services.mozilla.com/D122119
2021-08-09 16:10:07 +00:00
Tom Schuster 4e3fc1e1a3 Bug 1722448 - Implement self.reportError(). r=emilio,smaug
This is mostly just copying and adjusting code from `AutoJSAPI::ReportException`.

Differential Revision: https://phabricator.services.mozilla.com/D121070
2021-08-09 16:08:59 +00:00
Mozilla Releng Treescript 4a3c0c8d48 No bug - tagging 03637911a02a3d366a3f66869bbb76c7626a55ee with FIREFOX_BETA_92_BASE a=release DONTBUILD CLOSED TREE 2021-08-09 15:28:48 +00:00
Emilio Cobos Álvarez b0153153a3 Bug 1722662 - Add tests for autofill rendering. r=hiro
They're not the prettiest, but that's all that needs to happen right now for
autofill to work.

Depends on D122015

Differential Revision: https://phabricator.services.mozilla.com/D122016
2021-08-09 15:28:45 +00:00
Emilio Cobos Álvarez f60020df95 Bug 1722662 - Load SpecialPowers in reftests. r=jgraham,jmaher
Depends on D122014

Differential Revision: https://phabricator.services.mozilla.com/D122015
2021-08-09 15:28:45 +00:00
Emilio Cobos Álvarez 2bfdca005c Bug 1722662 - Make :-moz-autofill-preview imply :autofill. r=hiro
This is useful so that author rules for :autofill also work for the
autofill preview.

It also makes the UA sheet in forms.css simpler (otherwise we'd need to
tweak the selectors to put :-moz-autofill-preview everywhere we put
:autofill).

Depends on D122013

Differential Revision: https://phabricator.services.mozilla.com/D122014
2021-08-09 15:28:45 +00:00
Emilio Cobos Álvarez de39b4bb49 Bug 1722662 - Make Element::{Add,Remove}States handle change notifications correctly. r=smaug
The style system uses the changed bits to compute the old state, so if
it's inaccurate it might cause styles to be incorrectly invalidated.

This causes issues because with the next patch the autofill jsm
calls removeManuallyManagedStates(AUTOFILL), then
addManuallyManagedStates(AUTOFILL | AUTOFILL_PREVIEW), and if the input
didn't have AUTOFILL before we'd incorrectly detect it as not changing
with the next patch.

Also make them not virtual anymore since nobody overrides them. An
alternative to this would be to assert that we don't yet have the state
we're adding (or that we have the state we're removing), and handle it
in the callers. But this is a bit more convenient.

Differential Revision: https://phabricator.services.mozilla.com/D122013
2021-08-09 15:28:44 +00:00
Jan de Mooij 29d4bbfc82 Bug 1723715 part 16 - Move WindowProxy to GlobalObjectData. r=jonco
This is done last because it requires reordering the initialization code, and we
can finally do this now.

Differential Revision: https://phabricator.services.mozilla.com/D121996
2021-08-09 15:25:10 +00:00
Jan de Mooij 6bd69b8edd Bug 1723715 part 15 - Move global lexical environment from Realm to GlobalObjectData. r=jonco
This adds a few dereferences to the Baseline Interpreter, but is simpler and should
be faster for C++ accesses. It also simplifies/unblocks the next patch.

Differential Revision: https://phabricator.services.mozilla.com/D121995
2021-08-09 15:25:10 +00:00
Jan de Mooij 5aef55a6d5 Bug 1723715 part 14 - Clean up slot related code a bit. r=jonco
Differential Revision: https://phabricator.services.mozilla.com/D121994
2021-08-09 15:25:09 +00:00
Jan de Mooij 6ad790bd22 Bug 1723715 part 13 - Move builtin constructors to GlobalObjectData. r=jonco
This replaces the JS_OFF_THREAD_CONSTRUCTOR MagicValue for off-thread constructors
with the same placeholder object we use for the prototype. These constructors
aren't used by off-thread parsing and handling this another way requires a lot
of complexity. With Stencil work the off-thread global will hopefully be removed
eventually.

Differential Revision: https://phabricator.services.mozilla.com/D121993
2021-08-09 15:25:09 +00:00
Jan de Mooij 12961aecf7 Bug 1723715 part 12 - Move some builtin prototypes to GlobalObjectData. r=jonco
Depends on D121991

Differential Revision: https://phabricator.services.mozilla.com/D121992
2021-08-09 15:25:08 +00:00
Jan de Mooij e5f32a1e36 Bug 1723715 part 11 - Move eval function to GlobalObjectData. r=jonco
Depends on D121990

Differential Revision: https://phabricator.services.mozilla.com/D121991
2021-08-09 15:25:08 +00:00
Jan de Mooij fc690c3452 Bug 1723715 part 10 - Move ThrowTypeError to GlobalObjectData. r=jonco
Depends on D121989

Differential Revision: https://phabricator.services.mozilla.com/D121990
2021-08-09 15:25:08 +00:00
Jan de Mooij 2f10bf4c06 Bug 1723715 part 9 - Move array shape to GlobalObjectData. r=jonco
Depends on D121988

Differential Revision: https://phabricator.services.mozilla.com/D121989
2021-08-09 15:25:07 +00:00
Jan de Mooij 4189fea522 Bug 1723715 part 8 - Move realm key object to GlobalObjectData. r=jonco
Depends on D121987

Differential Revision: https://phabricator.services.mozilla.com/D121988
2021-08-09 15:25:07 +00:00
Jan de Mooij 08cbcc0188 Bug 1723715 part 7 - Move SourceURLsHolder to GlobalObjectData. r=jonco
Depends on D121986

Differential Revision: https://phabricator.services.mozilla.com/D121987
2021-08-09 15:25:07 +00:00
Jan de Mooij 422644ae1c Bug 1723715 part 6 - Move globalThisResolved to GlobalObjectData. r=jonco
Depends on D121985

Differential Revision: https://phabricator.services.mozilla.com/D121986
2021-08-09 15:25:06 +00:00
Jan de Mooij c35da74f03 Bug 1723715 part 5 - Move ForOfPICChain to GlobalObjectData. r=jonco
Depends on D121984

Differential Revision: https://phabricator.services.mozilla.com/D121985
2021-08-09 15:25:06 +00:00
Jan de Mooij 502d329ac4 Bug 1723715 part 4 - Move intrinsics holder to GlobalObjectData. r=jonco
Depends on D121983

Differential Revision: https://phabricator.services.mozilla.com/D121984
2021-08-09 15:25:05 +00:00
Jan de Mooij efaad850a3 Bug 1723715 part 3 - Move RegExpStaticsObject to GlobalObjectData. r=jonco
RegExpStaticsObject just stores the RegExpStatics. It might be possible to store
the RegExpStatics directly in the GlobalObjectData in a follow-up bug.

Depends on D121982

Differential Revision: https://phabricator.services.mozilla.com/D121983
2021-08-09 15:25:05 +00:00
Jan de Mooij 939aa16efa Bug 1723715 part 2 - Remove the RUNTIME_CODEGEN_ENABLED slot. r=jonco
Originally this slot was used to cache the return value of the callback. However
that was changed at some point, now the slot is only set to TrueValue when there
is no callback installed. It's now better and simpler to remove the slot.

Depends on D121981

Differential Revision: https://phabricator.services.mozilla.com/D121982
2021-08-09 15:25:05 +00:00
Jan de Mooij 1c8f0d1a67 Bug 1723715 part 1 - Add GlobalObjectData and use it for emptyGlobalScope. r=jonco
Differential Revision: https://phabricator.services.mozilla.com/D121981
2021-08-09 15:25:04 +00:00
Alexandru Michis ad486327b2 Backed out 2 changesets (bug 1723204) for causing xpcshell failures in ValidateScriptFilename
CLOSED TREE

Backed out changeset 83e5baac01a9 (bug 1723204)
Backed out changeset 2ee6c94f35b3 (bug 1723204)
2021-08-09 18:33:15 +03:00
Bob Owen 3b32b0316b Bug 1724195: Turn on CET compatible modules only for the rdd process on Nightly. r=bryce
Differential Revision: https://phabricator.services.mozilla.com/D121866
2021-08-09 15:14:50 +00:00
Sebastian Hengst 89c26bb9f9 Bug 1724582 - set different fuzzy annotation for dynamic-max-width.html on Apple Silicon. r=jmaher DONTBUILD
Bug 1714200 enabled reftests on macOS 11 with Apple Silicon. The test fails
with different values than on macOS 10.15.

Differential Revision: https://phabricator.services.mozilla.com/D122070
2021-08-09 15:07:50 +00:00
Sebastian Hengst fc49212b12 Bug 1724583 - set different fuzzy annotation for 513153-2a.html on Apple Silicon. r=jmaher DONTBUILD
Bug 1714200 enabled reftests on macOS 11 with Apple Silicon. The test fails
with different values than on macOS 10.15.

Differential Revision: https://phabricator.services.mozilla.com/D122071
2021-08-09 15:07:27 +00:00
Ryan VanderMeulen dd07f3dbc0 Backed out changeset 4b53d6459297 (bug 1719963) for causing topcrash bug 1722150. 2021-08-09 08:52:56 -04:00
Sean Feng f71cb98fc3 Bug 1724263 - Fix an invalid index crash in ScreenGetterWayland::GetScreenForWindow r=stransky
Differential Revision: https://phabricator.services.mozilla.com/D121900
2021-08-09 06:48:23 +00:00
Timothy Nikkel 5014725e77 Bug 1678771. Add test. r=hiro
We implement a new nsIDOMWindowUtils function sendNativeTouchpadPan to do this. It is only implemented on Windows here.

Depends on D122048

Differential Revision: https://phabricator.services.mozilla.com/D122049
2021-08-08 22:04:18 +00:00
Timothy Nikkel 5eefc2666f Bug 1678771. Rename TouchpadPinchPhase to TouchpadGesturePhase. r=hiro
So we can use it for sending pan gestures too.

Depends on D114358

Differential Revision: https://phabricator.services.mozilla.com/D122048
2021-08-08 22:04:17 +00:00
Timothy Nikkel 7bc93b89f5 Bug 1678771. Set mIsNoLineOrPageDelta on WidgetWheelEvents we create from PanGestureInput when we don't know the line scroll amount so EventStateManager will fill those in for us. r=botond
Differential Revision: https://phabricator.services.mozilla.com/D114358
2021-08-08 22:04:17 +00:00
Chris Peterson 162a8620f1 Bug 1719070 - UA: Add support for a Nimbus experiment to override Firefox's User-Agent string. r=andreio,necko-reviewers,dragana
The ANDROID #ifdefs are necessary because Nimbus does not yet support Android in Gecko. The planned UA experiment won't include Android, so that's not a problem.

Differential Revision: https://phabricator.services.mozilla.com/D121112
2021-08-08 01:07:51 +00:00
Chris Peterson fef38775ad Bug 1719070 - UA: Merge some unnecessary add_tasks and functions in User-Agent string tests. r=necko-reviewers,dragana
Differential Revision: https://phabricator.services.mozilla.com/D119054
2021-08-08 01:07:50 +00:00
Mike Hommey 8000090ec7 Bug 1724372 - Simplify the handling of compiler wrappers. r=firefox-build-system-reviewers,andi
As we don't do subconfigures anymore, we don't need to remove redundant
compiler wrappers anymore.

Differential Revision: https://phabricator.services.mozilla.com/D121942
2021-08-07 21:36:42 +00:00
Alexandru Michis c82b3f9fe1 Bug 1626853 - Disable browser_handleMultipleCertsURL.js on all platforms for frequent failures. r=#intermittent-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D122044
2021-08-07 20:13:09 +00:00
Alexandru Michis 97494b4459 Bug 1596313 - Disable browser_checkOCSP.js on all platforms for frequent failures. r=#intermittent-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D122047
2021-08-07 20:09:22 +00:00
Marco Bonardo 658397d924 Bug 1703475 - Wait for l10n in browser_bug432599.js. r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D122001
2021-08-07 19:40:10 +00:00
Butkovits Atila c5ea1e4659 Backed out 21 changesets (bug 1341265) for causing Bug 1724298. CLOSED TREE
Backed out changeset ad0987b840c1 (bug 1341265)
Backed out changeset c3094bf07295 (bug 1341265)
Backed out changeset 199d9708682d (bug 1341265)
Backed out changeset 991572f50cf9 (bug 1341265)
Backed out changeset bf631916de9b (bug 1341265)
Backed out changeset 5d9d8af2f4ac (bug 1341265)
Backed out changeset 720032f06c94 (bug 1341265)
Backed out changeset 85f8b1c24e9d (bug 1341265)
Backed out changeset 13da03ae88a8 (bug 1341265)
Backed out changeset 6716962a06ed (bug 1341265)
Backed out changeset 26787054e0db (bug 1341265)
Backed out changeset 21199bd4965d (bug 1341265)
Backed out changeset bd5e0950f9d9 (bug 1341265)
Backed out changeset 3fa14377770a (bug 1341265)
Backed out changeset 56ec3626f0ba (bug 1341265)
Backed out changeset 09f04c26176c (bug 1341265)
Backed out changeset b861bb6771c7 (bug 1341265)
Backed out changeset 820e01c32bcd (bug 1341265)
Backed out changeset 88e497d213fe (bug 1341265)
Backed out changeset e9272f7d1823 (bug 1341265)
Backed out changeset 33a140c71ff0 (bug 1341265)
2021-08-07 19:07:28 +03:00