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

623561 Коммитов

Автор SHA1 Сообщение Дата
Noemi Erli 3b0f69841f Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-11-13 18:34:32 +02:00
Brindusan Cristian 3a68003805 Backed out 3 changesets (bug 1503363) for build bustages on mozbuild. CLOSED TREE
Backed out changeset adc6f14f89e4 (bug 1503363)
Backed out changeset 0b7dd43c1e2e (bug 1503363)
Backed out changeset 8c2426b552ac (bug 1503363)
2018-11-13 18:28:48 +02:00
Noemi Erli 6e9e399066 Merge inbound to mozilla-central. a=merge 2018-11-13 18:27:16 +02:00
David Major 08ccde641f Bug 1503363: Regenerate webrtc moz.build files. r=dminor 2018-11-13 11:13:42 -05:00
David Major 9735854f16 Bug 1503363: Add gn json files for aarch64-windows. r=dminor 2018-11-13 11:13:42 -05:00
David Major becc139296 Bug 1503363: De-unify some more webrtc files due to conflicting defines. r=dminor 2018-11-13 11:13:41 -05:00
Andrea Marchesini 1a3d20aa4f Bug 1505071 - Cleanup cookies should ignore OriginAttributes on shutdown, r=johannh 2018-11-13 16:49:01 +01: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
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
Mark Banner 50fbf54ef3 Bug 1506559 - Enable ESLint for memory/replace/dmd/test/. r=njn
Differential Revision: https://phabricator.services.mozilla.com/D11619

--HG--
extra : moz-landing-system : lando
2018-11-13 09:07:38 +00:00
Qinghao_Jack_Song 8d34d6b733 Bug 1498451 - Migrate Device Manager Dialog of Preferences Section to use Fluent for localization r=Gijs,flod,zbraniecki
Differential Revision: https://phabricator.services.mozilla.com/D7978

--HG--
extra : moz-landing-system : lando
2018-11-12 19:34:21 +00:00
Mike Hommey cb4aa814b8 Bug 1506756 - Remove the use of real_path added in bug 1501903. r=andi
In the first part of bug 1501903, paths were canonicalized in
inThirdPartyPath. For some reason, this seems to add a non-negligible
overhead on Windows. OTOH, most include paths handed by the build system
are absolute, and most paths that contains .. are for system headers,
which don't matter for the inThirdPartyPath test.

Considering the inThirdPartyPath has been using non-canonicalized paths
for the longest, we'll assume it's fine to come back to that mode.

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

--HG--
extra : moz-landing-system : lando
2018-11-13 08:22:25 +00:00
Jan Henning 0b31178681 Bug 1506699 - Make dumping a profile to disk easier when using MOZ_PROFILER_SHUTDOWN. r=snorp
We're already have some special handling in the Android UI when detecting
MOZ_PROFILER_STARTUP, so we might as well handle MOZ_PROFILER_SHUTDOWN, too.

This means two things:
1. In order to actually quit the app, the "Quit" button needs to be enabled.
2. We need to wait until we're sure that the profile has been dumped to disk
   before finishing the activity (and thereby possibly killing our process).

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

--HG--
extra : moz-landing-system : lando
2018-11-13 06:55:03 +00:00
Jan Henning 5902f4631a Bug 1506689 - Wait for JNI_READY before getting profiler time stamp from Gecko. r=snorp
Differential Revision: https://phabricator.services.mozilla.com/D11692

--HG--
extra : moz-landing-system : lando
2018-11-13 06:55:01 +00:00
Cosmin Sabou 791de0dab3 Merge mozilla-central to autoland. a=merge
--HG--
extra : rebase_source : d93c4498b3c7872e1539b4f37b8601a804820dea
2018-11-13 06:29:03 +02:00
Cosmin Sabou 007b66c1f5 Merge mozilla-inbound to mozilla-central. a=merge 2018-11-13 06:23:01 +02:00
WR Updater Bot 2457618dd8 Bug 1506572 - Update webrender to commit fbf65161bef7fbbe07dfd2c9b5b9833784422e9e (WR PR #3300). r=kats
Differential Revision: https://phabricator.services.mozilla.com/D11710

--HG--
extra : moz-landing-system : lando
2018-11-13 00:27:00 +00:00
Boris Chiou 6e361a1a9a Bug 1505200 - Part 3: Parse any order of number and angle for Rotate. r=emilio
Rotate accepts rotate axis and angle in any order
(i.e. <number>{3} <angle> or <angle> <number>{3}), so we rewrite the
parser.

Depends on D11401

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

--HG--
extra : moz-landing-system : lando
2018-11-12 19:21:32 +00:00
Boris Chiou 89eee2303f Bug 1505200 - Part 2: Serialize Rotate by servo. r=emilio
So we can drop a lot of code.

Depends on D11247

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

--HG--
extra : moz-landing-system : lando
2018-11-12 19:21:22 +00:00
Boris Chiou 5f3b39da88 Bug 1505200 - Part 1: Rewrite the interpolation of Rotate to return correct type. r=birtles
The original implementation always returns Rotate::Rotate3D, but it is
not correct, so we have to rewrite it:
1. If both from value and to value are none, we don't have to convert it
   into identity value, so just return None.
2. If one of the value is none, we replace it with an identity value based on
   the other one's rotate axis.
3. If we only have 2D rotation, we just animate the <angle>.
4. Otherwise, we do interpolation by 3D rotation.

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

--HG--
extra : moz-landing-system : lando
2018-11-12 23:17:19 +00:00
Drew Willcoxon b6884c7920 Bug 1504854 - Autofilled search shortcuts should show a single "Search with Engine" heuristic result in the popup r=mak
All we need to do is set `_searchEngineAliasMatch` with an empty query so that we don't try to add any more results. That hits the existing case where the user types out a full @ alias and we show only the "search with engine" heuristic result.

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

--HG--
extra : moz-landing-system : lando
2018-11-12 15:45:39 +00:00
Matt Woodrow 478074e691 Bug 1506492 - Report WebRender swap-chain memory usage. r=bholley
Differential Revision: https://phabricator.services.mozilla.com/D11594

--HG--
extra : moz-landing-system : lando
2018-11-13 03:15:51 +00:00
Jeff Muizelaar fd702be66b Bug 1506676. blob-inval: handle the parent item being removed. r=mattwoodrow
If the parent item is removed our assertions will be wrong because
the parent item's bounds will not be added to the invalid rect until
after we've traversed all of the items. Further, the new unbounded rect
for the child item won't be added to the invalid rect unless we do it
ourselves. This makes sure we add the old and new rects to the invalid
rect.

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

--HG--
extra : moz-landing-system : lando
2018-11-13 02:23:41 +00:00
Jason Laster 43ed289025 Bug 1506688 - Update Debugger Frontend v101. r=dwalsh 2018-11-12 13:07:00 +02:00
Paolo Amadini 0ed84c8b58 Bug 1506584 - Fix positioning of the high priority notification box. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D11772

--HG--
extra : rebase_source : b5cc8505ea6b3d019639689503cea89c44378d54
2018-11-13 15:06:51 +00:00
Brindusan Cristian a14f91e1ee Backed out changeset 9ee2e7c7fa16 (bug 1497111) for wpt failures on payment-request-constructor.https.html. 2018-11-13 17:02:02 +02:00
lenpel 4d50a6165d Bug 1503554 - Network header panel now has 1 vertical scrollbar for entire area; r=Honza
--HG--
extra : histedit_source : 4900984e39b977eb768a3b313291c365e173e687
2018-11-12 16:25:04 +01:00