Commit Graph

685573 Commits

Author SHA1 Message Date
Jonathan Watt
7c7fe33b1d Bug 1603804. Move third_party/python/lldbutils to python/lldbutils. r=ahal
This undoes the mistaken move of this directory into third_party that happened
as part of bug 1346025.

Differential Revision: https://phabricator.services.mozilla.com/D57141

--HG--
rename : third_party/python/lldbutils/README.txt => python/lldbutils/README.txt
rename : third_party/python/lldbutils/lldbutils/__init__.py => python/lldbutils/lldbutils/__init__.py
rename : third_party/python/lldbutils/lldbutils/content.py => python/lldbutils/lldbutils/content.py
rename : third_party/python/lldbutils/lldbutils/general.py => python/lldbutils/lldbutils/general.py
rename : third_party/python/lldbutils/lldbutils/gfx.py => python/lldbutils/lldbutils/gfx.py
rename : third_party/python/lldbutils/lldbutils/layout.py => python/lldbutils/lldbutils/layout.py
rename : third_party/python/lldbutils/lldbutils/utils.py => python/lldbutils/lldbutils/utils.py
extra : moz-landing-system : lando
2019-12-20 17:10:12 +00:00
Alex Chronopoulos
1bb4949d41 Bug 1604746 - Start the pipeline after stopping to avoid thread races. r=padenot
With tracks in different MTGs we risk of having thread races if we stop and start immediatelly. Previously, stoping and starting was happenign to the same MTG so this problem did not exist. This change wires a promise in the `MediaTrack::RemoveListener` method and perform the start when that step has been completed.

Differential Revision: https://phabricator.services.mozilla.com/D57947

--HG--
extra : moz-landing-system : lando
2019-12-20 17:03:42 +00:00
Alex Chronopoulos
59fb3dc5da Bug 1604746 - Recreate the send track in the MTG of the provided track if they belong to different MTGs. r=padenot
In `MediaPipelineTransmit::SetTrack()` the provided `MediaStreamTrack` connects to the existing send-track. This step crashes if the two tracks belong to different MTGs. With this change, when the two tracks belong to different MTGs, the existing send-track is stopped and deleted and a new send-track is created in the same MTG with the provided `MediaStreamTrack`.

Differential Revision: https://phabricator.services.mozilla.com/D57627

--HG--
extra : moz-landing-system : lando
2019-12-20 15:13:56 +00:00
Jonathan Watt
cb4d2b4c0d Bug 1605145. Fix the 'line too long' E501 flake8 errors in python/lldbutils. r=ahal
Depends on D57817

Differential Revision: https://phabricator.services.mozilla.com/D57850

--HG--
extra : moz-landing-system : lando
2019-12-20 16:59:03 +00:00
Jonathan Watt
49b2bc8994 Bug 1605144. Address most of the lint errors in python/lldbutils. r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D57817

--HG--
extra : moz-landing-system : lando
2019-12-20 16:59:47 +00:00
Dan Minor
1cc9d7091b Bug 1605118 - Update test expectations for audiocontextoptions.html on linux64 fission; r=padenot
Differential Revision: https://phabricator.services.mozilla.com/D57832

--HG--
extra : moz-landing-system : lando
2019-12-20 15:04:19 +00:00
Matthew Gaudet
16872b43ca Bug 1605254 - Change ownership of BigIntCreationData by holding them on frontend::ParseInfo r=tcampbell
Differential Revision: https://phabricator.services.mozilla.com/D57937

--HG--
extra : moz-landing-system : lando
2019-12-20 16:26:51 +00:00
Matthew Gaudet
00f2cecfb8 Bug 1605254 - Move BigIntCreationData to Stencil.h r=tcampbell
Differential Revision: https://phabricator.services.mozilla.com/D57936

--HG--
extra : moz-landing-system : lando
2019-12-20 16:26:42 +00:00
Matthew Gaudet
61fa808edb Bug 1604952 - Change ownership of RegExpCreationData by holding them on frontend::ParseInfo r=tcampbell
By doing this we guarantee RegExpCreationData are cleaned up, avoiding a possible leak where
dead code elimination removes a ParseNode without cleaning up the RegExpCreationData.

Differential Revision: https://phabricator.services.mozilla.com/D57904

--HG--
extra : moz-landing-system : lando
2019-12-20 16:26:35 +00:00
Matthew Gaudet
45cf5b1134 Bug 1604952 - Move RegExpCreationData to Stencil.h r=tcampbell
As a side effect of removing a now-cylic-dependency, this rehomes
FunctionSytaxKind.

Differential Revision: https://phabricator.services.mozilla.com/D57903

--HG--
extra : moz-landing-system : lando
2019-12-20 16:25:16 +00:00
caroline
330d5ab38a Bug 1604747 - Error if attempt at encoding and instantiated module. r=iain
Differential Revision: https://phabricator.services.mozilla.com/D57900

--HG--
extra : moz-landing-system : lando
2019-12-20 16:38:35 +00:00
Eugen Sawin
b147cc9b18 Bug 1599873 - [4.1] Update changelog. r=geckoview-reviewers,snorp
Differential Revision: https://phabricator.services.mozilla.com/D57644

--HG--
extra : moz-landing-system : lando
2019-12-20 16:27:08 +00:00
Eugen Sawin
4d78316996 Bug 1599873 - [3.1] Add Login Storage Save API tests. r=geckoview-reviewers,snorp
Differential Revision: https://phabricator.services.mozilla.com/D57643

--HG--
extra : moz-landing-system : lando
2019-12-20 16:27:06 +00:00
Eugen Sawin
85d70f0acf Bug 1599873 - [2.2] Implement Login Storage Prompt API for save requests. r=snorp,geckoview-reviewers,agi
Differential Revision: https://phabricator.services.mozilla.com/D57012

--HG--
extra : moz-landing-system : lando
2019-12-20 16:26:56 +00:00
Eugen Sawin
0127aa97c4 Bug 1599873 - [1.3] Implement Login Storage prompt backend for save requests. r=MattN,geckoview-reviewers,snorp
Differential Revision: https://phabricator.services.mozilla.com/D57011

--HG--
extra : moz-landing-system : lando
2019-12-20 16:26:53 +00:00
Matthew Gaudet
0ce2d82896 Bug 1604952 - Rename FunctionCreationData.h to Stencil.h r=tcampbell
Because I'm planning on moving non-function data into this, I think the time is
potentially right to start calling this stencil.h

Differential Revision: https://phabricator.services.mozilla.com/D57902

--HG--
rename : js/src/frontend/FunctionCreationData.h => js/src/frontend/Stencil.h
extra : moz-landing-system : lando
2019-12-20 16:24:58 +00:00
Andrei Oprea
33f5763166 Bug 1604563 - Rename trackingProtection trigger event to contentBlocking r=k88hudson
Differential Revision: https://phabricator.services.mozilla.com/D57628

--HG--
extra : moz-landing-system : lando
2019-12-20 16:25:51 +00:00
Nathan Froyd
705e153788 Bug 1604557 - use GeneratedFile template in media/libdav1d/; r=padenot
The template is slightly nicer and involves a little less repetition.

Differential Revision: https://phabricator.services.mozilla.com/D57490

--HG--
extra : moz-landing-system : lando
2019-12-18 13:05:39 +00:00
Noemi Erli
80b40a0ec0 Backed out changeset 94edb5d84887 (bug 1605189) for breaking Docker images builds CLOSED TREE 2019-12-20 18:03:45 +02:00
Andrew Halberstadt
d278f4494d Bug 1604360 - [manifestparser] Version bump to 2.0.0, r=egao
Since we made backwards incompatible changes, let's do a major version bump.

Differential Revision: https://phabricator.services.mozilla.com/D57478

--HG--
extra : moz-landing-system : lando
2019-12-20 15:53:42 +00:00
Miko Mynttinen
94be71f287 Bug 1605380 - Avoid calculating snapped bounds for some display items twice r=aosmond
Differential Revision: https://phabricator.services.mozilla.com/D57976

--HG--
extra : moz-landing-system : lando
2019-12-20 15:41:06 +00:00
Connor Sheehan
6d1cb0e884 Bug 1605189 - update in-tree robustcheckout with latest version r=firefox-build-system-reviewers,chmanchester
This commit vendors `robustcheckout` from commit ff8a7c9c843a9c in
version-control-tools. Updates include the removal of some dead code,
compatibility with the latest Mercurial, and Python 3 compatibility.

Differential Revision: https://phabricator.services.mozilla.com/D57836

--HG--
extra : moz-landing-system : lando
2019-12-20 15:17:28 +00:00
Francesco Lodolo (:flod)
168505b3f3 Bug 1604415 - Add Sicilian (scn) to Firefox Nightly Builds r=Pike,Standard8
Differential Revision: https://phabricator.services.mozilla.com/D57433

--HG--
extra : moz-landing-system : lando
2019-12-20 14:47:51 +00:00
Ehsan Akhgari
74daab44a0 Bug 1603902 - Remove a race condition where storage access would get denied when a delayed automatic grant is in progress; r=baku
Differential Revision: https://phabricator.services.mozilla.com/D57211

--HG--
extra : moz-landing-system : lando
2019-12-20 14:47:28 +00:00
Alexandre Poirot
58e8c17d92 Bug 1602444 - Prevent attaching twice to content pages from the browser toolbox. r=jdescottes
We were breaking twice in the browser toolbox because we were attaching to
all the content process targets as well as all frame targets.
But as frames (i.e. web pages) are running within the content processes,
we were having two thread actor attached to the same thread.
This is a stopgap solution for the browser toolbox and we would need
to do something better for the content toolboxes.

Differential Revision: https://phabricator.services.mozilla.com/D57505

--HG--
extra : moz-landing-system : lando
2019-12-20 14:34:26 +00:00
Yura Zenevich
547a035358 Bug 1604263 - remove a check for getSimulator being implemented in accessibility panel. r=rcaliman
Differential Revision: https://phabricator.services.mozilla.com/D57360

--HG--
extra : moz-landing-system : lando
2019-12-20 08:49:21 +00:00
Dimi Lee
a8d6bc0307 Bug 1600889 - gShuttingDownThread in nsUrlClassifierDBService should be Atomic r=gcp
Differential Revision: https://phabricator.services.mozilla.com/D57954

--HG--
extra : moz-landing-system : lando
2019-12-20 12:46:45 +00:00
Emilio Cobos Álvarez
ff130db72b Bug 981248 - Fix test_input_number_mouse_events.html to not dispatch mouse events from input events. r=masayuki
The test fails with my <input type=number> rewrite because editor fails to
dispatch one input event caused by these mouse events.

The reason for this is that we schedule them from an input event, which fires
from here:

  https://searchfox.org/mozilla-central/rev/6305f6935f496b3a302c7afcc579399a4217729c/editor/libeditor/EditorBase.cpp#965

Not how at that point we still haven't decremented mPlaceholderBatch. That means
that other stuff that triggers input events from there will not dispatch events.

I think that's a bit unexpected, but it is a preexisting problem, and can't
happen for users because mouse events go through the event loop.

Differential Revision: https://phabricator.services.mozilla.com/D57810

--HG--
extra : moz-landing-system : lando
2019-12-20 13:54:48 +00:00
Eugen Sawin
ea808c81bb Bug 1604511 - [2.0] Fix Autofill backend nodes handling. r=geckoview-reviewers,snorp
Differential Revision: https://phabricator.services.mozilla.com/D57631

--HG--
extra : moz-landing-system : lando
2019-12-20 13:51:35 +00:00
Eugen Sawin
dbfdb589fc Bug 1604511 - [1.2] Ensure Autofill.Support is fully initialized before handling events and enforce UI thread only access. r=geckoview-reviewers,agi,snorp
Differential Revision: https://phabricator.services.mozilla.com/D57507

--HG--
extra : moz-landing-system : lando
2019-12-20 13:51:28 +00:00
Andrea Marchesini
31ef581995 Bug 1595786 - FetchStreamReader takes a copy of the received array buffer, r=bzbarsky
Differential Revision: https://phabricator.services.mozilla.com/D54900

--HG--
extra : moz-landing-system : lando
2019-12-20 13:49:25 +00:00
Mirko Brodesser
b0270b9561 Bug 1600267: part 8) Call ComparePoints instead of ComparePoints_Deprecated in Selection. r=smaug
Some calls to `ComparePoints_Deprecated` remain, because adapting them
would require to add boilerplate code, which potentially will be deleted
again once `ComparePoints` supports crossing the Shadow DOM boundary.

Differential Revision: https://phabricator.services.mozilla.com/D57615

--HG--
extra : moz-landing-system : lando
2019-12-20 12:33:10 +00:00
Ted Campbell
0b5b8066fb Bug 1600705 - Avoid storing nullptr closed-over-bindings data for LazyScripts. r=jorendorff
The closed-over-binding data is generated for each scope with a nullptr
delimiter per scope. This is wasteful when there are no closed-over bindings.
This patch removes trailing nullptr entries and for leaf-functions may result
in the script-data allocation being avoided altogether.

The FullParseHandler::nextLazyClosedOverBinding() will return nullptr after
the end of the gcthings data so that the delazification process is otherwise
unchanged.

Differential Revision: https://phabricator.services.mozilla.com/D57885

--HG--
extra : moz-landing-system : lando
2019-12-20 01:01:31 +00:00
Ted Campbell
e6a17a63d6 Bug 1605207 - Fixup XDR of FieldInitializers. r=jandem
Move the transcoding from XDRLazyScript and XDRRelazificationInfo into
LazyScript::XDRScriptData to avoid duplication. Add similar code for non-lazy
scripts for consistency.

Depends on D57919

Differential Revision: https://phabricator.services.mozilla.com/D57920

--HG--
extra : moz-landing-system : lando
2019-12-20 08:08:51 +00:00
Ted Campbell
1c36041cff Bug 1605207 - Cleanups in XDRScriptGCThing. r=jandem
Depends on D57918

Differential Revision: https://phabricator.services.mozilla.com/D57919

--HG--
extra : moz-landing-system : lando
2019-12-20 08:03:49 +00:00
Ted Campbell
3a707ec475 Bug 1605207 - Cleanups in js::XDRScript. r=jandem
Depends on D57917

Differential Revision: https://phabricator.services.mozilla.com/D57918

--HG--
extra : moz-landing-system : lando
2019-12-20 07:58:41 +00:00
Ted Campbell
3af5215454 Bug 1605207 - Remove unnecessary roots in XDRScript. r=caroline
We had a few extra RootedFunction when we only cared if about if the pointer
was null or not, so lets remove them. Also rename to isFunctionScript since
this is called for stand-alone functions as well. Semantics should be
unchanged.

Depends on D57862

Differential Revision: https://phabricator.services.mozilla.com/D57917

--HG--
extra : moz-landing-system : lando
2019-12-20 03:12:12 +00:00
Ted Campbell
fdbbb58135 Bug 1605207 - Cleanup XDRInterpretedFunction. r=jandem
Pass appropriate arguments to NewFunctionWithProto instead of filling them
after the fact. The script should be transcoded after the function is set up.
Also stop preserving the NEW_SCRIPT_CLEARED flag in XDR.

Differential Revision: https://phabricator.services.mozilla.com/D57862

--HG--
extra : moz-landing-system : lando
2019-12-20 07:53:41 +00:00
Ted Campbell
06b029fdb1 Bug 1605200 - Use JSFunction::isClassConstructor shorthand. r=jandem
Also add this helper to FunctionBox for consistency.

Depends on D57852

Differential Revision: https://phabricator.services.mozilla.com/D57853

--HG--
extra : moz-landing-system : lando
2019-12-20 07:37:01 +00:00
Ted Campbell
2af69dc1e4 Bug 1605200 - Cleanup the derived JSFunction flags. r=jandem
Cleanup the aliases we use for constructing different types of functions.
Always specify the function kind explicitly for readability.

Depends on D57851

Differential Revision: https://phabricator.services.mozilla.com/D57852

--HG--
extra : moz-landing-system : lando
2019-12-20 07:35:37 +00:00
Ted Campbell
90be47f259 Bug 1605200 - Cleanup JSFunction FunctionFlags. r=jandem
Fix the formatting, commenting, ordering of the flags. Also move the function
kind bits to the beginning of the flag word.

Differential Revision: https://phabricator.services.mozilla.com/D57851

--HG--
extra : moz-landing-system : lando
2019-12-20 13:13:16 +00:00
Patrick Brosset
5c99381151 Bug 1580463 - Remove ReflowTracker and listen for reflows on selected element r=jdescottes
The ReflowTracker was based on the assumption that there was only ever going to
be one target to be observed.
With Fission, this is no longer true.
Turning the ReflowTracker into something that is multi-target aware seemed more
complex than really worth it. After all, all it was doing is getting a ReflowFront
and listening for events on it.
The only 3 things that needed it are the grid inspector, flex inspector and box
model widget. They all needed it for the same reason: updating the data displayed
in the UI when the size/geometry/box-model regions of the selected node changed.
So, it seems simpler to let the inspector instantiate the right ReflowFront when
it needs it (upon a new node selection).
There's only one node selected at any given time in the inspector, so it's simple
to just listen for reflow in that node's target, and dispatch events to the grid,
flex and box-model tools so they can update themselves.

Note that once a new node is selected, we do the `getFront("Reflow")` again
since that node can be in a different target than the previous one. If it is,
however, in the same target, then `getFront` will return the same instance which
is nice.

Differential Revision: https://phabricator.services.mozilla.com/D55987

--HG--
extra : moz-landing-system : lando
2019-12-20 11:35:30 +00:00
Cosmin Sabou
3b6f7388be Bug 1601602 - Add expectations deleted by wpt-sync for release or beta. r=jgraham
Differential Revision: https://phabricator.services.mozilla.com/D56300

--HG--
extra : rebase_source : 86d8b0fa5774d0313c81df74b563aac459b78424
extra : intermediate-source : f619147af86350ab10427506b5f9a2b1b7c1acbc
extra : source : ba6f7b326c95cd868ae261a6c2fd66bd1eb1a6a6
2019-12-09 10:12:27 +00:00
Arthur Iakab
6bdd7e33dd Backed out changeset 3badff2b3724 (bug 1602907) as requested by Bert Peers for causing regressions.
--HG--
extra : histedit_source : 5d8a598ca6fe4b35721e10b3f46baf2aab57d238
2019-12-20 14:41:55 +02:00
Arthur Iakab
361b96aed8 Backed out changeset d39132658a17 (bug 1604570) as requested by Bert Peers for causing regressions.
--HG--
extra : histedit_source : 00ee1014f86a55b3fe9c4e2df272bad8edcd988c
2019-12-20 14:39:50 +02:00
James Teh
29e4eb9ab1 Bug 1604101: Fix Android a11y text navigation between nodes. r=MarcoZ
Talkback users expect that when you navigate past the end of the text in a node, Talkback will move into the next node and navigate there.
However, even though text navigation is async (client performs an action on the focused accessible and then waits for a text traversal event), firing a traversal event with a different accessible from the focused accessible is not supported by Talkback.
Firing a11y focus on the new node (as we did previously) doesn't fix this, but instead causes the entire node to be reported, among other weird behaviour.

1. Don't fire a11y focus for text traversal.
    Aside from Talkback reporting the entire node, this was also confusing Talkback, causing it to try to navigate several times into the new node.
2. When navigating text, cache whether we're at either edge.
    We do this because we need to be able to synchronously query whether we're at the edge, but we do navigation async.
    Special handling is needed for words at the end because words don't include trailing space.
3. When performing a text navigation action, check if we're already at the edge using the cache described above.
    If we are, synchronously return false, as Talkback expects.
    Talkback will then move to the next/previous node itself and navigate the text there.

Differential Revision: https://phabricator.services.mozilla.com/D57926

--HG--
extra : moz-landing-system : lando
2019-12-20 12:02:17 +00:00
Nicolas Chevobbe
c4327fd330 Bug 1530843 - Check asyncParent when building message stacktrace in webconsole actor. r=Honza.
Differential Revision: https://phabricator.services.mozilla.com/D57441

--HG--
extra : moz-landing-system : lando
2019-12-20 09:33:21 +00:00
Dragana Damjanovic
8a5b949d76 Bug 1605096 - Make sure that in all cases we only make one QUIC connection. r=kershaw
Differential Revision: https://phabricator.services.mozilla.com/D57792

--HG--
extra : moz-landing-system : lando
2019-12-19 14:45:57 +00:00
Dragana Damjanovic
92e62f1418 Bug 1605090 - Use next_event() instead of events(). r=agrover
Differential Revision: https://phabricator.services.mozilla.com/D57785

--HG--
extra : moz-landing-system : lando
2019-12-19 17:40:36 +00:00
Marco Bonardo
2664dce2a5 Bug 1599842 - Restrict to a specific search engine from the QueryContext. r=adw
This is the last part needed to be able to restrict results without an explicit
typed token (either restriction or alias). Note this is all preparatory work,
there isn't a design for a feature using this yet, but we know at a certain
point we want a more usable representation of aliases and restriction tokens
and eventually a mode picker UI (search button).

Differential Revision: https://phabricator.services.mozilla.com/D57781

--HG--
extra : moz-landing-system : lando
2019-12-20 09:56:06 +00:00