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

647536 Коммитов

Автор SHA1 Сообщение Дата
Brian Grinstead 87bc6e7b7a Bug 1544051 - Part 1 - Move add_task into SimpleTest.js r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D27759

--HG--
extra : moz-landing-system : lando
2019-04-18 17:01:02 +00:00
Aki Sasaki 2f5bc0820d Bug 1545256 - only append action TASK_ID to task deps if taskGroupId doesn't match r=dustin
We only want to append the action TASK_ID to the task dependencies when the taskGroupId doesn't match, otherwise we hit dup dependency errors.

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

--HG--
extra : moz-landing-system : lando
2019-04-18 12:51:31 +00:00
Razvan Maries 98807b06a6 Backed out changeset 081a659775d3 (bug 1529879) for xpcshell perma failures. CLOSED TREE 2019-04-18 20:59:54 +03:00
Magnus Melin 3f542151f4 Bug 1530207 - fix crash [@ InvalidArrayIndex_CRASH | mozilla::a11y::Accessible::InsertChildAt] . r=surkov
For XULTreeAccessible, the ChildCount() is not only the mChildren, so check mChildren directly to make sure we stay within bounds

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

--HG--
extra : moz-landing-system : lando
2019-04-18 09:39:59 +00:00
Julian Descottes 01f1b67f71 Bug 1544749 - Use toolbox.topWindow in devtools tests relying on toolbox.win.top/parent r=daisuke
Depends on D27677
 Update tests directly referencing toolbox.win.top/parent.

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

--HG--
extra : moz-landing-system : lando
2019-04-18 09:06:23 +00:00
Julian Descottes d2e81fef8f Bug 1544749 - Sidebar iframe onload callback should not rely on event.target r=daisuke
Depends on D27675
The target of the iframe load event is the content document when running in frame with type=chrome.
When running in frame with type=content, the target will be the iframe element itself.
Stop relying on event.target so that the Sidebar can work in both cases

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

--HG--
extra : moz-landing-system : lando
2019-04-18 09:05:53 +00:00
Julian Descottes 83f2aa351a Bug 1544749 - Animation inspector scrubber should use getTopWindow r=daisuke
Depends on D27672

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

--HG--
extra : moz-landing-system : lando
2019-04-18 09:05:35 +00:00
Julian Descottes bbcab0f303 Bug 1544749 - Add shared helper to retrieve the top window r=bgrins
Some classes in DevTools will not have an easy way to get access to the toolbox.
However they might still want to use the topmost chrome window.
Extract the logic from toolbox.js to a shared helper.

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

--HG--
extra : moz-landing-system : lando
2019-04-18 09:06:32 +00:00
Christian Holler a15a27b2f0 Bug 1544400 - Update fuzzing builds to Clang 8 and use gold. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D27701

--HG--
extra : moz-landing-system : lando
2019-04-18 08:28:29 +00:00
Alex Chronopoulos 1af9f39b96 Bug 1543350 - don't shut-down taskqueue early. r=jya,mjf
Shutting down the taskqueue early prevents the decoder's tasks to be queued.

A TaskQueue no longer requires to be explicitly shutdown it will shutdown when ref counter drops to zero.

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

--HG--
extra : moz-landing-system : lando
2019-04-18 08:23:59 +00:00
Emilio Cobos Álvarez baf580cdfa Bug 1545107 - Remove nsIDocumentObserver::DocumentStatesChanged. r=smaug
It's a bit useless, only has one implementation. Call into the shell directly
instead.

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

--HG--
extra : moz-landing-system : lando
2019-04-17 19:29:59 +00:00
Daosheng Mu 4eb28fa005 Bug 1545180 - Correct DualShock 4 mapping type. r=qdot
Differential Revision: https://phabricator.services.mozilla.com/D27945

--HG--
extra : moz-landing-system : lando
2019-04-18 06:44:09 +00:00
Brian Birtles 173788f3ba Bug 1541767 - Drop animations on an element before removing it from the document; r=hiro
See the previous patch in this series for a detailed explanation of why this is
necessary.

The test included in this patch is from some work I am doing to rewrite the CSS
transitions web-platform-tests. As a result, it includes more than is strictly
related to this issue addressed by this bug. Without the code changes in this
patch the fourth test onwards, "Transitions are canceled when an element is
removed from the document", will timeout waiting for the transitioncancel event.

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

--HG--
extra : moz-landing-system : lando
2019-04-18 06:56:40 +00:00
Brian Birtles 7a10d13a65 Bug 1541767 - Don't post animation restyles when unbinding an element; r=hiro
Currently we avoid posting animation restyles when unbinding an element by
removing the element from the document before deleting its animation
collections. As a result, when canceled animations go to post a restyle, they
can't find a pres context and give up posting a restyle.

However, this is problematic for two reasons:

* It means we can't remove such canceled animations from the
  PendingAnimationTracker if they are present there (i.e. it regresses the fix
  from bug 1223445).

* It means we can't post cancel events for such animations/transitions since we
  can't lookup the appropriate AnimationEventDispatcher.

In the next patch in this series we will change that order to fix the above
problems but before we do that, we need to introduce another mechanism to make
sure that we don't post restyles when unbinding an element or else we will
regress bug 1396041.

This patch does that by introducing a flag which causes us to not post restyles
when we are doing DOM surgery. For all other cases we actually _do_ need to post
restyles in order to update the style correctly.

Without this patch, layout/style/crashtests/1396041.html would fail after
applying the next patch in this series.

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

--HG--
extra : moz-landing-system : lando
2019-04-18 06:49:25 +00:00
Brian Birtles 62cd9bbaa9 Bug 1541767 - Make Animation::Cancel line up with the spec a little better; r=hiro
Animation::Cancel calls UpdateTiming() which in turns runs the procedure to
update the finished state. However, the spec[1] doesn't require that.
Furthermore, calling UpdateTiming here hides the fact that we end up triggering
a restyle.

It would be better to move the parts of UpdateTiming we require into Cancel
itself so that we align better with the spec and to make it a bit more clear
what side-effects of UpdateTiming we actually rely on.

[1] https://drafts.csswg.org/web-animations-1/#cancel-an-animation

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

--HG--
extra : moz-landing-system : lando
2019-04-18 06:25:54 +00:00
Brian Birtles d877551208 Bug 1541767 - Drop Animation::CancelNoUpdate; r=hiro
CancelNoUpdate actually can and does trigger restyles via its call to
KeyframeEffect::NotifyAnimationTimingUpdated so at very least its name is wrong.

Furthermore, we actually want canceling to trigger restyles in most cases since
when an animation is canceled we need to trigger a subsequent restyle to apply
the (no-longer-animated) result.

This wasn't necessary when CancelNoUpdate was first introduced but since then we
have introduced the Servo style engine where we use a separate traversal to
apply the result from creating/deleting/modifying animations.

This change will mean that we now trigger a "layer" restyle when canceling an
animation when we previously didn't. That, however, seems more correct if
anything.

This patch also makes CancelFromStyle no longer virtual since it doesn't seem
necessary anymore (perhaps because we now point to the concrete type:
CSSAnimation/CSSTransition from nsAnimationManager/nsTransitionManager whereas
previously we didn't).

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

--HG--
extra : moz-landing-system : lando
2019-04-18 06:24:52 +00:00
Henrik Skupin dafcfb1456 Bug 1544707 - [raptor] Use format strings instead of concatenating log messages. r=rwood
Depends on D27812

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

--HG--
extra : moz-landing-system : lando
2019-04-18 06:42:00 +00:00
Henrik Skupin 647820f87f Bug 1544707 - [raptor] Move most of if/elif blocks for testType to switch statements. r=rwood
Differential Revision: https://phabricator.services.mozilla.com/D27812

--HG--
extra : moz-landing-system : lando
2019-04-18 06:41:42 +00:00
Ionut Goldan b60a50e336 Bug 1544742 - Enable chrome CLI app argument r=rwood
Differential Revision: https://phabricator.services.mozilla.com/D27909

--HG--
extra : moz-landing-system : lando
2019-04-18 05:42:09 +00:00
Dan Glastonbury ea351adb8a Bug 1526972 - P8: Reset InInvalidSubtree when processing unrelated frames. r=mattwoodrow
Differential Revision: https://phabricator.services.mozilla.com/D26141

--HG--
extra : moz-landing-system : lando
2019-04-18 02:41:33 +00:00
Dan Glastonbury 4c428d9c74 Bug 1526972 - P7: Move AutoBuildingDisplayList constructor into .cpp r=miko
Differential Revision: https://phabricator.services.mozilla.com/D26140

--HG--
extra : moz-landing-system : lando
2019-04-18 02:38:26 +00:00
Dan Glastonbury def88697c2 Bug 1526972 - P6: Mark invalidated SubDocument frame as modified. r=miko,mattwoodrow
Depends on D24463

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

--HG--
extra : moz-landing-system : lando
2019-04-18 02:38:24 +00:00
Dan Glastonbury d28e1631fd Bug 1526972 - P5: Avoid HasModifiedFrame check for new nsDisplayItems. r=miko
aBuilder->InInvalidSubtree() tracks the modified state. Save the state
during construction of nsDisplayItem and use in ProcessItemFromNewList.

Depends on D24462

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

--HG--
extra : moz-landing-system : lando
2019-04-18 02:38:22 +00:00
Dan Glastonbury 4bc88f78ba Bug 1526972 - P4: Limit AnyContentAncestorModified frame walk to frame of outer item. r=miko
Don't walk frame tree all the way to the root.

Depends on D24461

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

--HG--
extra : moz-landing-system : lando
2019-04-18 02:38:20 +00:00
Dan Glastonbury a3fd49025b Bug 1526972 - P3: De-virtualize HasDeletedFrame(). r=miko
To avoid expensive virtual dispatch in PreProcessDisplayList().

Depends on D24460

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

--HG--
extra : moz-landing-system : lando
2019-04-18 02:38:17 +00:00
Dan Glastonbury b8327e00aa Bug 1526972 - P2: Re-order mItem->CanBeReused()/mItem->HasDeletedFrame(). r=miko
To short-circuit the expensive call with a flag check.

Depends on D24459

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

--HG--
extra : moz-landing-system : lando
2019-04-18 02:38:15 +00:00
Dan Glastonbury d361d6bc8e Bug 1526972 - P1: Compress bool state into bit flags. r=miko
Also move to first cache-line (64-bytes) of nsDisplayItem to improve D-cache hit
when accessing mFrame, mItemFlags, etc.

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

--HG--
extra : moz-landing-system : lando
2019-04-18 02:38:13 +00:00
Tim D. Smith 132eee7672 Bug 1475571 - Update SEARCH_COUNT bug_numbers r=mkaply
Differential Revision: https://phabricator.services.mozilla.com/D27977

--HG--
extra : moz-landing-system : lando
2019-04-18 12:48:31 +00:00
Rob Wood 57bf658be0 Bug 1544516 - Add ability to specify intent when launching android app; r=davehunt
Differential Revision: https://phabricator.services.mozilla.com/D27570

--HG--
extra : moz-landing-system : lando
2019-04-18 12:46:13 +00:00
Jan de Mooij 34cabb31fa Bug 1541404 part 13 - Add some code to support entering the interpreter and triggering Baseline compilation from the interpreter. r=tcampbell
The script->incWarmUpCounter() calls are moved out of the CanEnterBaseline functions
and into the callers. This makes it easier to reason about and prevents incrementing it
multiple times for the different tiers/flags.

baselineWarmUpThreshold should be renamed to baseline{Jit,Compiler}WarmUpThreshold,
but that will happen later with other prefs-related changes.

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

--HG--
extra : moz-landing-system : lando
2019-04-17 17:26:59 +00:00
Jan de Mooij 4ef4fd39da Bug 1541404 part 12 - Move ensureExecutionObservabilityOfOsrFrame call into CanEnterBaselineJIT. r=tcampbell
Next patch will call CanEnterBaselineJIT also for BaselineInterpreter => BaselineJIT OSR.

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

--HG--
extra : moz-landing-system : lando
2019-04-17 15:33:22 +00:00
Jan de Mooij 8644fa3899 Bug 1541404 part 11 - Some OSR-related BaselineFrame changes. r=tcampbell
Differential Revision: https://phabricator.services.mozilla.com/D27249

--HG--
extra : moz-landing-system : lando
2019-04-18 10:04:21 +00:00
Jan de Mooij c6443cb80e Bug 1541404 part 10.5 - Move the AutoSuppressGCAnalysis in FrameIter's constructor into FrameIter::principalsSubsumeFrame. r=jonco
This prevents some false positive rooting hazards with later patches in the stack.

It would be pretty bad if this callback could GC (browser-only, in the middle of
frame iteration).

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

--HG--
extra : moz-landing-system : lando
2019-04-18 10:30:38 +00:00
Dave Townsend 40eb94ced2 Bug 1529879: Block changing the profile list when another process has changed it. r=froydnj,Gijs,flod
On startup we record the size and modified time of the profile lists. If
changed we refuse to flush any new changes to disk. Also adds a getter to check
if they've changed so the UI can do something sensible.

All attempts to flush are now checked for success. In some cases in early
startup the failure mode isn't great, we just quit startup. The assumption
though is that it's extremely unlikely that the files will have changed on disk
in the time between when they are read and when profile selection occurs, likely
less than a second later.

The profile reset flow is changed to only delete the old profile and flush once
all the migration has completed, so if something fails the user gets back to
their old profile.

In testing I ended up having to fix bug 1522584 so background file deletions on
a background thread are safer.

I haven't implemented any UI tests right now since making modifications to the
profiles means modifying the actual user's profiles which I'm not keen to do.
See bug 1539868.

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

--HG--
extra : moz-landing-system : lando
2019-04-18 04:34:29 +00:00
Paul Bone 2d87a792d0 Bug 1544651 - Print nursery size in KB for JS_GC_PROFILE_NURSERY r=jonco
Differential Revision: https://phabricator.services.mozilla.com/D27642

--HG--
extra : moz-landing-system : lando
2019-04-18 03:14:56 +00:00
Marco Bonardo 9aece3ca7b Bug 1534738 - Title and url in RTL mode are not properly overflowing in Quantum Bar. r=dao
Moves the mask to the url and title elements, uses a flex layout to ensure
elements properly overflow, and fixes alignments and paddings because the new
layout would be more compact. rows are slightly taller than before, but they were
smaller than the legacy bar, so in the end we should be good.

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

--HG--
extra : moz-landing-system : lando
2019-04-18 08:29:18 +00:00
Dorel Luca f5a2c905f4 Backed out 2 changesets (bug 1519502, bug 1528268) for Crashtest failures in toolkit/content/tests/chrome/test_popupincontent.xul. CLOSED TREE
Backed out changeset 904cc7903feb (bug 1519502)
Backed out changeset f8770d7eebd1 (bug 1528268)
2019-04-18 18:26:41 +03:00
Daisuke Akatsuka 7aa6ea07da Bug 1540609: Add a test whether the status of connect button will be reverted after a certain period of time. r=jdescottes
Depends on D27645

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

--HG--
extra : moz-landing-system : lando
2019-04-18 02:54:34 +00:00
Daisuke Akatsuka fe65454bf0 Bug 1540609: Show the connection timeout message. r=jdescottes,flod
Depends on D27645

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

--HG--
extra : moz-landing-system : lando
2019-04-18 01:33:06 +00:00
Daisuke Akatsuka a0baec4bc5 Bug 1540609: Revert the status of connect button after a certain period of time. r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D27645

--HG--
extra : moz-landing-system : lando
2019-04-18 02:54:36 +00:00
Ehsan Akhgari ccfae51c32 Bug 1500533 - Ensure that TLS session resumption tickets are only consumed if the channel isn't isolated by anti-tracking checks; r=michal,baku
Differential Revision: https://phabricator.services.mozilla.com/D26996

--HG--
extra : moz-landing-system : lando
2019-04-18 01:00:22 +00:00
Edwin Gao 4b2a06ae0f Bug 1544961 - disable tests that cause gtest harness to crash on windows10-aarch64 r=jmaher,gbrown
Changes:
- most tests are skipped using `moz.build` configuration file.
- `MultiWriterQueue` had to be skipped with `define` clauses in the test file due to build bustages when its `moz.build` file was used.

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

--HG--
extra : moz-landing-system : lando
2019-04-17 23:12:19 +00:00
Daisuke Akatsuka f145a56427 Bug 1539328: Introduce new unique id for service worker actor. r=jdescottes
Depends on D25771

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

--HG--
extra : moz-landing-system : lando
2019-04-18 00:47:37 +00:00
Daisuke Akatsuka 6f3ba76797 Bug 1539328: Introduce new unique id for normal worker actor. r=jdescottes,bhackett
Depends on D25207

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

--HG--
extra : moz-landing-system : lando
2019-04-18 00:47:24 +00:00
Daisuke Akatsuka c21d56872c Bug 1539328: Introduce getWorker(id) to RootFront to avoid re-using client debugger. r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D25207

--HG--
extra : moz-landing-system : lando
2019-04-18 00:45:20 +00:00
Emilio Cobos Álvarez 7a76eb126a Bug 1539777 - Properly handle readonly changes in nsFormFillController. r=MattN
There's a readonly shorcut, which prevents us altogether to register the
mutation observer which would notify us of that attribute changing.

Move the readonly check further down to StartControllingInput, so that we
register the mutation observer properly.

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

--HG--
extra : moz-landing-system : lando
2019-04-18 00:38:30 +00:00
Daosheng Mu d98d3bf269 Bug 1533197 - Pointing back to the same VR input action manifest file when the file has been existing. r=kip
Differential Revision: https://phabricator.services.mozilla.com/D27816

--HG--
extra : moz-landing-system : lando
2019-04-17 23:08:27 +00:00
James Teh 5abb32cecd Bug 1543561: Expose the focusable state on a node focused by aria-activedescendant, even if that node isn't a descendant. r=eeejay
Sometimes, we use aria-activedescendant targeting something which isn't actually a descendant.
This is technically a spec violation, but it's a useful hack which makes certain things much easier.
For example, we use this for "fake focus" for multi select browser tabs and Quantumbar autocomplete suggestions.

This already worked previously; the accessible received a focus event and the focused state.
However, it did *not* receive the focusable state.
This is because the code which applies the focusable state for potential active descendants only works for descendants.

It really doesn't make sense for something to be focused when it isn't focusable.
In fact, this is an a11y test failure when it occurs.
So, if the active item has the focused state, ensure we expose the focusable state too.

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

--HG--
extra : moz-landing-system : lando
2019-04-17 23:13:10 +00:00
Emilio Cobos Álvarez d2dc6882d2 Bug 1545107 - DocumentStatesChanged should not unconditionally notify if the state hasn't actually changed. r=smaug
It just does wasted work. The new setup is also much more similar to the one
used for element states.

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

--HG--
extra : moz-landing-system : lando
2019-04-17 19:25:50 +00:00
Rob Thijssen 9610f81681 Bug 1536568 - run android builds in gcp at tier 3 r=coop,pmoore
this change adds support for parallel gcp builds for the following android build configurations:

- android-api-16
  - opt
  - debug
- android-x86
  - opt
- android-x86_64
  - opt
  - debug
- android-aarch64
  - opt
  - debug

implementation notes:

- this patch mostly mirrors the equivalent windows-on-gcp patch at: https://phabricator.services.mozilla.com/D24865
- gcp builds are triggered with a treeherder tier 3 flag so that they are only displayed in the treeherder ui when the user has a tier 3 flag set.
- gcp builds use a th build symbol of "Bg" to make them easy to differentiate from ec2 builds in the treeherder ui.
- gcp builds use a perfherder "gcp" flag to make them easier to differentiate from ec2 builds in the perfherder ui.

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

--HG--
extra : moz-landing-system : lando
2019-04-15 19:01:33 +00:00