624328 Commits

Author SHA1 Message Date
alwu
dab4434860 Bug 1493766 - part2 : save the status of temporary autoplay permission in outer window. r=johannh,smaug
In order to know whether we have temporary autoplay permission without creating a request, we need to
cache its state in the outer window so that we can get the correct returned value for AutoplayPolicy::IsAllowedToPlay().

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

--HG--
extra : moz-landing-system : lando
2018-11-16 18:27:00 +00:00
alwu
4515d99b29 Bug 1493766 - part1 : notify when temporary permission changed. r=johannh
Since temporary permissions are only stored in the front-end side, we can't know whether we have
allowed page to autoplay or not without sending a request. Therefore, we want to notify the back-end
side when the temporary permissions changed.

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

--HG--
extra : moz-landing-system : lando
2018-11-15 19:51:26 +00:00
Randall Barker
f65f0ce0b9 Bug 1507369 - Add GeckoView API to set an arbitrary user agent string r=snorp,esawin
Differential Revision: https://phabricator.services.mozilla.com/D12069

--HG--
extra : moz-landing-system : lando
2018-11-16 18:02:26 +00:00
Collin Wing
26d02f4f16 Bug 1504751 Migrate about:networking to Fluent r=jaws,flod
Differential Revision: https://phabricator.services.mozilla.com/D10977

--HG--
extra : moz-landing-system : lando
2018-11-16 18:01:08 +00:00
Brian Grinstead
de723eccb2 Bug 1500424 - Remove customizable ui toolbar-drag binding;r=Gijs
It was almost identical to the toolkit version, only missing a [customizing=true]
check to prevent drag. Since Customization only happens in browser/ we are able
to replace the toolkit version with the CUI version, and then remove the CUI version.

The `#toolbar-menubar:not([autohide="true"])` selector will fall back to the
`toolbar[type="menubar"]` selector in global.css to apply the toolkit one, so
that is removed from browser.css.

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

--HG--
extra : moz-landing-system : lando
2018-11-16 17:50:04 +00:00
Gurzau Raul
6d17917258 Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-11-16 19:54:35 +02:00
Gurzau Raul
a4abaa05a2 Backed out changeset d459920f97a5 (bug 1476604) for causing Bug 1507781 a=backout 2018-11-16 19:32:13 +02:00
Lina Cambridge
91bb9eef1d Bug 1494713 - Add HistoryDelegate and wire up the Java history handlers. r=jchen,snorp
Differential Revision: https://phabricator.services.mozilla.com/D11291

--HG--
extra : moz-landing-system : lando
2018-11-16 17:32:04 +00:00
Lina Cambridge
2e957c8eaf Bug 1494713 - Implement a GeckoViewHistory backend. r=jchen,snorp,smaug
Differential Revision: https://phabricator.services.mozilla.com/D11290

--HG--
extra : moz-landing-system : lando
2018-11-16 17:32:02 +00:00
Lina Cambridge
994f3a458c Bug 1494713 - Add nsWindow::From. r=jchen
Differential Revision: https://phabricator.services.mozilla.com/D11289

--HG--
extra : moz-landing-system : lando
2018-11-16 17:31:58 +00:00
Lina Cambridge
aa4bb114b9 Bug 1494713 - Expose EventDispatcher::GetGlobalObject() and nsWindow::GetEventDispatcher(). r=snorp
Differential Revision: https://phabricator.services.mozilla.com/D11288

--HG--
extra : moz-landing-system : lando
2018-11-16 17:30:26 +00:00
Lina Cambridge
69ee079fa0 Bug 1494713 - Pass the widget for the DocShell to IHistory::VisitURI. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D11287

--HG--
extra : moz-landing-system : lando
2018-11-16 17:29:57 +00:00
Jan de Mooij
7efc1db5ba Bug 1507721 - Simplify AutoEnterOOMUnsafeRegion by adding an explicit inUnsafeRegion_ flag to the OOM simulator. r=jonco
Differential Revision: https://phabricator.services.mozilla.com/D12103

--HG--
extra : moz-landing-system : lando
2018-11-16 17:12:44 +00:00
Emilio Cobos Álvarez
45679223d6 Bug 1450219 - followup: Fix the XBL implementation as well. 2018-11-16 18:28:26 +01:00
Nicolas Silva
eef47a1b87 Bug 1507140 - Gecko changes for WebRender PR #3291. r=kats
Move wr::DeviceUint* to wr::DeviceInt*.

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

--HG--
extra : moz-landing-system : lando
2018-11-16 17:13:26 +00:00
WR Updater Bot
c1baccfc1a Bug 1507140 - Update webrender to commit dc442bfe38dcd9fc5033d2191b04c6242d167f05 (WR PR #3291). r=kats
Differential Revision: https://phabricator.services.mozilla.com/D12149

--HG--
extra : moz-landing-system : lando
2018-11-16 17:13:07 +00:00
Jason Orendorff
7bd284ed9d Bug 1503012 - Part 1: Some basic ReadableStream tests that run in the shell. r=arai
Differential Revision: https://phabricator.services.mozilla.com/D11532

--HG--
extra : moz-landing-system : lando
2018-11-16 17:13:19 +00:00
Gurzau Raul
0e822b012b Merge inbound to mozilla-central. a=merge 2018-11-16 19:08:39 +02:00
Andrew Osmond
968f9abb55 Bug 1501482. r=tnikkel
Differential Revision: https://phabricator.services.mozilla.com/D11897
2018-11-16 09:41:27 -05:00
Sebastian Hengst
15f1194271 Bug 1506807 - Set object-position-svg-002e.html to fail on Linux opt WebRender because it permafails. a=test-only DONTBUILD 2018-11-16 15:55:31 +02:00
Jason Orendorff
4cc5d86801 Bug 1506660 - Dispense with TODO comments about bytesWritten in ReadableStream implementation. r=till
The first comment appears in ReadableByteStreamControllerPullSteps. It's OK to
delete it because we just asserted that there are no pending read requests
(step 3.a.).

The second comment appears in JS::ReadableStreamUpdateDataAvailableFromSource.
It's OK to delete this one because it's in the hasDefaultReader branch. Default
readers don't have read requests that care about the number of bytes available.

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

--HG--
extra : moz-landing-system : lando
2018-11-16 13:22:04 +00:00
sotaro
068f2dd418 Bug 1506762 - Store wr::WebRenderPipelineInfo directly in AsyncImagePipelineManager::PipelineUpdates r=mattwoodrow 2018-11-16 22:01:01 +09:00
Jason Orendorff
92299c40cd Bug 1503718 - Part 5: Use the unwrapped prefix. Covers API entry points. r=tcampbell
Differential Revision: https://phabricator.services.mozilla.com/D11688

--HG--
extra : moz-landing-system : lando
2018-11-16 12:40:56 +00:00
Jason Orendorff
9b5470b3ee Bug 1503718 - Part 4: Use the unwrapped prefix. Covers spec sections 6.1 to 6.3. r=tcampbell
Differential Revision: https://phabricator.services.mozilla.com/D11687

--HG--
extra : moz-landing-system : lando
2018-11-16 12:40:24 +00:00
Jason Orendorff
5f0648595e Bug 1503718 - Part 3: Use the unwrapped prefix. Covers spec sections 3.10 and 3.12. r=tcampbell
Differential Revision: https://phabricator.services.mozilla.com/D11685

--HG--
extra : moz-landing-system : lando
2018-11-16 12:39:59 +00:00
Jason Orendorff
08c1c29011 Bug 1503718 - Part 2: Use the unwrapped prefix. Covers spec sections 3.5 to 3.9. r=tcampbell
ReportArgTypeError is replaced with a new helper function template,
UnwrapAndTypeCheckArgument. The old function used the expression decompiler,
but that seems unhelpful here; the new code uses InformalValueTypeName on the
actual argument value.

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

--HG--
extra : moz-landing-system : lando
2018-11-16 12:39:24 +00:00
Jason Orendorff
9e369519a3 Bug 1503718 - Part 1: Use the unwrapped prefix. Covers spec sections 3.2 to 3.4. r=tcampbell
Each patch in this stack deletes comments that are redundant with the new
naming convention.

In ReadableStreamTee_Cancel, we have a variable named `unwrappedReason` whose
purpose is to create a properly wrapped verison of `reason`. It's a little
vertiginous. But I think this is what the new convention demands and it's not
so bad.

Also in ReadableStreamTee_Cancel, step 4.c., we wrap `cancelResult`, which does
not have an `unwrapped` tag.  This is because we switched realms between the
declaration of `cancelResult` and the line of code where we're going to use it.
I think this just means the convention is never going to make all correct code
obviously-correct and all wrong code obviously-wrong. Still an improvement.

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

--HG--
extra : moz-landing-system : lando
2018-11-16 12:38:43 +00:00
Jason Orendorff
7d88a699e3 Bug 1506657 - Indentation fixes in Stream.cpp. r=jwalden
Differential Revision: https://phabricator.services.mozilla.com/D11682

--HG--
extra : moz-landing-system : lando
2018-11-16 12:38:08 +00:00
Jason Orendorff
a09ac0fd74 Bug 1506656 - Part 2: Silence a dead code warning. r=jwalden
This renames the other CreateReadableByteStreamController signature, since the
two seem different enough to warrant distinct names.

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

--HG--
extra : moz-landing-system : lando
2018-11-16 12:37:35 +00:00
Jason Orendorff
ece5f24253 Bug 1506656 - Part 1: ReadableStream controller constructors should throw unconditionally. r=jwalden
They already do, as it's impossible for content to get hold of a stream with no controller,
which is the only kind of object our existing code would accept. But the spec is now more
direct, and the code should match it.

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

--HG--
extra : moz-landing-system : lando
2018-11-16 12:37:15 +00:00
Emilio Cobos Álvarez
f02afb1e95 Bug 1450219 - Make sure not to lose track of focus when we rebuild the inner fields. r=Gijs
Removing the inner field while focused nulls out the active element, without a
blur event of course, so this means that we left the :focus state in the input
set incorrectly, plus that we actually lost focus.

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

--HG--
extra : moz-landing-system : lando
2018-11-16 12:01:10 +00:00
WR Updater Bot
738df7e719 Bug 1507751 - Cherry-pick webrender commit 3b2ed3d2ea21c4873b09da6a371ce07357c9c118 (WR PR #3313). r=kats
Differential Revision: https://phabricator.services.mozilla.com/D12109

--HG--
extra : moz-landing-system : lando
2018-11-16 11:51:10 +00:00
Gurzau Raul
2ef5ceafdd Backed out changeset f73e25fa0d8c (bug 1501991) for multiple failures e.g browser_storage_dynamic_windows.js on a CLOSED TREE 2018-11-16 14:14:01 +02:00
WR Updater Bot
49c9ba3a57 Bug 1502717 - Cherry pick webrender commit 7f889ccf165ef0bcbf3688ccb1c51bddd84a7b6f (WR PR #3316). r=kats
Differential Revision: https://phabricator.services.mozilla.com/D12107

--HG--
extra : moz-landing-system : lando
2018-11-16 11:39:10 +00:00
Benjamin Bouvier
68abcfdef0 Bug 1507730: Generate a temporary for negative power-of-two constants in mul64 on 32 bits platforms; r=lth
In the code generator function, we assume we have a temp if a known constant is
a non-negative power of two. But lowering only checked for power of twos
independently of their sign, so this was incorrect. This patch syncs them up on
both ARM32 and x86.

--HG--
extra : rebase_source : 3d4fb428892d67249af73dbdfe06ff7d43e7c02a
extra : histedit_source : cf49ed802cc47ae38859c76da63c279959b9635d
2018-11-16 11:44:36 +01:00
Timothy Guan-tin Chien
c4c5775807 Bug 1472237 - Always do XML Pretty print even if the frame is hidden r=mats
XML pretty print, as it was implemented in bug 64945, skips itself when the loaded document is not visible. There is no explanation why it does that, other than the fact that it is backed by an XBL binding, and XBL bindings always bound to DOM with layout frames. A later change in bug 1400618 made the existence of presshell necessary before binding the XBL binding.

With bug 1437956 and bug 1503019, XML pretty print is now backed by Shadow DOM. That leaves no reason for keeping this behavior.

The test file test_bug590812.html also revealed that XML pretty print might incorrectly opt-out itself because of the said behavior. We don't know if this something only happens in the test or it is something that may happen in the wild. Nonetheless, it's a better idea to simplify the behavior here.

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

--HG--
extra : moz-landing-system : lando
2018-11-16 08:16:27 +00:00
Kershaw Chang
1d281934cf Bug 1452535 - Move some logs to level 1 r=mayhemer
WPT parses HTTP log and create a HAR file. To reduce the overhead of logging, this patch moves some logs that are used by WPT parser to level 1.

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

--HG--
extra : moz-landing-system : lando
2018-11-16 16:35:52 +00:00
Randall Barker
35383d82bd Bug 1507068 - Ensure mParent is not null in mozilla::layers::CompositorBridgeParent::GetAndroidDynamicToolbarAnimator r=snorp,kats
Speculative fix for Bug 1507068. Checks if mParent is not null before trying to get a pointer to the toolbar animator

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

--HG--
extra : moz-landing-system : lando
2018-11-16 14:41:08 +00:00
Edouard Oger
c6eabb1525 Bug 1507294 - Display all compatible FxA devices in send tab menu. r=markh
Differential Revision: https://phabricator.services.mozilla.com/D11955

--HG--
extra : moz-landing-system : lando
2018-11-16 03:03:13 +00:00
Dão Gottwald
0c9c7990e7 Bug 967917 - Enable browser_tabbar_big_widgets.js across platforms. r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D12114

--HG--
rename : browser/base/content/test/general/browser_tabbar_big_widgets.js => browser/components/customizableui/test/browser_tabbar_big_widgets.js
extra : moz-landing-system : lando
2018-11-16 15:19:41 +00:00
Rob Wood
1b32c45dc6 Bug 1507570 - Have raptor chormium jobs that use fetch tasks run on nightly builds only; r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D12054

--HG--
extra : moz-landing-system : lando
2018-11-16 10:01:44 +00:00
Dragana Damjanovic
37b8159b48 Bug 1506612 - Check whether the tunnel connection is initiated. r=bagder
Differential Revision: https://phabricator.services.mozilla.com/D12003

--HG--
extra : moz-landing-system : lando
2018-11-16 10:42:56 +00:00
Dragana Damjanovic
7598019f0a Bug 1506512 - ServerTiming header must be updated onStopRequest as well. r=valentin
Differential Revision: https://phabricator.services.mozilla.com/D12026

--HG--
extra : moz-landing-system : lando
2018-11-16 10:17:15 +00:00
Armen Zambrano G.
3aef0b561c Bug 1502116 - web-tooling subtests to use lowerIsBetter instead of lower_is_better r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D12020

--HG--
extra : moz-landing-system : lando
2018-11-16 14:19:42 +00:00
James Willcox
4431298c45 Bug 1505897 - Initialize GeckoSystemStateListener in child process r=agi
Differential Revision: https://phabricator.services.mozilla.com/D11517

--HG--
extra : moz-landing-system : lando
2018-11-16 14:34:48 +00:00
Jason Orendorff
9eb98a2ec0 Bug 1507192 - Give slot 0 of Stream callback functions a name. r=tcampbell
Differential Revision: https://phabricator.services.mozilla.com/D11901

--HG--
extra : moz-landing-system : lando
2018-11-16 13:31:51 +00:00
Jason Orendorff
8ed77c2e18 Bug 1507184 - API tweaks to new Unwrap templates. r=tcampbell
Differential Revision: https://phabricator.services.mozilla.com/D11896

--HG--
extra : moz-landing-system : lando
2018-11-16 13:31:17 +00:00
Jason Orendorff
b36fd99799 Bug 1503406 - Fix cross-compartment bug in ReadableStreamTee_Pull. r=tcampbell
Differential Revision: https://phabricator.services.mozilla.com/D11697

--HG--
extra : moz-landing-system : lando
2018-11-16 13:30:47 +00:00
James Graham
0cda18decd Bug 1507532 - Set up mach defaults to match working wpt android reftest settings, r=KWierso
The fast internal reftest harness doesn't work yet, so in the meantime
default to the functional but slower external harness. Also ensure
that the Ahem font is installed by default.

Depends on D12035

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

--HG--
extra : moz-landing-system : lando
2018-11-15 20:41:18 +00:00
James Graham
a4fe66aceb Bug 1507532 - Add support for copying Ahem to the installed Firefox profile, r=gbrown
Following the lead of bug 1197716, put the Ahem font into the firefox
profile where it is read by Fennec.

Depends on D12034

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

--HG--
extra : moz-landing-system : lando
2018-11-15 17:33:37 +00:00