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

702226 Коммитов

Автор SHA1 Сообщение Дата
Chris Peterson 40840febd0 Bug 1629315 - Replace MOZ_MUST_USE with [[nodiscard]] in ipc. r=jld
Differential Revision: https://phabricator.services.mozilla.com/D70628
2020-04-16 22:14:21 +00:00
aarushivij 8101730a74 Bug 908954 - Remove try…catch comment inside wrapWidgetEventHandler once bug 503244 is fixed r=MattN
Differential Revision: https://phabricator.services.mozilla.com/D71268
2020-04-17 05:50:56 +00:00
Jeff Walden ae8cd63639 Bug 1630346 - Move various create-this functions that deal in |PlainObject*| to PlainObject.*. r=jandem
Differential Revision: https://phabricator.services.mozilla.com/D71112
2020-04-17 05:45:17 +00:00
Jeff Walden 6c5695fa22 Bug 1630346 - Move PlainObject to vm/PlainObject{,-inl}.h. r=jandem
Differential Revision: https://phabricator.services.mozilla.com/D71111
2020-04-17 05:38:03 +00:00
Masayuki Nakano 5bcef30e8b Bug 1627175 - part 7: Move `EditorBase::IsPaddingBRElementForEmptyLastLine()` to `EditorUtils` r=m_kato
It's also used in `<textarea>` so that it should be in `EditorUtils` rather
than `HTMLEditUtils`.

Depends on D70879

Differential Revision: https://phabricator.services.mozilla.com/D70880
2020-04-16 05:07:13 +00:00
Ted Campbell c5b089923c Bug 1630788 - Init FunctionHasExtraBodyVarScope during lazy parse. r=arai
Move the initialization of this flag to `finishFunctionScopes` so that it is
set for both lazy and non-lazy compilations. We add a `VarScopeHasBindings`
helper to mirror the logic of `newVarScopeData` without allocating. We use
the ImmutableFlag to enable consistent initialization for lazy and non-lazy
scripts.

Note that the previous `hasExtraBodyVarScope` helper is only used for
bytecode emission which occurs after the FunctionHasExtraBodyVarScope flag is
properly initialized.

Differential Revision: https://phabricator.services.mozilla.com/D71241
2020-04-17 00:38:30 +00:00
Drew Willcoxon eeeeea2f96 Bug 1618769 - Increase max chars for search suggestions, and don't fetch suggestions at all when max is reached due to paste. r=mak
* Add a new `allowSearchSuggestions` property to the query context. It defaults to true.
* `UrlbarInput` sets this property when it starts a query. If the event that started the query is a paste event and the pasted string's length is larger than maxChars, then don't allow suggestions. Otherwise do.
* `UrlbarProviderSearchSuggestions.isActive` returns false when `!context.allowSearchSuggestions`.
* `UrlbarProviderSearchSuggestions` doesn't truncate the query anymore.
* Keep the `browser.urlbar.maxCharsForSearchSuggestions` pref but use it only for pastes, and increase it from 20 to 100. I considered making a new pref but this way if a user changed it, then it still applies to pastes at least. I'm not sure it's important though.

Differential Revision: https://phabricator.services.mozilla.com/D70956
2020-04-17 00:42:23 +00:00
Andreea Pavel cea2b48a5e Bug 1623745 - fix test_osreauthenticator.js r=test-fix on a CLOSED TREE 2020-04-17 03:42:24 +03:00
Andreea Pavel 86defb620e Backed out changeset bcb914fcd7d6 (bug 1623745) to revert the changes on a closed tree 2020-04-17 03:41:13 +03:00
Emilio Cobos Álvarez f37620df43 Bug 612118 - Make .getBBox() on a non-rendered element not throw. r=heycam
Differential Revision: https://phabricator.services.mozilla.com/D71228
2020-04-17 00:28:52 +00:00
Emma Malysz e70835050a Bug 1629376, Revert the fragment caching changes to ensure downloads are shown in Library menu. r=emilio
DownloadsSubview and DownloadsView do not inherit from custom elements and cannot rely on the static getFragment method.
The individual download list items all need to be cloned in order to display.

Differential Revision: https://phabricator.services.mozilla.com/D71204
2020-04-16 23:11:38 +00:00
Nika Layzell 1840f4505c Bug 1630361 - Remove [NeedsWindowsUndef] attribute from webidl, r=peterv
Differential Revision: https://phabricator.services.mozilla.com/D69450
2020-04-16 23:40:57 +00:00
Jan-Ivar Bruaroey 18f6aa4533 Bug 1628139 - Queue negotiationneeded when chain is/becomes empty. r=bwc
Differential Revision: https://phabricator.services.mozilla.com/D70204
2020-04-16 18:26:54 +00:00
Jan-Ivar Bruaroey e4ab2cea3e Bug 1628139 - Tighten negotiationneeded test to disallow double-firing and racing w/onmessage. r=bwc
Differential Revision: https://phabricator.services.mozilla.com/D70203
2020-04-16 23:01:03 +00:00
Jan-Ivar Bruaroey dd92ce2415 Bug 1621399 - Add RTCPeerConnection-perfect-negotiation.https.html wpt test. r=bwc
Differential Revision: https://phabricator.services.mozilla.com/D66817
2020-04-16 18:25:39 +00:00
Dzmitry Malyshau 1240a7a135 Bug 1629776 - Handle WR case of an empty inner transformed rectangle r=gw
Differential Revision: https://phabricator.services.mozilla.com/D71229
2020-04-16 23:20:48 +00:00
Andreea Pavel 7ac1c7a794 Backed out changeset a95e314cd2af (bug 1618051) for failing bc at browser_parsable_css.js on a CLOSED TREE 2020-04-17 02:41:26 +03:00
Andreea Pavel 343b5d0156 Backed out changeset 923c7f562468 (bug 1630629) because phabricator version is not the same as one on try on a CLOSED TREE 2020-04-17 02:39:26 +03:00
Jeff Muizelaar 9bc49efb81 Bug 1630629. Block WebRender on Intel if no DComp. r=aosmond
Differential Revision: https://phabricator.services.mozilla.com/D71213
2020-04-16 19:45:57 +00:00
Shane Caraveo db4026e4fa Bug 1630419 support management as an optional extension permission r=rpl
Differential Revision: https://phabricator.services.mozilla.com/D71116
2020-04-16 23:13:02 +00:00
Ciure Andrei c15dcac93b Backed out 10 changesets (bug 1614462) for causing xpcshell failures CLOSED TREE
Backed out changeset 34d4a86530b4 (bug 1614462)
Backed out changeset dbc2e2556d08 (bug 1614462)
Backed out changeset 512bbab4730c (bug 1614462)
Backed out changeset cd6b8d630f4c (bug 1614462)
Backed out changeset e4ad5037658f (bug 1614462)
Backed out changeset 0ffed1dc4296 (bug 1614462)
Backed out changeset 90ed81cbfe34 (bug 1614462)
Backed out changeset 6d2137eb1d52 (bug 1614462)
Backed out changeset b4819c99e16e (bug 1614462)
Backed out changeset b7deaed376ed (bug 1614462)
2020-04-17 02:26:14 +03:00
Ciure Andrei dee341d82a Bug 1623745 - disable test_osreauthenticator.js on automation r=test-fix CLOSED TREE 2020-04-17 02:03:04 +03:00
Kris Maglione 1c6b490044 Bug 1614462: Part 3c - Remove dead TabContext IsMozBrowserElement fields. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D70750
2020-04-16 22:20:12 +00:00
Kris Maglione a790842cdd Bug 1614462: Part 3b - Remove moribund DocShell FrameType/IsMozBrowser/IsInMozBrowser fields. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D70749
2020-04-16 17:25:06 +00:00
Kris Maglione 7969b8768d Bug 1614462: Part 3a - Remove support for <iframe mozbrowser> in content processes. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D70748
2020-04-16 16:57:20 +00:00
Kris Maglione 3e6886a7b9 Bug 1614462: Part 2f - Remove browser-element mochitests. r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D70747
2020-04-16 16:57:19 +00:00
Kris Maglione 5d5b988515 Bug 1614462: Part 2e - Migrate desktop-only CrashService_crash test to browser test. r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D70746
2020-04-16 16:58:13 +00:00
Kris Maglione c45d02801c Bug 1614462: Part 2d - Fix tests that don't need to use mozbrowser. r=mccr8
These tests used <iframe mozbrowser> for convenience, mostly forcing
themselves to only run in non-e10s mode in the process, but none of them
really have any need to.

Differential Revision: https://phabricator.services.mozilla.com/D70745
2020-04-16 16:57:14 +00:00
Kris Maglione 342edc77b2 Bug 1614462: Part 2c - Remove content mozbrowser tests. r=mccr8
<iframe mozbrowser> is no longer supported in content processes.

Differential Revision: https://phabricator.services.mozilla.com/D70744
2020-04-16 22:20:05 +00:00
Kris Maglione 766efbd59c Bug 1614462: Part 2b - Remove unnecessary mozbrowser usage in chrome tests. r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D70743
2020-04-16 16:57:10 +00:00
Kris Maglione 68e51f9549 Bug 1614462: Part 2a - Remove commented out mozbrowser test code. r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D70742
2020-04-16 16:57:08 +00:00
Kris Maglione 0cbfb2510e Bug 1614462: Part 1 - Remove unused message principals. r=nika
These were added for the sake of app browsers, and all of the code which
actually needed them has since been removed.

Differential Revision: https://phabricator.services.mozilla.com/D70741
2020-04-16 16:58:08 +00:00
Emilio Cobos Álvarez 905a775721 Bug 1482147 - Fix the expectation of a GeckoView test which was relying on this bug. r=agi
It makes no sense that the first thing in the session would be considered as
wrapping, it was happening only because we were incorrectly failing to find a
"visible" range deep in Gecko (so we started back from the beginning of the
document, wrapping).

Differential Revision: https://phabricator.services.mozilla.com/D71157
2020-04-16 21:47:51 +00:00
Emilio Cobos Álvarez ff764ee675 Bug 1482147 - Simplify nsTypeAheadFind visibility code to not lie. r=masayuki
Multiple issues here. The IsRangeVisible code was wrong, it was returning false
for ranges that were perfectly valid, but outside the viewport, because the
following piece of code:

 if (!aMustBeInViewPort) {
   // This is an early exit case because we don't care that that range
   // is out of viewport, so we return that the range is "visible".
   return true;
 }

Was incorrectly after some stuff checking viewport visibility. This code is
pretty complex for no good reason, it wants to do something very
simple: Start from the visible selection if possible.

This patch still achieves this, using IsRangeRendered (which does a proper
hit-test to figure out if a range is in the viewport). Should have no behavior
differences except for non-collapsed ranges that are partially inside the
viewport.

Differential Revision: https://phabricator.services.mozilla.com/D71067
2020-04-16 21:47:35 +00:00
Jared Wein 82aad27169 Bug 1628165 - Add telemetry probe for clicks on vulnerable password learn more link. r=MattN
This also fixes a bug where we weren't recording the telemetry probe clicks on breached password learn more links due to the refactoring and renaming of the .alert-link class. A test has been added that would have caught that mistake in automation.

Differential Revision: https://phabricator.services.mozilla.com/D70142
2020-04-16 21:55:27 +00:00
Daosheng Mu dd93d56fc0 Bug 1630739 - Invert Quest and Focus Plus controller rotation matrix for remapping. r=kip
Differential Revision: https://phabricator.services.mozilla.com/D71215
2020-04-16 21:36:05 +00:00
Imanol Fernandez a33b99b121 Bug 1630512 - Initialize VRDisplayClient api mode to WebVR r=kip,daoshengmu
Differential Revision: https://phabricator.services.mozilla.com/D71178
2020-04-16 21:38:57 +00:00
Andreea Pavel b986f8a4cd Backed out changeset fdddf4601d4d (bug 1628165) for build bustages on a CLOSED TREE 2020-04-17 00:50:37 +03:00
Jared Wein 7a5e0737b0 Bug 1630105 - Add a telemetry scalar to track how often people encounter printing errors. r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D70967
2020-04-16 21:33:15 +00:00
Jared Wein 836d3f258c Bug 1628165 - Add telemetry probe for clicks on vulnerable password learn more link. r=MattN
This also fixes a bug where we weren't recording the telemetry probe clicks on breached password learn more links due to the refactoring and renaming of the .alert-link class. A test has been added that would have caught that mistake in automation.

Differential Revision: https://phabricator.services.mozilla.com/D70142
2020-04-16 21:24:19 +00:00
Jared Wein 65a2ade1e3 Bug 1623745 - Add a value to the pwmgr.reauthenticated telemetry event to specify if the user was able to authenticate without a password. r=MattN,spohl
Differential Revision: https://phabricator.services.mozilla.com/D70136
2020-04-16 21:33:24 +00:00
Jared Wein afdb6934ea Bug 1628029 - Add telemetry events for OS authentication. r=MattN
Differential Revision: https://phabricator.services.mozilla.com/D70069
2020-04-16 21:23:58 +00:00
Erik Nordin 4caedb2b46 Bug 1627104 - Ensure Constructed StyleSheets' parent object is constructor document r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D69454
2020-04-16 21:16:08 +00:00
Dzmitry Malyshau f84ef4af83 Bug 1622846 - WebGPU dummy destroy() and optional stencil states r=webidl,smaug
Differential Revision: https://phabricator.services.mozilla.com/D71201
2020-04-16 19:28:22 +00:00
Ciure Andrei d3b9fc8dde Backed out changeset c424381097d7 (bug 1627206) for causing browser_console_logging.js failures CLOSED TREE 2020-04-16 23:54:06 +03:00
Scott e6632dd612 Bug 1618051 - Proper hi res logo for search only newtab r=Mardak
Differential Revision: https://phabricator.services.mozilla.com/D65347
2020-04-16 20:14:48 +00:00
Bogdan Tara 0ec55534cc Bug 1629700 - Update expectances for manifest-utf8-with-bom.https.html on Win 7, Win 10, OS X r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D71207
2020-04-16 20:29:33 +00:00
Andreea Pavel 5fab423484 Backed out changeset 1ad3c93e1e07 (bug 1624649) for wrench failure on a CLOSED TREE 2020-04-16 23:35:18 +03:00
Nicolas Silva ea0d91e150 Bug 1587713 - Remove the late blob rasterization code. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D49186
2020-04-16 20:13:24 +00:00
Nicolas Silva a7bf827f4d Bug 1630212 - Remove non-tiled blob images. r=jrmuizel
Gecko always tiles blobs. The other code path is untested and a tad complicated, let's remove it.

Differential Revision: https://phabricator.services.mozilla.com/D71021
2020-04-16 20:13:24 +00:00