Commit Graph

655939 Commits

Author SHA1 Message Date
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
Brindusan Cristian
f08a75f6a5 Backed out changeset a36380745805 (bug 1557630) for mochitest failures at test_pluginAudioNotification.html. CLOSED TREE 2019-06-11 19:32:38 +03:00
Emilio Cobos Álvarez
53fa6bd77e Bug 1558440 - Use SaturateUint32 for the visible content heuristic. r=bzbarsky
Turns out we do have saturated arithmetic in mfbt, I just missed it.

Also, use just an uint32 for the heuristic. Text length is a uint32 anyway, and
it's unlikely we want to decide anything when the value is over the max uint32
value.

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

--HG--
extra : moz-landing-system : lando
2019-06-11 15:02:17 +00:00
David Walsh
dee0e36659 Bug 1558237 - Prevent unwanted background for event listener breakpoints toggles r=Honza
Differential Revision: https://phabricator.services.mozilla.com/D34381

--HG--
extra : moz-landing-system : lando
2019-06-11 08:49:38 +00:00
Ehsan Akhgari
4598c92440 Bug 1557409 - Part 2: Use WorkerPrivate objects to determine whether we should use fingerprinting resistance on worker threads; r=baku
Differential Revision: https://phabricator.services.mozilla.com/D34208

--HG--
extra : moz-landing-system : lando
2019-06-10 19:32:05 +00:00
Ehsan Akhgari
2cadf8a181 Bug 1557409 - Part 1: Make sure nsIGlobalObject::PrincipalOrNull() returns null when called off the main thread; r=baku
Differential Revision: https://phabricator.services.mozilla.com/D34207

--HG--
extra : moz-landing-system : lando
2019-06-10 19:32:04 +00:00
Sebastian Hengst
449f49e0c3 Bug 1536007 - Change maximum depth of backfills from 10 to 25. r=dustin
Differential Revision: https://phabricator.services.mozilla.com/D34488

--HG--
extra : moz-landing-system : lando
2019-06-11 14:14:57 +00:00
Nikki Sharpley
4c76a56119 Bug 1554818 - [mozlog] Update StatusHandler to support known_intermittent field r=jgraham
This patch adds a `known_intermittent_statuses` attribute to the `StatusHandler`
class, allowing it to keep a count of expected intermittents for future use.
Additionally, known intermittents are not recorded as `unexpected_statuses` but
are recorded as `expected_statuses`.

testing/mozharness/mozharness/mozilla/structuredlog.py is directly affected by
this change and has been updated to also reflect `known_intermittent_statuses`.
However, it may require a test to be written to check this addition.

The `StatusHandler` test has been added to, ensuring this patch works as expected.

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

--HG--
extra : moz-landing-system : lando
2019-06-11 14:09:40 +00:00
Michael Froman
ecb32207d3 Bug 1555076 - avoid a potential timeout race on Windows RDD launch. r=jld
Differential Revision: https://phabricator.services.mozilla.com/D34186

--HG--
extra : moz-landing-system : lando
2019-06-10 15:03:46 +00:00
Ehsan Akhgari
2945c907d7 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 14:42:58 +00:00
Michael Froman
6d96682360 Bug 1557844 - add back ProcessRuntime in RDD for mscom init. r=jya
This fixes a CoInitializeEx failure when enabling Vorbis
decoding on RDD.

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

--HG--
extra : moz-landing-system : lando
2019-06-10 23:43:02 +00:00
Ehsan Akhgari
2779315d36 Bug 1299139 - Don't export symbols from soundtouch on Windows; r=padenot
Differential Revision: https://phabricator.services.mozilla.com/D33093

--HG--
extra : moz-landing-system : lando
2019-06-11 10:01:54 +00:00
Brindusan Cristian
ad63669f20 Backed out 14 changesets (bug 1552435) for build bustages on BinASTTokenReaderContext.h. CLOSED TREE
Backed out changeset 8448b970f048 (bug 1552435)
Backed out changeset eaaa17bd90a9 (bug 1552435)
Backed out changeset daa12d2a51ee (bug 1552435)
Backed out changeset ccb6154c8a13 (bug 1552435)
Backed out changeset 3c6703c6ca2c (bug 1552435)
Backed out changeset 0e5b05913043 (bug 1552435)
Backed out changeset 41513cb59f37 (bug 1552435)
Backed out changeset cf5514fae884 (bug 1552435)
Backed out changeset b59bf910f2e9 (bug 1552435)
Backed out changeset 80fff56c7c49 (bug 1552435)
Backed out changeset 27bf02f8977e (bug 1552435)
Backed out changeset 8e09ad83b99b (bug 1552435)
Backed out changeset 8547fb9394eb (bug 1552435)
Backed out changeset 1e4c1b283ba3 (bug 1552435)
2019-06-11 17:33:06 +03:00
Kartikaya Gupta
b0520cb367 Bug 1558293 - Log android properties before running wrench reftests. r=jnicol
This includes build information and other stuff.

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

--HG--
extra : moz-landing-system : lando
2019-06-11 12:42:03 +00:00
Tim Nguyen
e540a0e68b Bug 1557817 - Convert basic XUL textbox usages to HTML input in preferences. r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D34224

--HG--
extra : moz-landing-system : lando
2019-06-11 14:07:40 +00:00
Nicolas Chevobbe
63f04fee2d Bug 1545888 - Use template-styled message with placeholders as warning group labels. r=Honza.
This allows to have more meaningful warning group messages, i.e.
"Content Blocking" is turned into something like "The resource at
'<URL>' was blocked because content blocking is enabled".

This is done by parsing the message of the first warning to put
in the group, and replacing the URL with a generic placeholder.

We take this as an opportunity to decouple content blocked messages
and storage access blocked ones, as they have slightly different
meanings and consequences.

Tests are updated to match the new labels, and a new test is
added to make sure that we can have multiple warning group in a
single "page navigation" session.

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

--HG--
extra : moz-landing-system : lando
2019-06-11 13:47:37 +00:00
Jon Coppeard
13f5533af3 Bug 1539019 - Disallow simulated OOM testing of worker threads because it's not thread safe r=jandem?
Differential Revision: https://phabricator.services.mozilla.com/D34328

--HG--
extra : moz-landing-system : lando
2019-06-11 09:36:56 +00:00