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

704110 Коммитов

Автор SHA1 Сообщение Дата
Jean-Yves Avenard 94a3210fdf Bug 1633644 - P2. Do not call RedirectToRealChannel if the channel got cancelled. r=mattwoodrow.
Depends on D72795

Differential Revision: https://phabricator.services.mozilla.com/D72809
2020-04-28 22:31:55 +00:00
Jean-Yves Avenard f7bbf64d0e Bug 1633644 - P1. Handle case where the DocumentChannel got cancelled mid-air. r=mattwoodrow
Differential Revision: https://phabricator.services.mozilla.com/D72795
2020-04-28 12:29:52 +00:00
Narcis Beleuzu c6a90c4273 Backed out 5 changesets (bug 1630228) for bc failures on browser_startup_images.js . CLOSED TREE
Backed out changeset 92172b9cef6b (bug 1630228)
Backed out changeset 8a9c30923847 (bug 1630228)
Backed out changeset 11f6beab6bdf (bug 1630228)
Backed out changeset f9e6d07f3a90 (bug 1630228)
Backed out changeset ae64b5ffc3b5 (bug 1630228)
2020-04-29 02:20:52 +03:00
Ed Lee a6fbc5aae4 Bug 1618311 - Contextually suggest importing passwords as an autocomplete entry r=MattN,fluent-reviewers,flod
Add importableLogins autocomplete items that show for a site when there's chromium-based logins, no saved logins, and appropriate experiment state. Default behavior is unchanged with default "" pref value, and new behavior can be turned on with "import" pref value.

Differential Revision: https://phabricator.services.mozilla.com/D72096
2020-04-28 21:59:34 +00:00
Myeongjun Go e5d2c2720f Bug 1532365 - Add a Raptor manifest unit test for use_live_sites r=sparky,perftest-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D72677
2020-04-28 22:30:40 +00:00
Aaron Klotz 78c73bc94f Bug 1622060: Add test transform for gv e10s-multi; r=gbrown
This adds a multi-e10s variant for geckoview-junit tests. With bug 1622944
resolved, the test suite passes, so we allow this variant to be tier-1.

Differential Revision: https://phabricator.services.mozilla.com/D66676
2020-04-28 15:06:42 +00:00
Aaron Klotz e544916dbe Bug 1622944: Update xMultipleSessions junit tests to be sensitive to dom.ipc.processCount; r=geckoview-reviewers,agi
We need to move these tests to their own class so that we can add a `@Before`
function to set up the expected start conditions.

We also need to allocate the second session in such a way that it is
hosted by the same content process as `mainSession`.

The previous scheme of waiting on each `GeckoResult` independently caused
deadlocks if the results are resolved in a different order, so I replaced those
two waits with a `GeckoView.allOf` result that will Just Work (TM).

Note that this scheme works both in single-e10s and multi-e10s
configurations.

Differential Revision: https://phabricator.services.mozilla.com/D67067
2020-04-28 21:50:06 +00:00
Emilio Cobos Álvarez 017fe21816 Bug 1633488 - Stop listening for FullZoomChange in MobileViewportManager. r=botond
When the full zoom changes, it affects the layout viewport, and thus
RefreshViewportSize(false) gets called via PresShell::ResizeReflow, so
it's not needed.

This is in preparation to firing FullZoomChange only in the browser
element.

Differential Revision: https://phabricator.services.mozilla.com/D72711
2020-04-28 05:06:44 +00:00
Julian Descottes 411056375a Bug 1630228 - Add tests for the F12 disabled experiment r=nchevobbe
Depends on D71988

Note: might remote the "devtools_user" test if we decide to drop D71037

Differential Revision: https://phabricator.services.mozilla.com/D72313
2020-04-28 20:24:01 +00:00
Julian Descottes 0c53e2927a Bug 1630228 - Add telemetry events for OFF 12 devtools experiment r=nchevobbe,janerik
Depends on D71037

Differential Revision: https://phabricator.services.mozilla.com/D71988
2020-04-28 20:22:16 +00:00
Julian Descottes 6e79d3a9f3 Bug 1630228 - Enable F12 for all users with selfxss pref > 0 r=Harald,nchevobbe
Depends on D71036

Differential Revision: https://phabricator.services.mozilla.com/D71037
2020-04-28 20:11:20 +00:00
Julian Descottes cd23320b30 Bug 1630228 - Show a doorhanger when using F12 r=fluent-reviewers,nchevobbe,Gijs,victoria
Depends on D71035

When F12 is disabled, if the user presses this key we show a notification hanging below the Firefox Hamburger menu.
This anchor was chosen because this is where the users can normally find the Web Developer menu.
Note that they could also open DevTools via another keyboard shortcut, even if it's not mentioned in the message.

Pressing on F12 again hides the message. The message will be displayed again if the user presses F12 again (ie, F12 is a toggle and the message is not just a one shot)

{F2136447}

Differential Revision: https://phabricator.services.mozilla.com/D71036
2020-04-28 20:09:17 +00:00
Julian Descottes 7642daff2c Bug 1630228 - Basic implementation to disable F12 until toolbox opens r=nchevobbe
In this changeset, we add a preference that will simply disable F12 when it is set.
UI and tests are in followup patches

Differential Revision: https://phabricator.services.mozilla.com/D71035
2020-04-28 20:09:15 +00:00
Matt Woodrow 9bc5c5b884 Bug 1633310 - Don't do pre-load shouldLoadURI process switches for leaving about:newtab in the web process. r=nika,mconley
Differential Revision: https://phabricator.services.mozilla.com/D72583
2020-04-28 19:45:43 +00:00
Bobby Holley 6e85e332ad Bug 1631304 - Use thread observers for the tail dispatcher. r=jya
Differential Revision: https://phabricator.services.mozilla.com/D71710
2020-04-28 21:18:24 +00:00
Bobby Holley 216d17b976 Bug 1631304 - Mark the tail dispatcher as unavailable outside of event dispatch. r=jya
This is in preparation for running the tail dispatcher off
nsIThreadObserver callbacks, which only work during regular
event processing.

Differential Revision: https://phabricator.services.mozilla.com/D72264
2020-04-28 21:18:21 +00:00
Bobby Holley d90069e220 Bug 1631304 - Reject AbstractThread dispatches after the main thread has ceased event proccessing. r=erahm
Differential Revision: https://phabricator.services.mozilla.com/D72263
2020-04-28 21:18:19 +00:00
Bobby Holley a50600019a Bug 1631304 - Replace EventTargetWrapper with XPCOMThreadWrapper. r=jya
This is how it used to be, before the Quantum DOM stuff. We use
nsIThreadInternal because that supports thread observers, which we
leverage in the next patch.

Differential Revision: https://phabricator.services.mozilla.com/D71709
2020-04-28 21:18:17 +00:00
Bobby Holley b5422991d2 Bug 1631304 - Don't lazily create a TailDispatcher from MaybeDrainDirectTasks. r=jya
Differential Revision: https://phabricator.services.mozilla.com/D72262
2020-04-28 21:18:15 +00:00
Bobby Holley b90c44273e Bug 1631304 - Drill a fast path to accessing the main thread. r=erahm
I'm surprised we don't have this already.

Differential Revision: https://phabricator.services.mozilla.com/D71486
2020-04-28 21:18:10 +00:00
jayati 5e5f758c61 Bug 1496062 - Remove add-on type specific search labels. r=mstriemer,fluent-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D72390
2020-04-28 21:00:44 +00:00
emcminn b0de56f2a0 Bug 1631921 - Mochitests for AboutWelcomeActors & AboutWelcome Simplified r=pdahiya
Differential Revision: https://phabricator.services.mozilla.com/D71824
2020-04-28 21:12:08 +00:00
Brindusan Cristian 7cee26a500 Backed out 3 changesets (bug 1625249) for bc failures at browser_test_hittest_svg_over_iframe.js. CLOSED TREE
Backed out changeset 5d9701c4fb3b (bug 1625249)
Backed out changeset 8c02d6099aa3 (bug 1625249)
Backed out changeset 7b3b764a0e4d (bug 1625249)
2020-04-29 00:41:31 +03:00
Brindusan Cristian f3c4961c6d Backed out changeset e78e8f677ca0 (bug 1633645) for wrench bustage. CLOSED TREE 2020-04-29 00:05:42 +03:00
Kirk Steuber 01623391ec Bug 1627805 - Allow the update agent to link against updatecommon r=glandium
Linking Rust code against the updatecommon library is not well supported by our build system, but it should be possible. The changes to updatecommon's moz.build will cause updatecommon.lib to be created, which Rust can link against. The build.rs script tells cargo which shared Windows libraries are needed for linking, and where updatecommon.lib can be found. The change to config/recurse.mk enforces the dependency of the update agent on updatecommon, so that we do not attempt to link the agent before updatecommon has been built.

Differential Revision: https://phabricator.services.mozilla.com/D70207
2020-04-24 19:23:08 +00:00
Kirk Steuber dd28e487d6 Bug 1627805 - Obtain path for the download XML r=agashlin
Differential Revision: https://phabricator.services.mozilla.com/D69875
2020-04-28 20:50:51 +00:00
Glenn Watson cdb7a90eda Bug 1633645 - Remove prim_origin from primitive dependency descriptor. r=Bert
It's no longer needed with the recent fix to how rectangle prim
and clip rects are stored. It's also a performance win, reducing
the amount of work done when comparing primitive dependencies.

Differential Revision: https://phabricator.services.mozilla.com/D72794
2020-04-28 17:33:21 +00:00
Kershaw Chang 4db371a46e Bug 1512478 - Use sync IPC to get client auth data from parent process r=keeler,mccr8
Differential Revision: https://phabricator.services.mozilla.com/D36911
2020-04-28 20:12:43 +00:00
Marco Bonardo 3453b845e5 Bug 1629506. r=jfkthame
Differential Revision: https://phabricator.services.mozilla.com/D72608
2020-04-28 20:04:26 +00:00
Andrew McCreight bd708255cb Bug 1628052 - Remove uses of dom.ipc.keepProcessesAlive.webIsolated.perOrigin to fix leaks. r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D70076
2020-04-28 20:11:27 +00:00
Narcis Beleuzu 37816e1802 Backed out changeset 3b73e8e74ebf (bug 1633451) for wpt failure on pointerevent_lostpointercapture_for_disconnected_node_in_shadow_dom.html . CLOSED TREE 2020-04-28 23:15:17 +03:00
Ricky Stewart 7b699ef488 Bug 1632461 - Delete "hacking environment to allow binary Python" message and corresponding hack. r=dmajor
This warning dates from bug 910487, which was 7 years ago. Since joining Mozilla I have *always* gotten this warning, and as far as I can tell since I never had a pre-2019 version of Visual Studio on my dev machine, the VS90COMNTOOLS variable was *never* set. Moreover, the "hack" is written in such a way that it does nothing *unless* you have `VS{100,110,120}COMNTOOLS` set, which I never have on my machine either, as you might expect since I only have the one version of Visual Studio installed.

The [latest public build documentation](https://developer.mozilla.org/en-US/docs/Mozilla/Developer_guide/Build_Instructions/Windows_Prerequisites) recommends that you install the Community edition of Visual Studio 2019, and as of 2019 the variable that's being used is `VS160COMNTOOLS`, so the only way someone would get value out of this hack is if they're using a substantially older version of Visual Studio than we recommend anyway.

Since 1) I *suspect* the hack is not doing anything for the large majority, if not all, of the people currently running builds on Windows on a day-to-day basis and 2) even if the hack continues to do something useful under some hypothetical scenarios, the content of the hack as well as the corresponding warning is so outdated that it should be updated anyway, I propose deleting it entirely.

Differential Revision: https://phabricator.services.mozilla.com/D72925
2020-04-28 19:24:45 +00:00
Morgan Reschenberg 707b0c1a92 Bug 1624936: Add required state caching, attribute handling for mozCheckboxAccessibles. r=eeejay
Differential Revision: https://phabricator.services.mozilla.com/D70231
2020-04-28 18:19:39 +00:00
Morgan Reschenberg 5bf3cbceb9 Bug 1624936: Fire state change event when required state changes. r=eeejay
Differential Revision: https://phabricator.services.mozilla.com/D71413
2020-04-28 18:19:17 +00:00
Marian Raiciof 37cad3c37a Bug 1609373 - Update raptor branch for upstream changes on 2020 branch r=perftest-reviewers,whimboo,sparky,Bebe,AlexandruIonescu
- changed test URL to match the dev server
- changed output.py in several places to fix new test names, dict keys, to cover all tests
- added amazonaws.com to manifest.json file to fix the loading issue for benchmark.js file
- added all raptor tests
- changed the constants for measure and alert_on

Differential Revision: https://phabricator.services.mozilla.com/D62546
2020-04-28 19:49:41 +00:00
Eitan Isaacson d7324d465e Bug 1625870 - Support figure and figcaption is OSX. r=morgan
Differential Revision: https://phabricator.services.mozilla.com/D72509
2020-04-28 19:45:51 +00:00
Mats Palmgren f022da2018 Bug 1633045 - Don't use the Print Preview viewport scroll frame as a scroll container for 'position:sticky' content. r=TYLin
Differential Revision: https://phabricator.services.mozilla.com/D72529
2020-04-27 19:19:38 +00:00
Yura Zenevich 1e609ab653 Bug 1625249 - test hittest with SVG in parent over OOP iframe. r=kats
Differential Revision: https://phabricator.services.mozilla.com/D69664
2020-04-15 19:43:05 +00:00
Kartikaya Gupta 234654725c Bug 1625249 - Do a better job of setting hit-test info on blobs. r=jrmuizel
In particular this will pick up any hit-test flags set on individual items
inside a blob, and ensure the hit-test info emitted to APZ for the blob includes
those flags.

Differential Revision: https://phabricator.services.mozilla.com/D69205
2020-04-28 18:43:13 +00:00
Kartikaya Gupta e89589086d Bug 1625249 - Reduce levels of indentation. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D69204
2020-04-28 18:43:00 +00:00
Andrea Marchesini 20e7f42224 Bug 1632853 - Remove the support for cookie.txt import, r=mayhemer
Differential Revision: https://phabricator.services.mozilla.com/D72392
2020-04-28 15:40:37 +00:00
Andrea Marchesini 45e518e2ee Bug 1628755 - Fix test_ext_privacy.js xpcshell-test failure in beta, r=mixedpuppy
Differential Revision: https://phabricator.services.mozilla.com/D72810
2020-04-28 17:38:51 +00:00
Tarek Ziadé 33f1eee4d5 Bug 1633437 - Support for test metadata r=acreskey
This patch adds support for tests metadata. A test script parser is added as
well as a new "doc" flavor that can be used to display the script info in the
command line. This parser will be the basis for building automated docs and
scripts verifications if we want to do this.

Differential Revision: https://phabricator.services.mozilla.com/D72800
2020-04-28 17:07:14 +00:00
Dão Gottwald dfbeca257b Bug 1629757 - Use switchToTabHavingURI to load about:addons. r=mstriemer
Differential Revision: https://phabricator.services.mozilla.com/D72138
2020-04-28 17:54:07 +00:00
Brindusan Cristian ae12f8e207 Backed out changeset b9710246d416 (bug 1625870) for mochitest failures at test_figure.html. CLOSED TREE 2020-04-28 21:54:31 +03:00
Greg Tatum 46fc6e8cf6 Bug 1607801 - Create a TypeScript friendly lazy loading mechanism; r=ochameau
This patch changes the lazy loading mechanism to explicitly create a "lazy" object
that can be used to load modules. It makes it so that TypeScript can understand what
is going on with the lazy loading. I couldn't find a solution to make the Object.define
mechanism work for the global object.

I briefly considered using the Object.define() method on the returned "lazy" object,
as this could be typed correctly, but I felt magically accessing properties was less
clear compared to calling a function that has the side effect of maybe loading a
module for the first time.

Differential Revision: https://phabricator.services.mozilla.com/D59208
2020-04-28 17:51:09 +00:00
Greg Tatum 02e0ad2908 Bug 1607801 - Pre-define ChromeUtils.import paths; r=julienw
This patch takes the approach from mossop on pre-defining ChromeUtils.import
paths, so that they don't need to be defined where they are used. Perhaps in
the future we could automate this more, but for now this will make the current
approach more ergonomic for consumers of the types.

Differential Revision: https://phabricator.services.mozilla.com/D59206
2020-04-28 17:49:59 +00:00
Greg Tatum 6d3e71a39a Bug 1607801 - Upgrade TypeScript to v3.8.3; r=julienw
Differential Revision: https://phabricator.services.mozilla.com/D70439
2020-04-28 17:48:53 +00:00
Erik Nordin cacf520bf8 Bug 1631057 - Remove adopted sheets from styles on unlink r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D71377
2020-04-28 18:38:39 +00:00
Jon Coppeard 4452987eb3 Bug 1633468 - Make dom/bindings/Codegen.py compare against JSID_VOID to detect uninitialized jsid members r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D72701
2020-04-28 18:12:12 +00:00