Commit Graph

655939 Commits

Author SHA1 Message Date
Mirko Brodesser
20b754bf1d Bug 1558758: narrow visibility from SnowWhiteKiller::MaybeKillObject to private.
Simplifies reasoning about the method.

Differential Revision: https://phabricator.services.mozilla.com/D34685
2019-06-12 14:57:07 +02:00
Mirko Brodesser
c1c3acd11d Bug 1558758: add a few comments to CC's documentation.
Differential Revision: https://phabricator.services.mozilla.com/D34684
2019-06-12 14:57:06 +02:00
Dorel Luca
75f0f73de5 Merge mozilla-central to mozilla-inbound 2019-06-12 15:17:56 +03:00
Dorel Luca
fe1531cfc1 Merge mozilla-inbound to mozilla-central. a=merge 2019-06-12 15:05:58 +03:00
Rob Wu
e990bc2fe0 Bug 1555012 - Skip about:addons in browser_aboutURLs.js r=rpl
Upon enabling the HTML about:addons discovery pane, about:addons page
start to send a fetch request from the default user context, instead of
a content load request with the tab's user context.

This mismatch in userContextId triggers the following debug assertion:
https://searchfox.org/mozilla-central/rev/c606cdd6d014f/netwerk/base/nsNetUtil.cpp#3021-3024

This assertion can be ignored, because the request has no credentials,
so its context should not matter.

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

--HG--
extra : moz-landing-system : lando
2019-06-12 10:45:01 +00:00
Emilio Cobos Álvarez
a45852130e Bug 1558352 - Ensure canvas anonymous content is always created before constructing the document element frame's children. r=TYLin
Right now that doesn't happen, so you can run into problems like the one
described in bug 1492582 comment 30 for popups.

This is a bit annoying, but it's more consistent with how regular anonymous
content works already:

  https://searchfox.org/mozilla-central/rev/0da35261b6789eec65476dbdd4913df6e235af6d/layout/base/nsCSSFrameConstructor.cpp#9644

It's still not 100% consistent, since the root element's frame would still end
up first in the frame tree, but I think that's both less important and harder to
change. I've left a comment to that effect in the code.

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

--HG--
extra : moz-landing-system : lando
2019-06-12 10:09:28 +00:00
Nicolas Chevobbe
9129865b0e Bug 1558468 - Split InactivePropertyHelper test cases in multiple files. r=rcaliman.
This should make the test more managable as we add properties
validators in InactivePropertyHelper.
eslint doesn't support dynamic import yet, so we have to ignore
the test file.

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

--HG--
rename : devtools/server/tests/mochitest/test_inspector-inactive-property-helper.html => devtools/server/tests/mochitest/inactive-property-helper/gap.js
rename : devtools/server/tests/mochitest/test_inspector-inactive-property-helper.html => devtools/server/tests/mochitest/inactive-property-helper/max-min-width-height.js
rename : devtools/server/tests/mochitest/test_inspector-inactive-property-helper.html => devtools/server/tests/mochitest/inactive-property-helper/vertical-align.js
extra : moz-landing-system : lando
2019-06-12 09:49:16 +00:00
Jean-Yves Avenard
5adb6b1a6d Bug 1557630 - P1. Simplify Preferences' getters code. r=njn
We use templates where appropriate instead.

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

--HG--
extra : moz-landing-system : lando
2019-06-12 08:01:08 +00:00
Ian Neal
e02ac4e321 Bug 1558585 - DOM's appstrings.properties should include entity for harmfulBlocked r=dimi
Differential Revision: https://phabricator.services.mozilla.com/D34580

--HG--
extra : moz-landing-system : lando
2019-06-12 06:16:13 +00:00
Martin Stransky
6ada4a5f73 Bug 1555899 - [Wayland] Don't wait to fullscreen update as it can block forever, r=jhorak"
- Don't block all drawing until whole screen was painted, clear the screen and
allow partial drawing instead.
- Detect window resize and allow partial drawing directly to wayland buffer in this case.
- Remove backbuffer copy - wait to buffer release instead.

Depends on D33910

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

--HG--
extra : moz-landing-system : lando
2019-06-11 20:38:56 +00:00
Martin Stransky
d9c5ad8e86 Bug 1555899 - [Wayland] Added more wayland logging, r=jhorak
Differential Revision: https://phabricator.services.mozilla.com/D33910

--HG--
extra : moz-landing-system : lando
2019-06-11 20:38:44 +00:00
Ehsan Akhgari
caea64f895 Bug 1557872 - Add a new JS module for manipulating the Content Blocking allow list; r=nhnt11
Differential Revision: https://phabricator.services.mozilla.com/D34355

--HG--
extra : source : 832579daee7c9e328d220611ab8929a1a4cf150b
2019-06-11 22:28:31 +00:00
Mark Banner
ea1728721a Bug 1558527 - Fix various issues related to shadowing of variables in dom/ code. r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D34588

--HG--
extra : moz-landing-system : lando
2019-06-12 08:29:58 +00:00
Marco Bonardo
08ffa2bac8 Bug 1556990 - Urlbar code emits 'An extension didn't handle the queryready callback' error even if it was handled. r=adw
Differential Revision: https://phabricator.services.mozilla.com/D34173

--HG--
extra : moz-landing-system : lando
2019-06-11 16:37:39 +00:00
Belén Albeza
1268639223 Bug 1553783 - Add mochitest for unregister service worker button r=Ola
Differential Revision: https://phabricator.services.mozilla.com/D34168

--HG--
extra : moz-landing-system : lando
2019-06-11 21:27:26 +00:00
Belén Albeza
9a15238677 Bug 1553784 - Add mochitest for empty list of service workers r=Ola
Differential Revision: https://phabricator.services.mozilla.com/D34154

--HG--
extra : moz-landing-system : lando
2019-06-11 21:23:59 +00:00
Florens Verschelde
b2cdaf13a8 Bug 1558403 - Add sidebar background color to SecondaryPanes sidebar; r=jlast
Differential Revision: https://phabricator.services.mozilla.com/D34520

--HG--
extra : moz-landing-system : lando
2019-06-11 18:34:49 +00:00
Dorel Luca
ddbbed33a8 Backed out changeset 832579daee7c (bug 1557872) for Browser-chrome failures in browser/components/contextualidentity/test/browser/browser_aboutURLs.js. CLOSED TREE 2019-06-12 10:06:21 +03:00
Bryce Van Dyk
cbab22c9cb Bug 1536102 - P4: Enabled WPT for encrypted media scheme checking. r=cpearce
Enable the web platform tests for clearkey scheme checking. Since these tests
simply check if the functionality is implemented, and do not check if the
browsers actually support different encryption schemes, it's okay to do this
even though we don't have cbcs support in clearkey yet. I.e. it's enough that a
page can ask "do you support cbcs in clearkey?" to Firefox to pass the test, the
answer from Firefox doesn't have to be "yes."

Add the pref setting to the DRM scheme checking test, though leave the
expectations as they are on this test, as in automation the test will still not
pass due to Widevine downloads being blocked. My hope is that we can find a
solution to this Widevine download issue in automation, at which point we'd
expect that tests to start passing due to the pref added in this patch -- at
which point we could toggle the expectations.

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

--HG--
extra : moz-landing-system : lando
2019-06-12 05:31:52 +00:00
Bryce Van Dyk
9a3743934b Bug 1536102 - P3: Implement filtering behaviour for encryption scheme if passed on MediaKeySystemMediaCapability. r=cpearce
Drive by reordering of includes per google style and remove several unused
headers.

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

--HG--
extra : moz-landing-system : lando
2019-06-12 05:31:38 +00:00
Bryce Van Dyk
70bcd7528f Bug 1536102 - P2: Add encryption scheme to MediaKeySystemMediaCapability dictionary. r=smaug
Add encryption scheme member to MediaKeySystemMediaCapability dict, but hide it
behind a pref as the behaviour involved is only proposed at this stage.

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

--HG--
extra : moz-landing-system : lando
2019-06-12 05:31:19 +00:00
Bryce Van Dyk
724ffe3fad Bug 1536102 - P1: Add pref to gate encryption scheme check functionality behind. r=cpearce
First step in implementing behaviour proposed in
https://github.com/WICG/encrypted-media-encryption-scheme/blob/master/explainer.md

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

--HG--
extra : moz-landing-system : lando
2019-06-12 05:31:00 +00:00
Masayuki Nakano
1476b604b8 Bug 1558412 - Make nsContentUtils::GetHTMLEditor() null-check of the given nsPresContext* r=smaug
Surprisingly, `Document::ExecCommand()` may be called when there is no
corresponding `nsPresContext`.  Then, `nsContentUtils::GetHTMLEditor()`
crashes because it does not check whether the argument is `nullptr` or not.

This patch makes it check whether `aPresContext` is `nullptr` or not, and
makes `Document::ExecCommand()` not try to look for an editor when its
`GetPresContext()` returns `nullptr`.  This means that we cannot send
proper `nsIPrincipal` object to the editor in this case.  But I'm not sure
how it's important and whether editor can or cannot modify the DOM tree
actually.

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

--HG--
extra : moz-landing-system : lando
2019-06-12 01:58:01 +00:00
Jon Coppeard
fc3f75f7f3 Bug 1395509 - Track malloc memory used by IndirectBindingMaps associated with modules r=pbone
Use memory tracking APIs to track malloc memory associated with module IndirectBindingMap. These are attached to ModuleObjects and ModuleNamespaceObjects.

Differential Revision: https://phabricator.services.mozilla.com/D34551
2019-06-11 16:56:59 +01:00
Bob Clary
4746960086 Bug 1557038 - increase maximum number of isolation tests to 100, r=gbrown.
Depends on D34492

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

--HG--
extra : moz-landing-system : lando
2019-06-11 14:30:51 +00:00
Bob Clary
79e3b1a5fa Bug 1557038 - Handle additional invalid errorsummary test values in isolate-test-failures action, r=gbrown.
Differential Revision: https://phabricator.services.mozilla.com/D34492

--HG--
extra : moz-landing-system : lando
2019-06-11 15:06:39 +00:00
Lina Cambridge
7d50f59301 Bug 1558388 - Ensure the bookmarks mirror reports shutdown blocker state correctly. r=markh
Differential Revision: https://phabricator.services.mozilla.com/D34471

--HG--
extra : moz-landing-system : lando
2019-06-12 03:48:31 +00:00
Joanmarie Diggs
534bd455b6 Bug 1446699 - Fix ATK mapping for EVENT_TEXT_SELECTION_CHANGED r=Jamie
The correct mapping for nsIAccessibleEvent::EVENT_TEXT_SELECTION_CHANGED
in ATK is text_selection_changed; not selection_changed. The latter is
meant for containers which support selection of child objects, such as
a menu or expanded select element.

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

--HG--
extra : moz-landing-system : lando
2019-06-12 04:01:51 +00:00
Boris Zbarsky
f891b30286 Bug 1558557. Stop using [array] in nsISecretDecoderRing. r=keeler
The UTF-16 to UTF-8 conversion is now handled by XPConnect, because we're using AUTF8String for the type.

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

--HG--
extra : moz-landing-system : lando
2019-06-12 02:15:23 +00:00
Boris Zbarsky
cd725846b9 Bug 1558651. Stop using [array] in amIWebInstallPrompt. r=MattN
Differential Revision: https://phabricator.services.mozilla.com/D34633

--HG--
extra : moz-landing-system : lando
2019-06-11 22:28:59 +00:00
Bogdan Tara
e1a1a4aacc Backed out changeset c0931707a491 (bug 1556131) for assertion failures in StaticPrefList.h CLOSED TREE 2019-06-12 05:18:24 +03:00
Bogdan Tara
bf22857a64 Backed out 14 changesets (bug 1552435) for BinASTTokenReaderContext.h related build bustages CLOSED TREE
Backed out changeset d4e3bdd4e494 (bug 1552435)
Backed out changeset 7fad44e18739 (bug 1552435)
Backed out changeset 8acef5541a11 (bug 1552435)
Backed out changeset 3a42d8bda7d0 (bug 1552435)
Backed out changeset 53a13d1d4f6e (bug 1552435)
Backed out changeset b79f0c113d3e (bug 1552435)
Backed out changeset 7f8c607be8f8 (bug 1552435)
Backed out changeset 5d0670db54ef (bug 1552435)
Backed out changeset 368e2dd6ec38 (bug 1552435)
Backed out changeset 0db441d1c2d8 (bug 1552435)
Backed out changeset 4897449d8397 (bug 1552435)
Backed out changeset 4cd2018dbd8b (bug 1552435)
Backed out changeset fd7f9aa70324 (bug 1552435)
Backed out changeset 36ceb8f15cb9 (bug 1552435)
2019-06-12 04:39:49 +03:00
Bogdan Tara
22ebc89901 Backed out changeset 6b3192ef9401 (bug 1552015) for es lint failure on visibleColumnBreakpoints.js CLOSED TREE 2019-06-12 04:15:58 +03:00
Bogdan Tara
b072357603 Backed out 2 changesets (bug 1532470) on aklotz's request
Backed out changeset 3693ec4875d8 (bug 1532470)
Backed out changeset 54a7bf8f3092 (bug 1532470)
2019-06-12 04:08:39 +03:00
Dana Keeler
5a208d1853 bug 1557092 - add fast path to avoid calling CERT_CreateSubjectList for most certificate verifications r=jcj,KevinJacobs
Differential Revision: https://phabricator.services.mozilla.com/D34042

--HG--
extra : moz-landing-system : lando
2019-06-11 22:45:26 +00:00
Nick Alexander
a53b7f71ed Bug 1556162: Ignore non-deterministic localized resources in fat AARs. r=mshal
This works around the following situation: the Ngv/fat AAR task is
deterministic, but it depends on N tasks for multiple architectures,
adn the exact l10n changeset pulled by each N task depends on the tip
of the l10n HG repository at the time the N task executes.

For now, just ignore the obvious localized resources: *.ftl, *.dtd,
*.properties.

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

--HG--
extra : moz-landing-system : lando
2019-06-11 22:44:29 +00:00
Hiroyuki Ikezoe
56cfdf6c52 Bug 1554022 - Use the current position in CSS pixels for the start point of ScrollBy. r=botond,mstange
Otherwise clamped positions in layer pixels might cause 1-pixel difference
in CSS pixels on Android.

Note that there is a fundamental issue on the interaction between
the layer-pixel alignment and scrolling APIs (bug 1556685), once we fix the bug
properly, we should use the scrolled position, which was given by the scrolling
APIs, for the current position.

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

--HG--
extra : moz-landing-system : lando
2019-06-11 22:43:34 +00:00
Ehsan Akhgari
19f96d0e2a Bug 1557872 - Add a new JS module for manipulating the Content Blocking allow list; r=nhnt11
Differential Revision: https://phabricator.services.mozilla.com/D34355

--HG--
extra : moz-landing-system : lando
2019-06-11 22:28:31 +00:00
Rob Wu
87c294932a Bug 1557944 - Fix intermittent browser_html_plugins.js r=rpl
Differential Revision: https://phabricator.services.mozilla.com/D34616

--HG--
extra : moz-landing-system : lando
2019-06-11 21:26:14 +00:00
Rob Wu
9c13937cde Bug 1555012 - Enable abuse reporting at about:addons by default r=rpl
Differential Revision: https://phabricator.services.mozilla.com/D34530

--HG--
extra : moz-landing-system : lando
2019-06-11 21:02:04 +00:00
Rob Wu
65d7e016b8 Bug 1555012 - Enable HTML about:addons by default r=rpl
Differential Revision: https://phabricator.services.mozilla.com/D34337

--HG--
extra : moz-landing-system : lando
2019-06-11 15:30:18 +00:00
David Teller
641d20716d Bug 1552435 - Propagating upstream changes;r=arai
Differential Revision: https://phabricator.services.mozilla.com/D34483

--HG--
extra : moz-landing-system : lando
2019-06-11 16:12:12 +00:00
David Teller
6c8df2fc11 Bug 1552435 - Connecting the HuffmanPreludeReader;r=arai
Depends on D33951

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

--HG--
extra : moz-landing-system : lando
2019-06-11 17:38:42 +00:00
David Teller
79c90d1ce9 Bug 1552435 - Attempting to silence spurious warnings;r=arai
Differential Revision: https://phabricator.services.mozilla.com/D33951

--HG--
extra : moz-landing-system : lando
2019-06-11 16:11:20 +00:00
David Teller
dc632cc43d Bug 1552435 - Reading Huffman tables of string enums;r=arai
Depends on D33937

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

--HG--
extra : moz-landing-system : lando
2019-06-11 16:10:49 +00:00
David Teller
b4447cf54b Bug 1552435 - Reading Huffman tables of strings, optional strings;r=arai
Depends on D33634

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

--HG--
extra : moz-landing-system : lando
2019-06-11 16:10:26 +00:00
David Teller
bf4c5736b3 Bug 1552435 - Reading Huffman tables of lists;r=arai
Depends on D33633

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

--HG--
extra : moz-landing-system : lando
2019-06-11 16:09:54 +00:00
David Teller
59a9d2beb2 Bug 1552435 - More data on lists;r=arai
Depends on D33632

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

--HG--
extra : moz-landing-system : lando
2019-06-11 16:09:27 +00:00
David Teller
fa6c071597 Bug 1552435 - Adapting to brotli reading API;r=arai
Depends on D33483

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

--HG--
extra : moz-landing-system : lando
2019-06-11 16:08:58 +00:00
David Teller
b2bde88539 Bug 1552435 - Reading Huffman tables of optional sums;r=arai
Depends on D33482

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

--HG--
extra : moz-landing-system : lando
2019-06-11 16:08:31 +00:00