Commit Graph

615323 Commits

Author SHA1 Message Date
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
Andreea Pavel
62ce7b988d Merge mozilla-inbound to mozilla-central. a=merge 2018-09-22 12:34:50 +03:00
Jeff Muizelaar
8d0131224b Bug 1490033. Use IsStyleMaybeAnimated to set up snapping surface transform. r=mstange
This catches all animations instead of those that only run on the compositor.

Differential Revision: https://phabricator.services.mozilla.com/D6543
2018-09-21 23:28:34 -04:00
Diego Pino Garcia
0f11b0a3d3 Bug 1483986 - Remove sync versions of document.cookie getter/setter; r=ehsan,froydnj 2018-09-21 23:01:32 -04: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
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
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
Andrew McCreight
2abe1a8480 Bug 1351501, part 1 - Handlify TryPreserveWrapper r=bzbarsky
The patch in the next part will need a handle to the object in
TryPreserveWrapper.

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

--HG--
extra : moz-landing-system : lando
2018-09-21 18:20:33 +00:00
Gabriele Svelto
e9f4d4c3af Bug 1470223 - Prefer FUNC entries to PUBLIC entries when fixing symbols r=ted
This patch changes the way we search symbols when fixing up a stack.
Previously we would find the closest PUBLIC or FUNC entry lower than a given
address. Because of how symbol files were processed we preferred PUBLIC
entries to FUNC ones. Now we look first for the function that contains the
address (obtained from the FUNC entries) then if none is available we look for
the closest, lower PUBLIC entry.

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

--HG--
extra : moz-landing-system : lando
2018-09-21 12:50:32 +00:00
Chris Manchester
7bb5ab0ba0 Bug 1491967 - Document the difference between partial tree builds in Make and Tup. r=mshal
Differential Revision: https://phabricator.services.mozilla.com/D6433

--HG--
extra : moz-landing-system : lando
2018-09-21 19:05:51 +00:00
Chris Manchester
2ca27f0e2a Bug 1491967 - Translate arguments to |./mach build| to objdir paths when possible in the tup backend. r=firefox-build-system-reviewers,mshal
Differential Revision: https://phabricator.services.mozilla.com/D6084

--HG--
extra : moz-landing-system : lando
2018-09-21 20:20:49 +00:00
Brindusan Cristian
4c389d3514 Backed out changeset 70d1a0c0270c (bug 832983) for devtools failures on /test/browser_inspector_pseudoclass-lock.js. CLOSED TREE 2018-09-21 23:23:59 +03:00
Michael Kaply
44622e08e5 Bug 1492233 - Add telemetry for search from webextension. r=mikedeboer
Differential Revision: https://phabricator.services.mozilla.com/D6262

--HG--
extra : moz-landing-system : lando
2018-09-21 20:08:28 +00:00
Julian Descottes
f0fe1b2410 Bug 1490301 - Always use relative paths in new about:debugging;r=daisuke
Differential Revision: https://phabricator.services.mozilla.com/D6398

--HG--
extra : moz-landing-system : lando
2018-09-21 11:31:07 +00:00
Julian Descottes
672c02580e Bug 1489224 - Add mochitest to check runtimes section of aboudebugging sidebar;r=daisuke
Differential Revision: https://phabricator.services.mozilla.com/D6402

--HG--
extra : moz-landing-system : lando
2018-09-21 14:38:16 +00:00
Julian Descottes
151130d992 Bug 1489224 - Fix order of tests in aboutdebugging-new;r=daisuke
Differential Revision: https://phabricator.services.mozilla.com/D6403

--HG--
extra : moz-landing-system : lando
2018-09-21 12:31:16 +00:00
Markus Stange
313d93937c Bug 1483616 - Ignore optional m specifier in PUBLIC and FUNC lines. r=kmag
These specifiers were added in
b1226959a2

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

--HG--
extra : moz-landing-system : lando
2018-09-21 03:38:39 +00:00
k88hudson
1d74ceedeb Bug 1492454 - Normalise ASRouter frequency caps r=ursula
Differential Revision: https://phabricator.services.mozilla.com/D6527

--HG--
extra : moz-landing-system : lando
2018-09-21 19:25:29 +00:00