Commit Graph

622371 Commits

Author SHA1 Message Date
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
Erica Wright
e6b579d027 Bug 1504852 - Turn off Content Blocking label color is visible in dark theme and icon is spaced from text. r=dao
In windows and linux, ensure that the text color inside the content blocking button is visible. Add 5px of margin beside the icon to separate it from the text.

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

--HG--
extra : moz-landing-system : lando
2018-11-06 20:20:13 +00:00
Ashley Hauck
1943a7e2fc 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 20:05:00 +00:00
Dão Gottwald
1eac17ea43 Bug 1505069 - Stop abusing --lwt-text-color in the Contextual Feature Recommendation popup-notification. r=Mardak
Differential Revision: https://phabricator.services.mozilla.com/D11055

--HG--
extra : moz-landing-system : lando
2018-11-06 19:37:24 +00:00
Jean-Yves Avenard
ff9dbafc2c Bug 1504944 - Only re-order channels for opus mapping 1. r=padenot
For channel mapping 0 (which is always mono or sterero), the mapping is identical to the SMPTE one, so can copy the mapping as-is.

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

--HG--
extra : moz-landing-system : lando
2018-11-06 18:11:41 +00:00
Andreas Farre
be738fcaba Bug 1504989 - Add ifdef for nightly only function. r=peterv
Differential Revision: https://phabricator.services.mozilla.com/D11045

--HG--
extra : moz-landing-system : lando
2018-11-06 19:35:25 +00:00
Dão Gottwald
542127d98c Bug 1503304 - Make toolbar_text fall back to textcolor. r=ntim
Differential Revision: https://phabricator.services.mozilla.com/D11026

--HG--
extra : moz-landing-system : lando
2018-11-06 16:50:29 +00:00
Nicholas Hurley
27190f4a59 Bug 1434137 - Implement websockets over http/2 - RFC 8441 r=michal,dragana
https://tools.ietf.org/html/rfc8441

This uses our existing http/2 CONNECT infrastructure (modified) to
enable the new extended CONNECT form defined by 8441, and pretend for
the websocket's sake that an http/2 stream is actually a socket. From
the websocket's point of view, this is relatively non-invasive - a few
things have changed (http response code, absence of some headers) versus
http/1.1 websockets, but for the most part, the websocket code doesn't
care.

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

--HG--
extra : moz-landing-system : lando
2018-11-06 19:29:57 +00:00
Mark Striemer
da798ba098 Bug 1500352 - Force layout before finding screenshot r=jaws
If switching from a view that didn't load the extension list
binding to the themes view the screenshot wouldn't be found
on Windows. Force a layout if the screenshot isn't found
to load the binding.

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

--HG--
extra : moz-landing-system : lando
2018-11-06 19:17:56 +00:00
June Wilde
64fa52c710 Bug 1468544 - Replace mar_hash_name with CityHash algorithm. r=rstrong
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

Differential Revision: https://phabricator.services.mozilla.com/D10774
2018-11-06 13:34:21 -05:00
Matt Howell
4b4a06a72b Bug 1504878 - Exclude Mac OS from update log file tests. r=rstrong
Differential Revision: https://phabricator.services.mozilla.com/D10982

--HG--
extra : moz-landing-system : lando
2018-11-06 18:15:24 +00:00
Drew Willcoxon
9fbda91757 Bug 1504370 - Update SEARCH_COUNTS telemetry for private browsing mode r=mkaply
* If a search is performed in a private window and the new pref `browser.engagement.search_counts.pbm` is true, then do not record `SEARCH_COUNTS` telemetry. Note that the the pref must be true. If it's false or doesn't exist, then we record telemetry even in pbm like we normally do currently. (We record `SEARCH_COUNTS` telemetry in two places: (1) In BrowserUsageTelemetry.jsm, and (2) "in-content" telemetry directly in the search service. So skip both of those places.)
* Also skip the other ancillary telemetry recorded by `BrowserUsageTelemetry._recordSearch`: a keyed scalar and a telemetry event.
* I made some modifications to the search service to let me test the "in-content" telemetry keys

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

--HG--
extra : moz-landing-system : lando
2018-11-06 17:58:07 +00:00
Emilio Cobos Álvarez
b6cfd9e810 Bug 1504980 - Null-check + assert. r=smaug
In case fuzzers or somebody can catch this in a reproducible way...

I'd be interested in knowing what the hell is going on.

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

--HG--
extra : moz-landing-system : lando
2018-11-06 16:30:56 +00:00
Michael Kaply
3a96af1460 Bug 1500741 - Support encoding for WebExtension engines. r=mixedpuppy
Differential Revision: https://phabricator.services.mozilla.com/D10941

--HG--
extra : moz-landing-system : lando
2018-11-06 17:34:31 +00:00
Julian Descottes
2f80da43fe Bug 1505035 - Force dom.ua_widget.enabled to true in inspector server tests for ua widgets;r=test-only
--HG--
extra : rebase_source : d573f1a3958c02c7df26919670148d800f983804
2018-11-06 15:41:53 +01:00
André Bargull
4284514a41 Bug 1502530 - Part 3: Update SpiderMonkey time zone files. r=Waldo 2018-11-06 05:42:53 -08:00
Andrea Marchesini
ebf242be0d Bug 1500879 - Fetch should not consume Request/Response with null-body, r=asuth
The fetch spec treats null bodies specially.  Their Body cannot become
disturbed or locked and a fresh empty ReadableStream is returned whenever an
attempt is made to consume the body.  We currently fail a number of WPT tests
in this area because we do mark the body consumed as exposed via bodyUsed.
2018-11-06 14:48:07 +01:00
WR Updater Bot
7d7be1afe1 Bug 1504994 - Update webrender to commit 790b76f1547453615262c3037e1fb04bda22fbc8 (WR PR #3276). r=kats
Differential Revision: https://phabricator.services.mozilla.com/D11032

--HG--
extra : moz-landing-system : lando
2018-11-06 13:24:57 +00:00
Henrik Skupin
dab04b1706 Bug 1504807 - [marionette] Don't remove pending command unless it has been completed. r=ato
With the use of multiple content processes in Firefox a navigation
command can cause the active framescript to be moved to a different
process. This interrupts the currently executed command, and as such
needs to be executed again after the framescript has been finished
initializing.

Currently flushing the pending commands doesn't take into account
that the framescript can even be moved multiple times to a different
process during a single page navigation. As such all pending commands
are getting removed after the first process move. For navigation
commands this means that no page load listeners are attached for
subsequent process changes, and navigation commands could never
return, and cause a hang of Marionette.

To solve the problem the pending commands need to be flushed each
time the process changes. They will remove themselves from the list
once they have finished processing.

Depends on D10998

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

--HG--
extra : moz-landing-system : lando
2018-11-06 12:08:55 +00:00
Henrik Skupin
2e1c43e3bd Bug 1504807 - [marionette] Remove call to non-existent "Marionette:newSession" message listener. r=ato
Differential Revision: https://phabricator.services.mozilla.com/D10998

--HG--
extra : moz-landing-system : lando
2018-11-06 13:16:42 +00:00
Marco Bonardo
07c934c274 Bug 1504880 - Disable browser_autocomplete_enter_race.js (everywhere) and browser_urlbarRaceWithTabs.js (on Linux) for frequent failures. r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D11029

--HG--
extra : moz-landing-system : lando
2018-11-06 13:04:39 +00:00