Commit Graph

615456 Commits

Author SHA1 Message Date
Mark Banner
9b1b5e2821 Bug 1493654 - Upgrade eslint-plugin-html to 4.0.6 to pick up performance fix. r=mossop
Also upgrade eslint and eslint-plugin-react whilst we're here.

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

--HG--
extra : moz-landing-system : lando
2018-09-24 15:33:56 +00:00
Nicholas Hurley
d17d1224fd Bug 1492484 - Do not reprioritize pushed streams on tab switch. r=kershaw
Right now, pushed streams don't get put in the priority hierarchy
anyway, and with the code as it was, we were sending an illegal PRIORITY
frame for stream 0. This prevents that from happening. We should
probably think about putting pushed streams in the priority hierarchy at
some point.

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

--HG--
extra : moz-landing-system : lando
2018-09-24 15:16:22 +00:00
Thomas Wisniewski
532e2d0b88 Bug 1398718 - change default pref to on for lowercase header names in XHR.getAllResponseHeaders; r=hsivonen
change default pref to on for lowercase header names in XHR.getAllResponseHeaders

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

--HG--
extra : moz-landing-system : lando
2018-09-24 06:34:57 +00:00
Dave Townsend
8864a3e3e2 Bug 1493310: Add a way to access certain functionality of nsXREDirProvider for testing purposes. r=froydnj
In order to be able to have even basic xpcshell tests for bug 1474285 I need
nsXREDirProvider to be accessible and to be able to override a couple of the
directories it returns.

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

--HG--
extra : moz-landing-system : lando
2018-09-24 14:55:37 +00:00
Tristan Bourvon
4db0a2f5a0 Bug 1475415 - Add first version of IPDL-JS API r=mrbkap,mccr8
Add the first version of the IPDL-JS API, which allow chrome JS to load IPDL files and use them to communicate accross Content processes.
See IPDLProtocol.h for more information regarding how to use the API.

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

--HG--
rename : ipc/moz.build => ipc/ipdl_new/moz.build
extra : moz-landing-system : lando
2018-09-24 14:13:20 +00:00
Brindusan Cristian
b290c83698 Backed out changeset 3c7a1fb33462 (bug 1493071) for breaking Gecko Decision Task. CLOSED TREE
--HG--
rename : taskcluster/ci/cron-bouncer-check/kind.yml => taskcluster/ci/bouncer-check/kind.yml
2018-09-24 17:35:56 +03:00
Simon Fraser
fdd100e40d Bug 1493071 Rename bouncer_check cron task r=mtabara
Differential Revision: https://phabricator.services.mozilla.com/D6660

--HG--
rename : taskcluster/ci/bouncer-check/kind.yml => taskcluster/ci/cron-bouncer-check/kind.yml
extra : moz-landing-system : lando
2018-09-24 13:14:57 +00:00
Chris Manchester
461bf6e5f4 Bug 1492291 - Wrap rustc invocations in the tup backend to forward relevant info from cargo build script outputs. r=mshal
Differential Revision: https://phabricator.services.mozilla.com/D6422

--HG--
extra : moz-landing-system : lando
2018-09-22 00:38:12 +00:00
Brian Hackett
5c86561d00 Bug 1493187 - Enable Web Replay menu items by default, r=jlast.
--HG--
extra : rebase_source : b48a5379fe1f039ee5a6ddf0881e3b1cadb38b88
2018-09-21 14:03:51 -10:00
Emilio Cobos Álvarez
27d103ae6b Bug 1484285 - Avoid loading XBL bindings for stuff that is very likely to be a custom-element. r=smaug
This should be more generic than hardcoding the tags, and be enough for our
chrome to avoid regressions as they migrate more stuff to CE, avoiding calling
into the GetComputedStyle machinery..

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

--HG--
extra : moz-landing-system : lando
2018-09-21 21:29:25 +00:00
Brindusan Cristian
fabf319298 Backed out changeset d432e26bd0b5 (bug 1419091) for mochitest failures on dom/tests/mochitest/keyhandling/test_input.html. 2018-09-22 04:37:58 +03:00
Christoph Diehl
34620c6b05 [mq]: Bug 1493078 2018-09-21 20:16:50 +02:00
Eitan Isaacson
0206ea9620 Bug 1479034 - Make GeckoView's SessionAccessibility a JNIObject associated with a nsWindow. r=jchen 2018-09-21 16:03:35 -07:00
Andreea Pavel
1cdcfb64dc Bug 1489771 - disable test_ext_subframes_privileges.html on android r=gbrown 2018-09-20 19:02:00 +03:00
Alexandre Poirot
f98d0997fe Bug 1485676 - Rename DebuggerClient.attachTab to attachTarget. r=jdescottes
Summary:
This method isn't specific to tabs. It can attach to any "target" actor that inherits from BrowsingContextActor.

Depends On D6161

Reviewers: yulia!

Tags: #secure-revision

Bug #: 1485676

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

MozReview-Commit-ID: Exz5fWyWyfN
2018-09-22 08:34:21 -07:00
Alexandre Poirot
8724260e30 Bug 1485676 - Rename TabTarget.makeRemote to TabTarget.attach. r=jdescottes
Summary:
Now that all the "remoting" of this method has been moved to TargetFactory.createTargetForTab,
we should rename this method to what it does now. It mostly call attach requests
of the target actor and its child console actor.
It also "connect" the webextension target actor, but I would like to eventually move that
outside of TabTarget.attach, like makeRemote.

Depends On D4078

Reviewers: yulia!

Tags: #secure-revision

Bug #: 1485676

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

MozReview-Commit-ID: KmFi1LIUBga
2018-09-22 08:34:21 -07:00
Alexandre Poirot
48f5790c9b Bug 1485676 - Connect to local server from TargetFactory.forTab and make TabTarget always remote-like. r=yulia
Tags: #secure-revision

Bug #: 1485676

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

MozReview-Commit-ID: JAwiySsBZBu
2018-09-22 08:34:20 -07:00
Alexandre Poirot
b553b3b567 Bug 1485676 - Adapt gDevTools API to new async forTab and also adapt its callsites. r=yulia
Summary:
When switching to async, it is important to catch exception or register a rejection handler
so that errors keep being logged.
So in this patch I'm catching exception in a couple of important codepath.

Depends On D4541

Reviewers: yulia!

Tags: #secure-revision

Bug #: 1485676

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

MozReview-Commit-ID: IDPJVkAPbTs
2018-09-22 08:34:20 -07:00
Alexandre Poirot
036625ce21 Bug 1485676 - Prevent exceptions in the emulation actor when trying to use it while it is already destroyed. r=yulia
Summary: Depends On D4540

Reviewers: yulia!

Tags: #secure-revision

Bug #: 1485676

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

MozReview-Commit-ID: 2fTZ4WRq9je
2018-09-22 08:34:20 -07:00
Alexandre Poirot
8cd354df9d Bug 1485676 - Tweak RDM manage to support new async forTab. r=yulia
Summary:
Fetching any target is now asynchronous. But RDM setup/destroy codepath is very fragile
and introduce many low level exception when trying to restore the original browser element
if any timing changes.
So this patch prevents trying to fetch the target object if a toolbox isn't already opened.
The target object is being used only for Telemetry purpose for now.

Depends On D4538

Reviewers: yulia!

Tags: #secure-revision

Bug #: 1485676

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

MozReview-Commit-ID: 2QDUNqentMP
2018-09-22 08:34:19 -07:00
Alexandre Poirot
5cd419ffca Bug 1485676 - Adapt gDevTools.createTargetForTab to new TabTarget class. r=yulia
Summary: Depends On D4536

Reviewers: yulia!

Tags: #secure-revision

Bug #: 1485676

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

MozReview-Commit-ID: E3AIMyFgL5m
2018-09-22 08:34:19 -07:00
Alexandre Poirot
1e7e1b1c81 Bug 1485676 - Convert TargetFactory.forTab call to forRemoteTab in debugger mochitest. r=yulia
Summary:
We are not passing a tab here. It only works by chance!

Depends On D4535

Reviewers: yulia!

Tags: #secure-revision

Bug #: 1485676

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

MozReview-Commit-ID: K0ztxPM2N6A
2018-09-22 08:34:18 -07:00
Alexandre Poirot
e2590d206d Bug 1485676 - Refactor gDevTools.getTargetForTab callsites to assume getTargetForTab is async. r=yulia
Reviewers: yulia!

Tags: #secure-revision

Bug #: 1485676

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

MozReview-Commit-ID: FyERWaYipZo
2018-09-22 08:34:18 -07:00
Luke Schwalfenberg
92ff34baee Bug 1488241 - Error link from about:support leads to about:policies#active instead of about:policies#errors. r=felipe
Differential Revision: https://phabricator.services.mozilla.com/D6538

--HG--
extra : amend_source : 2e9a6ffd871ed445a6eb74322ff852a5e701a646
2018-09-22 16:19:08 +01:00
Dave Townsend
2b897898ce Bug 1419091: Add keybinding tests. r=masayuki
Differential Revision: https://phabricator.services.mozilla.com/D3030

--HG--
extra : moz-landing-system : lando
2018-09-20 13:10:35 +00:00
Dave Townsend
d458b530c5 Bug 1493315: Build config for dedicated profiles and downgrade protection. r=ted
Differential Revision: https://phabricator.services.mozilla.com/D6545

--HG--
extra : moz-landing-system : lando
2018-09-21 23:32:55 +00:00
Jason Orendorff
dfbcb7c596 Bug 1492872 - Remove JSProto_Iterator. r=jwalden
Differential Revision: https://phabricator.services.mozilla.com/D6405

--HG--
extra : moz-landing-system : lando
2018-09-20 18:04:41 +00:00
Boris Chiou
ae2cd2accd Bug 1491954 - Flip boolean half way for path interpolation r=emilio
According to the new svg 2 spec update (#543), we flip the flag half way for
path interpolation.

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

--HG--
extra : moz-landing-system : lando
2018-09-21 18:39:41 +00:00
Logan F Smyth
486d98a2d8 Bug 888390 - Expose a get/setProperty function on Debugger.Object instances. r=jorendorff
Differential Revision: https://phabricator.services.mozilla.com/D5915

--HG--
extra : moz-landing-system : lando
2018-09-21 22:14:31 +00:00
Bogdan Tara
2f2e73d2d5 Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-09-22 01:04:59 +03:00
Ting-Yu Lin
b5d9e05828 Bug 1485063 Part 4 - Move preferences used in AccessibleCaretManager to StaticPrefList.h r=mats
Differential Revision: https://phabricator.services.mozilla.com/D5474

--HG--
extra : moz-landing-system : lando
2018-09-21 21:59:52 +00:00
Ting-Yu Lin
4a7b7e1a11 Bug 1485063 Part 3 - Move preferences which enable AccessibleCaret to StaticPrefList.h r=mats
Differential Revision: https://phabricator.services.mozilla.com/D5472

--HG--
extra : moz-landing-system : lando
2018-09-21 22:01:29 +00:00
Ting-Yu Lin
1a5f8a9601 Bug 1485063 Part 2 - Move preferences used in AccessibleCaretEventHub to StaticPrefList.h r=mats
"layers.async-pan-zoom.enabled" has been enabled for all platforms for a
long time. I reword the comment to avoid confusion.

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

--HG--
extra : moz-landing-system : lando
2018-09-21 22:01:31 +00:00
Bogdan Tara
0eedaf7640 Merge inbound to mozilla-central. a=merge 2018-09-22 00:59:34 +03:00
Bogdan Tara
374dd2c7c2 Merge autoland to mozilla-central. a=merge 2018-09-22 00:58:22 +03:00
Ting-Yu Lin
787b6292f5 Bug 1485063 Part 1 - Move preferences used in AccessibleCaret to StaticPrefsList.h r=mats
Differential Revision: https://phabricator.services.mozilla.com/D5470

--HG--
extra : moz-landing-system : lando
2018-09-21 21:48:27 +00:00
Geoff Brown
36c45bba54 Bug 1492632 - Ensure correct installation requirements for Android per-test suites; r=bc 2018-09-21 13:23:48 -06:00
Ryan VanderMeulen
84601ca6bf Backed out changeset c173cb530f63 (bug 1490009) for violating invariants. 2018-09-21 15:08:40 -04:00
Brindusan Cristian
a60da103fe Backed out changeset ae99a39d6497 (bug 1493173) for bustage on static-analysis autotest. CLOSED TREE 2018-09-21 21:58:21 +03:00
Olli Pettay
d44e63a9b4 Bug 1490820, elements without frames shouldn't be focusable in shadow DOM, r=ehsan 2018-09-21 21:46:17 +03:00
Ehsan Akhgari
0a3b2c4634 Backout changeset c5b3caf36ddf (bug 1490297) for causing bug 1493081 and making Nightly unusable; a=Aryx 2018-09-21 13:59:25 -04:00
Brindusan Cristian
0bfcc31824 Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-09-21 20:32:42 +03:00
Brindusan Cristian
e48cea756e Merge inbound to mozilla-central. a=merge
--HG--
rename : toolkit/themes/shared/in-content/check-partial.svg => toolkit/themes/shared/icons/check-partial.svg
rename : browser/themes/shared/icons/check.svg => toolkit/themes/shared/icons/check.svg
2018-09-21 20:29:29 +03:00
Dão Gottwald
740157f49b Bug 1491252 - Port URL overflow handling from urlbarBindings.xml to UrlbarInput.jsm. r=standard8 2018-09-21 19:12:05 +02:00
Tom Ritter
b4e5b102e0 Bug 1492971 Bump mingw version to get fix for FILE_ID_128 struct r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D6497

--HG--
extra : moz-landing-system : lando
2018-09-21 15:13:20 +00:00
Ehsan Akhgari
f8ef224ee2 Bug 1493057 - Make sure test_ext_privacy.js doesn't depend on the default value of the network.cookie.cookieBehavior preference r=rpl
Differential Revision: https://phabricator.services.mozilla.com/D6456

--HG--
extra : moz-landing-system : lando
2018-09-21 15:12:10 +00:00
Ehsan Akhgari
2d5c5a77bb Bug 1492114 - Ensure that the Third-Party Cookies description doesn't wrap unnecessarily r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D6159

--HG--
extra : moz-landing-system : lando
2018-09-21 15:03:18 +00:00
Jeff Muizelaar
b1a30b1cb4 Bug 1492615. Improve logging even more r=mstange
Differential Revision: https://phabricator.services.mozilla.com/D6432

--HG--
extra : moz-landing-system : lando
2018-09-21 12:56:53 +00:00
Ehsan Akhgari
f8292a8435 Bug 1493173 - Remove the unneeded dependency from win64-st-autotest/debug r=dmajor
Not quite sure why this dependency ever existed.  These builds never use clang-tidy,
so this dependency was probably never needed in the first place.

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

--HG--
extra : moz-landing-system : lando
2018-09-21 18:23:35 +00:00
Andrew McCreight
fee317ab0d Bug 1351501, part 2 - Preserve wrappers for non-nsISupports cycle collected weak map keys r=bzbarsky
A C++ object that is exposed to JS can have its reflector used as a
key in a weak map. Because a weak map does not keep its keys alive,
this means that the reflector can be discarded if it has no other
references aside from the C++ object, which will in turn remove its
weak map entry. If the C++ object can be accessed again later from JS,
it will get a new reflector which will have no weak map entry. This is
bad because it means some internal implementation detail has resulted
in data loss that is visible to JS. (Side note: this is also an issue
for cross compartment wrappers, which is handled by another
mechanism.)

To fix this, we can preserve the wrapper of any DOM reflector used as
a weak map key. This ensures that the reflector and its C++ object
have the same lifetime. If a WebIDL object is not wrapper cached, that
means that it cannot be accessed via C++, so we don't need to preserve
the wrapper. This is currently implemented for nsISupports classes,
but not other classes. For non-nsISupports classes, it would throw an
error rather than silently fail.

My patch adds support for non-nsISupports cycle collected objects. It
turns out that the existing addProperty hook just does wrapper
preservation, so we just call it for cycle collected classes. This
does mean that if addProperty changes in the future to do something
else, this code will need to be changed.

I verified that this test fails if TryPreserveWrapper is changed to do
nothing besides return true in the non-nsISuports case.

Depends on D6197

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

--HG--
extra : moz-landing-system : lando
2018-09-21 18:20:35 +00:00