Commit Graph

655849 Commits

Author SHA1 Message Date
Geoff Brown
69303ee81f Bug 1558516 - [mozdevice] Improve check for effectiveness of rm; r=bc
If path exists in any form after rm, rm() should raise.

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

--HG--
extra : moz-landing-system : lando
2019-06-11 15:23:22 +00:00
Kartikaya Gupta
9671e837c3 Bug 1558607 - Allow smaller fuzz for reftest on GeckoView. r=gbrown
Differential Revision: https://phabricator.services.mozilla.com/D34604

--HG--
extra : moz-landing-system : lando
2019-06-11 21:20:22 +00:00
Boris Zbarsky
bc935e6c04 Bug 1558569. Stop using [array] in nsISiteSecurityService. r=keeler
Differential Revision: https://phabricator.services.mozilla.com/D34568

--HG--
extra : moz-landing-system : lando
2019-06-11 21:23:21 +00:00
Gurzau Raul
577021c8c2 Merge mozilla-central to autoland. a=merge CLOSED TREE 2019-06-12 00:36:41 +03:00
Gurzau Raul
227f5329f7 Merge inbound to mozilla-central. a=merge 2019-06-12 00:34:32 +03:00
Andrew Osmond
008cb2a2d8 Bug 1555934 - Partially backout bug 1255106 part 3 to fix decoders with transparency. r=aosmond 2019-06-11 13:06:15 -04:00
tanhengyeow
0d8f2eb67b Bug 1552458 - Implement backend actor for WebSocket inspection. r=Honza,jdescottes
Implement backend actor for WebSocket inspection

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

--HG--
extra : moz-landing-system : lando
2019-06-11 15:27:08 +00:00
Mirko Brodesser
c0011f4e0f Bug 1557296: replace "IsBlackAndDoesNotNeedTracing" with "HasKnownLiveWrapperAndDoesNotNeedTracing" in nsCycleCollectionParticipant's documentation
Because the latter method was renamed some time ago to the former.

Differential Revision: https://phabricator.services.mozilla.com/D33943
2019-06-11 17:17:27 +02:00
Andrew Swan
293531d7dd Bug 1557871 Fix badged-button leftovers r=dao
In bug 1519577, the badged-button class for toolbarbuttons was replaced
with a "badged" attribute but a few old uses of the class were overlooked.
This patch fixes them.

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

--HG--
extra : moz-landing-system : lando
2019-06-11 14:36:18 +00:00
Martin Matous
eb4d923ebd Bug 1305663 - save extension info to DownloadMap properly, r=aswan
Previous implementation created new DownloadItem with a null as an indirect result of list.add()

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

--HG--
extra : moz-landing-system : lando
2019-06-11 15:52:46 +00:00
Neil Deakin
e5fb1d5934 Bug 1533948, change BrowserTabChild to inherit from JSWindowActor, r=mconley
--HG--
extra : rebase_source : 5e88e30ac09c15e6747f6ef1019e9b27a793a898
2019-06-11 09:05:33 -04:00
Jonathan Kew
4c97ee3830 Bug 1554819 - Add a couple of missing null-checks in SharedFontList.cpp. r=jwatt
Differential Revision: https://phabricator.services.mozilla.com/D34158

--HG--
extra : moz-landing-system : lando
2019-06-11 12:10:24 +00:00
Emilio Cobos Álvarez
8381c5ce61 Bug 1505489 - Add a pref and enable Shadow Parts in Nightly and for chrome stylesheets. r=heycam
I want to enable in Nightly to evaluate (in the medium term) shipping it without
the part forwarding, once the cascade order and importance issues are fixed, and
that we pass all the tests that don't involve forwarding.

That is, I want to monitor whether having ::part() causes compat issues or not.

Depends on D32648

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

--HG--
extra : moz-landing-system : lando
2019-06-11 17:42:58 +00:00
Emilio Cobos Álvarez
72a9fa3730 Bug 1505489 - Implement GeckoElement::each_part. r=heycam
This should make all the pieces come together.

Note that we don't need to look at the snapshot for ::part() for now (other than
when selector-matching normally) because I decided to just restyle the element
for now when the part attribute changes.

::part() can't affect descendants anyway (as long as we don't do the forwarding
stuff), and eager pseudo-elements are handled during the normal element restyle,
so it seems to me that adding all the complexity that we have for classes to
part may not be worth it at least yet.

Depends on D32647

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

--HG--
extra : moz-landing-system : lando
2019-06-11 17:42:49 +00:00
Emilio Cobos Álvarez
3685cf25a7 Bug 1505489 - Add code to make part rules affect the style of the elements. r=heycam
I still haven't implemented each_part(), so this will do nothing yet.

The cascade order stuff is fishy, I know, and I'll fix in a followup if it's
fine with you. I moved the sorting of the rules to rule_collector, since it
seemed to me it was better that way that duplicating the code, and those
SelectorMap functions only have a single caller anyway.

Depends on D32646

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

--HG--
extra : moz-landing-system : lando
2019-06-11 17:42:41 +00:00
Emilio Cobos Álvarez
838e209b31 Bug 1505489 - Collect ::part() rules during CascadeData rebuilds. r=heycam
Unlike for :host() or ::slotted(), or regular rules, we don't need a whole
SelectorMap<>, so gotta make the code a bit more generic.

Depends on D32645

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

--HG--
extra : moz-landing-system : lando
2019-06-11 17:42:32 +00:00
Emilio Cobos Álvarez
b2875e0362 Bug 1505489 - Add an extra flag to flag ::part() to selectors. r=heycam
This grows the selector struct, but only in 32-bit, since in 64-bit we take
space from the alignment padding that we're paying due to having the size of the
slice as a word.

Depends on D32644

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

--HG--
extra : moz-landing-system : lando
2019-06-11 17:42:23 +00:00
Emilio Cobos Álvarez
0d984c302b Bug 1505489 - Don't go through all the part names if not there. r=jwatt
This uses the bit added for tracking part attributes in order to avoid doing
wasted work.

Depends on D32643

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

--HG--
extra : moz-landing-system : lando
2019-06-11 17:42:09 +00:00
Emilio Cobos Álvarez
a0516ce321 Bug 1505489 - Invalidate the style of the element when the part attribute changes. r=heycam
I think that, given ::part() right now (without forwarding) cannot affect
descendants (and eager pseudo-elements are handled as part of the normal element
restyling process), it is not worth the effort to add more complex invalidation.

But we can always re-evaluate.

Depends on D32642

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

--HG--
extra : moz-landing-system : lando
2019-06-11 17:42:00 +00:00
Emilio Cobos Álvarez
103cf22ede Bug 1505489 - Add plumbing code to invalidate shadow parts. r=heycam
Still does nothing, since we still do not collect part rules, but this is all
the plumbing that should allow us to invalidate parts when attributes or state
change on their ancestors.

Depends on D32641

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

--HG--
extra : moz-landing-system : lando
2019-06-11 17:41:51 +00:00
Emilio Cobos Álvarez
c4dbe4893c Bug 1505489 - Keep track of elements with part attributes in a shadow tree. r=bzbarsky
I need this to make style invalidation work with Shadow Parts in a way that's
fast. If something in the ancestor shadow root or any of its ancestor changes,
that makes a ::part() selector change, I don't want to walk the whole shadow
tree over and over in order to find the parts that I need to restyle.

Unfortunately we cannot just use the mutation observer setup from ShadowRoot
since, unlike for slotted elements, there's no restriction of where a part can
appear in the shadow tree.

That means that the regular nsIMutationObserver notifications don't quite cut
it, since we'd get notified only of subtree roots and we'd need to tree-walk
around in order to figure out if we have any new part.

I thought that I was going to be able to share more code with other bits if I
moved them away from nsIMutationObserver, thus bug 1554498, but in the end it
was not the case, so here's the "without bug 1554498" version of the patch.

The patch on top of that bug (that as I mention in the commit message I'm
ambivalent about whether we should land or not) should be pretty similar either
way.

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

--HG--
extra : moz-landing-system : lando
2019-06-11 17:41:37 +00:00
Honza Bambas
ee6363e0d7 Bug 1556479 - Fix log in nsHttpConnectionMgr::OnMsgNewTransaction to be trackable in logan, r=valentin
Differential Revision: https://phabricator.services.mozilla.com/D33530

--HG--
extra : moz-landing-system : lando
2019-06-11 17:37:11 +00:00
Dave Townsend
2a143cf5e9 Bug 1556173: Fix test_profile_reset.js on dev-edition builds. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D34002

--HG--
extra : moz-landing-system : lando
2019-06-10 17:55:12 +00:00
Masatoshi Kimura
345598abc1 Bug 1557931 - Stop using ACString parameters in nsICertOverrideService. r=keeler
Differential Revision: https://phabricator.services.mozilla.com/D34274

--HG--
extra : moz-landing-system : lando
2019-06-11 16:50:38 +00:00
James Graham
a1f5e2d0e0 Bug 1557206 - Add fuzzy annotation for intermittent webvtt test, r=aryx
Differential Revision: https://phabricator.services.mozilla.com/D34506

--HG--
extra : moz-landing-system : lando
2019-06-11 16:45:57 +00:00
Edwin Gao
1a2723f825 Bug 1555454 - migrate mochitest-webgl1-ext to macosx1014 r=gbrown
Changes:

- updated expected outcomes for previously failing tests that now pass on macosx1014

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

--HG--
extra : moz-landing-system : lando
2019-06-11 16:40:03 +00:00
Ting-Yu Lin
307ef73912 Bug 1524431 Part 2 - Check IsBidiSplittable() before processing the ancestor frames. r=jfkthame
The idea is to check IsBidiSplittable() in more places to prevent fixed
continuations created by column-span from becoming fluid ones.

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

--HG--
extra : moz-landing-system : lando
2019-06-11 19:27:57 +00:00
Ting-Yu Lin
6904399bd9 Bug 1524431 Part 1 - Revert Bug 1520722 Part 2. r=jfkthame
This reverts the modification to nsBidiPresUtils.cpp in Bug 1520722 Part
2, but keeps the test added. Next part will fix the problem in a proper
way.

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

--HG--
extra : moz-landing-system : lando
2019-06-11 16:21:57 +00:00
Emilio Cobos Álvarez
88b5840556 Bug 1553673 - Round intersection observer percentage margins with NSToCoordRound rather than the default rounder. r=dholbert
The default rounder floors percentages instead of rounding, which can cause
subtle issues.

This is generally desirable for most lengths, AIUI, so that pages don't cause
undesired overflow when using percentage widths and such, but for the
intersection observer root margin, it can cause some annoyance as the percentage
going negative may cause the root rect to be negatively sized and report no
intersection.

This also seems to match Blink[1], though it goes back to the initial
implementation of IntersectionObserver.rootMargin[2].

[1]: https://cs.chromium.org/chromium/src/third_party/blink/renderer/core/intersection_observer/intersection_geometry.cc?l=52&rcl=8671a050dd117b730bffbad5838f218fcc024845
[2]: c88a8ad4f1

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

--HG--
extra : moz-landing-system : lando
2019-06-11 19:16:46 +00:00
Boris Zbarsky
71e82c0744 Bug 1558553. Stop using [array] in nsIWifiListener. r=valentin
Differential Revision: https://phabricator.services.mozilla.com/D34558

--HG--
extra : moz-landing-system : lando
2019-06-11 18:59:50 +00:00
Edwin Gao
c2dae416e6 Bug 1555454 - migrate xpcshelltests to macosx1014 r=gbrown
Changes:
- move xpcshell from macosx1010 to macosx1014
- updated regex for macosx1014 xpcshell to run on 2 chunks for all variants (for now)

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

--HG--
extra : moz-landing-system : lando
2019-06-11 18:36:19 +00:00
Dave Townsend
1f96e1db88 Bug 1553929: Make some attempt to correctly match default profiles after profiles.ini has been manually edited by the user. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D34038

--HG--
extra : moz-landing-system : lando
2019-06-11 17:32:17 +00:00
Aaron Klotz
087af67af1 Bug 1549797: Remove loader hooks for TestDllBlocklist from mozglue; r=mhowell
We remove the debugging hooks that were added to check to see whether a DLL
was loaded, as we can just as easily check that by querying the loader itself.
Plus, we shouldn't be exporting a bunch of test-only loader hooks from mozglue
in our release builds, which is what we are currently doing.

We also remove Injector, InjectorDLL, and TestDLLEject, as these tests can
just as easily be done from within TestDllBlocklist by creating a thread with
LoadLibrary* as the entry point. The CreateRemoteThread stuff, while a more
accurate simulation, has no material effect on whether or not the thread
blocking code works.

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

--HG--
extra : moz-landing-system : lando
2019-06-11 17:15:20 +00:00
Gijs Kruitbosch
01a4b7d58f Bug 1555671 - tests, r=valentin
Differential Revision: https://phabricator.services.mozilla.com/D33153

--HG--
extra : moz-landing-system : lando
2019-06-11 19:02:50 +00:00
Edwin Gao
787d8cb500 Bug 1555454 - migrate crashtests over to macosx1014 r=gbrown
Changes:

- added skip-If statements for some crashtest items that fail on macosx1014
- removed `crashtest` from `macosx64` test sets, with the consequence that `macosx64-qr-tests` test set is removed, with cascading effects to the test-platforms definitions that used only `macosx64-qr-tests`

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

--HG--
extra : moz-landing-system : lando
2019-06-11 17:30:32 +00:00
Barret Rennie
0bd4d6512b Bug 1553200 - Do not receive unwanted nsIWebProgress events in addon discovery view r=mconley
Depends on D33996

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

--HG--
extra : moz-landing-system : lando
2019-06-11 17:47:52 +00:00
Aaron Klotz
c48c895bd7 Bug 1558561: Fix missing population of RTL_OSVERSIONINFOW::dwOSVersionInfoSize; r=mhowell
Differential Revision: https://phabricator.services.mozilla.com/D34559

--HG--
extra : moz-landing-system : lando
2019-06-11 17:19:37 +00:00
Kartikaya Gupta
7932a0a498 Bug 1501582 - Run reftests on GeckoView. r=gbrown
Depends on D34539

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

--HG--
extra : moz-landing-system : lando
2019-06-11 16:23:27 +00:00
Kartikaya Gupta
d202cea0f0 Bug 1501582 - Increase position-dynamic-changes to a blanket fuzz. r=gbrown
The fuzziness in the position-dynamic-changes reftests seems nondeterministic.
The fuzziness annotations in the previous patch were what I got after a few
iterations of do-a-try-push-and-update-annotations, but there are still more
failures showing up in subsequent try pushes. I visually checked all the
failures and they are all just fuzzy in different places, but intermittent.
This patch updates the fuzziness annotations on these tests to the maximum
that I encountered on any test, which is (2, 1382).

I'm keeping this as a separate patch because I think it might be valuable
in version control history to have the actual numbers seen on try which
are in the previous patch.

Depends on D34538

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

--HG--
extra : moz-landing-system : lando
2019-06-11 16:13:41 +00:00
Kartikaya Gupta
97d708b2a2 Bug 1501582 - Mark geckoview failures. r=gbrown
There are a number of failures, for which I've filed separate bugs.
And then a lot of fuzziness. I manually inspected the reftest analyzer
results on try pushes to distinguish failures vs fuzziness.

Depends on D34537

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

--HG--
extra : moz-landing-system : lando
2019-06-11 16:12:03 +00:00
Kartikaya Gupta
9d4b493f9c Bug 1501582 - Add a geckoview condition to the reftest sandbox. r=gbrown
Differential Revision: https://phabricator.services.mozilla.com/D34537

--HG--
extra : moz-landing-system : lando
2019-06-11 16:06:41 +00:00
Cameron McCormack
6af45968ec Bug 1558356 - Add WPT for xml:space="" on an ancestor element. r=longsonr
Differential Revision: https://phabricator.services.mozilla.com/D34436

--HG--
extra : moz-landing-system : lando
2019-06-11 12:07:51 +00:00
Boris Zbarsky
d5a8a4a595 Bug 1557793 part 3. Change the signatures of various nsContentUtils localization methods to play nicer with the new stringbundle API. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D34201

--HG--
extra : moz-landing-system : lando
2019-06-08 21:26:12 +00:00
Boris Zbarsky
9de72a3ac6 Bug 1557793 part 2. Stop using [array] in nsIStringBundle. r=Pike
Differential Revision: https://phabricator.services.mozilla.com/D34196

--HG--
extra : moz-landing-system : lando
2019-06-11 15:51:51 +00:00
Boris Zbarsky
deea17a98e Bug 1557793 part 1. Fix incorrect template arguments in AnimationPerformanceWarning. r=birtles
It looks like bug 1321412 changed the number of params but didn't update the
template parameter, and then bug 1364221 followed its example of not matching
the template parameter to the actual number of params.  As a result we're
passing an array with one garbage pointer to the callee, and it just happens
that the callee doesn't examine that pointer.  But that's about to change.

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

--HG--
extra : moz-landing-system : lando
2019-06-09 22:00:41 +00:00
Botond Ballo
c0ca36e4fd Bug 1554813 - Size the scroll parts clip to the scroll frame's true outer size. r=tnikkel
Differential Revision: https://phabricator.services.mozilla.com/D33377

--HG--
extra : moz-landing-system : lando
2019-06-10 16:30:42 +00:00
Cameron McCormack
c52feec966 Bug 1557962 - Buffer OTS messages and report them once we're back on the main thread. r=jfkthame
And turn OMT OTS back on.

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

--HG--
extra : moz-landing-system : lando
2019-06-11 15:56:31 +00:00
Jan de Mooij
7db26e7b68 Bug 1557664 - Add AutoHoldPrincipals RAII class and use it to fix a leak in the JS shell. r=jwalden
Unfortunately JS_DropPrincipals wants the cx so it's hard to use RefPtr<>.

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

--HG--
extra : moz-landing-system : lando
2019-06-11 10:11:21 +00:00
Jason Laster
8578b45a14 Bug 1558303 - Stop using immutable.
Differential Revision: https://phabricator.services.mozilla.com/D34411

--HG--
extra : moz-landing-system : lando
2019-06-11 16:15:17 +00:00
Mihai Alexandru Michis
bbc8c51513 Backed out changeset 975fec3b327c (bug 1557872) for causing bc failures in browser_trackingUI_pbmode_exceptions.js CLOSED TREE 2019-06-11 19:43:07 +03:00