Commit Graph

622276 Commits

Author SHA1 Message Date
Cameron McCormack
17ce17ad00 Bug 1504034 - Part 3: Store the Rust QuotePair slice as the computed quotes value in Gecko style structs r=emilio
Depends on D10651

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

--HG--
extra : moz-landing-system : lando
2018-11-06 23:03:24 +00:00
Cameron McCormack
27b950dadc Bug 1504034 - Part 2: Use Servo to serialize computed quotes values r=emilio
Depends on D10650

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

--HG--
extra : moz-landing-system : lando
2018-11-06 23:03:31 +00:00
Cameron McCormack
456c4dd5c4 Bug 1504034 - Part 1: Make quotes property representation allocate less r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D10650

--HG--
extra : moz-landing-system : lando
2018-11-06 23:03:33 +00:00
Dana Keeler
4730f95fa9 bug 1501889 - add the ability to report binary transparency verification failures from the updater r=rstrong,francois
This patch adds the ability for the updater to report binary transparency
verification failures without affecting the outcome of the update in progress.

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

--HG--
extra : moz-landing-system : lando
2018-11-06 22:55:33 +00:00
Ashley Hauck
45ee1152af Bug 1505150 - Move implementations of ParseContext and SharedContext to their own files. r=jorendorff
Differential Revision: https://phabricator.services.mozilla.com/D11098

--HG--
extra : moz-landing-system : lando
2018-11-06 22:51:40 +00:00
Martin Stransky
a3dbcdcdf6 Bug 1504937 - Use DBus remote only when running on Wayland display, r=jhorak
Differential Revision: https://phabricator.services.mozilla.com/D11004

--HG--
extra : moz-landing-system : lando
2018-11-06 14:59:58 +00:00
Till Schneidereit
9cae2bda28 Bug 1505059 - Compartment fixes for two JSAPI functions. r=tcampbell
Differential Revision: https://phabricator.services.mozilla.com/D11089

--HG--
extra : moz-landing-system : lando
2018-11-06 19:58:42 +00:00
Kyle Machulis
4d9ee13f3e Bug 1499169 - Split MIME type of nsObjectLoadingContent when retreived from tag; r=bzbarsky
MIME type should be trimmed of parameters whenever it is retreived
from the tag it relates to, otherwise other checks may fail.

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

--HG--
extra : moz-landing-system : lando
2018-11-06 22:31:00 +00:00
Daniel Varga
3d9ab59490 Merge mozilla-central to autoland. a=merge
--HG--
extra : rebase_source : 423e41eec91a44f6e3862da7972a40e4806d79e8
2018-11-07 00:03:28 +02:00
alwu
20219eb9f9 Bug 1499903 - part3 : change 'mLogicallySeeking' to Watchable r=chunmin
Nobody is mirroring to 'mLogicallySeeking', so we can just use Watchable instead.

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

--HG--
extra : moz-landing-system : lando
2018-11-06 22:00:11 +00:00
alwu
2d693090af Bug 1499903 - part2 : add test. r=chunmin
Differential Revision: https://phabricator.services.mozilla.com/D9641

--HG--
extra : moz-landing-system : lando
2018-11-06 21:58:54 +00:00
Luke Wagner
1bf5c4019e Bug 1500203 - Baldr: add wasmCompileInSeparateProcess() shell testing function and tests using it (r=bbouvier)
--HG--
extra : rebase_source : c8afa4969b70fcc31e63f68521fc5be07e7c468b
2018-11-06 13:09:04 -06:00
Luke Wagner
a0314df0c6 Bug 1500203 - Baldr: reduce js.cpp dependency on wasm internal headers (r=bbouvier)
--HG--
extra : rebase_source : c6f50bc40e89a0fc228d31ee27fb8d5945a3c69f
2018-11-06 12:18:18 -06:00
Geoff Brown
7fdf08e2ab Bug 1453895 - Avoid reftest startup hang waiting for focus; r=jmaher
Intermittently, at least on Windows, reftest.jsm finds that the reftest.xul
window is not focused on startup; focus seems to be on the dummy about:blank
window. This patch tries to detect that condition and correct it by bringing
reftest.xul (g.containingWindow) into focus before specifically focusing
the browser element (g.browser).
2018-11-06 12:10:56 -07:00
Sebastian Hengst
87914795ce Backed out changeset 196dcfd11ce3 (bug 1468544) for landing twice 2018-11-06 20:46:50 +02:00
June Wilde
1a34e16a7c Bug 1468544 - Replace mar_hash_name with CityHash algorithm; r=rstrong
Summary:
Make CityHash64, CityHash64WithSeed, and CityHash64WithSeeds usable from C code
Remove unnecessary includes from mar_read.c as well
Add DisableStlWrapping to mar tool's moz.build to fix linkage break when
building in Windows with MSVC

Reviewers: rstrong

Reviewed By: rstrong

Bug #: 1468544

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

--HG--
extra : rebase_source : a1b9e44f391bea63253d8bf036f53d071660a37b
extra : amend_source : d4d0e6024957c3faece2af608526f0ffa5b2119d
2018-11-06 20:35:32 +02:00
Kartikaya Gupta
c7185bf0df Bug 1447643 - Remove frequently failing assertion. r=jonco 2018-11-06 13:02:21 -05:00
Bobby Holley
22681053a5 Bug 1504115 - Track the total number of GPU bytes allocated by WebRender. r=gw
This is useful for sanity-checking memory reports, and we'll also use it
for our texture eviction heuristic.

Differential Revision: https://phabricator.services.mozilla.com/D10672
2018-11-06 09:48:48 -08:00
Florian Quèze
7ac9331b66 Bug 1505031 - stop using the global 'event' object in about:performance, r=felipe. 2018-11-06 18:44:37 +01:00
Nicolas B. Pierron
eabd69b84e Bug 1502013 - RemoveUnmarkedBlocks should only mark operands of removed blocks. r=jandem 2018-11-06 18:33:45 +01:00
Andreea Pavel
8b2a2c9419 Merge mozilla-central to mozilla-inbound. on a CLOSED TREE 2018-11-06 19:14:35 +02:00
Andreea Pavel
d401f28d4e Merge mozilla-inbound to mozilla-central. a=merge 2018-11-06 19:05:52 +02:00
alwu
0c4634255b Bug 1499903 - part1 : correct the events order when we're in the seamless looping. r=chunmin
When the media which has `loop` attribute is playing to the end, the spec mentions that media should do seek to the start position [1].

During seeking, the dispatched events order [2] for MediaElement should be
1. seeking
2. timeupdate
3. seeked

[1] https://html.spec.whatwg.org/multipage/media.html#playing-the-media-resource:attr-media-loop-2
[2] https://html.spec.whatwg.org/multipage/media.html#seeking:dom-media-seek

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

--HG--
extra : moz-landing-system : lando
2018-11-06 16:55:38 +00:00
Nazım Can Altınova
251628f687 Bug 1417976 - Part 3: Stream the DocShell list and DocShellId marker data to profile data r=mstange
MozReview-Commit-ID: G2s5H8i4p6E

Depends on D4915

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

--HG--
extra : moz-landing-system : lando
2018-11-06 21:46:46 +00:00
Nazım Can Altınova
f967885c60 Bug 1417976 - Part 2: Include DocShell IDs to marker payloads r=mstange
MozReview-Commit-ID: AML1ESUnFlu

Depends on D4914

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

--HG--
extra : moz-landing-system : lando
2018-11-06 21:45:50 +00:00
Nazım Can Altınova
aaba02d9ee Bug 1417976 - Part 1: Store the information of DocShells in CorePS r=mstange,bzbarsky
Added a mechanism to register and unregister the DocShells from the CorePS depending
on the state of the profiler. Registering mechanism is straightforward. During
unregistration, if profiler is not active, we remove the DocShell information
immediately. If profiler is active, we don't remove and we keep the profiler buffer
position at that moment. During another DocShell registration we Discard the
unregistered DocShells. If the profiler buffer position is greater than the position
when we captured during unregistration, we delete the DocShell since that means there
can't be any markers associated to this DocShell anymore.

MozReview-Commit-ID: IVuKQ6drvkR

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

--HG--
extra : moz-landing-system : lando
2018-11-06 21:45:07 +00:00
Brendan Dahl
9058324771 Bug 1490464 - Fix XUL attribute persistence for browser.xhtml. r=smaug
Move XUL persistence handling into it's own class and make it a separate
nsIDocumentObserver so it can also be used in non-XUL documents.
To avoid adding persistence to all non-XUL documents, a document must add
the "mozpersist" attribute to the root element if it wants enable the
feature.

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

--HG--
extra : moz-landing-system : lando
2018-11-06 21:45:20 +00:00
Emilio Cobos Álvarez
1f08e736e4 Bug 1505159 - Make some media features code nicer using [infallible]. r=hiro
Differential Revision: https://phabricator.services.mozilla.com/D11102

--HG--
extra : moz-landing-system : lando
2018-11-06 21:06:00 +00:00
Kirk Steuber
59411d310b Bug 1458308 - Remove app.update.auto and app.update.enabled from prefs.rs and marionette.js r=rstrong,ato
`app.update.auto` should actually never have been needed here. `app.update.disabledForTesting`, and before that, `app.update.enabled` will prevent updates altogether. Now that the `app.update.auto` pref is not the correct mechanism for disabling automatic update, this pref should be removed from these files.

`app.update.enabled` can also be removed from prefs.rs at this time as per the comment in the file indicating that it can be removed when Firefox 62 stabilizes.

Depends on D10315

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

--HG--
extra : moz-landing-system : lando
2018-11-06 21:16:19 +00:00
Kirk Steuber
03e5369e3e Bug 1458308 - Change lookups of app.update.auto to use nsIApplicationUpdateService::(get|set)AutoUpdateIsEnabled r=rstrong
This patch also contains a few additional minor changes:
- Clears the user value set to the pref app.update.auto after the value is migrated.
- Fixes the app.update.auto pref migration test
- Makes a number of functions asynchronous to allow them to wait for app.update.auto setting changes
- TestAUSHelper's create-update-dir command no longer tries to set the permissions on all files in the update directory.  Fixes a potential race condition when creating the update directory.

Depends on D4594

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

--HG--
extra : moz-landing-system : lando
2018-11-06 21:18:21 +00:00
Kirk Steuber
f4c77df19a Bug 1458308 - Tests for migration and UI of app.update.auto pref r=rstrong
Depends on D4593

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

--HG--
extra : moz-landing-system : lando
2018-11-06 21:04:16 +00:00
Kirk Steuber
a17bb6f093 Bug 1458308 - Change telemetry to use the new auto update lookup mechanism r=chutten
This change makes TelemetryEnvironment.settings.update.autoDownload load asynchronously. Now, a file needs to be read before that value can be written. This has the potential to delay the initialization of TelemetryEnvironment, but since it should be pretty quick and it runs in parallel with the other asynchronously loading values of TelemetryEnvironment, it should not delay initialization significantly.

MozReview-Commit-ID: 1UUAi4sDopX

Depends on D4591

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

--HG--
extra : moz-landing-system : lando
2018-11-06 21:04:04 +00:00
Kirk Steuber
d0dff98798 Bug 1458308 - Change about:preferences to use the new auto update pref mechanism r=jaws,flod
Depends on D4590

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

--HG--
extra : moz-landing-system : lando
2018-11-06 21:03:44 +00:00
Kirk Steuber
290731d1ce Bug 1458308 - Move app.update.auto to be stored in the update directory on Windows only r=rstrong
This patch additionally includes support for automatic migration of the pref from its old location to its new location.

This patch does not fix telemetry reporting of app.update.auto - that will be addressed in another patch in the same series.

MozReview-Commit-ID: KjX1mmGVB8M

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

--HG--
extra : moz-landing-system : lando
2018-11-06 21:03:31 +00:00
Matt Woodrow
9a919d79fe Bug 1456555 - Enable tiled blobs. r=Gankro
MozReview-Commit-ID: JRpQ5nVFx0r

Depends on D10043

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

--HG--
extra : moz-landing-system : lando
2018-11-06 21:05:48 +00:00
Matt Woodrow
eb76e7c060 Bug 1456555 - Deal with clipped containers being smaller than their contents during blob building. r=Gankro
MozReview-Commit-ID: I0tc6l84NRa

Depends on D10041

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

--HG--
extra : moz-landing-system : lando
2018-11-06 21:05:41 +00:00
Matt Woodrow
71be702f62 Bug 1456555 - Fix SourceSurface offset handling in DTSkia::PushLayer. r=lsalzman
This got added in bug 1429508 and then removed in bug 1451845. Tiled blobs adds tests for this, so it shouldn't break again.

MozReview-Commit-ID: 3azL7SoWlr2

Depends on D10038

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

--HG--
extra : moz-landing-system : lando
2018-11-06 21:04:36 +00:00
Matt Woodrow
ae8c862a29 Bug 1456555 - Support Map on multiple threads. r=rhunt
This just makes the existing hack available to all DataSourceSurface implementations by default, since we use different ones with WR.

MozReview-Commit-ID: GVR0rIx8wtD

Depends on D10036

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

--HG--
extra : moz-landing-system : lando
2018-11-06 21:04:02 +00:00
Matt Woodrow
d902a179f1 Bug 1456555 - Fix bugs in DrawTargetOffset. r=mstange
MozReview-Commit-ID: I4XFoTp1szZ

Depends on D10033

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

--HG--
extra : moz-landing-system : lando
2018-11-06 21:03:29 +00:00
Hiroyuki Ikezoe
330ed0810b Bug 1479173 - Check animation generation change in the mProperties loop and drop LayerAnimationInfo::sRecords loop. r=birtles
If mIsRunningOnCompositor is true, the property is effective state because
CanThrottle() is called in advance of a restyle for the effect so that we can
drop the check and drop skipping in the case of non-effective properties.

Depends on D10694

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

--HG--
extra : moz-landing-system : lando
2018-11-06 21:02:18 +00:00
Hiroyuki Ikezoe
217607fd0b Bug 1479173 - Call EffectSet::GetEffectSet in CanThrottle just once. r=birtles
Depends on D10693

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

--HG--
extra : moz-landing-system : lando
2018-11-06 21:02:06 +00:00
Hiroyuki Ikezoe
319493d9fc Bug 1479173 - Check mIsRunningOnCompositor flag before iterating LayerAnimationInfo. r=birtles
The comment there was wrong.  We just bail out from there only if
mIsRunningCompositor is false, so it doesn't matter whatever the layer
generation check results.  (i.e., we don't bail out in the case where
mIsRunningCompositor is true).

Also, we iterate over mProperties in the LayerAnimationInfo::sRecords loop
through HasEffectiveAnimationOfProperty, so it doesn't matter that we iterate
mProperties before the loop either.  We will avoid the iteration in the sRecords
loop in a subsequent patch in this series.

Depends on D10692

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

--HG--
extra : moz-landing-system : lando
2018-11-06 21:01:50 +00:00
Hiroyuki Ikezoe
029cb0dd29 Bug 1479173 - Use nsCSSPropertyIDSet::CompositorAnimatable and HasCompositorAnimatableProperty in EffectCompositor::UpdateCascadeResults. r=birtles
Depends on D10691

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

--HG--
extra : moz-landing-system : lando
2018-11-06 21:01:43 +00:00
Hiroyuki Ikezoe
f9cc71f31a Bug 1479173 - Replace LayerAnimationInfo::kRecords with nsCSSPropertyIDSet::CompositorAnimatableCount. r=birtles
Depends on D10690

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

--HG--
extra : moz-landing-system : lando
2018-11-06 21:01:28 +00:00
Hiroyuki Ikezoe
2d705fdae9 Bug 1479173 - Rename LayerAnimationInto::mLayerType to LayerAnimationInfo::mDisplayitemType. r=birtles
In the case of WebRender there is no layers, but actually we'd been using it for
WebRender too, that's confusing.

Depends on D10689

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

--HG--
extra : moz-landing-system : lando
2018-11-06 21:01:15 +00:00
Hiroyuki Ikezoe
1223a53c33 Bug 1479173 - Use nsCSSPropertyIDSet::CompositorAnimatableCount() for LayerAnimationInfo::kRecords. r=birtles
Depends on D10688

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

--HG--
extra : moz-landing-system : lando
2018-11-06 21:01:03 +00:00
Hiroyuki Ikezoe
d32d86c939 Bug 1479173 - Add an assertion checking the properties in nsCSSPropertyIDSet::CompositorAnimatable equals to the properies in LayerAnimationInfo::sRecords. r=birtles
Depends on D10687

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

--HG--
extra : moz-landing-system : lando
2018-11-06 21:00:50 +00:00
Hiroyuki Ikezoe
972de37ecb Bug 1479173 - Add a static constexpr function returns an nsCSSPropertyIDSet being consist of CSS properties set can be run on the compositor. r=heycam,birtles
Also add a script to generate the CSS properties set by looking at
CanAnimateOnCompositor flag in servo's property definitions.

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

--HG--
extra : moz-landing-system : lando
2018-11-06 21:00:38 +00:00
Dorel Luca
e1fba811d6 Backed out changeset 9675e3a0f693 (bug 1505150) for spidermonkey failure in builds/worker/workspace/build/src/js/src/frontend/ParseContext-inl.h 2018-11-06 22:42:00 +02:00
Dorel Luca
6617a8c922 Backed out 2 changesets (bug 1496082) for mochitest faiures in docshell/test/navigation/test_bug270414.html
Backed out changeset 776b54474da9 (bug 1496082)
Backed out changeset 0852730f9ecd (bug 1496082)
2018-11-06 22:40:36 +02:00