Commit Graph

2758 Commits

Author SHA1 Message Date
Daniel Varga
1380d5ef8d Backed out 4 changesets (bug 1524276) for mochitest-devtools failure at devtools/client/webconsole/test/fixtures/stub-generators/browser_webconsole_check_stubs_console_api.js. On a CLOSED TREE
Backed out changeset 47363a80ef6d (bug 1524276)
Backed out changeset 1fee0c357772 (bug 1524276)
Backed out changeset 8bbe3e4f5a54 (bug 1524276)
Backed out changeset d21159afd969 (bug 1524276)
2019-03-29 13:47:46 +02:00
Patrick Brosset
bcfd6cd961 Bug 1409085 - Tell RDM when picking to stop simulating touch; r=mtigley,gl
Differential Revision: https://phabricator.services.mozilla.com/D25231

--HG--
extra : moz-landing-system : lando
2019-03-29 09:47:35 +00:00
Nicolas Chevobbe
6685c3a7a7 Bug 1524276 - Expose category and innerWindowID properties in ConsoleMessage. r=bgrins.
This will be used to group similar messages together.
Stubs are updated.

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

--HG--
extra : moz-landing-system : lando
2019-03-29 08:03:15 +00:00
Yura Zenevich
5d401f1d28 Bug 1538306 - ensure highlighter bounds overlay does not interfere with the accessible audit. r=pbro
Differential Revision: https://phabricator.services.mozilla.com/D24546

--HG--
extra : moz-landing-system : lando
2019-03-26 13:33:37 +00:00
Yura Zenevich
3d4f6877ca Bug 1538306 - ensure that only one audit can run at a given time for an Accessible actor. r=pbro
Differential Revision: https://phabricator.services.mozilla.com/D24545

--HG--
extra : moz-landing-system : lando
2019-03-26 13:33:29 +00:00
Michael Ratcliffe
639bed7bb2 Bug 1509620 - Computed style inspector CSS cascade calculation is wrong r=ladybenko
### Try

https://treeherder.mozilla.org/#/jobs?repo=try&revision=f1bad5e5282812225da95c0ea9e2ef173640b5da

### Summary

!!Comparing numerous complex websites such as github, facebook, cnn etc. the cascade now matchers that of Chrome so we are in a much better place.!!

According to https://www.w3.org/TR/css-cascade-3/#cascading (which platform follows now) and https://www.w3.org/TR/css-cascade-4/#cascading we should now be doing this (descending order):

  - Transition declarations
  - User-Agent & !important
  - User & !important
  - Author & !important
  - CSS Animations, @keyframes
  - Author, normal weight
  - User, normal weight
  - User-Agent, normal weight
  - specificity
  - Sheet Index
  - Rule Line
  - Rule Column

We are only dealing with CSS selectors here so we can safely drop Transition declarations and CSS Animations because their presence here is irrelevant when it comes to the CSS cascade information we display in the computed view.

This leaves us with:

  - User-Agent & !important
  - User & !important
  - Author & !important
  - Author, normal weight
  - User, normal weight
  - User-Agent, normal weight
  - specificity
  - Sheet Index
  - Rule Line
  - Rule Column

### Changes

- References to content stylesheets have been changed to author stylesheet to closely match the technical terms author, user and agent stylesheets.
- Simplified and modernized a bunch of for loops to make the code easier to understand.
- Previous to these changes all matching parent rules were classed as equal e.g. color on the body tag was equal to color on a node's immediate container. We now use the `distance` variable to tell how close a rule is to the current node. This is the highest qualifier in our cascade calculation.
- The `_agentSheet`, `_authorSheet` and `_userSheet` properties are now used to obtain a sheets origin.
- `elementStyle` was renamed to `inlineStyle` in order to correctly identify the rule's origin.
- We used to sort the matchedSelectors to move rules with `STATUS.MATCHED` above `STATUS.PARENT_MATCH` but this is unnecessary now that we have the `distance` property so we no longer do this.
- The `compareTo()` method has been updated to match https://www.w3.org/TR/css-cascade-3/#cascading (which platform follows now) and https://www.w3.org/TR/css-cascade-4/#cascading. It has also been simplified and made far less prone to error.

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

--HG--
extra : moz-landing-system : lando
2019-03-25 16:32:19 +00:00
arthur.iakab
35c8a01713 Merge mozilla-central to autoland 2019-03-25 17:54:29 +02:00
Nicolas Chevobbe
c0f87f9ae6 Bug 1527867 - Add support for BigInt in devtools; r=davidwalsh.
We add a new `BigInt` grip type that can be consumed by reps.
A few test cases are added to ensure this works as expected.

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

--HG--
extra : moz-landing-system : lando
2019-03-25 14:33:30 +00:00
sakshaat
d781937a67 Bug 1517483 - Get rid of nsIScriptSecurityManager::IsSystemPrincipal r=bzbarsky
Replaced instances of callers in both C++ and JS files to query the state from the principal directly.

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

--HG--
extra : moz-landing-system : lando
2019-03-24 20:36:25 +00:00
shindli
b3ac60ff06 Merge inbound to mozilla-central. a=merge 2019-03-23 11:47:34 +02:00
Brian Hackett
1bc179f724 Bug 1536618 Part 2 - Tolerate sources from any debugger in getOrCreateSourceActor, r=loganfsmyth.
--HG--
extra : rebase_source : cc2a3155162c4bdc87fcbb91b3bc6bcedf38bd46
2019-03-22 12:08:19 -06:00
Julian Descottes
fda43987c4 Bug 1537877 - Update getDocumentWalker to fallback to non-anonymous walker;r=pbro
Except for rawParentNode, all consumers of getDocumentWalker should be ok with this fallback.

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

--HG--
extra : moz-landing-system : lando
2019-03-22 19:43:08 +00:00
Logan Smyth
a729ffce8f Bug 1536201 - Avoid calling findScripts() in a loop. r=jlast
Differential Revision: https://phabricator.services.mozilla.com/D24365

--HG--
extra : moz-landing-system : lando
2019-03-21 15:45:24 +00:00
Oana Pop Rus
b01d230f27 Merge mozilla-central to inbound. a=merge CLOSED TREE 2019-03-25 12:04:50 +02:00
Mats Palmgren
ff5ea5f6ab Bug 205202 part 2 - [css-lists][css-pseudo] Add support for the ::marker pseudo element on list items. Test updates. r=emilio 2019-03-24 23:13:53 +01:00
Mats Palmgren
f46136021c Bug 288704 part 1 - [css-lists] Add an inherited internal UA sheet property (-moz-list-reversed:true|false) to propagate <ol reversed> to its relevant decendants. r=emilio 2019-03-24 23:13:52 +01:00
Mats Palmgren
426b73e37a Bug 1518201 - [css-lists] Implement the counter-set property. r=emilio 2019-03-24 23:13:52 +01:00
Patrick Brosset
dff1494aa0 Bug 1536834 - Remove leftover csscoverage code; r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D24191

--HG--
extra : moz-landing-system : lando
2019-03-20 16:06:59 +00:00
Michael Ratcliffe
eecca073ec Bug 1521151 - Make Flexbox Inspector canvas take zoom into account when scrolling r=gl
The Flexbox Inspector uses platform APIs that don't take zoom into account whilst the Grid Inspector uses APIs that do take zoom into account.

This means that the zoom calculations when repositioning the canvas need to be different when called from the Flexbox Inspector than when called from the grid inspector.

I have added a `zoomWindow` option to `canvas.js::updateCanvasElement()` that allows us to optionally apply zoom to the current canvas position and the flexbox issue reported in the bug now works just fine.

All the usual other test cases work just fine with this patch applied.

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

--HG--
extra : moz-landing-system : lando
2019-03-19 15:33:43 +00:00
Michael Ratcliffe
34a753db67 Bug 1536096 - Unship the combined flexbox highlighter r=gl
### Try

https://treeherder.mozilla.org/#/jobs?repo=try&revision=2aaa84ba4f14dec2cf05b9fabb6ef1c334053897

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

--HG--
extra : moz-landing-system : lando
2019-03-19 03:36:09 +00:00
Emilio Cobos Álvarez
09763b1ac3 Bug 1533201 - Make cssPropertySupportsType take an enum. r=heycam,rcaliman
Differential Revision: https://phabricator.services.mozilla.com/D22427

--HG--
extra : moz-landing-system : lando
2019-03-18 16:38:48 +00:00
Michael Ratcliffe
cffcfc6b1c Bug 1535661 - Fix CORS issues in Markup Panel r=pbro
One change is in `node.js::isScrollable()` so I decided to assign this to you for review. Feel free to re-assign as you feel appropriate if you don't have time.

### Try

https://treeherder.mozilla.org/#/jobs?repo=try&revision=2e2f20af3f902ea65436bcfd288b3e075d6508f8

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

--HG--
extra : moz-landing-system : lando
2019-03-18 09:22:50 +00:00
Andrea Marchesini
5bb6c49ba8 Bug 1535799 - nsIHttpChannel.isTrackingResource should be a method, r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D23765

--HG--
extra : moz-landing-system : lando
2019-03-17 06:55:50 +00:00
Jason Laster
1f0f446316 Bug 1532309 - Log points should show multiple values. r=bhackett
Differential Revision: https://phabricator.services.mozilla.com/D23313

--HG--
extra : moz-landing-system : lando
2019-03-15 20:31:37 +00:00
yulia
994e78fd2f Bug 1532567 - remove unused eval method from threadClient and threadActor; r=bhackett
Differential Revision: https://phabricator.services.mozilla.com/D21700

--HG--
extra : moz-landing-system : lando
2019-03-12 15:03:47 +00:00
yulia
d8f0e4a4eb Bug 1528296 - remove unused function call r=vporof
Differential Revision: https://phabricator.services.mozilla.com/D22497

--HG--
extra : moz-landing-system : lando
2019-03-13 16:52:10 +00:00
yulia
d849fb1a59 Bug 1528296 - remove call watcher (and references to removed panels in the debugger including the r=vporof
gcli);

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

--HG--
extra : moz-landing-system : lando
2019-03-13 16:52:01 +00:00
yulia
58c5e6cec7 Bug 1403944 - Remove Web Audio Editor actor and spec; r=vporof
Differential Revision: https://phabricator.services.mozilla.com/D19528

--HG--
extra : moz-landing-system : lando
2019-03-13 16:49:15 +00:00
yulia
12c5ac3425 Bug 1342237 - remove Shader Editor Actor and Front; r=vporof
Depends on D14732

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

--HG--
extra : moz-landing-system : lando
2019-03-13 16:47:48 +00:00
yulia
83e3a56687 Bug 1403938 - remove Canvas Debugger actor from the server; r=vporof
Depends on D14730

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

--HG--
extra : moz-landing-system : lando
2019-03-13 16:46:42 +00:00
Dhruvi Butti
2c074bae46 Bug 1164195 - Add a resultType param to $x console helper. r=nchevobbe.
This makes it possible to pass a third parameter which is a XPathResult constant.
Test cases are added to ensure this works as expected.

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

--HG--
extra : moz-landing-system : lando
2019-03-13 13:16:15 +00:00
Brindusan Cristian
d6ae112e84 Backed out changeset 52e8296f4d36 (bug 1164195) as requested by nchevobbe for missing the reviewer information. 2019-03-13 09:49:45 +02:00
Dhruvi Butti
cca262c961 Bug 1164195 - Add a resultType param to $x console helper. .
This makes it possible to pass a third parameter which is a XPathResult constant.
Test cases are added to ensure this works as expected.

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

--HG--
extra : moz-landing-system : lando
2019-03-13 06:39:50 +00:00
Jason Laster
d11dedc8c5 Bug 1532791 - Breaking on exception even if option is off. r=davidwalsh
Differential Revision: https://phabricator.services.mozilla.com/D22186

--HG--
extra : moz-landing-system : lando
2019-03-12 19:01:40 +00:00
Ciure Andrei
1cea309572 Backed out changeset e2316f37b988 (bug 1532791)for perma failing test_blackboxing-05.js, test_pause_exceptions-01.js CLOSED TREE 2019-03-12 19:45:39 +02:00
Ciure Andrei
9f4ebc07f7 Backed out 13 changesets (bug 1342237, bug 1403944, bug 1403938, bug 1528296) for subsuite gpu failures CLOSED TREE
Backed out changeset eee6b5f77d67 (bug 1528296)
Backed out changeset 285c56c29146 (bug 1528296)
Backed out changeset 47fff0f9b424 (bug 1528296)
Backed out changeset cebff9f6f811 (bug 1528296)
Backed out changeset 78be67cfabe8 (bug 1528296)
Backed out changeset 3e055733ee57 (bug 1528296)
Backed out changeset 2d321819c273 (bug 1528296)
Backed out changeset c8fcdc7c2e0b (bug 1403944)
Backed out changeset f1003c2742c2 (bug 1403944)
Backed out changeset 06a583daf142 (bug 1342237)
Backed out changeset f75b89bf0aa4 (bug 1342237)
Backed out changeset 90579bc6554c (bug 1403938)
Backed out changeset 488d49d434f8 (bug 1403938)
2019-03-12 18:57:01 +02:00
Jason Laster
34482fc99e Bug 1532791 - Breaking on exception even if option is off. r=davidwalsh
Differential Revision: https://phabricator.services.mozilla.com/D22186

--HG--
extra : moz-landing-system : lando
2019-03-12 15:41:39 +00:00
yulia
408d434de2 Bug 1529247 - remove unused releaseMany method from thread client and actor; r=ochameau
There is one spot I am unsure about, and that is the test:
devtools/server/tests/unit/test_threadlifetime-06.js -- should this be kept or do we want to remove
it as well?

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

--HG--
extra : moz-landing-system : lando
2019-03-12 14:06:35 +00:00
yulia
1ce2d19ed1 Bug 1528296 - remove unused function call r=vporof
Differential Revision: https://phabricator.services.mozilla.com/D22497

--HG--
extra : moz-landing-system : lando
2019-03-12 15:00:29 +00:00
yulia
53608b8df3 Bug 1528296 - remove call watcher (and references to removed panels in the debugger including the r=vporof
gcli);

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

--HG--
extra : moz-landing-system : lando
2019-03-12 14:56:35 +00:00
yulia
fe4252e6e1 Bug 1403944 - Remove Web Audio Editor actor and spec; r=vporof
Differential Revision: https://phabricator.services.mozilla.com/D19528

--HG--
extra : moz-landing-system : lando
2019-03-12 14:52:33 +00:00
yulia
ade28a1f24 Bug 1342237 - remove Shader Editor Actor and Front; r=vporof
Depends on D14732

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

--HG--
extra : moz-landing-system : lando
2019-03-12 14:49:53 +00:00
yulia
0d4cd33f2f Bug 1403938 - remove Canvas Debugger actor from the server; r=vporof
Depends on D14730

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

--HG--
extra : moz-landing-system : lando
2019-03-12 14:47:07 +00:00
Edwin Gao
ab75e0557e Bug 1533184 - disable various files inside devtools/client/accessibility/test/ and devtools/server/tests/browser/ r=jmaher
- browser_accessibility_context_menu_browser.js
- browser_accessibility_highlighter_infobar.js
- browser_accessibility_node.js
- browser_accessibility_node_events.js
- browser_accessibility_simple.js

Depends on D22593

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

--HG--
extra : moz-landing-system : lando
2019-03-07 21:20:48 +00:00
Edwin Gao
efc0cfcee0 Bug 1533487 - disable devtools/server/tests/browser/browser_accessibility_walker.js r=jmaher
Depends on D22589

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

--HG--
extra : moz-landing-system : lando
2019-03-07 21:18:33 +00:00
arthur.iakab
85ad02d41a Merge inbound to mozilla-central a=merge 2019-03-07 23:58:42 +02:00
Jason Laster
17ca504ef6 Bug 1533160 - Clean up dumpThread. r=loganfsmyth
Differential Revision: https://phabricator.services.mozilla.com/D22399

--HG--
extra : moz-landing-system : lando
2019-03-07 13:40:19 +00:00
Emilio Cobos Álvarez
0b5807bc62 Bug 1215878 - Implement CSS revert keyword. r=heycam,birtles
The only fishy bit is the animation stuff. In particular, there are two places
where we just mint the revert behavior:

 * When serializing web-animations keyframes (the custom properties stuff in
   declaration_block.rs). That codepath is already not sound and I wanted to
   get rid of it in bug 1501530, but what do I know.

 * When getting an animation value from a property declaration. At that point
   we no longer have the CSS rules that apply to the element to compute the
   right revert value handy. It'd also use the wrong style anyway, I think,
   given the way StyleBuilder::for_animation works.

   We _could_ probably get them out of somewhere, but it seems like a whole lot
   of code reinventing the wheel which is probably not useful, and that Blink
   and WebKit just cannot implement either since they don't have a rule tree,
   so it just doesn't seem worth the churn.

The custom properties code looks a bit different in order to minimize hash
lookups in the common case. FWIW, `revert` for custom properties doesn't seem
very useful either, but oh well.

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

--HG--
extra : moz-landing-system : lando
2019-03-07 11:59:36 +00:00
Dorel Luca
25265b82d1 Backed out changeset 238d9fba1b5a (bug 1533160) for Debugger failures 2019-03-07 05:56:24 +02:00
Jason Laster
c2596e8439 Bug 1533160 - Clean up dumpThread. r=loganfsmyth
Differential Revision: https://phabricator.services.mozilla.com/D22399

--HG--
extra : moz-landing-system : lando
2019-03-07 03:01:30 +00:00
ravefalcon92
1944262d43 Bug 1530423 - Ensure breakpoints are added to newly-cloned JSScripts for existing sources. r=loganfsmyth
Similar to bug 1528654, we currently bail out too early and don't process all of the correct scripts when adding breakpoints.

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

--HG--
extra : moz-landing-system : lando
2019-03-07 01:01:05 +00:00
Nicolas Chevobbe
75a87e1bab Bug 717611 - Clear ConsoleService cached messages in webconsole actor's clearMessagesCache; r=Honza.
We were clearing the ConsoleAPI messages, but not the one
issued by the ConsoleService. A previous patch added
Services.console.resetWindow, so we can use it in `clearMessagesCache`.

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

--HG--
extra : moz-landing-system : lando
2019-03-06 13:40:47 +00:00
shindli
b27cb46fce Merge mozilla-central to inbound. a=merge CLOSED TREE 2019-03-06 06:58:43 +02:00
Jason Laster
5b509d2a2c Bug 1532779 - Add a helper for dumping the current state of the thread actor. r=loganfsmyth
Differential Revision: https://phabricator.services.mozilla.com/D22178

--HG--
extra : moz-landing-system : lando
2019-03-05 21:48:58 +00:00
Alexandre Poirot
e81a254114 Bug 1532237 - Use a Debugger loaded in a distinct compartment when debugging chrome in the event collector codebase. r=miker
Now that the server is by default loaded in the shared system compartment,
we have to special cases the code debugging system compartments.
When devtools.chrome.enabled is turned on, the event collector is
inspecting the system compartment's event listener.
In this case, we are using a special Debugger instance loaded in
a sandbox flagged with invisibleToDebugger=true. This forces loading it
in a distinct compartment and helps the debugger know about the boundaries
between debugger and debuggee code.
It should be safe to only load the Debugger and not the whole server here
as event collector is only inspecting and doesn't register any callback on
the Debugger API.

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

--HG--
extra : moz-landing-system : lando
2019-03-05 14:58:05 +00:00
Felipe Gomes
7a9810f6b4 Bug 827976 - Use a different method to detect if xpcshell tests are running. r=ochameau
Differential Revision: https://phabricator.services.mozilla.com/D21078

--HG--
extra : moz-landing-system : lando
2019-03-04 18:52:53 +00:00
yulia
6f475afa31 Bug 1529247 - remove unused eventlisteners method; r=ochameau
Differential Revision: https://phabricator.services.mozilla.com/D21703

--HG--
extra : moz-landing-system : lando
2019-03-05 10:42:20 +00:00
Brian Hackett
da5ea03e75 Bug 1530133 Part 3 - Support conditional logpoints when replaying, r=lsmyth.
--HG--
extra : rebase_source : 89eb161655913929e7e0746cb3e8195ba44515de
2019-02-23 16:19:42 -10:00
Brian Hackett
8c5b6ad7e9 Bug 1530133 Part 1 - Debugger changes for removing obsolete log points, r=lsmyth.
--HG--
extra : rebase_source : 431488d0ee5bed6795b72649382eecd6e35e095f
2019-02-23 16:18:57 -10:00
Brian Hackett
cffc603b55 Bug 1532362 - Lookup sources by actor URL instead of source URL, r=lsmyth. 2019-03-07 06:41:25 -10:00
Razvan Maries
a8ef3b94b0 Backed out changeset a52dffe6d7be (bug 1532362) for perma fails on devtools/client/debugger/new/test/mochitest/browser_dbg-sourceURL-breakpoint.js. CLOSED TREE 2019-03-07 17:33:50 +02:00
Brian Hackett
10b02eb394 Bug 1530699 - Apply breakpoints to all discovered sources, r=loganfsmyth.
--HG--
extra : rebase_source : 24bf939c56df08dfbf9f7bad37d06f96ae9118f8
2019-03-05 15:56:00 -10:00
Brian Hackett
2c77f72e39 Bug 1532362 - Lookup sources by actor URL instead of source URL, r=lsmyth.
--HG--
extra : rebase_source : ed338e0539445ee5ec0bc34c92b0a150e69634ce
2019-03-04 10:03:20 -10:00
Brian Hackett
194035443a Bug 1531826 Part 3 - Convert source IDs in console message stack traces, r=lsmyth.
--HG--
extra : rebase_source : ab3baebb3d16d2d467cc1a574e27a0ea62fae2bb
2019-03-04 06:41:37 -10:00
Brian Hackett
7bdab9da0c Bug 1531826 Part 1 - View event handler sources by ID, r=ochameau.
--HG--
extra : rebase_source : 372a529e62b35c985ec8c1bc49ca33e2003fe3a4
2019-03-04 05:45:19 -10:00
Nicolas B. Pierron
d348fe8fc5 Bug 1525711 - Index MDN page for JSMSG_REDECLARED_VAR errors. r=fscholz 2019-03-07 11:50:03 +01:00
Daisuke Akatsuka
d37327cfb2 Bug 1520745: Remove unused getAllAnimations function. r=pbro
Differential Revision: https://phabricator.services.mozilla.com/D21640

--HG--
extra : moz-landing-system : lando
2019-03-04 08:47:47 +00:00
Brian Hackett
448cf790fe Bug 1522244 - Fix previewing in worker threads for several builtin classes, r=lsmyth. 2019-03-03 07:05:07 -10:00
Cosmin Sabou
a706bb3916 Backed out 16 changesets (bug 827976) for causing bug 1532054. a=backout
Backed out changeset 54c0b12443ed (bug 827976)
Backed out changeset 92b45080d080 (bug 827976)
Backed out changeset 443087a359f9 (bug 827976)
Backed out changeset f976c2d4cebb (bug 827976)
Backed out changeset 66cffb171024 (bug 827976)
Backed out changeset 845e1d0b2402 (bug 827976)
Backed out changeset fd94066a1d76 (bug 827976)
Backed out changeset e253b264e7bd (bug 827976)
Backed out changeset 07ef335770a8 (bug 827976)
Backed out changeset 9d3805d77b99 (bug 827976)
Backed out changeset eed600ceb606 (bug 827976)
Backed out changeset 3b64368cff52 (bug 827976)
Backed out changeset 69d0378e0c09 (bug 827976)
Backed out changeset 9203871a5c6f (bug 827976)
Backed out changeset 96a507c818e2 (bug 827976)
Backed out changeset e254496ff95b (bug 827976)
2019-03-02 20:40:01 +02:00
Razvan Maries
c51046f730 Merge mozilla-inbound to mozilla-central a=merge 2019-03-02 11:41:18 +02:00
Dorel Luca
5d73bddbc6 Merge mozilla-central to autoland 2019-03-02 01:23:22 +02:00
Daniel Varga
74f08acf9b Backed out changeset 4047bcadec73 (bug 1522244) for mochitest failure at devtools/client/debugger/new/test/mochitest/browser_dbg-worker-scopes.js a=backout
--HG--
extra : rebase_source : 3ad963907a2364fa351e67b957f49d3d754e5efb
2019-03-02 00:01:01 +02:00
Dorel Luca
0284221047 Merge mozilla-central to mozilla-inbound 2019-03-02 01:26:01 +02:00
Felipe Gomes
07bc0f448c Bug 827976 - Use a different method to detect if xpcshell tests are running. r=ochameau
Differential Revision: https://phabricator.services.mozilla.com/D21078

--HG--
extra : moz-landing-system : lando
2019-03-01 21:06:53 +00:00
Logan Smyth
6a327e3d2b Bug 1531874 - Add a no-op event-breakpoint API. r=jlast
Differential Revision: https://phabricator.services.mozilla.com/D21764

--HG--
extra : moz-landing-system : lando
2019-03-01 19:47:25 +00:00
yulia
beb91522fe Bug 1529247 - clean up frames methods on thread client; r=ochameau
Differential Revision: https://phabricator.services.mozilla.com/D20834

--HG--
extra : moz-landing-system : lando
2019-03-01 15:26:18 +00:00
Brian Hackett
59b0afdf35 Bug 1526557 - Specify correct source location in logpoint messages, r=lsmyth.
--HG--
extra : rebase_source : 80e4880695f4fb1516946dc70e87b0949d89402f
2019-02-28 06:25:10 -10:00
Brian Hackett
75c921ea5c Bug 1522244 - Fix previewing in worker threads for several builtin classes, r=lsmyth.
--HG--
extra : rebase_source : cdd1d02a69a17709aff17ac2d6d13f6f0039d5bb
2019-02-28 06:24:46 -10:00
Brian Hackett
fb693b63d4 Bug 1523262 Part 1 - Inform worker we are observing wasm when attaching, r=lsmyth.
--HG--
extra : rebase_source : f3e07b3a5ecfa05d172871304dd9297b81b3f422
2019-02-21 17:25:14 -10:00
Cosmin Sabou
00f3836a87 Merge mozilla-inbound to mozilla-central. a=merge 2019-02-28 12:57:50 +02:00
Jonathan Kingston
f6680698bd Bug 1525319 - Removing context from OnDataAvailable r=valentin
Differential Revision: https://phabricator.services.mozilla.com/D20881

--HG--
extra : moz-landing-system : lando
2019-02-27 23:42:27 +00:00
Julian Descottes
4615ed9f9b Bug 1528276 - Add test for DebuggerServer.keepAlive;r=ochameau
Depends on D20830

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

--HG--
extra : moz-landing-system : lando
2019-02-27 17:08:43 +00:00
Julian Descottes
235dde6c92 Bug 1528276 - Do not destroy the DebuggerServer in non-e10s when last frame connection is closed r=ochameau
When reviewing https://bugzilla.mozilla.org/show_bug.cgi?id=1521052 I did not think about Firefox for Android which is not using e10s.
This means the main DebuggerServer will be killed when there are no connections left. Happy to discuss more about the preferred solution.
This is a regression in 66 and I hope to uplift a fix for this.

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

--HG--
extra : moz-landing-system : lando
2019-02-27 19:17:37 +00:00
Logan Smyth
2cfdeb0deb Bug 1530549 - Ensure that _clearSteppingHooks() runs _after_ we pause. r=jlast
Differential Revision: https://phabricator.services.mozilla.com/D21384

--HG--
extra : moz-landing-system : lando
2019-02-27 17:37:31 +00:00
Razvan Caliman
294be58640 Bug 1530972 - Remove obsolete modifySelctor2 method from StyleRule actor, front and spec. r=gl
Differential Revision: https://phabricator.services.mozilla.com/D21342

--HG--
extra : moz-landing-system : lando
2019-02-27 15:33:33 +00:00
Alexandre Poirot
252ea7758f Bug 1520835 - Remove unused attachTarget methods. r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D20704

--HG--
extra : moz-landing-system : lando
2019-02-22 18:32:52 +00:00
Andreea Pavel
3f0c70001c Backed out 2 changesets (bug 1526557, bug 1522244) for failing xpcshell at test_framebindings-02.js on a CLOSED TREE
Backed out changeset 67bef7d63d86 (bug 1526557)
Backed out changeset 09f23a363606 (bug 1522244)
2019-02-28 03:27:12 +02:00
Brian Hackett
34cf4f38cd Bug 1526557 - Specify correct source location in logpoint messages, r=lsmyth.
--HG--
extra : rebase_source : 9618e98ff2b9b61e39bcaa06e239c56f055d4921
2019-02-26 17:11:52 -10:00
Brian Hackett
337b884850 Bug 1522244 - Fix previewing in worker threads for several builtin classes, r=lsmyth.
--HG--
extra : rebase_source : 2af71f479062e128c1a01d772a19840f87dca4b0
2019-02-27 09:42:58 -10:00
Brian Hackett
55a473dd19 Bug 1527203 Part 3 - Send and install breakpoints when attaching to a thread, r=ochameau,jlast.
--HG--
extra : rebase_source : 48c12164ef88f33aaf4e9ea1e2d4d8da29e7dd8e
2019-02-12 13:06:08 -10:00
Brian Hackett
a342374c62 Bug 1527203 Part 2 - Prevent worker debuggee execution until the thread actor has attached, r=ochameau.
--HG--
extra : rebase_source : 00d301909314379c3667af456579f9dbf0b47016
2019-02-12 13:05:34 -10:00
yulia
69d42691df Bug 1529247 - remove unused getPrototypesAndProperties method; r=ochameau
Differential Revision: https://phabricator.services.mozilla.com/D20835

--HG--
extra : moz-landing-system : lando
2019-02-26 16:24:49 +00:00
Brindusan Cristian
73b09a782e Backed out changeset c300840573f5 (bug 1528276) for dt failures at browser_target_server_compartment.js. CLOSED TREE
--HG--
extra : histedit_source : b43e057c5f78805a5a09afd84836e537fc726618
2019-02-26 19:45:30 +02:00
Julian Descottes
ecf2b4ff49 Bug 1528276 - Do not destroy the DebuggerServer in non-e10s when last frame connection is closed r=ochameau
When reviewing https://bugzilla.mozilla.org/show_bug.cgi?id=1521052 I did not think about Firefox for Android which is not using e10s.
This means the main DebuggerServer will be killed when there are no connections left. Happy to discuss more about the preferred solution.
This is a regression in 66 and I hope to uplift a fix for this.

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

--HG--
extra : moz-landing-system : lando
2019-02-26 16:38:30 +00:00
Razvan Caliman
3febb41272 Bug 1530294 - Add option to skip cache when requesting authored text for CSS rule r=gl
This patch adds a boolean option to skip the cached value of `StyeRuleActor.authoredText` and re-parse the stylesheet for its value.
When changing content of a descendant rule inside an ancestor like @media or @select, the cached `authoredText` value is outdated.
This yields incorrect data when requesting the complete rule authored text, hence the need for a cache-busting option.

In addition to this change, there is a slight refactor to include the generated unique selector for the mock-rule for element inline styles.

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

--HG--
extra : moz-landing-system : lando
2019-02-26 09:09:01 +00:00
Razvan Caliman
38e6367521 Bug 1512956 - Ensure empty string is considered valid CSS authoredText; r=pbro
When removing all declarations from a rule via the Rule view, the authoredText value ends up as an empty string.
This patch ensures that the fallback cssText is not used in that case because that accidentally restores the whole declaration block when re-parsing the text of the rule.

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

--HG--
extra : moz-landing-system : lando
2019-02-25 09:49:41 +00:00
Brian Hackett
3683e3bb45 Bug 1447244 Part 8 - Generate source actors for internal source IDs on demand, r=lsmyth.
--HG--
extra : rebase_source : db9566d09636439bd35085ebe49d0535c787ec27
2019-02-21 09:42:14 -10:00
Brian Hackett
5b568c6b04 Bug 1447244 Part 6 - Devtools server changes for script source IDs, r=lsmyth.
--HG--
extra : rebase_source : 18b46097c0f468f310755d4443169fffa33bfcac
2019-01-16 12:01:07 -10:00
Boris Zbarsky
709be5f5e2 Bug 1528146. Fix how web extensions are injected into about:blank. r=kmag
The basic idea is to make non-initial about:blank fire
document-element-inserted notifications just like every other document.  We
then ensure that there's a notification (initial-document-element-inserted)
that only gets fired once per window for documents that are in a window.  This
notification is what webextensions use to inject into the document.

The old setup which injected into about:blank when its global is created gets
removed in favor of injecting the same way as into every other document.

The changes to Document.cpp are fixing a bug in the "block the parser" stuff
webextensions do.  For about:blank, the blocking happens at a point when the
parser really has nothing else to parse (since it's parsing the empty string).
So the blocking is a no-op.  But we do want to prevent DOMContentLoaded firing,
because otherwise the "end of document" scripts could run before we finish
doing the "beginning of document" work in webextensions.  So we want to make
sure we block DOMContentLoaded, not just the load event.

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

--HG--
extra : moz-landing-system : lando
2019-02-22 21:27:44 +00:00
Coroiu Cristina
41959946c9 Merge mozilla-central to autoland a=merge on a CLOSED TREE 2019-02-22 18:39:27 +02:00
Coroiu Cristina
80435b2557 Merge autoland to mozilla-central a=merge 2019-02-22 18:24:30 +02:00
yulia
f1efb1c816 Bug 1529247 - Remove environment method from the threadClient; r=ochameau
Differential Revision: https://phabricator.services.mozilla.com/D20467

--HG--
extra : moz-landing-system : lando
2019-02-22 16:13:54 +00:00
Michael Ratcliffe
11f246e18a Bug 1042082 - Chrome event bubbles are displayed when they shouldn't be r=ochameau
Differential Revision: https://phabricator.services.mozilla.com/D18358

--HG--
extra : moz-landing-system : lando
2019-02-22 11:17:02 +00:00
Coroiu Cristina
dc0adc07db Backed out changeset 367ca1e16853 (bug 1528146) on request by igoldan, assignee didn't replied back on time a=backout 2019-02-22 10:10:33 +02:00
Logan Smyth
fe5c75b9ba Bug 1528654 - Select the first column breakpoint for _all_ evaluations of a Debugger.Source, not just the first. r=jlast
A JSScript can be explicitly cloned and applied to a new realm. When this is done within the same compartment
as the original JSScript, it maintains its reference to the original ScriptSourceObject. This can lead to the
potentially surprising fact that using Debugger.findScripts({ source }) can return multiple Debugger.Script
objects representing the same function, but in multiple realms.

When we query for breakpoints in a given source, we want to take the first column breakpoint on a given line,
but that needs to apply to all potential instances of the Debugger.Script for that location, not just the first one.

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

--HG--
extra : moz-landing-system : lando
2019-02-21 16:44:54 +00:00
Michael Ratcliffe
ace592b4a1 Bug 1501698 - Remove devtools/server/actors/highlighters/flexbox.js::renderAlignItemLine() r=pbro
Differential Revision: https://phabricator.services.mozilla.com/D9808

--HG--
extra : moz-landing-system : lando
2019-02-21 14:22:48 +00:00
Brian Birtles
e49775f5b4 Bug 1528883 - Make isPseudoElement test for .element instead of .ownerDocument; r=daisuke
It's possible that CSSPseudoElement will grow a 'ownerDocument' member in future
so instead we should test for '.element'. We could also test for '.type' but it
seems more likely that Element will grow a 'type' member than an 'element'
member.

Ideally we should really test if the target is an instanceof CSSPseudoElement
but unfortunately the window() getter it itself defined in terms of the node()
getter (which calls isPseudoElement) so we'd end up with unbounded recursion
unless we restructure these getters.

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

--HG--
extra : moz-landing-system : lando
2019-02-22 03:12:34 +00:00
Brian Birtles
540858a5b1 Bug 1528883 - Rename CSSPseudoElement.parentElement to CSSPseudoElement.element; r=bzbarsky
As per CSSWG resolution:

  https://github.com/w3c/csswg-drafts/issues/2816#issuecomment-454869173

And corresponding spec change:

  2dbf1e44a6

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

--HG--
extra : moz-landing-system : lando
2019-02-22 03:12:19 +00:00
Patrick Brosset
c108c9a8db Bug 1479887 - Use CSS transform instead of relative positioning when centering the infobar; r=rcaliman
Differential Revision: https://phabricator.services.mozilla.com/D20659

--HG--
extra : moz-landing-system : lando
2019-02-21 14:30:48 +00:00
Razvan Caliman
a2b510c934 Bug 1524547 - (Part 2) Add context menu option to copy the contents of a changed CSS rule. r=gl
Depends on D20195

This series of patches depends on the patch from [Bug 1525238](https://bugzilla.mozilla.org/show_bug.cgi?id=1525238)

- adds method to identify a CSS Rule actor by id
- adds context menu option to the Changes panel to allow copying the rule's authored text to the clipboard

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

--HG--
extra : moz-landing-system : lando
2019-02-20 21:45:03 +00:00
Razvan Caliman
aa000809a8 Bug 1524547 - (Part 1) Add method to StyleRuleActor to get complete authored text for a CSS rule. r=gl
This series of patches depends on the patch from [Bug 1525238](https://bugzilla.mozilla.org/show_bug.cgi?id=1525238)

This patch adds a new method to the StyleRuleActor on the server to expose the full text content of a CSS rule over the protocol to the client. This means exposing the CSS rule's authored text including comments and any nested rules if the target rule is an ancestor rule, like @media or @supports.

There's minor refactoring to include additional rule types for which StyleRuleActors will be created: @supports, @media, @keyframes. These are not explicitly rendered in the Rule view and shouldn't impact it. The Rule view filters for CSS Style Rules, element inline style and has special handling for keyframe at-rules.

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

--HG--
extra : moz-landing-system : lando
2019-02-20 20:41:44 +00:00
yulia
d3412c26b4 Bug 1485664 - use protocol js methods instead of hard coding it in the console front; r=ochameau
Just updating the stubs for tests

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

--HG--
extra : moz-landing-system : lando
2019-02-19 15:58:25 +00:00
yulia
aed02d496b Bug 1485664 - adjust events to front events; r=ochameau
this patch introduces events for the webconsoleFront -- not all of them are being listened
to by their subscribers yet, but this is the bulk of the effort to move events to Protocol.js

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

--HG--
extra : moz-landing-system : lando
2019-02-20 10:49:09 +00:00
yulia
e3b15c8fe4 Bug 1485664 - remove echoed events and unused events; r=ochameau
Differential Revision: https://phabricator.services.mozilla.com/D18830

--HG--
extra : moz-landing-system : lando
2019-02-20 10:49:03 +00:00
Razvan Caliman
0fb39bdffe Bug 1527924 - (Part 1) Use array of selectors for the rule in Redux structure for Changes. r=pbro
Refactors the Redux state for the Changes panel so that rules have
a `selectors` array instead of just a single `selector` string.

The `selectors` array represents the **history** of selector text the
rule has over time, not the actual list of multiple selectors it has
(multiple selectors are collapsed into a single comma-separated string
regardless of how many they are).

When the server logs changes, the rule's selector text is checked
against the history of previously logged selectors.

If the incoming selector is different than the _first_ item in
the tracked rule's `selectors` array, it means the selector was renamed
so it is pushed onto the array (added to the history).

If it's the same, the whole array can be reduced to the original value
because it means that either:
- the selector didn't change between operations (ex: after declaration changes)
- the selector reverted back to its original name.

This `selectors` array is used in the React component in Part 2 of this
series to render any necessary diff view of the selector.

The old approach (whole rule removal + whole rule addition) is replaced
by this refactor. The introduction of the StyleRyleActor actor id from
the server as the rule id on the client in Bug 1525238 means that the
selector change can no longer behave like two distinct rules.
The actorID/rule id are preserved after selector renames. This necessary
for the some export options to work consistently (like Copy Rule with changes applied).

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

--HG--
extra : moz-landing-system : lando
2019-02-15 16:58:58 +00:00
Hiroyuki Ikezoe
64a777f7b5 Bug 1528834 - Implement scroll-snap-align parser and serializer. r=emilio
https://drafts.csswg.org/css-scroll-snap-1/#scroll-snap-align

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

--HG--
extra : moz-landing-system : lando
2019-02-18 23:10:08 +00:00
Razvan Caliman
c21e773cbd 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-14 16:29:21 +00:00
Hiroyuki Ikezoe
0a5721ad9c Bug 1528640 - Implement scroll-padding parser and serializer. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D20103

--HG--
extra : moz-landing-system : lando
2019-02-18 02:46:09 +00:00
Hiroyuki Ikezoe
842f78da12 Bug 1528639 - Implement scroll-margin parser and serializer. r=emilio
The reason why we use  RelaxedAtomBoolis that
ScrollSnapUtils::GetSnapPointForDestination() is called both from the main and
the compositor threads, and the function will have a branch depending on the
pref value.

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

--HG--
extra : moz-landing-system : lando
2019-02-18 02:25:54 +00:00
Coroiu Cristina
34df20e0f1 Merge mozilla-central to autoland a=merge 2019-02-16 11:40:44 +02:00
Coroiu Cristina
e6520f0a4d Merge inbound to mozilla-central a=merge 2019-02-16 11:36:46 +02:00
Boris Zbarsky
84b4628394 Bug 1528146. Fix how web extensions are injected into about:blank. r=kmag
The basic idea is to make non-initial about:blank fire
document-element-inserted notifications just like every other document.  We
then ensure that there's a notification (initial-document-element-inserted)
that only gets fired once per window for documents that are in a window.  This
notification is what webextensions use to inject into the document.

The old setup which injected into about:blank when its global is created gets
removed in favor of injecting the same way as into every other document.

The changes to Document.cpp are fixing a bug in the "block the parser" stuff
webextensions do.  For about:blank, the blocking happens at a point when the
parser really has nothing else to parse (since it's parsing the empty string).
So the blocking is a no-op.  But we do want to prevent DOMContentLoaded firing,
because otherwise the "end of document" scripts could run before we finish
doing the "beginning of document" work in webextensions.  So we want to make
sure we block DOMContentLoaded, not just the load event.

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

--HG--
extra : moz-landing-system : lando
2019-02-15 23:29:34 +00:00
Kyle Machulis
9fb68b2ccf Bug 1524683 - Remove nsIFrameLoaderOwner from tests; r=nika
Any time we QI to nsIFrameLoaderOwner in tests, we're really accessing
a MozFrameLoader. We don't need to be doing that anymore.

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

--HG--
extra : moz-landing-system : lando
2019-02-15 22:20:49 +00:00
Nicolas Chevobbe
2884ad3d7c Bug 1527238 - Speed up webconsole server's autocomplete function; r=Honza.
There are 2 changes in this patch.

In js-property-provider, we iterate over a Set
and delete item we don't want into instead of
turning the Set into an array, filter on it, and
convert it back to a new Set.

In the autocomplete function, we don't use regexp
anymore in the sort callback as we already have
a way to tell if we're performing an element access.

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

--HG--
extra : moz-landing-system : lando
2019-02-15 15:02:51 +00:00
Nicolas Chevobbe
919eb7a67a Bug 1514824 - Add an MDN link for cookie/storage warning messages in console; r=bgrins.
Differential Revision: https://phabricator.services.mozilla.com/D18812

--HG--
extra : moz-landing-system : lando
2019-02-15 13:29:26 +00:00
Brian Hackett
f59a4bacc3 Bug 1526832 Part 2 - Use onConsoleAPICall when sending log point messages to the client, r=lsmyth.
--HG--
extra : rebase_source : 130a120fee300d6bcdd62e3b3f0f0115cb7ae3cd
2019-02-10 14:52:20 -10:00
Brian Hackett
95f77e9d1b Bug 1526832 Part 1 - Allow snapshots when sending objects to the middleman, r=lsmyth.
--HG--
extra : rebase_source : 88f760c879e4cd6824b9f9ae0a9606f1bd8386f6
2019-02-10 14:51:26 -10:00
Alexandre Poirot
2ffe546245 Bug 1269919 - Stop emitting newSource on the target actors. r=jdescottes
Now that the base Target class is managing the thread client,
we no longer have to send "newSource" on the target actor, and instead,
listen for newSource directly on the thread client.
We should probably align updatedSource and have this event being emitted on
the thread actor as well.

Depends on D18813

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

--HG--
extra : moz-landing-system : lando
2019-02-21 18:41:08 +00:00
Alexandre Poirot
412b285031 Bug 1269919 - Unify all the attachThread methods on Target class. r=jdescottes
There is still some tight connection between ThreadClient and Target,
- Target.threadClient, which should ideally disappear in favor of
  target.getFront("thread")
- Target.threadClient is manually nullified from ThreadClient.detach,
  but that should disappear as well thanks to getFront.

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

--HG--
extra : moz-landing-system : lando
2019-02-21 15:05:49 +00:00
Nicolas Chevobbe
5631d74c0a Bug 1525682 - Add errorMessageName in ConsoleMessage; r=bgrins.
This will be used in telemetry events. Also,
we add `errorMessageName` in evaluation result packets.
Stubs are generated so they include the new property.

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

--HG--
extra : moz-landing-system : lando
2019-02-11 17:22:12 +00:00
Jason Laster
e5c5dceda1 Bug 1527612 - Format displayName in the server. r=loganfsmyth
Differential Revision: https://phabricator.services.mozilla.com/D19666

--HG--
extra : moz-landing-system : lando
2019-02-13 22:32:00 +00:00
Jim Blandy
ed1c6b0878 Bug 1145201: xpcshell test: Debugger callbacks protect debuggee's microtask queue. r=jlast
Differential Revision: https://phabricator.services.mozilla.com/D17548

--HG--
extra : moz-landing-system : lando
2019-02-12 08:11:02 +00:00
Jim Blandy
33e0302a5c Bug 1145201: Fix xpcshell tests not to mix the test's own microtasks with the debuggee's. r=jlast
Evaluation of debuggee code should always begin with an empty microtask queue.
In xpcshell tests, this is not guaranteed, as it is in the web platform. This
patch changes those devtools server xpcshell tests that break this rule in a
detectable way to run the debuggee code as a separate HTML task.

In an actual browser environment, debuggee JavaScript runs as an HTML task.
Since HTML requires a microtask checkpoint at the end of each task, this means
that a debuggee task begins execution with an empty microtask queue, free of
microtasks from other tabs or the browser machinery itself. Hence, while the
debugger is pausing debuggee code, it is safe for it to save the debuggee's
microtask queue, so that those jobs do not make progress. (Which is fortunate,
because it *must* do so, lest the debuggee's microtasks run during the pause!)

In an xpcshell test, however, there is no guarantee that debuggee code begins
execution with a fresh microtask queue: the test may call `eval` or
`evalInSandbox` at any time. If such an evaluation hits a breakpoint, `debugger`
statement, etc. that invokes a Debugger hook, supervisory microtasks from the
test harness code may be set aside along with the debuggee's microtasks. If the
hook code then blocks waiting for those microtasks to run, the test will hang.

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

--HG--
extra : moz-landing-system : lando
2019-02-12 08:20:29 +00:00
Logan Smyth
241f292283 Bug 1518661 - Part 7: Update debugger server to use new getPossibleBreakpoints APIs. r=jlast
Making use of the new SpiderMonkey APIs for available breakpoints means
that the server needs to think a lot less about where it is pausing and
allows us to drop the concept of a pause points from the server entirely.
It is now up to SpiderMonkey to decide where it will and will not stop
when it is stepping.

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

--HG--
extra : moz-landing-system : lando
2019-02-13 02:31:03 +00:00
Logan Smyth
b78439c9df Bug 1518661 - Part 6: Ensure that stepOut from inside onPop behaves properly. r=jlast
The step-out logic currently has a special case to skip pausing onPop
when stepping out of the current frame. This logic gets confused if
you are already _in_ the onPop of the current frame though, and
causes you to also fail to pause onPop in the parent frame.

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

--HG--
extra : moz-landing-system : lando
2019-02-13 02:31:02 +00:00
Logan Smyth
6b7e5f0896 Bug 1518661 - Part 4: Convert bytecode positions to be more expression-oriented. r=jimb,jorendorff
This brings SpiderMonkey more in line with V8 for the positions that it uses for expressions
nested within statements. We generally prefer to use the expression's own location
rather than the location of the statement, in the majority of cases.

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

--HG--
extra : moz-landing-system : lando
2019-02-13 02:31:00 +00:00
Michael Ratcliffe
60e1acb7f9 Bug 1527282 - Fix caching of justify content pattern in Flexbox highlighter r=pbro
Differential Revision: https://phabricator.services.mozilla.com/D19478

--HG--
extra : moz-landing-system : lando
2019-02-12 14:03:57 +00:00
Julian Descottes
8182c02ad6 Bug 1523454 - Fix service worker active status for sw refactor;r=daisuke
Depends on D19159

This will fix the test browser_aboutdebugging_serviceworker_status.js when running with dom.serviceWorkers.parent_intercept=true
(`./mach test browser_aboutdebugging_serviceworker_status.js --setpref dom.serviceWorkers.parent_intercept=true`)

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

--HG--
extra : moz-landing-system : lando
2019-02-13 09:02:03 +00:00
Yura Zenevich
dcb8caf985 Bug 1518487 - ensure that accessible audit can be performed without requiring highlighting. r=pbro
MozReview-Commit-ID: CUFTQIS9WPv

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

--HG--
extra : moz-landing-system : lando
2019-02-12 19:39:09 +00:00
Razvan Caliman
f9cb3cc490 Bug 1527309 - Log CSS rule ancestors in reverse order. r=gl
Differential Revision: https://phabricator.services.mozilla.com/D19495

--HG--
extra : moz-landing-system : lando
2019-02-12 14:45:38 +00:00
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
Jason Laster
f38f25dc45 Bug 1521540 - Replace Frame.source form with Frame.actor. r=lsmyth
Tags:

Differential Revision: https://phabricator.services.mozilla.com/D17439
2019-01-25 18:10:34 -05:00
Kris Maglione
e930b89c34 Bug 1514594: Part 3 - Change ChromeUtils.import API.
***
Bug 1514594: Part 3a - Change ChromeUtils.import to return an exports object; not pollute global. r=mccr8

This changes the behavior of ChromeUtils.import() to return an exports object,
rather than a module global, in all cases except when `null` is passed as a
second argument, and changes the default behavior not to pollute the global
scope with the module's exports. Thus, the following code written for the old
model:

  ChromeUtils.import("resource://gre/modules/Services.jsm");

is approximately the same as the following, in the new model:

  var {Services} = ChromeUtils.import("resource://gre/modules/Services.jsm");

Since the two behaviors are mutually incompatible, this patch will land with a
scripted rewrite to update all existing callers to use the new model rather
than the old.
***
Bug 1514594: Part 3b - Mass rewrite all JS code to use the new ChromeUtils.import API. rs=Gijs

This was done using the followng script:

https://bitbucket.org/kmaglione/m-c-rewrites/src/tip/processors/cu-import-exports.jsm
***
Bug 1514594: Part 3c - Update ESLint plugin for ChromeUtils.import API changes. r=Standard8

Differential Revision: https://phabricator.services.mozilla.com/D16747
***
Bug 1514594: Part 3d - Remove/fix hundreds of duplicate imports from sync tests. r=Gijs

Differential Revision: https://phabricator.services.mozilla.com/D16748
***
Bug 1514594: Part 3e - Remove no-op ChromeUtils.import() calls. r=Gijs

Differential Revision: https://phabricator.services.mozilla.com/D16749
***
Bug 1514594: Part 3f.1 - Cleanup various test corner cases after mass rewrite. r=Gijs
***
Bug 1514594: Part 3f.2 - Cleanup various non-test corner cases after mass rewrite. r=Gijs

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

--HG--
extra : rebase_source : 359574ee3064c90f33bf36c2ebe3159a24cc8895
extra : histedit_source : b93c8f42808b1599f9122d7842d2c0b3e656a594%2C64a3a4e3359dc889e2ab2b49461bab9e27fc10a7
2019-01-17 10:18:31 -08:00
Brian Hackett
0af6ba1fa7 Bug 1513118 Part 2 - Add support for virtual console logs to ReplayDebuggerScript, r=lsmyth.
--HG--
extra : rebase_source : e9b85495fdf2a5e695b6a1031eb1890061703a1d
extra : source : 5ce216ffcb1da139187cf8c62473d150df35dc5e
2018-12-29 08:23:38 -10:00
yulia
1e21fdffad Bug 1518777 - move stopListeners from the client detach method to the actor destroy method; r=nchevobbe
r=ochameau,nchevobbe

This patch moves stopListeners to the actor, and removes the need for the callback in the
detach call on the client.

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

--HG--
extra : moz-landing-system : lando
2019-01-24 11:48:37 +00:00
vinoth
cc6d429241 Bug 1512949 - Remove eval from tests and flip assertion flag r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D14054

--HG--
extra : moz-landing-system : lando
2019-01-24 09:06:07 +00:00
Oana Pop Rus
3cf09a2338 Merge mozilla-central to autoland. a=merge CLOSED TREE 2019-01-24 12:46:18 +02:00
Oana Pop Rus
3192bddd22 Backed out changeset 7f6996c8b32f (bug 1521712) for breaking firefox when devtools is opened a=backout 2019-01-24 12:39:40 +02:00
Michael Ratcliffe
13cf1df779 Bug 1519597 - Bad event handlers on DOM nodes produce bogus popups when inspected r=pbro,ochameau
Differential Revision: https://phabricator.services.mozilla.com/D17142

--HG--
extra : moz-landing-system : lando
2019-01-24 09:54:20 +00:00
Jared Wein
b12a0d294c Bug 1521170 - Add a rule that prevents calling some Array and String accessor methods without using the return value. r=Standard8,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D17020

--HG--
extra : moz-landing-system : lando
2019-01-23 17:03:32 +00:00
Alexandre Poirot
9e9978c28d Bug 1521052 - Destroy DebuggerServer in the content process when the last connection drops. r=jdescottes
We never really tried to cleanup the DebuggerServer and so a few tests require some tweaks
to acknowledge that once the last connection drop (typically, we close the toolbox or target),
the server is destroyed and dynamically registered actors are also destroyed.

I think it is great to consider that everything is cleaned up as we may followup to destroy
the whole loader.

Depends on D16961

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

--HG--
extra : moz-landing-system : lando
2019-01-23 14:46:11 +00:00