Commit Graph

623590 Commits

Author SHA1 Message Date
Michael Froman
563ff5b11d Bug 1471535 - pt12 - Hook up RDD process and Remote decoding. r=jya,spohl
Depends on D8493

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

--HG--
extra : moz-landing-system : lando
2018-11-13 17:36:47 +00:00
Michael Froman
37c2c3438d Bug 1471535 - pt11 - Handle crash reporting for RDD. r=jya,gsvelto
Depends on D8492

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

--HG--
extra : moz-landing-system : lando
2018-11-13 17:36:27 +00:00
Michael Froman
b0b3a51bf4 Bug 1471535 - pt10 - Handle memory reporting for RDD. r=jya,erahm
Depends on D8491

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

--HG--
extra : moz-landing-system : lando
2018-11-13 17:36:10 +00:00
Michael Froman
d029dd261b Bug 1471535 - pt9 - Add Windows sandbox pref and Win sandboxBroker code for RDD process. r=bobowen
Depends on D8490

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

--HG--
extra : moz-landing-system : lando
2018-11-13 17:35:57 +00:00
Michael Froman
641479cf44 Bug 1471535 - pt8 - Add RDD process code. r=jld
Depends on D8489

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

--HG--
extra : moz-landing-system : lando
2018-11-13 17:35:44 +00:00
Michael Froman
9643048b75 Bug 1471535 - pt7 - Add remote decoding in dom/media/ipc alongside gpu decoding. r=jya,mattwoodrow,jld
Depends on D8488

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

--HG--
extra : moz-landing-system : lando
2018-11-13 17:35:31 +00:00
Michael Froman
f862c70f8d Bug 1471535 - pt6 - Add GeckoProcessType_RDD. r=jya
Depends on D8487

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

--HG--
extra : moz-landing-system : lando
2018-11-13 17:35:21 +00:00
Michael Froman
aebef80fa3 Bug 1471535 - pt5 - Add prefs media.rdd-process.enabled and media.rdd-process.startup_timeout_ms. r=jya
Depends on D8486

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

--HG--
extra : moz-landing-system : lando
2018-11-13 17:35:01 +00:00
Michael Froman
d79a368a51 Bug 1471535 - pt4 - Add BuildSurfaceDescriptorBuffer to ImageContainer for remote decoding. r=jya,mattwoodrow
Depends on D8484

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

--HG--
extra : moz-landing-system : lando
2018-11-13 17:34:48 +00:00
Michael Froman
25392d5b89 Bug 1471535 - pt3 - Breakout MediaDataIPDL and MediaRawDataIPDL structs for reuse in RDD remote decoders. r=jya
Depends on D8483

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

--HG--
extra : moz-landing-system : lando
2018-11-13 17:34:35 +00:00
Michael Froman
a437587fde Bug 1471535 - pt2 - Fix lurking OSX and Win build issues prepping for RDD work. r=jya
Due to changes in where things end up in the unified builds.

Depends on D8482

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

--HG--
extra : moz-landing-system : lando
2018-11-13 17:34:23 +00:00
Michael Froman
97b1784063 Bug 1471535 - pt1 - Split RemoteVideoDecoder into GpuDecoderModule and RemoteMediaDataDecoder preparing for new RDD decoder work. r=jya
- also makes RemoteMediaDecoder generic so it can work with the remote decoders on the RDD process
- changes VideoDecoderChild to subclass IRemoteDecoderChild

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

--HG--
rename : dom/media/ipc/RemoteVideoDecoder.cpp => dom/media/ipc/GpuDecoderModule.cpp
rename : dom/media/ipc/RemoteVideoDecoder.h => dom/media/ipc/GpuDecoderModule.h
extra : moz-landing-system : lando
2018-11-13 17:34:10 +00:00
Jim Chen
9e8436a6eb Bug 1502092 - Fix finish race in 1185191.html; r=gbrown
1185191.html loads a URI on finishing the test, which can race with the
crashtest framework loading another URI on test finish. This patch fixes
that race.

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

--HG--
extra : moz-landing-system : lando
2018-11-13 15:36:53 +00:00
Mark Striemer
3fb3ce792d Bug 1479013 - Include both languages in the browser language switch confirmation r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D10308

--HG--
extra : moz-landing-system : lando
2018-11-13 17:46:19 +00:00
Jared Wein
f01bbdcfcd Bug 1501170 - Render the defaultValue in the CSC input if one has been provided. r=MattN
Differential Revision: https://phabricator.services.mozilla.com/D11541

--HG--
extra : moz-landing-system : lando
2018-11-13 17:45:23 +00:00
Jared Wein
281dff55d5 Bug 1499869 - Allow displaying of masked credit card numbers when they're invalid. r=MattN
Differential Revision: https://phabricator.services.mozilla.com/D9048

--HG--
extra : moz-landing-system : lando
2018-11-13 17:35:29 +00:00
Florens Verschelde
cf6161a5e9 Bug 1506516 - Update twisty SVG icon for crisp rendering at 8px; r=gl
Add a new themes/images/arrow.svg icon (keeping themes/images/devtools-components/arrow.svg
for now because it's used in the debugger and reps) for theme-twisty, Console, etc.
Update twisty colors to be slightly more contrasted.

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

--HG--
extra : moz-landing-system : lando
2018-11-13 15:24:24 +00:00
Panos Astithas
b23feb0362 Bug 1506317 - Use clang-7.0 for bootstraping using macports r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D11548

--HG--
extra : moz-landing-system : lando
2018-11-13 05:01:37 +00:00
Henrik Skupin
2612677f2e Bug 1332064 - [marionette] Re-enable test_navigation.py:test_focus_after_navigation. r=jgraham
Differential Revision: https://phabricator.services.mozilla.com/D11755

--HG--
extra : moz-landing-system : lando
2018-11-13 13:24:28 +00:00
Noemi Erli
5cfe84b9ea Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-11-13 18:33:26 +02:00
Noemi Erli
6e9e399066 Merge inbound to mozilla-central. a=merge 2018-11-13 18:27:16 +02:00
Dão Gottwald
6d456f05a7 Bug 1506810 - Fix text-shadow for Ctrl+Tab previews. r=paolo
Differential Revision: https://phabricator.services.mozilla.com/D11751

--HG--
extra : moz-landing-system : lando
2018-11-13 15:30:29 +00:00
Dão Gottwald
f04eb0bc15 Bug 1506397 - Fix saved to pocket animation in the url bar. r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D11754

--HG--
extra : moz-landing-system : lando
2018-11-13 16:06:19 +00:00
Emilio Cobos Álvarez
6ca25ecbe6 Bug 1499170 - Add an atom bit to know whether we're ascii lowercase. r=njn
And thus massively speed up ascii-case-insensitive atom comparisons when both
atoms are lowercase (which is the common case by far).

This removes almost all the slow selector-matching in this page, and it seems
an easier fix than storing the lowercased version of all class-names in quirks
mode in elements and selectors...

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

--HG--
extra : moz-landing-system : lando
2018-11-13 12:47:40 +00:00
reimu
601e1dfa28 Bug 1504522 - Remove gBrowser.serializationHelper getter because it's unused r=dao
Differential Revision: https://phabricator.services.mozilla.com/D11660

--HG--
extra : moz-landing-system : lando
2018-11-13 12:01:38 +00:00
Dão Gottwald
f6061f385f Bug 1506341 - Let the autohiding menu bar match the tab bar's height. r=stransky
Differential Revision: https://phabricator.services.mozilla.com/D11550

--HG--
extra : moz-landing-system : lando
2018-11-13 11:53:32 +00:00
Razvan Caliman
bb53752bc3 Bug 1500947 - (Part 3) Update indices of tracked declarations when one is removed; r=pbro
Depends on D11209

We need to take care when deleting a declaration. This means shifting the indexes of declarations which follow it in the CSS rule. To do this, we iterate over all tracked added/removed declarations and make sure to decrement their index if it is larger than the index of the deleted one.

The Rule view and specialized editors do not support inserting declarations at any other position other than at the end of the existing declarations list. For now, it is safe to assume all newly added declarations will not shift any tracked indexes. But we will need to handle this for other use cases, like the Style Editor or manual editing of element style attributes.

MozReview-Commit-ID: InrNbsNsqz6

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

--HG--
extra : moz-landing-system : lando
2018-11-13 09:00:48 +00:00
Razvan Caliman
1eb3c8fc37 Bug 1500947 - (Part 2) Update track changes reducer to account for declaration position; r=pbro
Depends on D11208

Updates the reducer from considering the property of a declaration as a unique key to using the declaration's index within its rule.  This enables tracking changes to declarations with the same property name and even duplicate declarations.

The change object incoming to the reducer is always expected to have an array of declarations, even when changing a single declaration. This provides interoperability with whole rule changes (add, remove, selector rename).

To aggregate changes, the reducer attempts to see if there's a matching declaration in its add/remove array and operates on that match. If the declaration has no previous changes, it gets put as-is in the corresponding array.

The React component also updates slightly to take into account the change from objects with key/value pairs to arrays with objects.

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

--HG--
extra : moz-landing-system : lando
2018-11-13 12:33:27 +00:00
Dão Gottwald
2c0c506ad0 Bug 1504205 - Enable Ctrl+Shift+D shortcut on Linux. r=stransky
Differential Revision: https://phabricator.services.mozilla.com/D11549

--HG--
extra : moz-landing-system : lando
2018-11-12 12:14:30 +00:00
Emilio Cobos Álvarez
5207710f6b Bug 1506580 - Remove useless pointer-chase + function call in nsPresContext::AppUnitsPerDevPixel. r=miko
We already keep a cached version of the up-to-date value in nsPresContext,
there's no need to go through nsDeviceContext at all.

I don't expect this to fix bug 1424968 entirely, but it should make it a bit
better.

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

--HG--
extra : moz-landing-system : lando
2018-11-13 11:00:46 +00:00
Jan de Mooij
ca4ca8e804 Bug 1506774 - Discard TypeScripts whenever we discard JIT code. r=jonco
Bug 1506479 started unifying discarding of TypeScript and JIT code. This patch
removes the JIT_SCRIPT_RELEASE_TYPES_PERIOD heuristic so we now use the same
preserve-code heuristics for both.

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

--HG--
extra : moz-landing-system : lando
2018-11-13 10:39:00 +00:00
Henrik Skupin
6f80f44f24 Bug 1495667 - Re-enable js/xpconnect/tests/marionette/test_loader_global_sharing.py on Windows. r=jgraham
Previously disabled via bug 1433905 to allow a refactoring of Marionette, this test can be re-enabled now given that bug 1433873 also got landed.

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

--HG--
extra : moz-landing-system : lando
2018-11-13 10:23:58 +00:00
Emilio Cobos Álvarez
8e1f58b955 Bug 1506592 - Make sure to only display the broken image icon if there's a request at all. r=bzbarsky
This is enough to fix the devtools regression and matches what other browsers
do in the no-attribute case.

Also, I think this change over all makes sense: it doesn't make any sense to
display the broken image icon if there's no request, and we already assume in
EnsureIntrinsicSizeAndRatio() that we don't paint the icon for those (and make
the intrinsic size 0x0).

We still show the border, which matches other UAs (note that devtools
effectively masks the border away with mask-image).

This technically also can change behavior of <object> and <input>, but I think
it's better to be consistent, since EnsureIntrinsicSizeAndRatio also doesn't
special-case <img> either.

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

--HG--
extra : moz-landing-system : lando
2018-11-13 10:55:59 +00:00
Kartikaya Gupta
76cb4247d3 Bug 1466613 - Prevent creation of DynamicImage instances that are excessively large. r=mstange
Differential Revision: https://phabricator.services.mozilla.com/D11528

--HG--
extra : moz-landing-system : lando
2018-11-13 10:39:27 +00:00
Kartikaya Gupta
17eea57296 Bug 1466613 - Robustify DrawTargetRecording codepaths that create new drawtargets. r=mstange
Badly-behaved consumers of DrawTargetRecording can trigger recording of
draw calls that will fail to allocate required draw targets when the
recording is replayed. This patch tries to guard against this by
detecting these situations at record-time rather than crashing at
replay-time. When such a situation is detected, it will crash (for
content processes, to catch such scenarios) or gracefully fail (for
other processes).

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

--HG--
extra : moz-landing-system : lando
2018-11-13 10:39:02 +00:00
Kartikaya Gupta
88030616a1 Bug 1466613 - Add a gfxCriticalNote to provide more details on replay failure. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D8257

--HG--
extra : moz-landing-system : lando
2018-11-13 10:38:24 +00:00
Hiroyuki Ikezoe
23793e3a21 Bug 1504929 - Start animations once after a MozReftestInvalidate event is received. r=sotaro
We need the same workaround for
https://bugzilla.mozilla.org/show_bug.cgi?id=1489327 .

And unfortunately we have to disable animate-backface-hidden.html on MacOSX opt
builds for WebRender because the test fails intermittently, we will enable it
in bug 1506758.

Depends on D11601

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

--HG--
extra : moz-landing-system : lando
2018-11-13 10:18:30 +00:00
Hiroyuki Ikezoe
e0aa8f4fcb Bug 1504929 - Break RestyleManager::GetAnimationGenerationForFrame into EffectSet::GetEffect and EffectSet::GetAnimationGeneration in AddAnimationsForProperty. r=birtles,sotaro
Since we use the EffectSet later in the same function.

Depends on D11599

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

--HG--
extra : moz-landing-system : lando
2018-11-13 10:18:23 +00:00
Hiroyuki Ikezoe
e74997c54d Bug 1504929 - Factor out IsEffectiveProperty(). r=birtles
Depends on D11598

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

--HG--
extra : moz-landing-system : lando
2018-11-13 10:18:09 +00:00
Hiroyuki Ikezoe
e8d577185d Bug 1504929 - Make if conditions in KeyframeEffect::GetEffectiveAnimationOfProperty negative. r=birtles
I.e., continue the loop if the CSS property is not what we want and set the
result value only if the CSS property is effective.

This change makes the function match
what KeyframeEffect::GetEffectiveAnimationProperties does in the similar loop
so that we can unify the iteration into a single function in the next commit.

Depends on D11597

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

--HG--
extra : moz-landing-system : lando
2018-11-13 10:17:56 +00:00
Hiroyuki Ikezoe
163ee505df Bug 1504929 - Avoid hashmap lookups in nsLayoutUtils::HasEffectiveAnimation and EffectCompositor::FindAnimationsForCompositor. r=birtles
Depends on D11427

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

--HG--
extra : moz-landing-system : lando
2018-11-13 10:17:44 +00:00
Hiroyuki Ikezoe
d3095c2c92 Bug 1504929 - Drop LayerAnimationInfo::sRecords. r=birtles
Depends on D11426

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

--HG--
extra : moz-landing-system : lando
2018-11-13 10:17:42 +00:00
Hiroyuki Ikezoe
c592937db4 Bug 1504929 - Further optimizations for RestyleManager::AddLayerChangesForAnimations.. r=birtles,sotaro
This change eliminates
 - nsLayoutUtils::LastContinuationOrIBSplitSibling calls for each CSS
   properties on WebRender
 - iterating over each display item for each compositor runnable CSS properties
 - a bunch of stuff in the case where the layer manager has not yet created,
   i.e. the compositor thread is not ready to receive animations

Depends on D11425

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

--HG--
extra : moz-landing-system : lando
2018-11-13 10:23:20 +00:00
Hiroyuki Ikezoe
dcccc1a459 Bug 1504929 - Introduce LayerAnimationInfo::sDisplayItemTypes and iterate it instead of LayerAnimationInfo::sRecords. r=birtles
Depends on D11425

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

--HG--
extra : moz-landing-system : lando
2018-11-13 10:22:24 +00:00
Hiroyuki Ikezoe
8ee7bcc4a7 Bug 1504929 - Stop iterating EffectSets and KeyframeEffect::mProperties for each CSS properties that can be animated on the compositor. r=birtles
This change gets all effective CSS properties on an nsIFrame just once.

Note that LayerAnimationInfo::GetCSSPropertiesFor intentionally returns
nsCSSPropertyIDSet instead of nsCSSPropertyID since when we support individual
transform properties for the compositor the mapping between display item types
and nsCSSProperty has to be 1:N. E.g. all scale/translate/rotate properties are
mapped to transform display item.

Depends on D11424

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

--HG--
extra : moz-landing-system : lando
2018-11-13 10:22:26 +00:00
Hiroyuki Ikezoe
4daa00a2cd Bug 1504929 - Mark AnimationInfo::GetAnimationGeneration as a const function. r=birtles
Differential Revision: https://phabricator.services.mozilla.com/D11424

--HG--
extra : moz-landing-system : lando
2018-11-13 10:17:34 +00:00
WR Updater Bot
f61ae84285 Bug 1506738 - Update webrender to commit dfb2517eea37bce19e686032faae4053cb427ff8 (WR PR #3275). r=kats
Differential Revision: https://phabricator.services.mozilla.com/D11743

--HG--
extra : moz-landing-system : lando
2018-11-13 10:18:11 +00:00
Siddhant085
6218cd4d20 Bug 1503851 - Replace Services.search.currentEngine by defaultEngine in test code r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D11553

--HG--
extra : moz-landing-system : lando
2018-11-13 09:34:00 +00:00
Andy Wingo
1471c70fb7 Bug 1506542 - Add run-time flag to enable bigint support r=jandem
Differential Revision: https://phabricator.services.mozilla.com/D11613

--HG--
extra : moz-landing-system : lando
2018-11-13 09:11:06 +00:00
Martin Stransky
582b645d9b Bug 1504904 - Don't use GDK_IS_WAYLAND_DISPLAY() as it's missing on Gtk+ X11 only builds, r=jhorak
Differential Revision: https://phabricator.services.mozilla.com/D11610

--HG--
extra : moz-landing-system : lando
2018-11-12 15:25:38 +00:00