Commit Graph

618799 Commits

Author SHA1 Message Date
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
Alexandre Poirot
4b85a3b27f Bug 1485660 - Adapt DebuggerClient._pools to accept Front's and (now) Pool's. r=jdescottes
MozReview-Commit-ID: EWka8fMBcK5

Depends on D7462

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

--HG--
extra : moz-landing-system : lando
2018-10-15 08:36:21 +00:00
Alexandre Poirot
235c66815f Bug 1485660 - Remove gcli leftover. r=jdescottes
MozReview-Commit-ID: FMuFBTseBIx

Depends on D7461

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

--HG--
extra : moz-landing-system : lando
2018-10-15 08:36:19 +00:00
Alexandre Poirot
5303ca93db Bug 1485660 - Convert browser_db_listtabs-03.js to async and make it use TargetFront. r=jdescottes
MozReview-Commit-ID: KLqx50gwSXS

Depends on D7460

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

--HG--
extra : moz-landing-system : lando
2018-10-15 08:36:17 +00:00
Alexandre Poirot
9c63f6e5ba Bug 1485660 - Special test fixes. r=jdescottes
* browser_addons_debug_webextension_popup: It looks like frame-update events are now fired earlier.
I had to move the listener to an earlier step in order to make it work.
* helper_disable_cache + toolbox.js: this test wasn't correctly listening for reconfigure request's end.
  Not clear how this test was passing before without high rate of intermittent...
* test_webextension-addon-debugging-connect.html: We can no longer listen for frame-update *before* the target object is created.
  (because we now need a TabTarget object or the TargetFront and not just the DebuggerClient)
* Fix reload request in shadereditor which may still be pending after test ends.

MozReview-Commit-ID: 49qvWSCn6nq

Depends on D8066

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

--HG--
extra : moz-landing-system : lando
2018-10-15 08:36:15 +00:00
Alexandre Poirot
2bab2fef72 Bug 1485660 - Adapt TabClient API to protocol one. r=jdescottes
MozReview-Commit-ID: 1dC5opkgLcQ

Depends on D7459

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

--HG--
extra : moz-landing-system : lando
2018-10-15 08:36:12 +00:00
Alexandre Poirot
bbd1bcdcbe Bug 1485660 - Switch from listening from DebuggerClient to TargetFront. r=jdescottes
* debugger-controller and events.js are special and require to support two cases because this is
the only production codepath that can have a TabTarget or a WorkerTarget.
Thus, leading to either TargetFront or WorkerClient on target.activeTab.
* webide.js doesn't need to listen for tabNavigated, this is redundant with tabListChanged.
* application's initializer. In case you are wondering this code can't be spawn against a WorkerTarget.
The application panel doesn't work in worker toolboxes.
* The code modified in target is in TabTarget, so we don't have to support the WorkerClient case, we always have a TargetFront here.
* I tried to update the doc file the best I can but this all feel outdated.

MozReview-Commit-ID: 2hGchebfIub

Depends on D7458

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

--HG--
extra : moz-landing-system : lando
2018-10-15 08:36:10 +00:00
Alexandre Poirot
e7998a50ec Bug 1485660 - Convert TabClient to a front. r=jdescottes
TabClient appears to be a client for any actor that inherits from browsing context target actor.
So let it be a front for that.

MozReview-Commit-ID: KmpClxJ53N7

Depends on D7457

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

--HG--
extra : moz-landing-system : lando
2018-10-15 08:36:07 +00:00
Alexandre Poirot
9c441aadb9 Bug 1485660 - Avoid exceptions when the connection is closed in middle of the actor's id retrieval. r=jdescottes
MozReview-Commit-ID: KvwkISz7OVe

Depends on D7456

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

--HG--
extra : moz-landing-system : lando
2018-10-15 08:36:05 +00:00
Alexandre Poirot
1fd7cbd0a7 Bug 1485660 - Allows calling DebuggerClient.close twice in a row. r=jdescottes
MozReview-Commit-ID: uACM0VtJ5E

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

--HG--
extra : moz-landing-system : lando
2018-10-15 08:36:03 +00:00
Jonathan Kingston
8bcd10a7ab Bug 1490257 - Add asserts and remove implied system triggering principal code r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D8368

--HG--
extra : moz-landing-system : lando
2018-10-15 06:29:45 +00:00
ffxbld
8d49332b4b No Bug, taskcluster/docker/funsize-update-generator pipfile-update. r=sfraser
Differential Revision: https://phabricator.services.mozilla.com/D8703

--HG--
extra : moz-landing-system : lando
2018-10-15 10:38:17 +00:00
Dorel Luca
451b0f42f9 Backed out 2 changesets (bug 1494543) for causing Devtools failures in browser/base/content/test/static/browser_parsable_css.js. CLOSED TREE
Backed out changeset 744747bb295c (bug 1494543)
Backed out changeset 5a54f333b855 (bug 1494543)
2018-10-15 12:14:17 +03:00