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

685546 Коммитов

Автор SHA1 Сообщение Дата
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
Jonathan Watt b53043624b Bug 1605268. Notify Xcode debugger users that the KeyError can be ignored. r=heycam
Differential Revision: https://phabricator.services.mozilla.com/D57914

--HG--
extra : moz-landing-system : lando
2019-12-20 03:41:00 +00:00
James Graham 899ef0f585 Bug 1602544 - Add some basic print tests for WebDriver, r=webdriver-reviewers,whimboo,ato
These currently are Mozilla-only but can be trivially moved into upstream
tests once there is agreement to take the feature.



Depends on D57472

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

--HG--
extra : moz-landing-system : lando
2019-12-19 21:26:17 +00:00
James Graham 65314b0441 Bug 1604506 - Add print command to marionette, r=marionette-reviewers,whimboo,ato
Add a WebDriver:Print command to marionette, following the proposed
WebDriver spec at https://github.com/w3c/webdriver/pull/1468
The implementation is largely the same as that added to the
remote agent in Bug 1599994.



Depends on D57471

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

--HG--
extra : moz-landing-system : lando
2019-12-20 09:33:59 +00:00
James Graham f54420f36a Bug 1604506 - Add assert.positiveNumber to marionette, r=marionette-reviewers,whimboo,ato
Depends on D56444

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

--HG--
extra : moz-landing-system : lando
2019-12-20 09:20:14 +00:00
James Graham ed2571ec01 Bug 1602547 - Implement extension endpoint for print, r=webdriver-reviewers,ato
Implement /session/<session id>/moz/print endpoing in GeckoDriver, corresponding
to the proposed spec at https://github.com/w3c/webdriver/pull/1468.

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

--HG--
extra : moz-landing-system : lando
2019-12-19 21:26:05 +00:00
Christian Holler 878aa4ec9b Bug 1600130 - Sync HTTP fuzzing target with background thread. r=mayhemer
Differential Revision: https://phabricator.services.mozilla.com/D56694

--HG--
extra : moz-landing-system : lando
2019-12-19 18:48:37 +00:00
Manish Giri eb3cb04d9d Bug 1604600-Remove redundant return in void function. r=sylvestre
Differential Revision: https://phabricator.services.mozilla.com/D57933

--HG--
extra : moz-landing-system : lando
2019-12-20 08:48:51 +00:00
Patrick Brosset 1a19a8da92 Bug 1587562 - Disabling browser_favicon.js for fission; r=bradwerth
This is exactly the kind of test that makes no sense once we have finished
the rework of RDM (to be embedded into the browser UI). Indeed, once done,
there won't be a nested iframe in RDM through which we need to make sure
all messages that lead to the tab status/title/icon (and many other things)
are forwarded.

So, because this test currently fails with fission, let's just disable it
for now when in fission mode, and then once the RDM project is done, let's
delete it entirely. No use spending time making it work now if we're going
to remove it later.

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

--HG--
extra : moz-landing-system : lando
2019-12-20 08:28:40 +00:00
Julian Descottes 0915c3771d Bug 1605133 - Include fission jobs in DevTools try preset r=ochameau
Differential Revision: https://phabricator.services.mozilla.com/D57814

--HG--
extra : moz-landing-system : lando
2019-12-19 18:55:19 +00:00
Simon Giesecke 4170b9c2da Bug 1605119 - Add NS_NewCancelableRunnableFunction. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D57799

--HG--
extra : moz-landing-system : lando
2019-12-19 17:13:06 +00:00
Noemi Erli cc63a32cca Backed out changeset c8040f57cb4a (bug 1590485) fot failures in browser_default_zoom_multitab.js 2019-12-20 09:51:31 +02:00
Chris Peterson 00129c9a09 Bug 1570499 - Part 3: Remove MOZ_FALLTHROUGH macro definition. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D56442

--HG--
extra : moz-landing-system : lando
2019-12-20 07:03:27 +00:00
Chris Peterson 03b2377b75 Bug 1570499 - Part 2: Suppress -Wimplicit-fallthrough warnings from third-party udis86 code. r=froydnj
ProcessRedirect.cpp includes third-party udis86 C code that triggers -Wimplicit-fallthrough warnings. We suppress these warnings in ProcessRedirect.cpp because we want to minimize Mozilla changes to third-party code and we can't use C++17's [[fallthrough]] attribute in C code anyway. We don't suppress the warnings for the entire ProcessRedirect.cpp file (e.g. in moz.build) because we'd like clang -Wimplicit-fallthrough to check ProcessRedirect.cpp's own use of [[fallthrough]].

This changeset reverts some earlier Mozilla changes [1] made to upstream udis86's decode.c [2] that are no longer necessary.

[1] https://hg.mozilla.org/mozilla-central/rev/9042673fb235c00fbb021ea6356f4b0921505d1d
[2] https://github.com/vmt/udis86/blob/master/libudis86/decode.c#L747

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

--HG--
extra : moz-landing-system : lando
2019-12-20 07:02:59 +00:00
Chris Peterson 406763af7f Bug 1570499 - Part 1: Replace MOZ_FALLTHROUGH macro with C++17's [[fallthrough]] attribute. r=froydnj
This changeset is a simple find and replace of `MOZ_FALLTHROUGH` and `[[fallthrough]]`.

Unfortunately, the MOZ_FALLTHROUGH_ASSERT macro (to assert on case fallthrough in debug builds) is still necessary after switching from [[clang::fallthrough]] to [[fallthrough]] because:

* MOZ_ASSERT(false) followed by [[fallthrough]] triggers a -Wunreachable-code warning in DEBUG builds
* but MOZ_ASSERT(false) without [[fallthrough]] triggers a -Wimplicit-fallthrough warning in NDEBUG builds.

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

--HG--
extra : moz-landing-system : lando
2019-12-20 07:16:43 +00:00
Henri Sivonen 30bcdf563d Bug 1603047 - Postpone telemetry expiry for Text Encoding menu probes again. r=chutten
Differential Revision: https://phabricator.services.mozilla.com/D56722

--HG--
extra : moz-landing-system : lando
2019-12-19 17:36:27 +00:00
Perry Jiang a629fffc9a Bug 1604836 - ServiceWorkerGlobalScope.skipWaiting should use DOMMozPromiseRequestHolder r=asuth
Differential Revision: https://phabricator.services.mozilla.com/D57875

--HG--
extra : moz-landing-system : lando
2019-12-20 01:31:05 +00:00
Jan de Mooij a8028a50b1 Bug 1605066 part 2 - Don't track property types for non-singleton environment objects. r=jonco
Ion is only interested in the global lexical environment, a singleton. Don't
waste time tracking property types for other environments.

Depends on D57776

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

--HG--
extra : moz-landing-system : lando
2019-12-20 03:18:45 +00:00
Jan de Mooij aec77a35fc Bug 1605066 part 1 - Tidy up and de-duplicate environment object allocation code. r=jonco
Differential Revision: https://phabricator.services.mozilla.com/D57776

--HG--
extra : moz-landing-system : lando
2019-12-20 03:18:45 +00:00
Morgan Reschenberg 2895fb8739 Bug 1590485: Add UI/UX and global zoom functionality. r=fluent-reviewers,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D50845

--HG--
extra : moz-landing-system : lando
2019-12-20 05:09:43 +00:00
Ting-Yu Lin b95cb66316 Bug 1604978 - Move NS_BLOCK_FLAGS_MASK and NS_BLOCK_FLAGS_NON_INHERITED_MASK into nsBlockFrame::Init. r=heycam
The two masks are used only in nsBlockFrame::Init, so they should be
defined closer to their usage.

Note that 'constexpr' declared on functions implies 'inline'.

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

--HG--
extra : moz-landing-system : lando
2019-12-20 03:56:12 +00:00
Andrea Marchesini 2702d32141 Bug 1472158 - Broadcast BlobURLs only to processes with the same loaded origins, r=farre
Differential Revision: https://phabricator.services.mozilla.com/D57637

--HG--
extra : moz-landing-system : lando
2019-12-20 04:28:04 +00:00
Steve Fink ac43d7e69a Bug 1597005 - Prevent -Werror failure for bogus printf overflow warning in ZydisAPI.cpp with gcc -O0 r=glandium,lth
Differential Revision: https://phabricator.services.mozilla.com/D55050

--HG--
extra : moz-landing-system : lando
2019-12-20 03:35:50 +00:00
Steve Fink 624723e687 Bug 1597005 - Add taskcluster job to run gdb prettyprinter tests r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D54237

--HG--
extra : moz-landing-system : lando
2019-12-20 03:35:43 +00:00
Steve Fink 48eeabf5f2 Bug 1597005 - Implement an optional gdb test target in autospider.py r=jimb
Note that the gdb variant excludes the unwinder tests for now. They require more fixups that I did not want to delve into for the automated test.

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

--HG--
extra : moz-landing-system : lando
2019-12-20 03:35:40 +00:00
Steve Fink e1f169e834 Bug 1597005 - Handle PropertyKey r=jimb
Differential Revision: https://phabricator.services.mozilla.com/D54233

--HG--
extra : moz-landing-system : lando
2019-12-20 03:35:33 +00:00
Steve Fink b3a95c0fae Bug 1597005 - Rebase gdb test over removal of flat strings. r=jimb
Differential Revision: https://phabricator.services.mozilla.com/D54232

--HG--
extra : moz-landing-system : lando
2019-12-20 03:35:24 +00:00
Steve Fink ecf0cfedc0 Bug 1597005 - Fix test that requires not looking through base class typedef r=jimb
Differential Revision: https://phabricator.services.mozilla.com/D54231

--HG--
extra : moz-landing-system : lando
2019-12-20 03:35:25 +00:00