Commit Graph

704095 Commits

Author SHA1 Message Date
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
Haik Aftandilian
cb0dd617cf Bug 1627848 - Don't call SendVisitURI() if the URI won't be added to history r=mak
Avoid unnecessary IPC traffic by checking if URI's meet the history criteria before sending them to the parent with SendVisitURI.

Differential Revision: https://phabricator.services.mozilla.com/D70217
2020-04-28 17:45:32 +00:00
Ksenia Berezina
2cd4291aa0 Bug 1633838 - Remove Gmail Microphone intervention r=webcompat-reviewers,miketaylr
Differential Revision: https://phabricator.services.mozilla.com/D72923
2020-04-28 18:28:18 +00:00
Brindusan Cristian
f33d38c284 Backed out changeset 8433832c8f09 (bug 1628175) for reftest failures at 817019-1.html. CLOSED TREE 2020-04-28 21:33:46 +03:00
Narcis Beleuzu
66ade44c32 Bug 1498706 - Fix disable patch. CLOSED TREE 2020-04-28 21:16:25 +03:00
Eitan Isaacson
87fa7c9271 Bug 1627899 - Remove keyboard synthesis test cases from browser_app.js. r=morgan
Differential Revision: https://phabricator.services.mozilla.com/D72508
2020-04-27 18:24:27 +00:00
Andreea Pavel
93511cb680 Bug 1498706 - temporarily disable browser_ext_port_disconnect_on_crash.js on win10 64bits debug r=gsvelto,egao
Differential Revision: https://phabricator.services.mozilla.com/D72769
2020-04-28 07:08:23 +00:00
Eitan Isaacson
b62ce6a55b Bug 1625870 - Support figure and figcaption is OSX. r=morgan
Differential Revision: https://phabricator.services.mozilla.com/D72509
2020-04-28 18:04:00 +00:00
Eitan Isaacson
54fb8b0bfc Bug 1625489 - role::STATICTEXT should return value and not label or title. r=morgan
I also simplified mozTextLeafAccessible by redirecting value to title. And removing some dead methods. It previously was calling Text() on the text accessible, but this is not necessary since Name() returns
the same value.

Differential Revision: https://phabricator.services.mozilla.com/D72584
2020-04-27 18:19:50 +00:00
Kartikaya Gupta
a6055fcad3 Bug 1633451 - Re-disable synthetic mousemoves on Android. r=geckoview-reviewers,m_kato
Differential Revision: https://phabricator.services.mozilla.com/D72691
2020-04-28 17:50:39 +00:00
Lee Salzman
7f36735222 Bug 1633617 - offset SWGL's linear BlitFramebuffer to texel centers. r=jimb
Differential Revision: https://phabricator.services.mozilla.com/D72896
2020-04-28 17:36:31 +00:00
Bert Peers
b91a3eabe0 Bug 1628175 - WebGL is drawn into the picture cache and then onto the screen r=gw
Part 1 - support RGB external surfaces for promotion to compositor
surfaces; add new shader permutations to handle all buffer kinds.
Set the promotion flag when the pixel format has no alpha, or when the
texture provider can guarantee all-solid alpha values.

Differential Revision: https://phabricator.services.mozilla.com/D71120
2020-04-27 19:38:02 +00:00
Morgan Reschenberg
0f8bea4c9f Bug 1625266: Add stepper subclass, support value changes. r=eeejay
Differential Revision: https://phabricator.services.mozilla.com/D70772
2020-04-28 17:20:16 +00:00
Daisuke Akatsuka
bec0621315 Bug 1625942: Add a browser test for document events ResourceWatcher. r=ochameau
Depends on D69329

Differential Revision: https://phabricator.services.mozilla.com/D71007
2020-04-28 17:26:56 +00:00
Daisuke Akatsuka
d816588542 Bug 1625942: Introduce dom-loading event. r=ochameau,Honza
Depends on D69329

Differential Revision: https://phabricator.services.mozilla.com/D71505
2020-04-28 15:58:35 +00:00
Daisuke Akatsuka
6a7c1299b0 Bug 1625942: Introduce ResourceWatcher into network monitor to fetch DocumentEvents. r=ochameau
Differential Revision: https://phabricator.services.mozilla.com/D69329
2020-04-28 17:26:56 +00:00