Commit Graph

615450 Commits

Author SHA1 Message Date
Gabriel Luong
3a26040bed Bug 1248619 - Part 1: Refactor and restore the reload condition settings in RDM. r=rcaliman 2018-09-24 13:04:03 -04:00
Alexandre Poirot
b62cd305b4 Bug 1485676 - Adapt mozscreenshot code to async TargetFactory.forTab. r=yulia
MozReview-Commit-ID: LyWehotW4Ws

Differential Revision: https://phabricator.services.mozilla.com/D6667
2018-09-24 09:53:00 -07:00
Alexandre Poirot
c7a9923fc3 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-24 09:52:59 -07:00
Alexandre Poirot
fc8714580a 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-24 09:52:57 -07:00
Alexandre Poirot
082e20e693 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-24 09:52:55 -07:00
Alexandre Poirot
d31ef570b8 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-24 09:52:54 -07:00
Alexandre Poirot
1322b8f8a4 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-24 09:52:52 -07:00
Alexandre Poirot
5af3a78471 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-24 09:52:51 -07:00
Alexandre Poirot
f421baa62a 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-24 09:52:50 -07:00
Alexandre Poirot
dff4dedc72 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-24 09:52:48 -07:00
Alexandre Poirot
dc5f0efff6 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-24 09:52:47 -07:00
shindli
a7b6d373bb Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-09-24 19:50:53 +03:00
shindli
2060f92f7d Merge inbound to mozilla-central. a=merge 2018-09-24 19:46:04 +03:00
shindli
2ea0026f80 Backed out changeset 4ef00e2b6b1c (bug 1493660) per developer's request 2018-09-24 19:05:23 +03:00
Dão Gottwald
b0524960f2 Bug 1493638 - Stop changing <toolbarbutton>'s padding across button states by default. r=paolo 2018-09-24 16:15:08 +02:00
Brindusan Cristian
f997140c00 Backed out changeset 628ebca30ce3 (bug 1490240) for bustages on [Unified_cpp_crashreporter0.obj]. CLOSED TREE 2018-09-24 17:10:58 +03:00
Connor Sheehan
f8eb1abca2 Bug 1490515: add "on-completed" notify route to try push decision tasks r=tomprince
Buildbot had a feature where a notification email would be sent to
the user who triggered the build jobs once Buildbot had begun
processing the request. Since we have migrated off Buildbot, we
have lost this much-appreciated functionality. Taskcluster
allows us to send emails when a task fails, raises an exception
or completes successfully. We already send notification emails
out for the first two cases, sending an email on completion of
the Gecko decision task would essentially replicate the Buildbot
functionality. This commit adds the "on-completed" notification
route when the repository project alias corresponds to a known
try repo. In that case, we also add data to the
`extra.notification.email` section which creates a link to the
Treeherder view for the scheduled jobs.

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

--HG--
extra : moz-landing-system : lando
2018-09-24 13:46:55 +00:00
Andreas Tolfsen
08c88159c2 bug 1493660: marionette: sort window rect JSON object; r=jgraham
Mimic ordering of window rect JSON Object as it is returned by the
webdriver crate and geckodriver.
2018-09-24 14:25:23 +01:00
Gabriel Luong
4e0c260292 Bug 1478397 - Part 18: Refactor the logic to get the flex items for a given flex container. r=pbro 2018-09-24 09:22:50 -04:00
Jonathan Kew
1e0feeb84d Bug 1432198 - Test for minimum rendered width of 0.5ch for the tab character. r=xidorn 2018-09-24 13:39:17 +01:00
Jonathan Kew
75f7196111 Bug 1432198 - Ensure tab characters are rendered with a minimum advance of 0.5ch. r=xidorn 2018-09-24 13:38:52 +01:00
shindli
51a3c01ced Backed out 9 changesets (bug 1485676) for failures in browser/tools/mozscreenshots/devtools/browser_devtools.js CLOSED TREE
Backed out changeset d358feec4ca1 (bug 1485676)
Backed out changeset ed554dbb062f (bug 1485676)
Backed out changeset 6e78058df94d (bug 1485676)
Backed out changeset 3a6f1b0e71f4 (bug 1485676)
Backed out changeset 16d2403aa787 (bug 1485676)
Backed out changeset 454eddf52157 (bug 1485676)
Backed out changeset 926f725f2183 (bug 1485676)
Backed out changeset fb03f174bd5f (bug 1485676)
Backed out changeset ceb93dd1799a (bug 1485676)
2018-09-24 15:27:27 +03:00
Andrea Marchesini
25f9ad890f Bug 1491835 - Store User-Interaction for AntiTracking purposes - part 4 - update permissions after X seconds, r=ehsan 2018-09-24 12:54:54 +02:00
Andrea Marchesini
a7bdca9758 Bug 1491835 - Store User-Interaction for AntiTracking purposes - part 3 - tests, r=ehsan 2018-09-24 12:54:54 +02:00
Andrea Marchesini
9968406ccc Bug 1491835 - Store User-Interaction for AntiTracking purposes - part 2 - storing user-interaction, r=ehsan 2018-09-24 12:54:54 +02:00
Andrea Marchesini
55aa7576b0 Bug 1491835 - Store User-Interaction for AntiTracking purposes - part 1 - nsIDocument::SetUserHasInteracted should not receive a parameter, r=ehsan 2018-09-24 12:54:54 +02:00
Coroiu Cristina
68a73ded70 Merge mozilla-central to inbound a=merge on a CLOSED TREE 2018-09-24 12:53:39 +03:00
Coroiu Cristina
881a3c5664 Merge inbound to mozilla-central a=merge 2018-09-24 12:48:00 +03:00
Andrea Marchesini
47e5a8b711 Bug 1260399 - Remove deprecated messages in nsICookieManager methods - part 4 - remove the deprecated message, r=ehsan 2018-09-24 11:37:57 +02:00
Andrea Marchesini
b958c6f170 Bug 1260399 - Remove deprecated messages in nsICookieManager methods - part 3 - nsICookieManager.cookieExists, r=ehsan 2018-09-24 11:37:57 +02:00
Andrea Marchesini
42c515aa1c Bug 1260399 - Remove deprecated messages in nsICookieManager methods - part 2 - nsICookieManager.getCookiesFromHost(), r=ehsan 2018-09-24 11:37:57 +02:00
Andrea Marchesini
61a7f9a598 Bug 1260399 - Remove deprecated messages in nsICookieManager methods - part 1 - nsICookieManager.add(), r=ehsan 2018-09-24 11:37:56 +02:00
Andrea Marchesini
def259a086 Bug 1260399 - Remove deprecated messages in nsICookieManager methods - part 0 - nsICookieManager.remove() should not have optional parameters, r=ehsan 2018-09-24 11:37:56 +02:00
shindli
0b6d93ef4d Backed out changeset 510e95767aeb (bug 1490874) for security failures in browser/components/payments/test/mochitest/test_basic_card_form.html CLOSED TREE 2018-09-24 11:43:30 +03:00
Alexandre Poirot
d2897f66aa 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-24 01:25:03 -07:00
Alexandre Poirot
796f22b354 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-24 01:25:02 -07:00
Alexandre Poirot
631e7bfdf9 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-24 01:25:01 -07:00
Alexandre Poirot
fe30914ea1 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-24 01:25:00 -07:00
Alexandre Poirot
81c6eab1f0 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-24 01:25:00 -07:00
Alexandre Poirot
57c47d0e7a 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-24 01:24:59 -07:00
Alexandre Poirot
7b7f2b7ebd 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-24 01:24:59 -07:00
Alexandre Poirot
36471d8e5c 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-24 01:24:58 -07:00
Alexandre Poirot
35bc2e7546 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-24 01:24:58 -07:00
Ehsan Akhgari
19cc8cf31c Bug 1492114 - Really ensure that the Third-Party Cookies description doesn't wrap unnecessarily r=johannh
The selector should apply to deck elements that do have a selectedIndex
attribute but it's not 0.

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

--HG--
extra : moz-landing-system : lando
2018-09-24 08:07:18 +00:00
Gabriele Svelto
a47a091a6d Bug 1490240 - Fix the remaining compiler warnings in the crash reporter r=ted,glandium
Differential Revision: https://phabricator.services.mozilla.com/D5741

--HG--
extra : moz-landing-system : lando
2018-09-24 13:21:38 +00:00
Julian Descottes
cd7c5f04a6 Bug 1489421 - Add i18n for ExtensionDetail component;
Depends on D6609

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

--HG--
extra : moz-landing-system : lando
2018-09-24 12:48:41 +00:00
Julian Descottes
5fa076dfc7 Bug 1489423 - Add i18n for InspectAction component;
Depends on D6608

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

--HG--
extra : moz-landing-system : lando
2018-09-24 09:30:46 +00:00
Julian Descottes
400f74639c Bug 1489424 - Add i18n for ServiceWorkerAction component;
Depends on D6607

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

--HG--
extra : moz-landing-system : lando
2018-09-24 09:28:03 +00:00
Julian Descottes
56fb105866 Bug 1489419 - Add i18n for DebugTargetList component;
Depends on D6606

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

--HG--
extra : moz-landing-system : lando
2018-09-24 09:44:48 +00:00
Julian Descottes
54e21e5141 Bug 1489425 - Add i18n for TemporaryExtensionAction components;
Depends on D6605

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

--HG--
extra : moz-landing-system : lando
2018-09-24 09:44:17 +00:00