Граф коммитов

2255 Коммитов

Автор SHA1 Сообщение Дата
Brian Hackett a9c5259123 Bug 1508088 - Don't start new recording when navigating from blank tab, r=jlast.
--HG--
extra : rebase_source : 23363daf8e778bacda8f62d41413acc1f8db5de5
2018-11-17 11:28:50 -10:00
Luke Wagner 22d962a57d Bug 1492301 - Baldr: remove unneeded Debugger.allowWasmBinarySource option (r=yury)
--HG--
extra : rebase_source : 397043cf3cc70f46bf2ba10f6c69a11540ec1c79
2018-11-19 16:45:51 -06:00
Julian Descottes 6380b99f50 Bug 1498143 - Pass nodeActorID to screenshot actor to enable feature in iframes and shadowroots;r=pbro,yulia
Differential Revision: https://phabricator.services.mozilla.com/D12124

--HG--
extra : moz-landing-system : lando
2018-11-19 13:27:51 +00:00
Patrick Brosset 22136caa2e Bug 1506792 - Bail out when trying to get getComputedStyle for a non attached node; r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D12117

--HG--
extra : moz-landing-system : lando
2018-11-19 10:55:45 +00:00
Brian Hackett 18b7c36e5d Bug 1507359 Part 3 - Control pausing and resuming in ReplayDebugger, r=lsmyth.
--HG--
extra : rebase_source : 2d988d3703fafd10830a278399b77b88bbf8058b
2018-11-17 07:59:33 -10:00
Jason Laster 53c3608b3a Bug 1504222 - Notify the client when devtools goes from replaying to recording. r=dwalsh
Tags:

Bug #: 1504222

Differential Revision: https://phabricator.services.mozilla.com/D11593
2018-11-16 10:24:27 -05:00
Bogdan Tara 647b9eb109 Merge inbound to mozilla-central. a=merge 2018-11-16 11:47:51 +02:00
Yura Zenevich aa155585ea Bug 1505848 - switch from CSS based approach to calculating contrast to canvas one, that also handles gradients and images. r=jdescottes,pbro
MozReview-Commit-ID: JS39hAY571f

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

--HG--
extra : moz-landing-system : lando
2018-11-16 03:59:08 +00:00
Yura Zenevich 33bdb435b4 Bug 1505848 - change the way accessible object is determined when using accessible highlighter. r=pbro
MozReview-Commit-ID: IiUGsFojZP1

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

--HG--
extra : moz-landing-system : lando
2018-11-16 03:57:25 +00:00
Brian Hackett a5f01b639d Bug 1506469 - Allow inspecting objects logged to the console without switching to a replaying child, r=lsmyth.
--HG--
extra : rebase_source : 4e00da50edb5eeb8e5d9c490e893e6bddb47a440
2018-11-15 14:08:22 -10:00
Csoregi Natalia c9b70719c8 Merge mozilla-central to autoland. CLOSED TREE 2018-11-16 00:19:45 +02:00
Margareta Eliza Balazs d5555d2998 Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-11-15 18:22:30 +02:00
Nicolas Chevobbe 78252467c2 Bug 1216632 - Make autocompletion work on $_ and $0; r=bgrins.
To make $0 autocompletion work, we need to pass the current
selectedNode actor from the frontend, so we can retrieve the
object reference later.
For $_, we need the webconsole actor reference to be able
to retrieve the last input result.
Since the list of parameters of JsPropertyProviders was
getting a bit long, we transform them in an object so it's
more legible on the consumer side.
Mochitests are added for both helpers to ensure this work
as expected.

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

--HG--
extra : moz-landing-system : lando
2018-11-15 09:49:14 +00:00
Julian Descottes 99e9b458c0 Bug 1504355 - Do not return inlineTextChild for shadow hosts in inspector walker;r=ladybenko
Differential Revision: https://phabricator.services.mozilla.com/D11742

--HG--
extra : moz-landing-system : lando
2018-11-15 10:46:06 +00:00
Brian Hackett ac59317930 Bug 1505935 Part 2 - Expose scripts to the debugger which have their progress counters updated, r=lsmyth.
--HG--
extra : rebase_source : a0b56d14b578e5b26b8a89e943815245c02b4ed8
2018-11-10 15:27:14 -10:00
Brian Hackett b2ea99b7e2 Bug 1506707 - Keep track of duplicate console messages in the client, r=nchevobbe.
--HG--
extra : rebase_source : 6edb412e2bc96e5b03cd1cb372272f15d6cb863e
2018-11-12 12:11:18 -10:00
Luca Greco 7153f497a9 Bug 1498293 - Ensure the webextension fallback window has a TabChild actor in content. r=ochameau
This patch remove the usage of `Services.appShell.createWindowlessBrowser` from the
webextension target actor (that runs in a child process when the extension is in oop-mode).

As a fallback window (needed when an extension doesn't have an extension page yet, e.g. while
the extension is being reloaded, or when the extension doesn't have a background page), the actor
is going to search for the window related to the XUL browser element created to connect into
the extension process.

If the extension runs in the child process (e.g. as it currently happens on all platforms supported
by Firefox Desktop), the TabParent/TabChild's tabId is used to identify the fallback window.

On the contrary, when the extension runs in the parent process (e.g. as it currently happens on
Firefox for Android), the XUL browser's ownerGlobal innerWindowID is used to identify the
fallback window.

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

--HG--
extra : moz-landing-system : lando
2018-11-15 19:00:44 +00:00
Alexandre Poirot 49ef5b5792 Bug 1506548 - Return WorkerTargetFront from listWorkers instead of form. r=yulia
MozReview-Commit-ID: 4CBQNwC8tKq

Depends on D11762

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

--HG--
extra : moz-landing-system : lando
2018-11-15 10:23:50 +00:00
Alexandre Poirot 78e2ca28f0 Bug 1506549 - Introduce API to listen for new child fronts of a given type. r=yulia
MozReview-Commit-ID: EKWTGhGo0VM

Depends on D11624

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

--HG--
extra : moz-landing-system : lando
2018-11-15 10:23:00 +00:00
Alexandre Poirot 5eed35c08e Bug 1506549 - Stop returning the actor from Pool.manage. r=yulia
This was only used by test and isn't much useful.

MozReview-Commit-ID: DeIimVmMOOs

Depends on D11623

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

--HG--
extra : moz-landing-system : lando
2018-11-15 10:22:58 +00:00
Alexandre Poirot 1578b6da37 Bug 1506549 - Return target fronts out of RootFront.getProcess and getMainProcess. r=yulia
MozReview-Commit-ID: EGWYEmAkbtr

Depends on D11693

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

--HG--
extra : moz-landing-system : lando
2018-11-15 10:22:49 +00:00
Brian Hackett ced41bdf02 Bug 1506739 - Fix problems when stepping out of frames while replaying, r=jlast.
--HG--
extra : rebase_source : 1af01f8e4b40b6aa34c1e3c8ae503e5d3c1198aa
2018-11-13 08:06:16 -10:00
Julian Descottes c1bc33b0e9 Bug 1506581 - Listen to all possible AddonManager events in BrowserAddonList;r=ochameau
Differential Revision: https://phabricator.services.mozilla.com/D11644

--HG--
extra : moz-landing-system : lando
2018-11-13 14:26:39 +00:00
Timothy Guan-tin Chien 2b5881e46b Bug 1503019 - Part I, Remove dom.webcomponents.shadowdom.enabled r=smaug
This patch removes the dom.webcomponents.shadowdom.enabled pref and all its
references, including the following functions:

* nsContentUtils::IsShadowDOMEnabled()
* nsIDocument::IsShadowDOMEnabled()
* nsDocument::IsShadowDOMEnabled(JSContext* aCx, JSObject* aGlobal)
* nsDocument::IsShadowDOMEnabled(const nsINode* aNode)
* nsTextNode::IsShadowDOMEnabled(JSContext* aCx, JSObject* aObject)

This function is renamed and updated to nsDocument::IsCallerChromeOrAddon():

* nsDocument::IsShadowDOMEnabledAndCallerIsChromeOrAddon(JSContext* aCx, JSObject* aObject)

I didn't change the tests that load Shadow DOM tests in an iframe, in the interest of keeping hg annotation history.

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

--HG--
extra : moz-landing-system : lando
2018-11-15 06:51:07 +00:00
Andreea Pavel d51566f085 Backed out 2 changesets (bug 1503019) for failing crashtests at dom/base/crashtests/1505811.html on a CLOSED TREE
Backed out changeset 06b12fd41ff1 (bug 1503019)
Backed out changeset 7b845eac9dd7 (bug 1503019)
2018-11-15 01:52:30 +02:00
Timothy Guan-tin Chien c0cc4f74e7 Bug 1503019 - Part I, Remove dom.webcomponents.shadowdom.enabled r=smaug
This patch removes the dom.webcomponents.shadowdom.enabled pref and all its
references, including the following functions:

* nsContentUtils::IsShadowDOMEnabled()
* nsIDocument::IsShadowDOMEnabled()
* nsDocument::IsShadowDOMEnabled(JSContext* aCx, JSObject* aGlobal)
* nsDocument::IsShadowDOMEnabled(const nsINode* aNode)
* nsTextNode::IsShadowDOMEnabled(JSContext* aCx, JSObject* aObject)

This function is renamed and updated to nsDocument::IsCallerChromeOrAddon():

* nsDocument::IsShadowDOMEnabledAndCallerIsChromeOrAddon(JSContext* aCx, JSObject* aObject)

I didn't change the tests that load Shadow DOM tests in an iframe, in the interest of keeping hg annotation history.

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

--HG--
extra : moz-landing-system : lando
2018-11-14 19:34:52 +00:00
Andreea Pavel b1857361c4 Backed out 5 changesets (bug 1506549) for failing devtools at devtools/client/aboutdebugging/test/browser_service_workers_status.js on a CLOSED TREE
Backed out changeset 6be66dea928c (bug 1506549)
Backed out changeset da0d76d0e8fc (bug 1506549)
Backed out changeset 490eeba8f9f7 (bug 1506549)
Backed out changeset 97554f465eca (bug 1506549)
Backed out changeset 4f259de6cce0 (bug 1506549)
2018-11-14 21:46:07 +02:00
Alexandre Poirot 84741845ef Bug 1506549 - Introduce API to listen for new child fronts of a given type. r=yulia
MozReview-Commit-ID: EKWTGhGo0VM

Depends on D11624

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

--HG--
extra : moz-landing-system : lando
2018-11-14 16:20:57 +00:00
Alexandre Poirot 65f24f315e Bug 1506549 - Stop returning the actor from Pool.manage. r=yulia
This was only used by test and isn't much useful.

MozReview-Commit-ID: DeIimVmMOOs

Depends on D11623

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

--HG--
extra : moz-landing-system : lando
2018-11-14 15:48:20 +00:00
Alexandre Poirot c5b46b077f Bug 1506549 - Return target fronts out of RootFront.getProcess and getMainProcess. r=yulia
MozReview-Commit-ID: EGWYEmAkbtr

Depends on D11693

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

--HG--
extra : moz-landing-system : lando
2018-11-14 15:48:16 +00:00
Razvan Caliman bb53752bc3 Bug 1500947 - (Part 3) Update indices of tracked declarations when one is removed; r=pbro
Depends on D11209

We need to take care when deleting a declaration. This means shifting the indexes of declarations which follow it in the CSS rule. To do this, we iterate over all tracked added/removed declarations and make sure to decrement their index if it is larger than the index of the deleted one.

The Rule view and specialized editors do not support inserting declarations at any other position other than at the end of the existing declarations list. For now, it is safe to assume all newly added declarations will not shift any tracked indexes. But we will need to handle this for other use cases, like the Style Editor or manual editing of element style attributes.

MozReview-Commit-ID: InrNbsNsqz6

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

--HG--
extra : moz-landing-system : lando
2018-11-13 09:00:48 +00:00
Razvan Caliman 917e29eaf8 Bug 1500947 - (Part 1) Add position of declaration within its rule to change metadata; r=pbro
Changes the format of the change metadata for add/remove declarations from an object with key/value pairs to an array with objects that contain the declaration's property name, value and index within its parent rule.

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

--HG--
extra : moz-landing-system : lando
2018-11-09 15:21:43 +00:00
Alexandre Poirot fb3dcac40b Bug 1498280 - Introduce RootClient.getMainProcess to fetch ParentProcessTargetActor. r=yulia
MozReview-Commit-ID: E9OiwqDwNk7

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

--HG--
extra : moz-landing-system : lando
2018-11-13 14:07:36 +00:00
Julian Descottes 43222b47dc Bug 1505285 - Restore favicons option for root listTabs;r=ochameau
Differential Revision: https://phabricator.services.mozilla.com/D11161

--HG--
extra : moz-landing-system : lando
2018-11-07 16:44:37 +00:00
Alexandre Poirot 1b95ea3989 Bug 1505175 - Prevent a crash in XPCNativeWrapper call by always passing a non-undefined object. r=yulia
In XPCShell tests, this `console` variable ends up being null and it later triggers an assertion
that makes the test crash in debug builds. We should always pass a defined object to this constructor.

MozReview-Commit-ID: F7QRXD15lH9

Depends on D11154

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

--HG--
extra : moz-landing-system : lando
2018-11-12 09:51:35 +00:00
Alexandre Poirot 17bf9d1472 Bug 1505175 - Cleanup head_dbg.js from unecessary usages of rootForm. r=yulia
MozReview-Commit-ID: 2ZfghtMuAH2

Depends on D11153

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

--HG--
extra : moz-landing-system : lando
2018-11-09 09:38:50 +00:00
Alexandre Poirot 393464d343 Bug 1505175 - Refactor get_parent_process_actors to only create a DebuggerClient. r=yulia
MozReview-Commit-ID: ChcKTEaO80a

Depends on D11152

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

--HG--
extra : moz-landing-system : lando
2018-11-09 09:38:40 +00:00
Vincent R 69f7397803 Bug 1435469 - Replace selectNodeContents by selectNode to compute font faces in font tab. r=pbro 2018-11-07 22:51:00 +01:00
Gurzau Raul ff7bbb9936 Merge mozilla-central to inbound. a=merge CLOSED TREE
--HG--
rename : dom/media/ipc/RemoteVideoDecoder.cpp => dom/media/ipc/GpuDecoderModule.cpp
rename : dom/media/ipc/RemoteVideoDecoder.h => dom/media/ipc/GpuDecoderModule.h
extra : rebase_source : 0503e2d45fffafb1e8dd1ddcd2115af2778a5c66
2018-11-09 07:46:56 +02:00
Brian Hackett 4be9981b8d Bug 1505895 - Add handler for changes to a recording/replaying child's state, r=lsmyth.
--HG--
extra : rebase_source : 5cf996fd6d7dfef4a9fc85d697ad35819809ad96
2018-11-08 10:06:20 -10:00
Alexandre Poirot 8e6a787c3d Bug 1505172 - Remove references to devtools.debugger.forbid-certified-apps preference. r=jdescottes,jryans
MozReview-Commit-ID: JV8MXvIuXaa

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

--HG--
extra : moz-landing-system : lando
2018-11-08 16:46:58 +00:00
yulia 6edfdf2ae9 Bug 1495388 - Simplify Inspector Front destruction; r=ochameau
Depends on D8992

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

--HG--
extra : moz-landing-system : lando
2018-11-07 14:35:42 +00:00
Alexandre Poirot 70c180d3f8 Bug 1503628 - Remove checks against non-remote targets. r=yulia
MozReview-Commit-ID: 5v9HaEUE9E6

Depends on D11011

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

--HG--
extra : moz-landing-system : lando
2018-11-08 10:09:06 +00:00
Daisuke Akatsuka 1610592c49 Bug 1497448: Rename closeAllListener to closeAllSocketListeners. r=ochameau,jdescottes
Depends on D10868

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

--HG--
extra : moz-landing-system : lando
2018-11-07 17:46:05 +00:00
Daisuke Akatsuka 5e8c304c73 Bug 1497448: Rename _addListener/_removeListener of DebuggerServer to addSocketListener/removeSocketListener. r=ochameau,jdescottes
Depends on D10867

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

--HG--
extra : moz-landing-system : lando
2018-11-07 16:56:34 +00:00
Daisuke Akatsuka 56d22dec55 Bug 1497448: Use SocketListener directly. r=ochameau,jdescottes
Depends on D10865

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

--HG--
extra : moz-landing-system : lando
2018-11-08 00:41:18 +00:00
Brian Hackett 651069d959 Bug 1504909 Part 1 - Include current point and endpoint in paused packets, r=lsmyth.
--HG--
extra : rebase_source : 102bbe18778f08b7b03fc7c829809757936241ea
2018-11-06 07:36:20 -10:00
Logan Smyth f338c9527d Bug 1503436 - Only add breakpoints to first/last offset of script if column is directly in script. r=jlast
Differential Revision: https://phabricator.services.mozilla.com/D10384

--HG--
extra : moz-landing-system : lando
2018-11-07 18:52:45 +00:00
Razvan Caliman fc90c63836 Bug 1503896 - (Part 5) Add change type to change metadata and mark whole rules as added/removed; r=pbro
Depends on D10586

Adds a new `type` param to the `change` object passed from server to the client to describe the change type. For changes to rules, the client marks the whole rule as either added or removed and styles it accordingly in the Changes panel.

Change types for declarations are not used at this time, but are put in for consistency and future-proofing.

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

--HG--
extra : moz-landing-system : lando
2018-11-07 10:00:31 +00:00
Razvan Caliman 40321f65d7 Bug 1503896 - (Part 4) Track changes to CSS selectors; r=pbro
Depends on D10585
Renames the logChange() to logDeclarationChange() to distinguish it from the newly introduced logSelectorChange() method which tracks selector rename by logging two changes: a whole rule remove using the old selector and a whole rule insertion add using the new selector.

MozReview-Commit-ID: 9VoVMHYXumE

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

--HG--
extra : moz-landing-system : lando
2018-11-06 21:49:40 +00:00