645117 Commits

Author SHA1 Message Date
Gerald Squelart
e2d15a1cfb Bug 1429613 - Variant matcher callbacks renamed from match to operator() - r=froydnj
Mechanical change from Matcher::match(...) to Matcher::operator()(...).
This will now permit the use of generic lambdas, and facilitate the
implementation of multi-lambda match.

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

--HG--
extra : moz-landing-system : lando
2019-04-02 11:53:47 +00:00
Gian-Carlo Pascutto
d0f1336b84 Bug 1535794 - Allow getrandom() in all sandbox policies. r=jld
Differential Revision: https://phabricator.services.mozilla.com/D25610

--HG--
extra : moz-landing-system : lando
2019-04-02 12:37:58 +00:00
Nicolas Chevobbe
0911e4e600 Bug 1540108 - Fix Alt+Arrow{Left/Right} key when autocomplete is open. r=Honza.
Navigating with Alt + arrow keys on OSX when the autocomplete popup
was open wasn't closing the popup, which could lead to weird behavior.

The test asserting arrow keys behavior is modified to ensure
this works as expected on all the different platforms.

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

--HG--
extra : moz-landing-system : lando
2019-04-02 14:51:37 +00:00
Nicolas Chevobbe
824f236f79 Bug 1540546 - Fix browser_webconsole_warning_groups.js beta permafail. r=aryx.
Differential Revision: https://phabricator.services.mozilla.com/D25748

--HG--
extra : moz-landing-system : lando
2019-04-02 14:35:32 +00:00
Dão Gottwald
0baba2a02f Bug 1538367 - Fix quantumbar popup's vertical position on Mac. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D25753

--HG--
extra : moz-landing-system : lando
2019-04-02 14:39:38 +00:00
Patrick Brosset
e351fb03ae Bug 1539989 - Add a background on :hover of font names; r=rcaliman
Depends on D25598

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

--HG--
extra : moz-landing-system : lando
2019-04-02 14:00:18 +00:00
Patrick Brosset
3bf2a3501d Bug 1539989 - Change the font highlighter's background color to match other highlighters; r=rcaliman
Differential Revision: https://phabricator.services.mozilla.com/D25598

--HG--
extra : moz-landing-system : lando
2019-04-02 13:59:29 +00:00
Mike de Boer
3a5d40f43a Bug 1537117 - Update the search engine quick-switching functionality to work with an async SearchService API. r=florian
I also updated the logic to properly cycle through the visible search engines list
and added a unit test that was missing, somehow.

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

--HG--
extra : moz-landing-system : lando
2019-04-02 14:15:35 +00:00
Alex Gaynor
c8cc8bd68d Bug 1533554 - check for integer overflow; r=mats
Differential Revision: https://phabricator.services.mozilla.com/D22770

--HG--
extra : moz-landing-system : lando
2019-03-25 17:02:11 +00:00
Paul Adenot
5bbebfe445 Bug 1541030 - Don't resume or suspend when the AudioContext is offline or shutdown.
Differential Revision: https://phabricator.services.mozilla.com/D25777

--HG--
extra : moz-landing-system : lando
2019-04-02 14:10:04 +00:00
Michael Kaply
9eda0f5392 Bug 1538218 - Correct REMOVE_DISTRIBUTION_DIR command. r=mhowell
Differential Revision: https://phabricator.services.mozilla.com/D25681

--HG--
extra : moz-landing-system : lando
2019-04-01 23:57:14 +00:00
Jed Davis
65bfb7a861 Bug 1516325. r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D22638

--HG--
extra : moz-landing-system : lando
2019-03-23 10:25:18 +00:00
Bastien Abadie
502ea8a095 Bug 1538770 - Replace TRY_MODIFIED_FILES by mozversioncontrol usage, r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D24876

--HG--
extra : moz-landing-system : lando
2019-04-02 14:00:30 +00:00
Byron Campen [:bwc]
e5bd78effc Bug 1536631 - Part 7: Fix some test-cases that were expecting InvalidStateError when they should have been expecting InvalidModificationError. r=jib
Rebasing on top of bug 1531110 found some more bugs, and more bad tests.

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

--HG--
extra : moz-landing-system : lando
2019-04-02 13:10:01 +00:00
Byron Campen [:bwc]
4104b621d6 Bug 1536631 - Part 6: Fix the error type that a couple of mochitests are expecting. r=jib
Differential Revision: https://phabricator.services.mozilla.com/D25151

--HG--
extra : moz-landing-system : lando
2019-04-02 13:09:46 +00:00
Byron Campen [:bwc]
cb6a2468d8 Bug 1536631 - Part 5: Stop expecting a couple of wpt to fail. r=jib
Differential Revision: https://phabricator.services.mozilla.com/D25150

--HG--
extra : moz-landing-system : lando
2019-04-02 13:09:28 +00:00
Byron Campen [:bwc]
aae4a5ec0d Bug 1536631 - Part 4: JsepSessionTest fixes. r=mjf
Differential Revision: https://phabricator.services.mozilla.com/D25149

--HG--
extra : moz-landing-system : lando
2019-04-02 13:09:11 +00:00
Byron Campen [:bwc]
9c408b0d7b Bug 1536631 - Part 3: Get JsepSession and PCImpl using the new error enum from part 1. r=mjf
Differential Revision: https://phabricator.services.mozilla.com/D25148

--HG--
extra : moz-landing-system : lando
2019-04-02 13:08:53 +00:00
Byron Campen [:bwc]
ead957036e Bug 1536631 - Part 2: Construct errors based on changes in part 1. r=jib
Differential Revision: https://phabricator.services.mozilla.com/D25147

--HG--
extra : moz-landing-system : lando
2019-04-02 13:08:35 +00:00
Byron Campen [:bwc]
f90be4b8f4 Bug 1536631 - Part 1: Pass the necessary information to JS to build the appropriate errors to reject with. r=smaug,jib
Differential Revision: https://phabricator.services.mozilla.com/D25146

--HG--
extra : moz-landing-system : lando
2019-04-02 13:08:18 +00:00
Narcis Beleuzu
46ef3ed81b Backed out 6 changesets (bug 1539262) for causing MinGW-Clang bustages
Backed out changeset 7c940e9caee9 (bug 1539262)
Backed out changeset a2f60534ffdb (bug 1539262)
Backed out changeset 0b750c9fbbdc (bug 1539262)
Backed out changeset c3872bfb8197 (bug 1539262)
Backed out changeset e3c8dbb5cb1d (bug 1539262)
Backed out changeset 43ee3d28167f (bug 1539262)
2019-04-02 16:04:07 +03:00
Emilio Cobos Álvarez
a7ccd628a6 No bug - Remove comment that is outdated since I fixed it in bug 1483808. 2019-04-02 14:51:11 +02:00
Paul Adenot
2ca28a05ed Bug 1375562 - Test the interaction of AudioContext::Suspend and breakpoints. r=jlast
Differential Revision: https://phabricator.services.mozilla.com/D24916

--HG--
extra : moz-landing-system : lando
2019-04-02 11:09:32 +00:00
Paul Adenot
653464a0cf Bug 1375562 - Allow suspending, resuming and closing an AudioContext without triggering the statechange event and dealing with Promises. r=karlt
This allows suspending and resuming the context from the debugger without having
observable side-effects.

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

--HG--
extra : moz-landing-system : lando
2019-04-02 11:10:02 +00:00
Matt Woodrow
2497edd2ee Bug 1535585 - Make sure empty app unit rectangles get converted to empty pixel rectangles. r=jnicol
Differential Revision: https://phabricator.services.mozilla.com/D24800

--HG--
extra : moz-landing-system : lando
2019-03-29 14:44:55 +00:00
Chris H-C
d443a85cfe Bug 1539262 - Support multiple origins in the same metric in Origin Telemetry r=janerik
Since reporting intervals are ~1 day/1 session, the Origin Telemetry prototype
must support the possibility that multiple origins will be recorded for the
same metric.

For example, if the user is sampled to record two pageloads where the same
ultra-common tracker is present and blocked we must record that tracker as
having been blocked twice.

This requires a bit of a shift in storage and plaintext snapshot. Instead of
being an array of origins with duplicates, now we're storing origins as a bag
(aka multiset, aka hashtable of origin->count).

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

--HG--
extra : moz-landing-system : lando
2019-04-02 12:37:45 +00:00
Chris H-C
ca4c887238 Bug 1539262 - Test 'unknown origin' support in Origin Telemetry. r=janerik
Differential Revision: https://phabricator.services.mozilla.com/D25131

--HG--
extra : moz-landing-system : lando
2019-04-02 12:37:36 +00:00
Chris H-C
7655e3ca6f Bug 1539262 - Record if Origin Telemetry was used with an unknown origin. r=janerik
Differential Revision: https://phabricator.services.mozilla.com/D25130

--HG--
extra : moz-landing-system : lando
2019-04-02 12:37:28 +00:00
Chris H-C
ae0ff51e56 Bug 1539262 - Origin Telemetry support for origins lists exceeding PrioEncoder's limit. r=janerik
Content Blocking's list is longer than the largest bool vector size supported
by PrioEncoder, so we need to split the list into shards before encoding.

This means we need to use the metric name and shard number together to identify
the encoding so it's possible to decode it later.

While I'm here, restructure GetEncodedSnapshots to make my life easier when I
eventually try to put the heavy lifting on its own thread. There's a clearer
split now between JS stuff and non-JS stuff.

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

--HG--
extra : moz-landing-system : lando
2019-04-02 12:37:21 +00:00
Chris H-C
c2d9dafdb1 Bug 1539262 - Test that Origin Telemetry notifies when it reaches the data limit. r=janerik
Differential Revision: https://phabricator.services.mozilla.com/D25128

--HG--
extra : moz-landing-system : lando
2019-04-02 12:37:12 +00:00
Chris H-C
e36f525009 Bug 1539262 - Count the number of prioDatas needed to encode the recorded Origin Telemetry. r=janerik
In order to notify the "prio" ping when we reach the data limit, we need to
keep an accounting of how many prioData elements we'd need to encode what's in
storage.

This also adds the pref reading and topic notification code for the
"origin-telemetry-storage-limit-reached" topic that the "prio" ping observes.

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

--HG--
extra : moz-landing-system : lando
2019-04-02 12:37:10 +00:00
Alexandre Poirot
0b2e8e6e9d Bug 1539213 - Emit Target.targetCreated for already-opened tabs. r=ato
When `Target.setDiscoverTargets` is called, one `Target.targetCreated` event
should be sent per already opened tab.

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

--HG--
extra : moz-landing-system : lando
2019-04-01 14:25:28 +00:00
Bisola Omisore
360f8973bc Bug 1506540 - Conforming style tweaks to Custom Request Panel in net monitor (button states, header title behaviour). r=Honza
Increase the minimum width of the custom method value to make all options appear comfortably.
Fix Custom Request Panel header title wrap bug.
Style & position Custom Requeset Panel buttons properly.

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

--HG--
extra : moz-landing-system : lando
2019-04-02 12:22:30 +00:00
Hemakshi Sachdev
39cc87d692 Bug 1434848 - StatusBar tries to updates on every state update and its render is slow. r=Honza
Converted StatusBar to a Component and added a `shouldComponentUpdate` method to prevent unnecessary updates.

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

--HG--
extra : moz-landing-system : lando
2019-04-02 12:09:30 +00:00
Nicolas Chevobbe
ad4932c97a Bug 1540625 - Fix isInWarningGroup invalid PropTypes. r=Honza.
The propType is changed to *not* required as the function is
only passed when the grouping pref is true.

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

--HG--
extra : moz-landing-system : lando
2019-04-02 08:51:30 +00:00
André Bargull
00087edc02 Bug 1539782: Don't attempt to resolve an already settled promise in the debugger. r=arai
Differential Revision: https://phabricator.services.mozilla.com/D25575

--HG--
extra : moz-landing-system : lando
2019-04-01 10:18:21 +00:00
Mark Banner
07f8d9c3d4 Bug 1540662 - Fix the UITour starting an address bar search with QuantumBar enabled. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D25588

--HG--
extra : moz-landing-system : lando
2019-04-02 10:05:01 +00:00
Mark Banner
f481b075d7 Bug 1540650 - Fix UrlbarTestUtils to correctly get the title separator for QuantumBar following rtl changes (bug 1540650). r=dao
Differential Revision: https://phabricator.services.mozilla.com/D25581

--HG--
extra : moz-landing-system : lando
2019-04-02 09:31:09 +00:00
Dhyey Thakore
cb61e41e7a Bug 1258809 - fix and re-enable netmonitor devtools details UI test, r=Honza
Differential Revision: https://phabricator.services.mozilla.com/D24003

--HG--
extra : moz-landing-system : lando
2019-04-02 11:17:00 +00:00
violet
cbbbdeac6d Bug 1455824 - Disable TEST 18 of test_font_loading_api.html on Android for fragile timeout behavior r=emilio
TEST 18 of layout/style/test/test_font_loading_api.html is fragile on Android in the sense
that adding a new mochitest in an irrelevant directory (e.g. layout/svg/test)
might cause a failure rate close to 50%. See Comment 34 in Bug 1455824.
Increasing SimpleTest.requestLongerTimeout() doesn't make much difference, see
https://treeherder.mozilla.org/#/jobs?repo=try&revision=c954cc8621372252a500fe1db04fb06edd636d9c.

Comment 43 and 44 from Testing team suggested the drastical failure increasing
is probably only related to different task grouping when a new testcase is added
elsewhere.

We should probably disable it now on Android platform, because it might cause
false-negative and confusion when someone lands an unrelated mochitest in
an irrelevant directory.

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

--HG--
extra : moz-landing-system : lando
2019-04-02 10:09:31 +00:00
Khyati Agarwal
ea8010a2cc bug 1533290 - Stop using --panel-disabled-color for subviewbutton shortcuts (where the subviewbutton is also a menuitem) r=dao
Stop using --panel-disabled-color for subviewbutton shortcuts (where the subviewbutton is also a menuitem)

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

--HG--
extra : moz-landing-system : lando
2019-04-02 10:26:04 +00:00
Florin Strugariu
f0624a23a4 Bug 1540629 remove screenshots from tp6-8-404 r=rwood
Differential Revision: https://phabricator.services.mozilla.com/D25563

--HG--
extra : moz-landing-system : lando
2019-04-01 15:00:50 +00:00
Mathieu Leplatre
9ce2e13bcc Bug 1538248 - Verify authenticity of Remote Settings records for Normandy r=mythmon,Gijs
Verify authenticity of Remote Settings records for Normandy

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

--HG--
extra : moz-landing-system : lando
2019-04-01 17:48:05 +00:00
Jan de Mooij
c5b3ecc620 Bug 1540940 - Use growByUninitialized instead of growBy for BytecodeEmitter code and notes vectors. r=arai
Differential Revision: https://phabricator.services.mozilla.com/D25724

--HG--
extra : moz-landing-system : lando
2019-04-02 09:10:30 +00:00
Jan de Mooij
1eafec159b Bug 1501310 - Move Baseline IC fallback code from JitRealm to JitRuntime. r=tcampbell
Fallback code is now generated (as a single JitCode instance) when we create the
JitRuntime.

In ICScript::Create we can now allocate the fallback stubs directly (we no
longer need a Compiler class for each fallback stub) because we no longer have
to handle the compile-code case.

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

--HG--
extra : moz-landing-system : lando
2019-04-02 09:16:43 +00:00
Bastien Abadie
2059353ba3 Bug 1540325 - Run clang tools tasks only on try & code-review, r=glandium,sylvestre
Differential Revision: https://phabricator.services.mozilla.com/D25562

--HG--
extra : moz-landing-system : lando
2019-04-02 09:38:56 +00:00
Jonas Allmann
df684f89db Bug 1498569, Replace wizard.xml attributes with event listeners, r=Gijs
* Removed all occurences of custom onwizard* attributes.
* Removed custom handler code from wizard.xml.
* Updated eval()-usage whitelist.

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

--HG--
extra : moz-landing-system : lando
2019-04-02 08:56:25 +00:00
Narcis Beleuzu
a99fa2c128 Backed out changeset 9b9c50876092 (bug 1540325) for Linting failure on clang.yml. CLOSED TREE 2019-04-02 12:29:16 +03:00
Thomas Nguyen
3c8351815e Bug 1539408 Pass referrerInfo to gContextMenuContentData in non-remote r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D25419

--HG--
extra : moz-landing-system : lando
2019-04-02 08:53:28 +00:00
Bastien Abadie
8f65480f36 Bug 1540325 - Run clang tools tasks only on try & code-review, r=glandium,sylvestre
Differential Revision: https://phabricator.services.mozilla.com/D25562

--HG--
extra : moz-landing-system : lando
2019-04-02 08:30:05 +00:00