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

647585 Коммитов

Автор SHA1 Сообщение Дата
Michal Novotny bd208195d9 Bug 1358038 - "Add "Race Cache With Network" status to netmonitor" r=Honza
--HG--
extra : histedit_source : 6fd61c4cdc5b6fc1e48463dea15614f845d0ae7a
2019-04-15 05:52:00 +03:00
tanhengyeow 67808459ac Bug 1358038 - Add "Race Cache With Network" status. r=Honza
Summary: Bug 1358038 - Add "Race Cache With Network" status. r=Honza

Reviewers: Honza

Subscribers: flod

Bug #: 1358038

Differential Revision: https://phabricator.services.mozilla.com/D8018
***
Update more pieces to show "Race Cache With Network" status
***
Remove unneeded lines
***
Update comment
***
Update comment
2019-04-15 16:43:50 +08:00
Dave Townsend 2f0f64f3fb 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 : rebase_source : b9fb01c5f2faaf7d534800b700bb02b8c88af023
extra : source : ad5ac4d5c8f7240809a205be2960924813f1e705
2019-03-05 12:51:44 -08:00
Andreea Pavel 7c8109a2b6 Merge mozilla-central to mozilla-inbound 2019-04-19 01:21:06 +03:00
Andreea Pavel 9bcf2b8dd3 Backed out changeset 643f81697dae (bug 1444447) because it causes graphical corruption in menus, see bug 1444447 comment 25 a=backout 2019-04-19 01:15:25 +03:00
Andreea Pavel 1d5a79ec29 Merge mozilla-central to mozilla-inbound. on a CLOSED TREE 2019-04-19 00:50:26 +03:00
Andreea Pavel e5b695eefd Merge mozilla-inbound to mozilla-central. a=merge 2019-04-19 00:36:23 +03:00
Rob Wu d3467efbf0 Bug 1544981 - Stop tapping caskroom/versions in bootstrap for macOS r=nalexander
`caskroom/versions` was replaced with `homebrew/cask-versions` in 2018.
Tap `caskroom/versions` instead of the old one.

If you have two taps, remove the old one using:

    brew untap caskroom/versions

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

--HG--
extra : moz-landing-system : lando
2019-04-18 18:39:31 +00:00
Mike Conley 6f2e110ae1 Bug 1544969 - Show the Picture-in-Picture flyout when hovering the toggle. r=jaws,flod
Differential Revision: https://phabricator.services.mozilla.com/D27835

--HG--
extra : moz-landing-system : lando
2019-04-18 17:29:39 +00:00
Brian Grinstead 36bfb3ba81 Bug 1544051 - Part 4 - Remove AddTask.js r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D27762

--HG--
extra : moz-landing-system : lando
2019-04-18 16:51:42 +00:00
Brian Grinstead 381332c51e Bug 1544051 - Part 3 - Scripted change to remove references to AddTask.js r=ahal
This was generated with the script at https://bug1544051.bmoattachments.org/attachment.cgi?id=9058672

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

--HG--
extra : moz-landing-system : lando
2019-04-18 16:51:01 +00:00
Brian Grinstead 7ab932d712 Bug 1544051 - Part 2 - Remove some references to AddTask.js that aren't caught by the script in part 3 r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D27760

--HG--
extra : moz-landing-system : lando
2019-04-18 16:50:39 +00:00
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
Mats Palmgren fcba4dfac7 Bug 1500708 - [cssom][css-grid] 'grid-auto-flow: row dense' should serialize to 'dense' since 'row' is implied. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D28058

--HG--
extra : rebase_source : dd8109fa0853bc73e8859198196aa52b5523786a
2019-04-18 01:16:03 +02: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
Mats Palmgren 1bbce77110 Bug 1544874 - Add missing baseline alignment for non-legacy ::marker boxes when aligning to a "block line". r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D27960

--HG--
extra : rebase_source : b92f1273fd048bbeaf9c19ce4688125853d7a974
2019-04-17 18:21:21 +02: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