Commit Graph

618811 Commits

Author SHA1 Message Date
Rob Wu
92e0725cbb Bug 1491397 - Correctly forward falsey scriptMetadata in userScripts API r=rpl
This also adds new test coverage for the previously untested features:
- "file" in "js" param to userScripts.register works.
- "allFrames" set to true in userScripts.register works.
- scriptMetadata accepts primitive values, and in particular falsey
  values in particular (= bug 1491397 ).
 - scriptMetadata is the same object in all API script calls.

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

--HG--
extra : moz-landing-system : lando
2018-10-15 18:05:08 +00:00
Francois Marier
da7c3b0f8c Bug 1498736 - Log the number of prefixes loaded from disk. r=dimi
Differential Revision: https://phabricator.services.mozilla.com/D8622

--HG--
extra : moz-landing-system : lando
2018-10-13 20:21:45 +00:00
Kartikaya Gupta
fe4f74eb20 Bug 1462980 - Use the more robust waitUntilApzStable instead of ad-hoc afterPaint waiting. r=botond
Differential Revision: https://phabricator.services.mozilla.com/D8748

--HG--
extra : moz-landing-system : lando
2018-10-15 17:44:27 +00:00
Julien Wajsberg
c4847c5f16 Bug 1495473 - Properly propagate the error up to the client r=ochameau
Differential Revision: https://phabricator.services.mozilla.com/D7299

--HG--
extra : moz-landing-system : lando
2018-10-15 17:33:58 +00:00
Kartikaya Gupta
dc68784e43 Bug 1479757 - Switch to containerless scrolling for GeckoView+WR. r=botond
This changes the containerful scrolling pref to be an override pref
such that it is:
- always false on desktop (i.e. always use containerless there)
- always true in Fennec (i.e. never use containerless there)
- true in GeckoView if WebRender is disabled (i.e. only use
  containerless with WebRender).

The first two cases are the same as before; the last case is new.
Because we don't create layers with WR, the containerless vs
containerful distinction doesn't make much sense there, and we need to
implement a bunch of zooming glue in either case. So it makes sense to
go with the "way of the future" and keep it containerless.

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

--HG--
extra : moz-landing-system : lando
2018-10-15 17:41:21 +00:00
David Burns
86c3bcbae4 Bug 1497094 - Add missing attribute is_shutting_down to Marionette python client r=ato
Differential Revision: https://phabricator.services.mozilla.com/D8525

--HG--
extra : moz-landing-system : lando
2018-10-15 13:54:27 +00:00
Nick Alexander
a1d5fbf47a Bug 1498715 - Use faster XZ compression preset for Android assets/ libraries for local developers. r=esawin
Before:

xz-compressing dist/fennec/assets/x86/libxul.so with "xz -zkf dist/fennec/assets/x86/libxul.so --threads=1 --x86 --lzma2=dict=8MiB,lc=3,lp=0,pb=2,mode=normal,nice=64,mf=bt4,depth=0"...
xz-compressing dist/fennec/assets/x86/libxul.so with "xz -zkf dist/fennec/assets/x86/libxul.so --threads=1 --x86 --lzma2=dict=8MiB,lc=3,lp=0,pb=2,mode=normal,nice=64,mf=bt4,depth=0"... DONE (69.13s)

$ ls -al dist/fennec/assets/x86/libxul.so
-rwxr-xr-x  1 nalexander  staff  31286204 12 Oct 14:06 dist/fennec/assets/x86/libxul.so

After:

xz-compressing dist/fennec/assets/x86/libxul.so with "xz -zkf dist/fennec/assets/x86/libxul.so --threads=1 --x86 --lzma2=dict=8MiB,lc=3,lp=0,pb=2,mode=fast,nice=273,mf=hc4,depth=24"...
xz-compressing dist/fennec/assets/x86/libxul.so with "xz -zkf dist/fennec/assets/x86/libxul.so --threads=1 --x86 --lzma2=dict=8MiB,lc=3,lp=0,pb=2,mode=fast,nice=273,mf=hc4,depth=24"... DONE (19.52s)

$ ls -al dist/fennec/assets/x86/libxul.so
-rwxr-xr-x  1 nalexander  staff  34877984 12 Oct 14:00 dist/fennec/assets/x86/libxul.so

All timings on a late 2013 MacBook Pro (i.e., a very slow device).

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

--HG--
extra : moz-landing-system : lando
2018-10-15 13:07:23 +00:00
Andreas Pehrson
54af185a54 Bug 1258143 - Test that MediaStream is the primary interface of a getUserMedia-stream. r=jib
Differential Revision: https://phabricator.services.mozilla.com/D8376

--HG--
extra : moz-landing-system : lando
2018-10-15 08:18:09 +00:00
Andreas Pehrson
7561a1fdef Bug 1258143 - Remove LocalMediaStream. r=jib,smaug
Differential Revision: https://phabricator.services.mozilla.com/D8064

--HG--
extra : moz-landing-system : lando
2018-10-15 08:17:07 +00:00
Kartikaya Gupta
be788afc29 Bug 1498711 - Allow WR to ride the trains to beta 64. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D8735

--HG--
extra : moz-landing-system : lando
2018-10-15 15:24:12 +00:00
Dão Gottwald
b8a72790cb Bug 1498748 - Stop ignoring browser.urlbar.quantumbar in the first window. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D8633

--HG--
extra : moz-landing-system : lando
2018-10-15 12:59:31 +00:00
Edouard Oger
e6c1d59703 Bug 1496638 - Instrument fetchMissedRemoteCommands with telemetry r=markh
Differential Revision: https://phabricator.services.mozilla.com/D7912

--HG--
extra : moz-landing-system : lando
2018-10-15 05:42:02 +00:00
Kartikaya Gupta
3d29d74088 Bug 1498699 - Only create the AndroidDynamicToolbarAnimator for Fennec. r=jnicol
The bulk of this is adjusting the code that tries to use the toolbar to
have appropriate null checks instead of asserting it will exist. The
creation of the animator instance is now guarded by a IsFennec
condition.

Depends on D8658

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

--HG--
extra : moz-landing-system : lando
2018-10-15 14:56:35 +00:00
Kartikaya Gupta
ece2bc6665 Bug 1498699 - Move the FIRST_PAINT notification from AndroidDynamicToolbarAnimator to UiCompositorControllerParent. r=jnicol
Depends on D8657

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

--HG--
extra : moz-landing-system : lando
2018-10-15 13:20:27 +00:00
Kartikaya Gupta
7e23a5fb50 Bug 1498699 - Move the LAYERS_UPDATED notification from AndroidDynamicToolbarAnimator to UiCompositorControllerParent. r=jnicol
This extracts code that is conceptually unrelated to the dynamic toolbar
from the dynamic toolbar codebase. It is a stepping stone to being able
to not instantiate the AndroidDynamicToolbarAnimator at all for
non-Fennec android products.

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

--HG--
extra : moz-landing-system : lando
2018-10-15 13:19:16 +00:00
James Graham
c9dc26acbb Bug 1499061 - Only do wpt mozdevice imports when running fennec, r=gbrown
Otherwise some users see problems due to missing psutil.

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

--HG--
extra : moz-landing-system : lando
2018-10-15 14:44:08 +00:00
Andreas Tolfsen
a7c654c745 bug 1425365: geckodriver: re-enable rust tests on windows; r=whimboo
Differential Revision: https://phabricator.services.mozilla.com/D8723

--HG--
extra : moz-landing-system : lando
2018-10-15 14:30:30 +00:00
Michael Kaply
bab6fc0886 Bug 1475989 - add support for loadPath blocking r=mikedeboer
Differential Revision: https://phabricator.services.mozilla.com/D7620

--HG--
rename : toolkit/components/search/tests/xpcshell/data/search_blacklist.json => toolkit/components/search/tests/xpcshell/data/search_ignorelist.json
rename : toolkit/components/search/tests/xpcshell/test_blacklist.js => toolkit/components/search/tests/xpcshell/test_ignorelist.js
rename : toolkit/components/search/tests/xpcshell/test_json_cache_blacklist.js => toolkit/components/search/tests/xpcshell/test_json_cache_ignorelist.js
extra : moz-landing-system : lando
2018-10-10 17:11:37 +00:00
Nicolas Chevobbe
bcd61b77db Bug 1425542 - Move inspectObjectActor away from jsterm; r=bgrins.
Differential Revision: https://phabricator.services.mozilla.com/D8519

--HG--
extra : moz-landing-system : lando
2018-10-15 14:23:51 +00:00
Nicolas Chevobbe
95a682c9a9 Bug 1484989 - Prevent JsTerm to steal focus when reloading a page; r=bgrins.
JsTerm's focus function was called in clearOutput, which
we call when navigating to a new page (if Persist Logs is
not checked).
This means that we were forcing the JsTerm to be focused
each time the user navigated while having the console open.
This behavior, can be annoying, or at worst, if you're
debugging a focus issue in your content page, completely maddening.
The fix is striaghtforward: do not call focus in clearOutput.
A test is added to make sure we don't regress this.

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

--HG--
extra : moz-landing-system : lando
2018-10-15 14:25:10 +00:00
Ehsan Akhgari
4298421581 Bug 1491455 - Update the security and content blocking icons in the control centre r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D8638

--HG--
extra : moz-landing-system : lando
2018-10-15 14:19:41 +00:00
Ursula Sarracini
057fe36fc6 Bug 1498378 - Actually remove the old onboarding add-on's prefs r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D8598

--HG--
extra : moz-landing-system : lando
2018-10-15 14:04:43 +00:00
Jan-Erik Rediger
cb18367fe4 Bug 1481812 - Refactor memory gathering into its own module r=chutten
This avoids loading the remaining parts of TelemetrySession in a content process.
This saves around 10 kb of memory.

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

--HG--
extra : moz-landing-system : lando
2018-10-12 13:51:24 +00:00
Ehsan Akhgari
0324774e90 Bug 1498720 - Ensure that we revoke a subframe's storage access when it is removed from the DOM r=baku
Differential Revision: https://phabricator.services.mozilla.com/D8615

--HG--
extra : moz-landing-system : lando
2018-10-15 10:37:11 +00:00
Ehsan Akhgari
bd4eab0ff0 Bug 1498466 - Ensure that hasStorageAccess() returns a sensible value with cookieBehavior set to accept all cookies r=baku
Differential Revision: https://phabricator.services.mozilla.com/D8584

--HG--
extra : moz-landing-system : lando
2018-10-15 10:36:48 +00:00
Ehsan Akhgari
e38073ca8f Bug 1498591 - Add a test to ensure that navigating a subframe will revoke its storage access r=baku
Differential Revision: https://phabricator.services.mozilla.com/D8555

--HG--
extra : moz-landing-system : lando
2018-10-15 10:35:39 +00:00
Ehsan Akhgari
ecd5aada04 Bug 1498370 - Update the storage access flag when storage access is granted/denied r=baku
Differential Revision: https://phabricator.services.mozilla.com/D8550

--HG--
extra : moz-landing-system : lando
2018-10-15 10:29:33 +00:00
Iain Ireland
8e9e5f75ac Bug 1499010: Mark ecmaPow to allow calling from recovery code r=tcampbell
Differential Revision: https://phabricator.services.mozilla.com/D8714

--HG--
extra : moz-landing-system : lando
2018-10-15 13:31:34 +00:00
Mike Conley
e819892ec7 Bug 1498687 - Make webcompat-reporter WebExtension load about:blank instead of about:newtab in the reporter tab. r=twisniewski
Differential Revision: https://phabricator.services.mozilla.com/D8596

--HG--
extra : moz-landing-system : lando
2018-10-14 00:33:46 +00:00
Jan de Mooij
55fe33832f Bug 1496378 part 6 - Remove TypedObject to ArrayBufferViewObject static_cast hackery. r=jwalden
Depends on D7727

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

--HG--
extra : moz-landing-system : lando
2018-10-15 11:43:36 +00:00
Jan de Mooij
6ebfbe9346 Bug 1496378 part 5 - Clean up ArrayBufferViewObject::trace. r=jwalden
Depends on D7724

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

--HG--
extra : moz-landing-system : lando
2018-10-15 11:42:35 +00:00
Jan de Mooij
6757fa195a Bug 1496378 part 4 - Move ArrayBufferViewObject and related APIs into vm/ArrayBufferViewObject.{h,cpp}. r=jwalden
Depends on D7723

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

--HG--
rename : js/src/vm/ArrayBufferObject.cpp => js/src/vm/ArrayBufferViewObject.cpp
rename : js/src/vm/ArrayBufferObject.h => js/src/vm/ArrayBufferViewObject.h
extra : moz-landing-system : lando
2018-10-15 11:42:12 +00:00
Jan de Mooij
45ab67c2d4 Bug 1496378 part 3 - Move buffer methods from DataViewObject/TypedArrayObject to ArrayBufferViewObject. r=jwalden
Depends on D7722

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

--HG--
extra : moz-landing-system : lando
2018-10-15 11:41:50 +00:00
Jan de Mooij
b94bcfafb4 Bug 1496378 part 2 - Move data pointer accessors from DataViewObject/TypedArrayObject to ArrayBufferViewObject. r=jwalden
Note that DataViewObject had dataPointer* methods but TypedArrayObject used
viewData* for this. I used dataPointer* for consistency with ArrayBufferObject
(and I like it more).

Depends on D7721

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

--HG--
extra : moz-landing-system : lando
2018-10-15 11:51:46 +00:00
Jan de Mooij
e3bba47ba5 Bug 1496378 part 1 - Make ArrayBufferViewObject a base class of TypedArrayObject and DataViewObject. r=jwalden
Differential Revision: https://phabricator.services.mozilla.com/D7721

--HG--
extra : moz-landing-system : lando
2018-10-15 11:39:08 +00:00
Dorel Luca
6c423021f3 Backed out changeset 5aff488dd9e9 (bug 1496244) for Browser chrome failures in browser/components/preferences/in-content/tests/browser_search_subdialogs_within_preferences_2.js 2018-10-15 16:10:00 +03:00
florin.strugariu
6f074e6385 Bug 1465168 removeLastAddedListener is never set to a non-null value, should be removed r=jmaher igoldan jmaher
Differential Revision: https://phabricator.services.mozilla.com/D8515

--HG--
extra : moz-landing-system : lando
2018-10-15 07:56:23 +00:00
Emilio Cobos Álvarez
e088200f02 Bug 1497981 - Simplify ImageLoader::LoadImage. r=heycam
Has a single caller, from which we pass the arguments. We can just avoid that.

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

--HG--
extra : moz-landing-system : lando
2018-10-15 12:24:58 +00:00
ffxbld
7266b6209a No Bug, mozilla-central repo-update HSTS HPKP remote-settings - a=repo-update r=RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D8712

--HG--
extra : moz-landing-system : lando
2018-10-15 12:23:43 +00:00
Jason Orendorff
5a431642d9 Bug 1498562 - Apply new curly-braces-required style to code introduced in bug 1385890. r=jandem
Differential Revision: https://phabricator.services.mozilla.com/D8536

--HG--
extra : source : dc5c09d437018c7bbd72dda3b162c1b3b06b03a1
2018-10-15 10:19:03 +00:00
Dorel Luca
0b0600f8d6 Backed out changeset dc5c09d43701 (bug 1498562) for having the wrong commit message 2018-10-15 15:10:24 +03:00
Jason Orendorff
0baf97d692 Bug 1498562 - Apply new curly-braces-required style to code introduced in Bug 1498562. r=jandem
Differential Revision: https://phabricator.services.mozilla.com/D8536

--HG--
extra : moz-landing-system : lando
2018-10-15 10:19:03 +00:00
Michael Kohler
ac301cd115 Bug 1496244 - Change 'Tracking Protection' to 'Content Blocking' in Exceptions Dialog under Content Blocking r=flod,johannh
Differential Revision: https://phabricator.services.mozilla.com/D8430

--HG--
extra : moz-landing-system : lando
2018-10-15 10:56:36 +00:00
Emilio Cobos Álvarez
076f7d04f7 Bug 1498943 - Remove PseudoElement::inherits_all. r=heycam
I plan to change servo to use all: inherit on its UA sheet.

I hope the patch below should make it good enough performance-wise. And also,
it's probably broken so I don't think it's worth supporting it specially.

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

--HG--
extra : moz-landing-system : lando
2018-10-15 03:13:09 +00:00
Emilio Cobos Álvarez
fae0e8e687 Bug 1498943 - Don't copy structs to write the same value to them. r=heycam
This makes us not allocate useless style structs when you're doing something
like resetting an already-reset property, or inheriting an already-inherited
property.

Seemed simple enough that I think we should do it. In practice we don't even
should pay an extra branch because I expect the compiler to be smart enough and
merge it with the one in the mutate() call.

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

--HG--
extra : moz-landing-system : lando
2018-10-15 03:04:44 +00:00
Sebastian Hengst
f0cdf769cb Bug 1498842 - Set layout.css.control-characters.visible to true for wpt control character tests added in bug 1497380 r=jfkthame
Set layout.css.control-characters.visible to true for wpt control character tests added in bug 1497380

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

--HG--
extra : moz-landing-system : lando
2018-10-15 11:34:58 +00:00
Dorel Luca
451e26f0c6 Backed out changeset 8d7987ea4fb1 (bug 1490257) for causing android failures. CLOSED TREE 2018-10-15 14:39:00 +03:00
Andrei Lazar
692ee0ddcb Bug 1406903 Part 2: Added support for opening HTML files. r=JanH
Added support for opening HTML files from internal storage when user is choosing fennec in the dialog picker.

Depends on D7167

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

--HG--
extra : moz-landing-system : lando
2018-10-15 11:05:26 +00:00
Andrei Lazar
10879837fd Bug 1406903 Part 1: Import code for dealing with content:// URIs from aFileChooser. r=JanH,VladBaicu
Added a part from FileUtils class with commit hash: 48d65e6 from https://github.com/iPaulPro/aFileChooser/blob/master/aFileChooser/src/com/ipaulpro/afilechooser/utils/FileUtils.java

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

--HG--
extra : moz-landing-system : lando
2018-10-12 14:12:17 +00:00
vinoth
7b887cfbbc Bug 1498885 - Assertion added in ContentSecurityPolicyPermitsJSAction() to not allow eval with SystemPrincipal r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D8683

--HG--
extra : moz-landing-system : lando
2018-10-15 08:02:04 +00:00