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

2466 Коммитов

Автор SHA1 Сообщение Дата
Bogdan Tara dee73f16c3 Merge mozilla-central to mozilla-inbound. a=merge CLOSED TREE 2019-02-12 00:01:16 +02:00
Michael Ratcliffe 6bb1561edd Bug 1525484 - React events with undefined handlers can break the markup view r=pbro
Differential Revision: https://phabricator.services.mozilla.com/D19378

--HG--
extra : moz-landing-system : lando
2019-02-11 16:23:55 +00:00
Brian Hackett f933eada32 Bug 1526033 - Remove server side coalescing of HTML document sources, r=lsmyth.
--HG--
extra : rebase_source : 30b3b24f852fa0b0053d6dc2dc7f6bc79d820efc
2019-02-07 11:00:23 -10:00
Brian Hackett 56d2836638 Bug 1524374 - Remove breakpoint actors, r=jlast.
--HG--
extra : rebase_source : 066264dbc1f73f3afb403a9c04f5b5dbd7d53613
2019-02-06 09:18:33 -10:00
Brian Hackett 0a8e970045 Bug 1526558 - Poke background children asynchronously, r=jlast.
--HG--
extra : rebase_source : 357df0a70da447a41b9b0e2c8bf0702571953203
2019-02-09 11:27:35 -10:00
Gabriel Luong 72b068f889 Bug 1526465 - Remove devtools.inspector.flexboxHighlighter.enabled and devtools.flexboxinspector.enabled prefs. r=mtigley
Differential Revision: https://phabricator.services.mozilla.com/D19211
2019-02-08 15:23:14 -05:00
Brian Hackett 2f2cc2e383 Bug 1525685 - Remove server side breakpoint sliding code, r=jlast.
--HG--
extra : histedit_source : 926bce1cf87ccce1d586743b4f538a783dd67def%2C949bf19df412fa09cb750ec9c6ee1253616f75cd
2019-02-08 11:50:55 -10:00
Brindusan Cristian b35a76a700 Backed out changeset 95bfbc0f513d (bug 1525685) for xpcshell failures at test_setBreakpoint-on-line-with-no-offsets.js. 2019-02-08 20:56:34 +02:00
Brian Hackett 45faa3d507 Bug 1525685 - Remove server side breakpoint sliding code, r=jlast.
--HG--
extra : rebase_source : ed6bab4729ec9133b92bbfef8fbd594c53df0b2f
2019-02-07 14:05:12 -10:00
Brian Hackett 2698b171b3 Bug 1525482 - Remove pauseOnDOMEvents logic, r=lsmyth.
--HG--
extra : rebase_source : f38155b0fc6e18a31f0cfb7848ef71042635d793
2019-02-05 15:32:44 -10:00
Razvan Maries e5944cdd0e Merge mozilla-central to autoland. a=merge on a CLOSED TREE 2019-02-07 23:49:13 +02:00
Alexandre Poirot c5e4b01f95 Bug 1520774 - Remove TargetFactory.forRemoteTab. r=yulia
Differential Revision: https://phabricator.services.mozilla.com/D18539

--HG--
extra : moz-landing-system : lando
2019-02-06 16:17:15 +00:00
Michael Ratcliffe 991e8e8313 Bug 1523335 - Make use of parentFlexElement in Flexbox inspector r=pbro
This gives a very noticable increase in speed. When Brad finishes https://bugzil.la/1523336 we can stop walking the DOM and simply use `parentFlexElement` and `parentGridElement`.

#### Try

https://treeherder.mozilla.org/#/jobs?repo=try&revision=47d38f2c7dca6ca764862c8b00921644a974a975&group_state=expanded

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

--HG--
extra : moz-landing-system : lando
2019-02-06 17:35:20 +00:00
Brian Hackett 599d131b45 Bug 1524127 Part 2 - Keep track of minor checkpoints in control logic, r=lsmyth.
--HG--
extra : rebase_source : 79e22b3a26ecb30c976ddd331684ab2adb08eb4d
2019-01-30 15:28:28 -10:00
Brian Hackett dd7560c44b Bug 1524036 - Support calling ReplayDebugger Objects, r=lsmyth.
--HG--
extra : rebase_source : 7df84b32d8b4f11ab3aa6386548b1a1950aeab02
2019-01-30 10:13:19 -10:00
Brian Hackett daa438da17 Bug 1523829 - Support ReplayDebugger.Object proxy accessors, r=lsmyth.
--HG--
extra : rebase_source : 73c1f9cc1faae7e115519a485e12987744d1a1ae
2019-01-29 17:03:29 -10:00
Brian Hackett 766b513a96 Bug 1523755 - Ignore same-compartment debuggee errors in replay.js, r=lsmyth.
--HG--
extra : rebase_source : 347761530915bb5fc5a418980e04441b1e660a33
2019-01-29 11:04:53 -10:00
Daniel Varga 550c39c9a8 Backed out changeset d74e6f8cab1a (bug 1525711) for devtools failure at devtools/client/webconsole/test/fixtures/stub-generators/browser_webconsole_check_stubs_page_error.js on a CLOSED TREE
--HG--
extra : amend_source : e4f5c80b0336a9126326588a8405caeb820c0007
2019-02-07 16:01:09 +02:00
Nicolas B. Pierron 0fbd8146e0 Bug 1525711 - Index MDN page for JSMSG_REDECLARED_VAR errors. r=fscholz 2019-02-07 13:56:15 +01:00
Jason Laster 32016ba41e Bug 1522663 - Stop referencing sourceClient.isBlackboxed. r=loganfsmyth
Differential Revision: https://phabricator.services.mozilla.com/D17549

--HG--
extra : moz-landing-system : lando
2019-02-06 05:04:37 +00:00
Brindusan Cristian b2ca1f33d7 Backed out changeset 89ba5f983e61 (bug 1525238) for dt failures at browser_changes_rule_selector.js and browser_inspector_highlighter-eyedropper-xul.js. 2019-02-06 13:08:39 +02:00
Razvan Caliman ef7e6219b7 Bug 1525238 - Use actorID for tracked rules and stylesheets. r=pbro
Replaces custom generated hashes with the actorIDs which are stable
during the editing session enough to use as unique identifiers.

For future restore / persistence, we still have the metadata about each
rule and stylesheet to attempt to identify them again.

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

--HG--
extra : moz-landing-system : lando
2019-02-06 08:08:57 +00:00
Andrew Swan 84de729f2c Bug 1525445 Part 2: Move users of Extension.generate to ExtensionTestCommon r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D18753

--HG--
extra : rebase_source : 8df66f0ae26dbe126a6bf426532ea3f3ec030f0e
2019-01-03 14:22:44 -08:00
Cosmin Sabou 3a072e9701 Backed out changeset 8a5155bd8809 (bug 1523335) for devtools failures on browser_rules_gridline-names-autocomplete. CLOSED TREE
--HG--
extra : rebase_source : 457608e6d006784e27979af139c905c6b165913b
2019-02-05 20:45:03 +02:00
Michael Ratcliffe 55b170fc51 Bug 1523335 - Make use of parentFlexElement in Flexbox inspector r=pbro
This gives a very noticable increase in speed. When Brad finishes https://bugzil.la/1523336 we can stop walking the DOM and simply use `parentFlexElement` and `parentGridElement`.

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

--HG--
extra : moz-landing-system : lando
2019-02-05 16:53:22 +00:00
Gijs Kruitbosch 4d35eb314d Bug 1523020 - QI docshells to nsIWebNavigation when trying to access their .document property, r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D18675

--HG--
extra : moz-landing-system : lando
2019-02-05 16:23:33 +00:00
Michael Ratcliffe 7dce60ec8b Bug 1524097 - Devtools Inspector doesn't show any nodes (besides `<html>`) for LinkedIn pages r=rcaliman
I would have thought that the anonymous node fix would also have fixed this but we have had to manually add the before and after pseudo elements.

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

--HG--
extra : moz-landing-system : lando
2019-02-04 16:57:10 +00:00
Alexandre Poirot ef1c99b06e Bug 1465635 - Remove Target.activeTab property. r=yulia
Depends on D15831

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

--HG--
extra : moz-landing-system : lando
2019-02-02 11:24:24 +00:00
Alexandre Poirot dddc73fb49 Bug 1465635 - Merge all target fronts with Target class. r=yulia,jdescottes
This patch makes it so that all target fronts inherits from a Target class mixin.
We are using a mixin as fronts should inherit from a custom Front class,
which is augmented with its own RDP request and events defined in its spec.
(This is done via FrontClassWithSpec(spec))

Depends on D15830

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

--HG--
extra : moz-landing-system : lando
2019-02-02 11:24:32 +00:00
Michael Ratcliffe ed1053338d Bug 1522809 - Nodes with `name="attributes"` break the markup view r=rcaliman
This is another very specific issue.

If you have `<img name="attributes"/>` in the dom then `document.attributes` will return the `<img>` tag.

In the source we bail if `!this.rawNode.attributes` but if we are on the document node this returns the image tag. Because the image tag is not a `NamedNodeMap` trying to iterate over the tag throws the error.

There is a test file [here](https://bugzilla.mozilla.org/attachment.cgi?id=9040577).

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

--HG--
extra : moz-landing-system : lando
2019-02-01 14:03:44 +00:00
Alexandre Poirot a1caccaabe Bug 1523943 - Cache SourceActor.url. r=jlast
Depends on D18244

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

--HG--
extra : moz-landing-system : lando
2019-01-31 18:30:17 +00:00
Alexandre Poirot b44981a1ea Bug 1523942 - Remove unused addonID/addonPath from SourceActor. r=jlast
Differential Revision: https://phabricator.services.mozilla.com/D18244

--HG--
extra : moz-landing-system : lando
2019-01-31 17:10:22 +00:00
shindli d6dd350c66 Merge inbound to mozilla-central. a=merge 2019-02-01 05:56:53 +02:00
Sebastian Hengst 59f46565b6 Bug 1524369 - Update moz..build files to use the new Inspector Bugzilla components r=gl
The components got renamed or added in bug 1523779.

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

--HG--
extra : moz-landing-system : lando
2019-01-31 19:31:40 +00:00
Michael Ratcliffe 26180c13f0 Bug 1524005 - Inspect Element throwing on Anonymous nodes and content missing from Markup view r=rcaliman
Differential Revision: https://phabricator.services.mozilla.com/D18106

--HG--
extra : moz-landing-system : lando
2019-01-31 13:00:34 +00:00
Brian Hackett 96d60971db Bug 1520972 - Handle log points in the devtools server, r=jlast.
--HG--
extra : rebase_source : cbff40bc197b6a7cac66bd4698e0059860662a2c
2019-01-17 16:04:17 -10:00
Brian Hackett 3c8ef4c0ea Bug 1520993 - Remove debuggerSourceActors trait, r=jlast.
--HG--
extra : rebase_source : cce3ad5e1bf2765cc8c5a695c02f8100cf5cb3c3
2019-01-17 10:07:48 -10:00
Brian Hackett 460678139f Bug 990137 - Remove obsolete handling code for client side conditional breakpoints, r=jlast.
--HG--
extra : rebase_source : 41c8016979e088534e3e4bdea1d7af91ed6ace87
2019-01-17 08:36:37 -10:00
Alexandre Poirot 55998ceb7a Bug 1515290 - Prevent ParentProcessTargetActor.detach from failing with 'wrongState' error. r=jdescottes
BrowsingContextTargetActor, which is calling `_detach` expects it to return `true`
if everything worked as expected. But the overloaded method in ParentProcessTargetActor
was always returning `undefined`.

Depends on D14957

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

--HG--
extra : moz-landing-system : lando
2019-01-30 08:04:59 +00:00
Alexandre Poirot fc5fb970e7 Bug 1515290 - Instantiate DebuggerServer in dedicated loader when debugging chrome tabs. r=yulia,jdescottes
When debugging contexts running from the system compartment, the debugger has
to be loaded in a dedicated Loader, with invisibleToDebugger flag turned on.
This ensures that the Debugger API is going to be used from a distinct system
compartment. Otherwise it may be used from the same compartment than the page
we are debugging.

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

--HG--
extra : moz-landing-system : lando
2019-01-30 08:04:50 +00:00
Brian Grinstead b7ba45940c Bug 1522921 - Set the devtools chrome debugging prefs to true by default in mochitests and wpt r=ahal,miker
Differential Revision: https://phabricator.services.mozilla.com/D17671

--HG--
extra : moz-landing-system : lando
2019-01-30 03:25:17 +00:00
Michael Ratcliffe 54775deef8 Bug 1522404 - Refactor devtools/server/actors/inspector/event-parsers.js to use ES6 classes r=ochameau
Differential Revision: https://phabricator.services.mozilla.com/D17651

--HG--
rename : devtools/server/actors/inspector/event-parsers.js => devtools/server/actors/inspector/event-collector.js
extra : moz-landing-system : lando
2019-01-29 17:30:57 +00:00
Cosmin Sabou 599a15d354 Merge mozilla-inbound to mozilla-central. a=merge 2019-01-29 12:01:56 +02:00
Sebastian Hengst 725402f21f Merge mozilla-central to autoland. CLOSED TREE 2019-01-29 02:05:49 +02:00
Alexandre Poirot a0066e8731 Bug 1515862 - Remove Front's form argument. r=jdescottes
Now that form argument is no longer used by any front to set its actor ID,
we can remove this argument.

Have a particular look at:
* devtools/client/shared/test/test-actor-registry.js
which was the last Front to be manually instantiated and need some tweaks,
* canvas head.js to create canvas front via getFront,
* RDM manager.js, which requires the EmulationFront to be self managed.

Depends on D17615

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

--HG--
extra : moz-landing-system : lando
2019-01-28 18:42:52 +00:00
Alexandre Poirot 4199139118 Bug 1515862 - Remove detail feature from protocol.js. r=jdescottes
This feature is only used by node and domrulestyle actors and that, only for actor ID.
Instead of this, support this "pass only actor ID rather than full form" feature
in a more dedicated way.

We might followup on that to clarify/simplify doing this: passing only the actor ID
rather than its full form.

Depends on D17613

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

--HG--
extra : moz-landing-system : lando
2019-01-28 18:42:46 +00:00
Alexandre Poirot d028804ade Bug 1515862 - Remove unecessary usages of actorid checks in actor and front's form method. r=jdescottes
Remove all actorid checks in actors and fronts as we never pass a defined `detail` argument in them.
Only domstylerule and node are using detail and that, always with detail="actorid".
Also remove ctx and detail in Front constructor as that's not used by these two actors.

Depends on D17612

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

--HG--
extra : moz-landing-system : lando
2019-01-28 18:42:39 +00:00
Alexandre Poirot 385ac7de96 Bug 1515862 - Remove protocol.js's formType. r=jdescottes
None of our actor define a `formType` in its specification.
This feature has never been used, so remove it and its test.

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

--HG--
extra : moz-landing-system : lando
2019-01-28 18:42:33 +00:00
Timothy Guan-tin Chien c013639646 Bug 1507895 - Part V, Remove dom.ua_widget.enabled pref r=smaug
With all the dependency removed this pref can be safely removed.

Depends on D17574

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

--HG--
extra : moz-landing-system : lando
2019-01-28 18:33:25 +00:00
Gabriel Luong dc2738771b Bug 1523171 - Remove the authoredStyles trait. r=pbro 2019-01-28 09:25:39 -05:00