Commit Graph

12923 Commits

Author SHA1 Message Date
Razvan Caliman
4c3717a22f Bug 1499049 - (Part 2) Remove old reducer logic for tracking CSS changes; r=pbro
Depends on D8718

Opting to first completely remove, then add the new logic, otherwise
the diff gets very confusing since most of the code changed

MozReview-Commit-ID: BbncSBhD5py

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

--HG--
extra : moz-landing-system : lando
2018-10-25 13:21:38 +00:00
Razvan Caliman
c9616064f5 Bug 1499049 - (Part 1) Log ancestor rule tree for changes to CSS declarations; r=pbro
⚠️ **To build locally, this change series depends on the [change series](https://phabricator.services.mozilla.com/D4399) which adds the ChangesActor**.
🏋️‍♂️ **To test hands-on, you can download a [custom macOS build](https://queue.taskcluster.net/v1/task/HIiZcwLXTuuSYYjfwEDmmA/runs/0/artifacts/public/build/target.dmg)  (updated Wed, Oct 24) which includes both change series.**

- Introduce ancestorRules getter to StyleRuleActor to get a flattened rule tree with the ancestors of the current rule;
- Introduce CSSRuleTypeName to css-logic helpers to map between CSS rule type and human-readable name;
- Log rule index position with each CSS declaration change to help differentiate between changes to rules with identical selectors at the same level of nesting.

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

--HG--
extra : moz-landing-system : lando
2018-10-24 17:43:33 +00:00
arthur.iakab
d5fc6f3d47 Backed out changeset aea0e7fadf7d (bug 1502002)for ES lint failure on components/FlexItemSizingOutline.js "CLOSED TREE" 2018-10-26 10:11:45 +03:00
Patrick Brosset
064154114c Bug 1502002 - Start using the getAsFlexContainer API's clampState value to simplify devtools; r=gl
Differential Revision: https://phabricator.services.mozilla.com/D9798

--HG--
extra : moz-landing-system : lando
2018-10-26 04:34:38 +00:00
Nicolas Chevobbe
e1af9012ee Bug 1501632 - Return an unsubscribe function from SourceMapURLService.prototype.subscribe; r=loganfsmyth.
The SourceMapURLService has a subscribe and an unsubscribe
functions to respectively listen and stop listening for
source map changes on a given location (url + line + column).
The unsubscribe function need to be called with the same
parameters as the subscribe function, which means the consumer
need to keep a reference to the callback.
By making the subscribe function return the unsubscribe function,
this makes things a bit easier.

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

--HG--
extra : moz-landing-system : lando
2018-10-25 17:15:45 +00:00
Coroiu Cristina
6455148cff Merge mozilla-central to autoland a=merge on a CLOSED TREE 2018-10-26 01:02:15 +03:00
Coroiu Cristina
4258c167d5 Merge inbound to mozilla-central a=merge 2018-10-26 00:56:50 +03:00
Bogdan Tara
a39577461e Backed out changeset 84d5f2504bca (bug 1501393) for browser_accessibility_mutations.js failures CLOSED TREE 2018-10-25 22:29:44 +03:00
Logan Smyth
4a65c8cd55 Bug 1460440 - Avoid race condition in browser_dbg-scopes test. r=davidwalsh
Differential Revision: https://phabricator.services.mozilla.com/D9831

--HG--
extra : moz-landing-system : lando
2018-10-25 19:36:37 +00:00
David Walsh
4a01b79d33 Bug 1500986 - Migrate addon test from old debugger to shared r=jdescottes
--HG--
rename : devtools/client/debugger/test/mochitest/addon4.xpi => devtools/client/shared/test/addon4.xpi
rename : devtools/client/debugger/test/mochitest/browser_dbg_addon-console.js => devtools/client/shared/test/browser_dbg_addon-console.js
2018-10-24 15:13:17 -05:00
tanhengyeow
06adc212d6 Bug 1501674 - Update MDN HTTP doc mappings. r=Honza
Update MDN HTTP doc mappings.

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

--HG--
extra : moz-landing-system : lando
2018-10-25 14:39:57 +00:00
David Walsh
d843fa0143 Bug 1500986 - Migrate old event-listener and worker debugger tests r=jdescottes
--HG--
rename : devtools/client/debugger/test/mochitest/browser_dbg_debugger-statement.js => devtools/client/shared/test/browser_dbg_debugger-statement.js
rename : devtools/client/debugger/test/mochitest/browser_dbg_event-listeners-01.js => devtools/client/shared/test/browser_dbg_event-listeners-01.js
rename : devtools/client/debugger/test/mochitest/browser_dbg_event-listeners-02.js => devtools/client/shared/test/browser_dbg_event-listeners-02.js
rename : devtools/client/debugger/test/mochitest/browser_dbg_event-listeners-03.js => devtools/client/shared/test/browser_dbg_event-listeners-03.js
rename : devtools/client/debugger/test/mochitest/browser_dbg_listworkers.js => devtools/client/shared/test/browser_dbg_listworkers.js
rename : devtools/client/debugger/test/mochitest/browser_dbg_worker-window.js => devtools/client/shared/test/browser_dbg_worker-window.js
rename : devtools/client/debugger/test/mochitest/code_listworkers-worker1.js => devtools/client/shared/test/code_listworkers-worker1.js
rename : devtools/client/debugger/test/mochitest/code_listworkers-worker2.js => devtools/client/shared/test/code_listworkers-worker2.js
rename : devtools/client/debugger/test/mochitest/doc_event-listeners-01.html => devtools/client/shared/test/doc_event-listeners-01.html
rename : devtools/client/debugger/test/mochitest/doc_event-listeners-03.html => devtools/client/shared/test/doc_event-listeners-03.html
rename : devtools/client/debugger/test/mochitest/doc_inline-debugger-statement.html => devtools/client/shared/test/doc_inline-debugger-statement.html
rename : devtools/client/debugger/test/mochitest/doc_listworkers-tab.html => devtools/client/shared/test/doc_listworkers-tab.html
rename : devtools/client/debugger/test/mochitest/doc_native-event-handler.html => devtools/client/shared/test/doc_native-event-handler.html
2018-10-23 20:39:19 -05:00
Gabriel Luong
ebbe75986c Bug 1501393 - Remove the await call to block on markuploaded. r=yzen 2018-10-25 11:14:53 -04:00
Michael Ratcliffe
06c0296e50 Bug 1499668 - Highlighter canvas coordinates switch from 0,0 top left to 0,0 top right when inspecting RTL nodes r=gl
I tried all kinds of CSS changes and experiments to get to the bottom of this.

This is due to an incompatibility between the flexbox API and `devtools/shared/layout/dom-matrix-2d.js::getWritingModeMatrix()`.

Take the following flexbox item:

```
 ______________________________
| ___                          |
||   |                         |
||___|                         |
|______________________________|
```

In LTR mode the coordinates would be something like 5, 10, 25, 35 (x1, y1, x2, y2).

Now let's look at RTL mode:

```
 ______________________________
|                          ___ |
|                         |   ||
|                         |___||
|______________________________|

```
In RTL mode the coordinates would be something like 85, 10, 105, 35 (x1, y1, x2, y2).

getWritingModeMatrix() flips the canvas in RTL mode naively assuming that this will flip our overlay. This causes 2 problems:

1. 0,0 moves from the top left to the top right, complicating our calculations.
2. The flexbox API returns coordinates relative to the top left of the canvas and not the top right.

Similar issues are caused by setting writing modes that results in flipping and rotating the canvas in similar ways.

In a nutshell rotating the canvas actually complicates our calculations instead of simplifying them.

This patch adds two named parameters to allow opting out of writing mode and RTL calculations.

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

--HG--
extra : moz-landing-system : lando
2018-10-24 16:52:00 +00:00
Belén Albeza
9a1b78ba5c Bug 1494552 - Allow user to refresh USB devices. r=jdescottes,daisuke
Adds a "Refresh devices button". I was unsure on whether this button should use state for this or just plug directly into the adb module. In the end I opted for doing it via actions/state because it would also allow us to show somewhere else an indication of whether the scanner is running or not (in case we need it). But if you think this is overkill, I'll gladly change it.

To try it, with the device connected, open and close firefox. If you press Refresh you should see the list update.

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

--HG--
extra : moz-landing-system : lando
2018-10-25 11:29:11 +00:00
Julian Descottes
93027bfede Bug 1501918 - Restore tooltip size when updating Variable and BrokenImage content;r=pbro
Another regression linked to removing setContent API on HTMLTooltip.
The initial feedback to remove the method was from me, because we started seeing
two ways to set the content of the tooltip (DOM APIs or setContent) and I prefered
keeping only one. However the DOM approach still almost forces you to call setContentSize
in case your tooltip instance is shared for different content.

This is the case for the preview tooltip, which is used for CSS variables, fonts and image
previews. Maybe we should revisit the decision to remove this setContent API

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

--HG--
extra : moz-landing-system : lando
2018-10-25 09:44:18 +00:00
Csoregi Natalia
9cffb48501 Backed out 4 changesets (bug 1498235) for failures on devtools/client/. CLOSED TREE
Backed out changeset 8399e5224d69 (bug 1498235)
Backed out changeset 134717494734 (bug 1498235)
Backed out changeset 50d5e01b6dda (bug 1498235)
Backed out changeset 9e51e9847562 (bug 1498235)

--HG--
rename : devtools/server/actors/accessibility/accessibility-parent.js => devtools/server/actors/accessibility-parent.js
rename : devtools/server/actors/accessibility/walker.js => devtools/server/actors/accessibility.js
2018-10-25 06:59:22 +03:00
Daisuke Akatsuka
eb01f5fd2e Bug 1500833: Add a test which adds animation then immediately removes that. r=pbro
Depends on D9616

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

--HG--
extra : moz-landing-system : lando
2018-10-25 00:41:00 +00:00
Daisuke Akatsuka
a2f3ad1333 Bug 1500833: Avoid updating if added animation was already removed. r=pbro
Differential Revision: https://phabricator.services.mozilla.com/D9616

--HG--
extra : moz-landing-system : lando
2018-10-24 13:32:02 +00:00
Yura Zenevich
7b9dc2742b Bug 1498235 - lazy load accessibility highlighter in accessibility walker actor. r=gl
MozReview-Commit-ID: 7xFlSocDPVG

Depends on D9580

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

--HG--
extra : moz-landing-system : lando
2018-10-24 04:16:43 +00:00
Yura Zenevich
e584fac8c1 Bug 1498235 - lazy load modules in accessibility actors. r=gl
MozReview-Commit-ID: 2qPBmhnd7tb

Depends on D9579

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

--HG--
extra : moz-landing-system : lando
2018-10-24 03:57:59 +00:00
Yura Zenevich
e2de0cf9dc Bug 1498235 - split accessibility actors into their own files. r=gl
MozReview-Commit-ID: Gm7ju38mhdD

Depends on D9578

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

--HG--
rename : devtools/server/actors/accessibility-parent.js => devtools/server/actors/accessibility/accessibility-parent.js
rename : devtools/server/actors/accessibility.js => devtools/server/actors/accessibility/walker.js
extra : moz-landing-system : lando
2018-10-24 04:13:32 +00:00
Yura Zenevich
fb8387137a Bug 1498235 - only initialize accessibility actor when the toolbox opens or when a11y panel opens as a default panel. r=gl
MozReview-Commit-ID: CzOTdDDU8fv

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

--HG--
extra : moz-landing-system : lando
2018-10-24 04:15:33 +00:00
Julian Descottes
8a409ae0b7 Bug 1488660 - Fix devtools tab reordering in RTL locales;r=daisuke
Differential Revision: https://phabricator.services.mozilla.com/D6910

--HG--
extra : moz-landing-system : lando
2018-10-19 08:00:27 +00:00
Julian Descottes
01267cd5e3 Bug 1500062 - Add error logging middleware to new aboutdebugging;r=ladybenko,daisuke
Differential Revision: https://phabricator.services.mozilla.com/D9089

--HG--
extra : moz-landing-system : lando
2018-10-24 17:24:56 +00:00
Jim Blandy
13191f2ae4 Bug 1426467: Part 5: Mochitest: pause/unpause window while worker sends messages, without breaking run-to-completion. r=baku
Detailed comments in the test itself.

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

--HG--
extra : moz-landing-system : lando
2018-10-22 15:35:15 +00:00
shindli
6e9f254411 Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-10-24 19:50:03 +03:00
shindli
670e412487 Merge inbound to mozilla-central. a=merge 2018-10-24 19:46:50 +03:00
Eliza Balazs
c80af964cd Bug 1453214 - Disable browser_inspector_highlighter-cssshape_04.js on linux. r=jmaher 2018-10-24 06:22:00 +03:00
David Walsh
ac489fc2fc Bug 1501379 - Update debugger frontend v95. r=jdescottes 2018-10-23 13:06:03 -05:00
Arthur Iakab
c4050c5a36 Bug 1500046 - disabled browser_animation_logic_mutations_fast.js on all platforms. r=jmaher 2018-10-23 15:43:00 +03:00
Logan Smyth
5053ff0b5a Bug 1500632 - source-map-url-service should trigger subscribers when files matching them are detected. r=tromey
Differential Revision: https://phabricator.services.mozilla.com/D9433

--HG--
extra : moz-landing-system : lando
2018-10-24 12:55:01 +00:00
shindli
2e1ca1f2c6 Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-10-24 12:48:51 +03:00
shindli
04bbf8f449 Merge inbound to mozilla-central. a=merge 2018-10-24 12:45:48 +03:00
Julian Descottes
f5daa6fb37 Bug 1498150 - Show network location category but with disabled message;r=ladybenko,daisuke
Depends on D9122
This is a follow up to the first patch that restores the category, but shows a "disabled"
message instead of the content

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

--HG--
extra : moz-landing-system : lando
2018-10-24 09:30:53 +00:00
Julian Descottes
059a1cb153 Bug 1498150 - Hide networklocations form in ConnectPage behind pref;r=daisuke
Differential Revision: https://phabricator.services.mozilla.com/D9122

--HG--
extra : moz-landing-system : lando
2018-10-24 09:27:55 +00:00
Patrick Brosset
ce34ffe2c4 Bug 1501263 - Dont say that siblings have used all the space when an item was clamped; r=mtigley
Differential Revision: https://phabricator.services.mozilla.com/D9509

--HG--
extra : moz-landing-system : lando
2018-10-24 08:21:06 +00:00
Patrick Brosset
5653115619 Bug 1501207 - Don't say that an item was both set and not set to grow; r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D9504

--HG--
extra : moz-landing-system : lando
2018-10-24 08:19:01 +00:00
Nicolas Chevobbe
f21b4b826e Bug 1438979 - Fix browser_webconsole_network_messages_expand.js intermittent; r=Honza.
This is an attempt to fix the intermittent on this test.
It looks like we were setting the listeners on some events
after the request message was received, which might have
made us missed some events.
We take this bug as an opportunity to do some cleanup
on the test.

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

--HG--
extra : moz-landing-system : lando
2018-10-24 06:14:16 +00:00
Patrick Brosset
19fcf133dd Bug 1500019 - Wait for the inline-style rule to be updated before proceeding; r=gl
Differential Revision: https://phabricator.services.mozilla.com/D9368

--HG--
extra : moz-landing-system : lando
2018-10-24 03:55:43 +00:00
Daisuke Akatsuka
4831d220c9 Bug 1498103: Use existing USB runtime to keep current state. r=jdescottes
So far, when USB list was updated, since we replace to all new instances, the
states had not been able to keep. To resolve this, re-use runtimes that retain
in runtimes state.

Depends on D9470

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

--HG--
extra : moz-landing-system : lando
2018-10-24 06:07:15 +00:00
Daisuke Akatsuka
0e3970f196 Bug 1498103: Select 'this firefox' page when selected runtime was removed. r=jdescottes
Depends on D9469

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

--HG--
extra : moz-landing-system : lando
2018-10-24 06:21:11 +00:00
Daisuke Akatsuka
7b111c9032 Bug 1498103: Avoid to add debug target listeners for USB runtime. r=jdescottes
When the addon was removed/added, REQUEST_EXTENSIONS_SUCCESS action was fired.
But because current USB runtime does not support extensions debugging, we
avoid to add debug target listener for USB runtime. Likewise, we refer the
state of supporting for workers and tabs.

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

--HG--
extra : moz-landing-system : lando
2018-10-23 11:24:31 +00:00
arthur.iakab
6b80c7eba9 Merge inbound to mozilla-central. a=merge 2018-10-24 01:18:31 +03:00
arthur.iakab
ff965569bd Merge autoland to mozilla-central a=merge 2018-10-24 01:15:18 +03:00
Ciure Andrei
09e4040e94 Merge autoland to mozilla-central. a=merge 2018-10-23 19:48:47 +03:00
Ariel Burone
5221cd7033 Bug 1500787 - Fix RDM input colors across platforms; r=fvsch,gl
Differential Revision: https://phabricator.services.mozilla.com/D9475

--HG--
extra : moz-landing-system : lando
2018-10-23 16:45:42 +00:00
Daisuke Akatsuka
f520571003 Bug 1497447: Rename "connection" to "runtimeDetails". r=jdescottes
Depends on D9068

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

--HG--
extra : moz-landing-system : lando
2018-10-23 01:14:06 +00:00
Daisuke Akatsuka
39993dba21 Bug 1497447: Add test for connection prompt preference setting. r=jdescottes
Depends on D9067

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

--HG--
extra : moz-landing-system : lando
2018-10-23 01:13:44 +00:00
Daisuke Akatsuka
b124f68dec Bug 1497447: Add toggle feature which enables/disables connection prompt. r=jdescottes
Depends on D9066

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

--HG--
extra : moz-landing-system : lando
2018-10-23 01:12:25 +00:00
Daisuke Akatsuka
49630e594a Bug 1497447: Show a button which reflects the state of "devtools.debugger.prompt-connection" preference of selected runtime. r=jdescottes,ladybenko
Differential Revision: https://phabricator.services.mozilla.com/D9066

--HG--
extra : moz-landing-system : lando
2018-10-23 13:18:03 +00:00
David Walsh
b9e4308d69 Bug 1500998 - Update debugger frontend v94 r=jdescottes 2018-10-22 16:00:28 -05:00
Michael Ratcliffe
11a5c2ff95 Bug 1498987 - localStorage and sessionStorage display key: key instead of key: value in developer console r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D9397

--HG--
extra : moz-landing-system : lando
2018-10-23 15:33:29 +00:00
Julian Descottes
305dfd1207 Bug 1499096 - Update tests using ok() to is(), with minor fixes;r=Standard8
Depends on D8741
This changeset updates some calls to ok() that should actually be calls to is()
and that needed tiny fixes to match the expected value.

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

--HG--
extra : moz-landing-system : lando
2018-10-23 07:21:18 +00:00
Julian Descottes
73e3a16c0d Bug 1499096 - Use ok() with 2 arguments instead of 3 when possible;r=Standard8
Depends on D8740.
This changeset replaces calls to ok with 3 arguments to calls with 2 arguments
in situations where the switch does not have a significant impact on the assert.

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

--HG--
extra : moz-landing-system : lando
2018-10-23 07:13:35 +00:00
Julian Descottes
52b85a20e2 Bug 1499096 - Update wrong usage of ok() with todo_is();r=Standard8
Depends on D8739.
This changeset updates calls to ok() that were most likely intended
for is(), but are not working as is.

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

--HG--
extra : moz-landing-system : lando
2018-10-23 07:13:02 +00:00
Julian Descottes
2fcd6cb020 Bug 1499096 - Update tests using ok() to is();r=Standard8
This changeset updates all the test that were wrongly using ok() and wanted to
use is() AND for which the assert is still passing without any modification
required.

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

--HG--
extra : moz-landing-system : lando
2018-10-23 07:12:23 +00:00
Julian Descottes
eac312a589 Bug 1500936 - Run eslint --fix on devtools/client/inspector for comma-dangle;r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D9409

--HG--
extra : moz-landing-system : lando
2018-10-23 07:08:24 +00:00
Julian Descottes
078990ad01 Bug 1500936 - Remove comma-dangle override from devtools/client/inspector;r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D9408

--HG--
extra : moz-landing-system : lando
2018-10-23 07:08:22 +00:00
Dorel Luca
3a7cdf3ced Merge mozilla-central to autoland
--HG--
extra : rebase_source : 55b6c62caabc054e51b6794215a76068e8da3bf1
2018-10-23 07:50:37 +03:00
David Walsh
7aef56cc4e Bug 1314057 - Remove old debugger assets. r=jdescottes 2018-10-22 17:19:00 -05:00
Kristin Taylor
789c073d74 Bug 1494789 - Part 3: Use --error-color for --string-color. r=nchevobbe 2018-10-22 21:31:59 -05:00
Kristin Taylor
53911fbff8 Bug 1494789 - Part 2: Change --error-color to --red-20. r=nchevobbe 2018-10-22 21:27:52 -05:00
Kristin Taylor
67a965414d Bug 1494789 - Part 1: Add --red-20 to variables.css. r=nchevobbe 2018-10-22 21:21:32 -05:00
Jan Odvarko
1dd0c173e2 Bug 1477252 - Check whether editor is destroyed before using it; review=nchevobbe r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D9251

--HG--
extra : moz-landing-system : lando
2018-10-19 14:21:23 +00:00
Julian Descottes
bd88dcb677 Bug 1497944 - Show wifi category but with disabled message;r=daisuke
Depends on D9223

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

--HG--
extra : moz-landing-system : lando
2018-10-24 12:02:17 +00:00
Julian Descottes
84ef7175f1 Bug 1497944 - Hide wifi section in ConnectPage behind pref;r=daisuke
Depends on D9222 .

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

--HG--
extra : moz-landing-system : lando
2018-10-24 09:35:06 +00:00
Julian Descottes
cf9f2f85ba Bug 1497944 - Drop the (Recommended) from WiFi section in Connect page;r=daisuke
WiFi is not even working at the moment, so it probably should
not be tagged as recommended.

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

--HG--
extra : moz-landing-system : lando
2018-10-24 09:33:55 +00:00
Julien Wajsberg
058047f59d Bug 1489745 - reduce overhead of the performance test that also selects the memory r=gregtatum
In this patch we use the previous change to reduce the overhead in the
specific test that fails in ccov builds, by reducing the sample
frequency.

Depends on D8548

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

--HG--
extra : moz-landing-system : lando
2018-10-24 12:09:45 +00:00
Julien Wajsberg
edc9fbc30b Bug 1489745 - Convert the preference sample-frequency-khz to hz r=ochameau,mstange
The int preference profiler.sample-frequency-khz didn't make it possible
to reduce the overhead in tests, because we could have intervals bigger
than 1ms. With this change we can now do it.

Depends on D8547

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

--HG--
extra : moz-landing-system : lando
2018-10-24 12:09:37 +00:00
Julien Wajsberg
3456122309 Bug 1489745 - Reduce the buffer size for all tests r=gregtatum
We reduce the profiler's buffer size for all tests, to reduce the memory
pressure and the overhead. This may fix some OOM intermittent crashes.

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

--HG--
extra : moz-landing-system : lando
2018-10-24 12:09:35 +00:00
Zameer
ef51466c15 Bug 1495971 - fix network resource status code contrastby creating StatusCode.css file containing status code style rules and importing it in webconsole/index.html and netmonitor.css r=nchevobbe
Fixes contrast issue of status code in webconsole by creating and importing StatusCode.css file into webconsole/index.html  which contains the rules for styling the Status Code. Also imports the StatusCode.css file to netmonitor.css since status code styles are removed from RequestList.css.

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

--HG--
extra : moz-landing-system : lando
2018-10-23 14:28:38 +00:00
Cosmin Sabou
2b51e6ba96 Bug 1492736 - Fix eslint failure, missing comma. r=me 2018-10-24 05:09:10 +03:00
Julian Descottes
92f43aeec4 Bug 1501622 - For consistency, clear innerHTML in SwatchTooltips;r=pbro
Depends on D9648

Note that this is not strictly necessary since the set* methods are only called when
the Swatch tooltips are built, so they always operate on "new" HTML Tooltips. But
since this is not very self explanatory I think it will be less surprising to be
on the safe side and clear innerHTML in the methods directly.

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

--HG--
extra : moz-landing-system : lando
2018-10-24 13:37:17 +00:00
Julian Descottes
566f6da124 Bug 1501622 - Cleanup CSS variable preview tooltip content when hovering new variable;r=pbro
Differential Revision: https://phabricator.services.mozilla.com/D9648

--HG--
extra : moz-landing-system : lando
2018-10-24 12:50:42 +00:00
fvsch
53b58056e8 Bug 1490491 - Part 4: replace 2 png icons, remove 2 unused; r=pbro
Depends on D5954

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

--HG--
extra : moz-landing-system : lando
2018-10-22 14:47:28 +00:00
fvsch
fb77dea633 Bug 1490491 - Part 3: replace controls.png with SVG icons; r=pbro
Depends on D5953

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

--HG--
extra : moz-landing-system : lando
2018-10-22 14:47:08 +00:00
fvsch
cff9a1c615 Bug 1490491 - Part 2: update globe and folder icons to use Photon assets; r=pbro,ntim
Depends on D5952

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

--HG--
extra : moz-landing-system : lando
2018-10-22 14:46:55 +00:00
fvsch
d75783b6f0 Bug 1490491 - Part 1: replace alerticon-warning.png with console alert icon; r=pbro,ntim
Differential Revision: https://phabricator.services.mozilla.com/D5952

--HG--
rename : devtools/client/themes/images/webconsole/alert.svg => devtools/client/themes/images/alert.svg
extra : moz-landing-system : lando
2018-10-22 14:46:42 +00:00
Patrick Brosset
bb2e382570 Bug 1114932 - Break after commas in CSS selectors r=tromey
Differential Revision: https://phabricator.services.mozilla.com/D9232

--HG--
extra : moz-landing-system : lando
2018-10-22 14:17:27 +00:00
Brad Werth
b190f11a57 Bug 1468754 Part 5: Make ChangesView respond to change events. r=rcaliman
Depends on D9176

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

--HG--
extra : moz-landing-system : lando
2018-10-22 19:18:15 +00:00
Brad Werth
4b33d8b6f4 Bug 1468754 Part 4: Make ChangesActor fire events. r=pbro
Depends on D9050

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

--HG--
extra : moz-landing-system : lando
2018-10-22 19:17:57 +00:00
Brad Werth
726ef5afd3 Bug 1468754 Part 3: Add a TrackChangesEmitter helper object, and make ChangesActor listen to it. r=pbro
Depends on D9049

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

--HG--
extra : moz-landing-system : lando
2018-10-22 19:17:49 +00:00
Brad Werth
8957567558 Bug 1468754 Part 2: Make client-side Inspector, on open, ensure the existence of the ChangesActor. r=pbro
Depends on D4399

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

--HG--
extra : moz-landing-system : lando
2018-10-22 19:17:47 +00:00
Brad Werth
799f7cc52b Bug 1468754 Part 1: Add a ChangesActor to devtools. r=pbro
MozReview-Commit-ID: 1Y8esljnLk9

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

--HG--
extra : moz-landing-system : lando
2018-10-22 19:17:45 +00:00
Dorel Luca
d58b21f026 Backed out 5 changesets (bug 1468754) for xpcshell and eslint failures. CLOSED TREE
Backed out changeset 67f969f5bdba (bug 1468754)
Backed out changeset 55ba74fa5c95 (bug 1468754)
Backed out changeset 0d44a0523525 (bug 1468754)
Backed out changeset da447a45603e (bug 1468754)
Backed out changeset 71f45c79522e (bug 1468754)
2018-10-22 22:00:49 +03:00
Brad Werth
e1efc1d301 Bug 1468754 Part 5: Make ChangesView respond to change events. r=rcaliman
Depends on D9176

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

--HG--
extra : moz-landing-system : lando
2018-10-22 18:01:41 +00:00
Brad Werth
75b4548fcd Bug 1468754 Part 4: Make ChangesActor fire events. r=pbro
Depends on D9050

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

--HG--
extra : moz-landing-system : lando
2018-10-22 18:01:18 +00:00
Brad Werth
7972326743 Bug 1468754 Part 3: Add a TrackChangesEmitter helper object, and make ChangesActor listen to it. r=pbro
Depends on D9049

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

--HG--
extra : moz-landing-system : lando
2018-10-22 18:00:55 +00:00
Brad Werth
6927652361 Bug 1468754 Part 2: Make client-side Inspector, on open, ensure the existence of the ChangesActor. r=pbro
Depends on D4399

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

--HG--
extra : moz-landing-system : lando
2018-10-22 18:00:42 +00:00
Brad Werth
82209b1112 Bug 1468754 Part 1: Add a ChangesActor to devtools. r=pbro
MozReview-Commit-ID: 1Y8esljnLk9

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

--HG--
extra : moz-landing-system : lando
2018-10-22 18:00:40 +00:00
Sebastian Hengst
602fbb8422 merge mozilla-inbound to mozilla-central. a=merge 2018-10-22 20:26:16 +03:00
Eliza Balazs
80ee4c5193 Bug 1498336 - Disable browser_toolbox_rule_view_reload.js on linux and mac for frequent failures. r=jmaher
--HG--
extra : amend_source : 331c65a391f6c1305e7ce48058393518fcd32fb8
2018-10-22 01:22:00 +03:00
Nicolas Chevobbe
b3d5ff5c70 Bug 1498531 - Localize Webconsole WebReplay Jump icon; r=loganfsmyth,Honza.
This patch adds localization for the WebReplay Jump icon, and uses
the same terminology as the one used in the context menu that triggers
the same action.
The Jump button was used in-place of the existing level icons (Error, Warning, …),
and was only displayed when the message was hovered. We now ensure the
level icon is always visible and that we only show the Jump icon when the
message is hovered.
Finally, the button was styled targeting the title attribute in CSS, which
seemed a little brittle. We now use a dedicated class which should
be safer and more future proof.

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

--HG--
extra : moz-landing-system : lando
2018-10-22 05:26:33 +00:00
Brian Hackett
51a16c9e1d Bug 1496881 - Fix test for whether we are paused at a console message.
--HG--
extra : rebase_source : 0bcf0620c744b015c27bf1af44f3918ab2fe2621
2018-10-20 07:59:49 -06:00
Brian Hackett
145128d6ee Bug 1499828 Part 6 - Avoid hiding test graphics under overlay, r=test_only.
--HG--
extra : rebase_source : 04e978aba99c03688d86234a30ec4e15e86f8cdb
2018-10-19 14:50:32 -06:00
Brian Hackett
cd6be84a29 Bug 1499828 Part 5 - Don't suppress events when pausing in the middleman, r=lsmyth.
--HG--
extra : rebase_source : aa979192a153c4d32f5da8fd1927591fb1cbc262
2018-10-17 13:32:46 -06:00
Brian Hackett
9701e7e569 Bug 1499828 Part 2 - Show overlay when the current child is replaying, r=lsmyth.
--HG--
extra : rebase_source : beeec0b0775e65780088b78923b99c688dab9c19
2018-10-17 13:32:06 -06:00
Zibi Braniecki
56bbe2cfb3 Bug 1498960 - Update Fluent in Gecko to 0.9. r=stas
Differential Revision: https://phabricator.services.mozilla.com/D8689

--HG--
rename : intl/l10n/MessageContext.jsm => intl/l10n/Fluent.jsm
extra : moz-landing-system : lando
2018-10-20 16:35:50 +00:00
Nicolas Chevobbe
1201c5f8d9 Bug 1500475 - Fix browser_jsterm_content_defined_helpers.js intermittent; r=Honza.
Differential Revision: https://phabricator.services.mozilla.com/D9360

--HG--
extra : moz-landing-system : lando
2018-10-22 14:23:55 +00:00
Ryan VanderMeulen
f4eb6c4e6d Bug 1496400 - Fix ESLint comma-dangle failures. r=RyanVM on a CLOSED TREE
--HG--
extra : amend_source : 83c3f68adad99d47158b6a28f1894870e9dbba09
2018-10-22 10:20:55 -04:00
Julian Descottes
71fe0484e8 Bug 1500141 - Force computed view in splitconsole test to avoid frequent failures;r=pbro
Differential Revision: https://phabricator.services.mozilla.com/D9387

--HG--
extra : moz-landing-system : lando
2018-10-22 14:09:49 +00:00
Julian Descottes
8c71045f84 Bug 1499369 - Remove unreferenced event variable in browser_dbg_navigation.js (beta 64 permafail);r=pbro
Differential Revision: https://phabricator.services.mozilla.com/D9373

--HG--
extra : moz-landing-system : lando
2018-10-22 13:37:27 +00:00
Belén Albeza
1836b68392 Bug 1496400 - Remove common.css r=jdescottes,daisuke
- Removed common.css
- Re-ordered the loading of stylesheets, so components sheets are loaded _after_ the more generic rules
- Refactored some of our components into more generic ones.

Note that a few styles do not match exactly `common.css` (for instance, buttons' `min-height` and `min-width`), in favor of Photon. This might change later depending on the UX guidance we'll get eventually.

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

--HG--
rename : devtools/client/aboutdebugging-new/aboutdebugging.css => devtools/client/aboutdebugging-new/src/base.css
extra : moz-landing-system : lando
2018-10-22 13:53:31 +00:00
tanhengyeow
15ecd08ce8 Bug 1340100 - Set 'request cause' according to the original request. r=Honza
Set 'request cause' according to the original request.

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

--HG--
extra : moz-landing-system : lando
2018-10-22 13:48:47 +00:00
Sebastian Hengst
d3ae9b224b Bug 1486741 - Enable ESLint rule comma-dangle for all of mozilla-central: fix eslint failure after merge. a=eslint-fix 2018-10-20 13:51:03 +03:00
Daniel Varga
4fc7bfa931 Merge mozilla-inbound to mozilla-central. a=merge 2018-10-20 13:10:23 +03:00
Gabriel Luong
455a83357a Bug 1500469 - Don't require /shared/css/properties-db.js in the inspector client. r=mtigley 2018-10-19 17:40:31 -04:00
Sebastian Hengst
9942dc3501 Backed out changeset 5ba65c3ad1ff (Bug 1496400) for failing devtools' browser_parsable_css.js: revert aboutdebugging.css which didn't get reverted during the backout
--HG--
extra : rebase_source : 604691b597c7d442f31a8be4d2f1c2cd22421a2e
2018-10-19 19:45:29 +03:00
Nicolas Chevobbe
3558483427 Bug 1493675 - Send JS keywords from webconsole's autocomplete service; r=julienw.
Since we do now have the list of Javascript keywords, we
import it from webconsole autocomplete service and send
the keywords matching the current expression to the client.

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

--HG--
extra : moz-landing-system : lando
2018-10-19 16:07:22 +00:00
Nicolas Chevobbe
4d549fc4ff Bug 1493675 - Generate an array of the javascript keywords; r=arai.
This list is generated from /js/src/frontend/ReservedWords.h,
which is already used on the platform to generate list of js
reserved words.
This list will be used in the console autocomplete code to
expose those keywords to the user.

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

--HG--
extra : moz-landing-system : lando
2018-10-19 14:58:42 +00:00
Florens Verschelde
bd9cc96aee Bug 1499987 - Add an active state to toolbox SVG icons; r=gl
- Update 'Pick an element' icon with bigger arrow, background in active state
- Update 'Pick an accessible element' icon with pixel-fitted design, background in active state
- Update 'RDM' icon with background in active state
- Use context-stroke to enable design changes, instead of a different URL, to avoid a visual glitch

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

--HG--
extra : moz-landing-system : lando
2018-10-19 15:31:26 +00:00
Nicolas Chevobbe
9396d88360 Bug 1500475 - Modify browser_jsterm_content_defined_helpers.js to find cause of intermittent; r=bgrins.
The log we currently receive are not really
actionable (we are using ok, so we don't know
what the received value actually is). Switching
to is should give us what the value is when the
test fails, which might help us fix the failure.

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

--HG--
extra : moz-landing-system : lando
2018-10-19 16:12:13 +00:00
Sebastian Hengst
addcac2c93 Backed out changeset 5ba65c3ad1ff (Bug 1496400) for failing devtools' browser_parsable_css.js: add dangling comma to code added back. CLOSED TREE 2018-10-19 18:56:00 +03:00
Sebastian Hengst
1188ceecee Backed out changeset 5ba65c3ad1ff (Bug 1496400) for failing devtools' browser_parsable_css.js: fix eslint failures, part 2. CLOSED TREE 2018-10-19 18:37:39 +03:00
Julien Wajsberg
9c1ba92750 Bug 1480593 - Allow setting a different instance of perf.html for the new performance panel, using a pref r=gregtatum
Differential Revision: https://phabricator.services.mozilla.com/D8869

--HG--
extra : moz-landing-system : lando
2018-10-18 20:06:57 +00:00
Brian Hackett
3461376c17 Bug 1495910 - Add telemetry for record/replay menu items, r=lsmyth,janerik.
--HG--
extra : rebase_source : a9f69f8997f291c7f0efeeb93b316551a159d8bf
2018-10-17 09:07:46 -06:00
Sebastian Hengst
f68ce964e2 Backed out changeset 5ba65c3ad1ff (bug 1496400) for failing devtools' browser_parsable_css.js: fix eslint failures. CLOSED TREE 2018-10-19 18:02:03 +03:00
Sebastian Hengst
3bec943cf1 Backed out changeset 5ba65c3ad1ff (bug 1496400) for failing devtools' browser_parsable_css.js. CLOSED TREE
--HG--
extra : rebase_source : f4fce12617b893898023e65d528aa5d9c9b3e716
2018-10-19 17:17:05 +03:00
Mark Banner
1ffb981b68 Bug 1486741 - Enable ESLint rule comma-dangle for all of mozilla-central (manual fixes). r=mossop
Depends on D8389

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

--HG--
extra : moz-landing-system : lando
2018-10-19 08:33:17 +00:00
Mark Banner
ceaeb93550 Bug 1486741 - Enable ESLint rule comma-dangle for all of mozilla-central (automatic fixes). r=mossop
Differential Revision: https://phabricator.services.mozilla.com/D8389

--HG--
extra : moz-landing-system : lando
2018-10-19 12:55:39 +00:00
Patrick Brosset
de110ae1c8 Bug 1500110 - Improve the debuggin intermittents documentation; r=sole
Differential Revision: https://phabricator.services.mozilla.com/D9114

--HG--
extra : moz-landing-system : lando
2018-10-19 09:14:20 +00:00
Belén Albeza
779d0bb4d0 Bug 1496400 - Remove common.css r=jdescottes,daisuke
- Removed common.css
- Re-ordered the loading of stylesheets, so components sheets are loaded _after_ the more generic rules
- Refactored some of our components into more generic ones.

Note that a few styles do not match exactly `common.css` (for instance, buttons' `min-height` and `min-width`), in favor of Photon. This might change later depending on the UX guidance we'll get eventually.

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

--HG--
rename : devtools/client/aboutdebugging-new/aboutdebugging.css => devtools/client/aboutdebugging-new/src/base.css
extra : moz-landing-system : lando
2018-10-19 09:23:22 +00:00
Patrick Brosset
ed01a6a78e Bug 1497178 - Hide the flex outline for 0-sized items; r=rcaliman
Differential Revision: https://phabricator.services.mozilla.com/D8969

--HG--
extra : moz-landing-system : lando
2018-10-19 10:01:21 +00:00
Alexandre Poirot
2fe147bee7 Bug 1500068 - Avoid opening Add-ons panel when a location hash is passed to select another one. r=jdescottes
Doing this avoid loading the addons panel and doing its related requests,
which may still be pending after closing about:debugging.

MozReview-Commit-ID: LJjaE5YVgXi

Depends on D8867

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

--HG--
extra : moz-landing-system : lando
2018-10-18 12:36:35 +00:00
Alexandre Poirot
11e4486644 Bug 1500070 - Avoid using about:debugging in generic about: page tests. r=jdescottes
Opening about:debugging may lead to pending listAddons requests.
Tests that open about:debugging should be careful to wait for the end
of these requests, which this test doesn't do.

MozReview-Commit-ID: 6YyfdW78kOS

Depends on D8828

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

--HG--
extra : moz-landing-system : lando
2018-10-18 13:40:48 +00:00
Nicolas Chevobbe
5a425e0c05 Bug 1499985 - Fix error in canRewind; r=miker.
hud.owner can be null in some condition, so we
need to guard the access to hud.owner.target.

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

--HG--
extra : moz-landing-system : lando
2018-10-19 08:15:08 +00:00
Nicolas Chevobbe
961f0c1eca Bug 1493837 - Fix intermittent on browser_jsterm_await.js; r=Honza.
The test is failing because the result of the last
evaluation is received before we expect it. Since we
had a 500ms delay between each promise resolution, it
might happen than the time it takes to execute the
command execedes this delay, making our expected message
order wrong.
Increasing the delay between each Promise resolution seems
to resolve the issue, although it makes the test a lot longer too.
This is why a new test was created to only cover the concurrent
await case.

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

--HG--
rename : devtools/client/webconsole/test/mochitest/browser_jsterm_await.js => devtools/client/webconsole/test/mochitest/browser_jsterm_await_concurrent.js
extra : moz-landing-system : lando
2018-10-19 07:06:12 +00:00
Cosmin Sabou
9cb3e24150 Merge mozilla-inbound to mozilla-central. a=merge 2018-10-19 07:17:09 +03:00
Cosmin Sabou
a833a61a1b Merge mozilla-central to mozilla-inbound. a=merge 2018-10-19 00:59:32 +03:00
Cosmin Sabou
5115d61980 Merge mozilla-inbound to mozilla-central. a=merge 2018-10-19 00:54:29 +03:00
Ciure Andrei
bae4d8bacf Merge mozilla-central to mozilla-inbound. a=merge CLOSED TREE 2018-10-18 19:40:31 +03:00
Nicolas Chevobbe
84670f5242 Bug 1499614 - Enable top-level await support on every release channel; r=Honza.
Differential Revision: https://phabricator.services.mozilla.com/D8955

--HG--
extra : moz-landing-system : lando
2018-10-18 10:10:37 +00:00
Nicolas Chevobbe
ee4dfd3370 Bug 1499070 - Fix timestamp for evaluation result; r=Honza.
When sending a command to the server, a timestamp is
computed before evaluating the string, and is then
sent back to the client in the packet.
However, if top-level await, or somme :commands, the
evaluation takes more time, which means the timestamp
is now innacurate.
For those cases, we update the timestamp before sending
the packet to the client.

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

--HG--
extra : moz-landing-system : lando
2018-10-18 09:41:53 +00:00
Brian Hackett
eb42c59c7d Bug 1488808 Part 11 - JS changes to trigger repaints after diverging from the recording, and handle the response, r=lsmyth.
--HG--
extra : rebase_source : 76f6e33059821efb827f86ad4beaa55243f1d324
2018-10-17 10:05:36 -06:00
Julian Descottes
41b3968ced Bug 1458194 - Add mochitest to track number of bundles loaded when loading inspector;r=ochameau,jmaher
Differential Revision: https://phabricator.services.mozilla.com/D8017

--HG--
extra : moz-landing-system : lando
2018-10-17 13:30:09 +00:00
Margareta Eliza Balazs
c41508657f Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-10-18 13:25:55 +03:00
Margareta Eliza Balazs
c56977420d Merge inbound to mozilla-central. a=merge 2018-10-18 13:20:43 +03:00
Bogdan Tara
d2c3db4fb0 Backed out changeset 0e8706e5d2ff (bug 1473841) for browser_jsterm_completion_invalid_dot_notation.js failures CLOSED TREE 2018-10-18 10:43:58 +03:00
yulia
0e854c694a Bug 1488379 - guard for errors; r=daisuke
Depends on D7986

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

--HG--
extra : moz-landing-system : lando
2018-10-18 08:54:56 +00:00
Mantaroh Yoshinaga
9982e27fbd Bug 1488721 - Prevent closing the popup menu by clicking the space of tooltip popup menu. r=birtles
Differential Revision: https://phabricator.services.mozilla.com/D9059

--HG--
extra : moz-landing-system : lando
2018-10-18 05:48:55 +00:00
Daisuke Akatsuka
4f3b0292c4 Bug 1497099: Use common runtime PropTypes. r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D8795

--HG--
extra : moz-landing-system : lando
2018-10-18 00:48:54 +00:00
Nicolas Chevobbe
4c897a56af Bug 1473841 - Transform property access on a dot-notation invalid name into an element access; r=bgrins.
This patch turns property access that would result in
Syntax error (e.g. `x.data-test`) into element access
(e.g. `x["data-test"]`) when accepting a completion
value in the console input.
In order to do that, we use Reflect to parse  a custom
expression where we try to define the property the user
is going to accept. If this throws, this means we need to
modify the input into an element access.
A test is added to make sure this works as expected.

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

--HG--
extra : moz-landing-system : lando
2018-10-17 20:55:26 +00:00
Micah Tigley
516bc89f48 Bug 1476491 - Adjust the flexbox line styles to match the css grid line styles. r=gl
Differential Revision: https://phabricator.services.mozilla.com/D8600

--HG--
extra : moz-landing-system : lando
2018-10-17 18:08:31 +00:00
Micah Tigley
7114accfc1 Bug 1498669 - flex devtools are broken if a flex container is a grandchild of a flex container. r=gl
Differential Revision: https://phabricator.services.mozilla.com/D8911

--HG--
extra : moz-landing-system : lando
2018-10-17 14:55:18 +00:00
Paolo Amadini
3a2f47fd3f Bug 1428869 - Use html:progress in front-end code. r=bgrins,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D9009

--HG--
extra : rebase_source : 0e2d20dc6060a4c0ee278ef05d67668aec12e64f
2018-10-18 15:41:21 +01:00
Patrick Brosset
c7a8a18e88 Bug 1497181 - Display sizing info for text nodes too; r=gl
Differential Revision: https://phabricator.services.mozilla.com/D8976

--HG--
extra : moz-landing-system : lando
2018-10-18 17:23:32 +00:00
Luca Greco
c900a958ac Bug 1495855 - Rework the about:debugging webextensions tests to do not use symlink-ed test addons. r=ochameau
Differential Revision: https://phabricator.services.mozilla.com/D8589

--HG--
extra : moz-landing-system : lando
2018-10-18 11:40:02 +00:00
yulia
4448c52661 Bug 1495387 - introduce async front instantiation; r=ochameau
Depends on D8989

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

--HG--
extra : moz-landing-system : lando
2018-10-18 14:34:33 +00:00
Patrick Brosset
d440e92be8 Bug 1499755 - Select the right inline stylesheet on rule-view source url click; r=gl
The code we had to jump to the style-editor when a rule-view source link is clicked did
not make any distinction between multiple inline stylesheets. If you had many of them,
they would all have the same url (i.e. the url of the document, because they are
inline). And we were matching stylesheets in the style-editor by url, so we would
always select the first inline stylesheet.

This change makes use of the fact that the style-editor's selectStyleSheet function
also accept a StyleSheetFront object. When passing this object, there can be no
confusion, because they're all different.

Now, I'm only doing this for inlin stylesheets because other stylesheets have unique
urls and it's important to preserve the previous logic since source-maps may also be
involved.

I'm taking this opportunity to re-enable browser_rules_style-editor-link.js which had
been disabled a long time ago, and removing a part that just doesn't work anymore at
all apparently.

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

--HG--
extra : moz-landing-system : lando
2018-10-18 15:15:12 +00:00
yulia
635b91ba55 Bug 1499686 - Remove _supportsFrameHighlight; r=ochameau
Depends on D8988

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

--HG--
extra : moz-landing-system : lando
2018-10-18 14:10:29 +00:00
yulia
55b14ce44a Bug 1499710 - Remove autohideOnDestroy trait; r=ochameau
Depends on D8987

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

--HG--
extra : moz-landing-system : lando
2018-10-18 14:10:59 +00:00
yulia
58c1777795 Bug 1499683 - Remove Highlightable Trait; r=ochameau
Differential Revision: https://phabricator.services.mozilla.com/D8987

--HG--
extra : moz-landing-system : lando
2018-10-18 14:12:00 +00:00
Julian Descottes
26170d2f0d Bug 1488506 - Add mochitest for enable/disable USB debugging in Connect page;r=ladybenko,daisuke
Depends on D8556

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

--HG--
extra : moz-landing-system : lando
2018-10-18 14:34:15 +00:00
Julian Descottes
778a22f79d Bug 1488506 - Add button to enable/disable USB debugging in Connect page;r=ladybenko,daisuke
Differential Revision: https://phabricator.services.mozilla.com/D8556

--HG--
extra : moz-landing-system : lando
2018-10-17 08:47:30 +00:00
Alexandre Poirot
358eb27dd0 Bug 1499333 - Rename all "worker client" to "worker target front". r=jdescottes
MozReview-Commit-ID: 30eOjbkYyvg

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

--HG--
extra : moz-landing-system : lando
2018-10-18 07:21:02 +00:00
Cosmin Sabou
d3c64e672f Merge mozilla-central to autoland. a=merge 2018-10-19 00:57:18 +03:00
Julian Descottes
8193ff5493 Bug 1499357 - Move inline script out of new aboutdebugging index.html;r=ladybenko
This preparatory work will be necessary to enable CSP for the new about
debugging.

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

--HG--
extra : moz-landing-system : lando
2018-10-18 16:10:35 +00:00
Brian Hackett
8ec92382a7 Bug 1498012 Part 1 - Fix ReplayDebugger problems when searching for scripts and enumerating object properties, r=lsmyth.
--HG--
extra : rebase_source : e80c94d7821b813c2d588c36edd232370f385749
2018-10-16 08:25:36 -06:00
yulia
c5855f6439 Bug 1488379 - Use target.getFront to instantiate animationsFront; r=ochameau
Differential Revision: https://phabricator.services.mozilla.com/D7986

--HG--
extra : moz-landing-system : lando
2018-10-15 15:54:36 +00:00
Patrick Brosset
8026cdd120 Bug 1497348 - Wait for the inspector to be ready after reload; r=yzen
Depends on D8974

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

--HG--
extra : moz-landing-system : lando
2018-10-18 07:57:02 +00:00
Patrick Brosset
a06696c36a Bug 1497348 - Remove callbacks and use async await in browser_toolbox_window_reload_target.js; r=yzen
Differential Revision: https://phabricator.services.mozilla.com/D8974

--HG--
extra : moz-landing-system : lando
2018-10-18 07:56:14 +00:00
Razvan Caliman
4d87a7742b Bug 1497950 - Ensure CSSRuleView has immediate access to PageStyleFront from inspector; r=gl
The current iteration of the Fonts panel requires an instance of the Rules view
in order to get access to the element's rules.

In 2-pane mode, when the Fonts panel is the default (last used panel), the Rules
view is not yet instantiated. To guard against this, the Fonts panel makes a call
to ensure an instance of the Rules view is created (and with it a CSSRuleView object).

For some reason, the pageStyle wasn't immediately assigned to the CSSRuleView in
the constructor. The constructor signature shows that pageStyle can be passed in as a
param, but this never happens. There's only one usage of `new CSSRuleView()`.
The pageStyle exist on the inspector instance passed in to the CSSRuleView.

This patch ensures that the CSSRuleView makes use of the PageStyleFront instance
from the inspector and removes the unused param from the constructor.

Perhaps it's better for the Fonts panel to manage its own ElementStyle instance to
get access to the element's selected rules. But in the interest of time, since the
merge date is soon, I'd rather have this fix in quikcly now and keep the dependency
to a Rules view instance with the promise to revisit the Fonts panel architecture and
remove this dependency during the Firefox 65 Nightly cycle.

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

--HG--
extra : moz-landing-system : lando
2018-10-17 18:10:01 +00:00
Daniel Varga
e4438031ba Backed out 5 changesets (bug 1496220) for chrome failure at toolkit/content/tests/chrome/test_findbar_events.xul. on a CLOSED TREE
Backed out changeset 2c1353f4a3f5 (bug 1496220)
Backed out changeset bc592bed0522 (bug 1496220)
Backed out changeset 7b5505d44965 (bug 1496220)
Backed out changeset 670b75f8446f (bug 1496220)
Backed out changeset c4a8a6256d7f (bug 1496220)

--HG--
extra : rebase_source : 43edfc28753cca429f7a72994d568091f30e62bc
extra : amend_source : 738723a11e8fb88a71cac79de93b878d82230409
2018-10-17 20:21:16 +03:00
Csoregi Natalia
ad070fb0ff Backed out changeset b062b1682bbd (bug 1495855) for failures on browser_addons_debug_info.js. CLOSED TREE 2018-10-17 19:23:45 +03:00
Jim Chen
5e1875353b Bug 1496220 - 3. Disable Necko IPC security for test_saveHeapSnapshot_e10s_01; r=fitzgen
The use of <iframe mozbrowser> in test_saveHeapSnapshot_e10s_01.html has
implicitly depended on the "network.disable.ipc.security" pref set to
false, which is the default for desktop and not applicable for Fennec.
With the new mobile test harness, this pref needs to be set explicitly
by the test.

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

--HG--
extra : moz-landing-system : lando
2018-10-17 16:12:30 +00:00
savvysiddharth
c063aeeee7 Bug 1317076 - Making navigation marker more obvious; r=nchevobbe
Before this patch, in developer console, enabling persist log, message displayed "Navigated to" ..something was not distinguishable from console.log messages. Now specific class for navigation marker is added.

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

--HG--
extra : moz-landing-system : lando
2018-10-17 15:11:28 +00:00
Nicolas Chevobbe
c6c345bff2 Bug 1498598 - Make js-property-provider better; r=bgrins.
This patches solves 2 issues:
- it doesn't return any result when the user is trying to
perform a variable, function or class declaration (e.g.
var d).
- js-property-provider used to compute the last statement
by only looking for space or ; chars. But there are a lot
of cases (basically each time using an operator), where we
should return results and we weren't.
Test cases are added to cover those fixes.

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

--HG--
extra : moz-landing-system : lando
2018-10-17 15:02:41 +00:00
Luca Greco
10ff99f300 Bug 1495855 - Rework the about:debugging webextensions tests to do not use symlink-ed test addons. r=ochameau
Differential Revision: https://phabricator.services.mozilla.com/D8589

--HG--
extra : moz-landing-system : lando
2018-10-15 16:43:05 +00:00
Luca Greco
85c8794fe1 Bug 1393760 - Avoid to fire multiple new-node-front events for undefined nodeFront. r=ochameau
Differential Revision: https://phabricator.services.mozilla.com/D8856

--HG--
extra : moz-landing-system : lando
2018-10-16 17:54:47 +00:00
Patrick Brosset
8bc98179e9 Bug 1499322 - Support pseudo elements in the flexbox inspector; r=rcaliman
On the server, when looking for a flex container for a node, we were bailing
out if the displayType of the node was null. It was null for pseudo-elements.
This value was returned by the displayType getter in the NodeActor class.
Now, the reason for this dates to 4 years ago in bug 1139937 where trying to
get the display style of a pseudo-element was done in a way to failed. So we
just decided to return null at that point. It doesn't fail anymore, we're
able to return, say, "block" if a pseudo-element has a display:block style.
So I've removed the checks that returned null and that fixed the issue here.

The other part of the fix that was need is in the FlexItemActor class on the
server too. This class can be created for a pseudo-element too.
It accesses element.style without checking if that property exists. However it
does not exist for pseudo-elements. So we needed to add a check for that.
It's not a problem to just skip it in this case because pseudo-elements can't
have inline styles.

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

--HG--
extra : moz-landing-system : lando
2018-10-17 14:24:57 +00:00
yulia
c22cefe4e6 Bug 1488375 - Use target.getFront to instantiate MemoryFront; r=ochameau
Differential Revision: https://phabricator.services.mozilla.com/D7097

--HG--
extra : moz-landing-system : lando
2018-10-17 10:36:33 +00:00
Julian Descottes
f5dd787e3e Bug 1494549 - Disable new aboutdebugging tests on Linux 32;r=ladybenko
Depends on D8513

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

--HG--
extra : moz-landing-system : lando
2018-10-17 10:45:49 +00:00
Julian Descottes
2959e3bfe3 Bug 1494549 - Wait until ADB started in USB status sidebar test;r=daisuke
Depends on D8335

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

--HG--
extra : moz-landing-system : lando
2018-10-17 11:11:53 +00:00
Julian Descottes
795c6e7708 Bug 1494549 - Add a mochitest test for status message;r=ladybenko
Depends on D8334.
In this changeset we also change the way we are reading the preferences
in adb-addon.js to avoid caching the value of the preference the first
time the module is loaded.

This allows the module to follow updates of said preferences without
having to restart Firefox.

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

--HG--
extra : moz-landing-system : lando
2018-10-17 11:10:33 +00:00
Julian Descottes
2abe7cbcce Bug 1494549 - Show USB devices status in sidebar;r=ladybenko
Maybe we want to land the simplest solution for now and discuss
quickly how to style the message to reduce confusion in a follow up?

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

--HG--
extra : moz-landing-system : lando
2018-10-17 11:10:05 +00:00
yulia
94266886f2 Bug 1499056 - Use target.getFront for screenshot front; r=ochameau
Differential Revision: https://phabricator.services.mozilla.com/D8866

--HG--
extra : moz-landing-system : lando
2018-10-17 10:40:48 +00:00
Margareta Eliza Balazs
0519ad0209 Backed out 3 changesets (bug 1494549) for multiple failures e.g.: devtools/client/aboutdebugging-new/test/browser/browser_aboutdebugging_sidebar_usb_status.js CLOSED TREE
Backed out changeset 5729da1055e8 (bug 1494549)
Backed out changeset 7c62247314d7 (bug 1494549)
Backed out changeset bff7126ddd3f (bug 1494549)
2018-10-17 11:52:14 +03:00
Julian Descottes
1bf1e7cf90 Bug 1494549 - Wait until ADB started in USB status sidebar test;r=daisuke
Depends on D8335

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

--HG--
extra : moz-landing-system : lando
2018-10-17 07:21:11 +00:00
Julian Descottes
53b7c866bb Bug 1494549 - Add a mochitest test for status message;r=ladybenko
Depends on D8334.
In this changeset we also change the way we are reading the preferences
in adb-addon.js to avoid caching the value of the preference the first
time the module is loaded.

This allows the module to follow updates of said preferences without
having to restart Firefox.

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

--HG--
extra : moz-landing-system : lando
2018-10-17 07:20:08 +00:00
Julian Descottes
0538acfa7d Bug 1494549 - Show USB devices status in sidebar;r=ladybenko
Maybe we want to land the simplest solution for now and discuss
quickly how to style the message to reduce confusion in a follow up?

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

--HG--
extra : moz-landing-system : lando
2018-10-17 07:19:25 +00:00
Alexandre Poirot
0012df664b Bug 1497150 - Use BrowsingContextFront's javascriptEnabled cached value instead of calling attach. r=jdescottes
For now, the options panel was calling `attach` to know if the javascript was disabled
on the debugged document. But this property is already cached during the `attach`
request done by the toolbox.

MozReview-Commit-ID: JcDT6vxCUzN

Depends on D8851

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

--HG--
extra : moz-landing-system : lando
2018-10-16 22:17:20 +00:00
Alexandre Poirot
3dcf321b29 Bug 1497150 - Convert browser_toolbox_options_disable_js.js to async test. r=jdescottes
MozReview-Commit-ID: 132swUYwGZw

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

--HG--
extra : moz-landing-system : lando
2018-10-16 22:17:18 +00:00
shindli
20d8934ad2 Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-10-17 03:58:24 +03:00
shindli
2eb594138a Merge inbound to mozilla-central. a=merge 2018-10-17 03:55:26 +03:00
Alexandre Poirot
0f5e860391 Bug 1495551 - Rename all "tab client" occurences to "target front". r=jdescottes
MozReview-Commit-ID: JrEdamUz6Be

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

--HG--
extra : moz-landing-system : lando
2018-10-16 18:45:33 +00:00
Florens Verschelde
17b8e17272 Bug 1488012 - Update devtools frame picker button; r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D4820

--HG--
extra : moz-landing-system : lando
2018-10-16 17:42:43 +00:00
Nicolas Chevobbe
02618be077 Bug 1499378 - Fix mocha test; r=bgrins.
A function was missing in the serviceContainer stub,
and the console.trace with params test needed a
Provider wrapper to work with the latest changes made
to the ObjectInspector.

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

--HG--
extra : moz-landing-system : lando
2018-10-16 15:02:17 +00:00
yulia
d407fdf975 Bug 1497545 - clean up framerate tests; r=ochameau
Depends on D8542

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

--HG--
extra : moz-landing-system : lando
2018-10-16 14:18:10 +00:00
yulia
5aecbef59c Bug 1497545 - Use getFront for Framerate Front where possible; r=ochameau
In this patch, I converted the call sites where there was an obvious target. I left out
those where there wasn't one... Should these be converted as well?

Depends on D8369

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

--HG--
extra : moz-landing-system : lando
2018-10-16 14:17:52 +00:00
yulia
ba9f6d1c74 Bug 1497545 - remove client and cleanup from attachURL; r=ochameau
Depends on D8372

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

--HG--
extra : moz-landing-system : lando
2018-10-15 16:08:53 +00:00
yulia
ca44cba877 Bug 1497545 - Use getInspector in devtools/server/tests/mochitest r=ochameau
This patch converts all getInspector locations

Depends on D8369

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

--HG--
extra : moz-landing-system : lando
2018-10-15 12:56:28 +00:00
yulia
ef5919e881 Bug 1497545 - update inspector-helper attachURL to provide a target; r=ochameau
This is part 1 of bug 1497545, and covers the most difficult case, which is migrating
attachURL to something a bit more modern and easier to read. The goal is to make our tests more
consistant with our code base now, and keep these tests maintainable.

UPDATE: I will split this up, as it is too large to review in one pass

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

--HG--
extra : moz-landing-system : lando
2018-10-12 13:45:27 +00:00
Nicolas Chevobbe
b093e93392 Bug 1498300 - Add top-level await support to the Browser Console; r=bgrins.
This patch moves the parserService from the toolbox,
which isn't accessible in the case of the Browser Console,
to the console itself.
A lightweight test is added to ensure top-level await is
supported in the browser console.

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

--HG--
extra : moz-landing-system : lando
2018-10-16 13:57:32 +00:00
Alexandre Poirot
d5c27c6692 Bug 1499312 - Fix running devtools/client/shared/test/browser_dbg_WorkerTargetActor.attach.js individually. r=davidwalsh
MozReview-Commit-ID: 2i9NiMeOqcf

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

--HG--
extra : moz-landing-system : lando
2018-10-16 12:04:17 +00:00
Belén Albeza
5a45b66985 Bug 1494543 - Part 2: Add model + short runtime name to the sidebar item. r=jdescottes,daisuke
Added new getters to the ADB scanner so our runtime objects have now the information we need.

Note that the UX of the devices in this patch doesn't still match what we had in the mockups (icons don't match, and we also need a circle with a tick), but since we have another bug to handle the CSS in the Sidebar, we can always adapt it there. The information needed to display what is shown in the mockups should be passed in this patch –if I miss anything, give me a shout!

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

--HG--
extra : moz-landing-system : lando
2018-10-16 11:57:45 +00:00
Belén Albeza
4e1ce7bb11 Bug 1494543 - Part 1: Refactor sidebar items into different components. r=jdescottes,daisuke
This is a refactor of the components used in the sidebar. TL;DR: sidebar items now use the composition approach outlined here https://reactjs.org/docs/composition-vs-inheritance.html

Before we had a container `Sidebar` component, which in turn had `SidebarItem` components inside. The issue was that depending on what item is inside, the information and UX displayed is different. Before this patch, we had an optional commponent, `DeviceSidebarItemAction` –which was featuring a "Connect" button, and was only rendered in the runtime sidebar items. However, we now need to display even more info, so continue to pass optional components to `SidebarItem` was tricky.

What this patch does is to preserve `SidebarItem` and treat is a generic container of more specific content. This is passed via the `children` prop, which React automatically maps to the DOM content that we pass to that component (this is the same concept as slots in Web Components / Vue). `SidebarItem` now only contains the logic to select items in the sidebar and render them in `<li>` elements. Two new components, `SidebarFixedItem` (for our "static" pages) and `SidebarDeviceItem` are now the ones instancing `SidebarItem` with their specific contents.

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

--HG--
extra : moz-landing-system : lando
2018-10-16 09:35:25 +00:00
Alexandre Poirot
6cd123eae4 Bug 1494632 - Convert WorkerClient to protocol.js front. r=jdescottes
MozReview-Commit-ID: BbtEReeG4v9

Depends on D7462

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

--HG--
extra : moz-landing-system : lando
2018-10-16 09:39:11 +00:00
Amy Chan
e4b80ceed6 Bug 1356536 - Add file type icons in network monitor. r=Honza
Added request type icons in File column of Network Monitor

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

--HG--
extra : moz-landing-system : lando
2018-10-16 10:30:23 +00:00
Cosmin Sabou
ee928c38ca Backed out 3 changesets (bug 1494549) for OSX devtools failures. CLOSED TREE
Backed out changeset e9abf60db23b (bug 1494549)
Backed out changeset 3e89e661031c (bug 1494549)
Backed out changeset 0d7e2a4ad360 (bug 1494549)
2018-10-16 12:34:38 +03:00
Julian Descottes
04e75c921a Bug 1494549 - Wait until ADB started in USB status sidebar test;r=daisuke
Depends on D8335

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

--HG--
extra : moz-landing-system : lando
2018-10-15 07:30:44 +00:00
Julian Descottes
367cd9399a Bug 1494549 - Add a mochitest test for status message;r=ladybenko
Depends on D8334.
In this changeset we also change the way we are reading the preferences
in adb-addon.js to avoid caching the value of the preference the first
time the module is loaded.

This allows the module to follow updates of said preferences without
having to restart Firefox.

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

--HG--
extra : moz-landing-system : lando
2018-10-12 07:20:22 +00:00
Julian Descottes
26732aa0db Bug 1494549 - Show USB devices status in sidebar;r=ladybenko
Maybe we want to land the simplest solution for now and discuss
quickly how to style the message to reduce confusion in a follow up?

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

--HG--
extra : moz-landing-system : lando
2018-10-15 15:31:14 +00:00
Mantaroh Yoshinaga
856268ab66 Bug 1490358 - Hide menu popup when press the ctrl+t. r=birtles
If push the ctrl+t, browser will open the new tab. In this case,
the XUL popup panel doesn't hide automatically(autohide=false).
As the result of it, the popup menu will be displayed in the new tab
content. So this patch will hide the popup when receiving the ctr+t
shortcut in the MenuButton.

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

--HG--
extra : moz-landing-system : lando
2018-10-16 07:13:04 +00:00
Mantaroh Yoshinaga
d5a153395f Bug 1485501 - Change the calculated viewport if anchor element is displayed at second screen. r=birtles
If we displayed the devtools across the second screen, the Screen.availLeft
might be not zero. I.e., Screen.availLeft point to second screen's left.
The HTMLTooltip does't consider this case, so this patch will change the
viewpor's left and right position if the left of anchor element is bigger than
screen.right.

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

--HG--
extra : moz-landing-system : lando
2018-10-16 01:16:59 +00:00
Micah Tigley
58896ac3d6 Bug 1499052 - Enable both M1 and M2 milestones for the Flexbox inspector in DevEdidtion 64 (and keep it there). r=gl
Differential Revision: https://phabricator.services.mozilla.com/D8738

--HG--
extra : moz-landing-system : lando
2018-10-15 19:58:20 +00:00
Noemi Erli
a52231df87 Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-10-16 01:22:27 +03:00
Noemi Erli
014b37a409 Merge inbound to mozilla-central. a=merge 2018-10-16 01:20:08 +03:00
Bogdan Tara
37c2b65d30 Backed out changeset ffb2909f660d (bug 1497312) for browser_flexbox_highlighter_color_picker_on_RETURN.js failures CLOSED TREE 2018-10-15 23:31:22 +03:00
Julien Wajsberg
c4847c5f16 Bug 1495473 - Properly propagate the error up to the client r=ochameau
Differential Revision: https://phabricator.services.mozilla.com/D7299

--HG--
extra : moz-landing-system : lando
2018-10-15 17:33:58 +00:00
Nicolas Chevobbe
bcd61b77db Bug 1425542 - Move inspectObjectActor away from jsterm; r=bgrins.
Differential Revision: https://phabricator.services.mozilla.com/D8519

--HG--
extra : moz-landing-system : lando
2018-10-15 14:23:51 +00:00
Nicolas Chevobbe
95a682c9a9 Bug 1484989 - Prevent JsTerm to steal focus when reloading a page; r=bgrins.
JsTerm's focus function was called in clearOutput, which
we call when navigating to a new page (if Persist Logs is
not checked).
This means that we were forcing the JsTerm to be focused
each time the user navigated while having the console open.
This behavior, can be annoying, or at worst, if you're
debugging a focus issue in your content page, completely maddening.
The fix is striaghtforward: do not call focus in clearOutput.
A test is added to make sure we don't regress this.

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

--HG--
extra : moz-landing-system : lando
2018-10-15 14:25:10 +00:00
Dorel Luca
451e26f0c6 Backed out changeset 8d7987ea4fb1 (bug 1490257) for causing android failures. CLOSED TREE 2018-10-15 14:39:00 +03:00
vinoth
7b887cfbbc Bug 1498885 - Assertion added in ContentSecurityPolicyPermitsJSAction() to not allow eval with SystemPrincipal r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D8683

--HG--
extra : moz-landing-system : lando
2018-10-15 08:02:04 +00:00
Alexandre Poirot
4b85a3b27f Bug 1485660 - Adapt DebuggerClient._pools to accept Front's and (now) Pool's. r=jdescottes
MozReview-Commit-ID: EWka8fMBcK5

Depends on D7462

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

--HG--
extra : moz-landing-system : lando
2018-10-15 08:36:21 +00:00
Alexandre Poirot
235c66815f Bug 1485660 - Remove gcli leftover. r=jdescottes
MozReview-Commit-ID: FMuFBTseBIx

Depends on D7461

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

--HG--
extra : moz-landing-system : lando
2018-10-15 08:36:19 +00:00
Alexandre Poirot
5303ca93db Bug 1485660 - Convert browser_db_listtabs-03.js to async and make it use TargetFront. r=jdescottes
MozReview-Commit-ID: KLqx50gwSXS

Depends on D7460

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

--HG--
extra : moz-landing-system : lando
2018-10-15 08:36:17 +00:00
Alexandre Poirot
9c63f6e5ba Bug 1485660 - Special test fixes. r=jdescottes
* browser_addons_debug_webextension_popup: It looks like frame-update events are now fired earlier.
I had to move the listener to an earlier step in order to make it work.
* helper_disable_cache + toolbox.js: this test wasn't correctly listening for reconfigure request's end.
  Not clear how this test was passing before without high rate of intermittent...
* test_webextension-addon-debugging-connect.html: We can no longer listen for frame-update *before* the target object is created.
  (because we now need a TabTarget object or the TargetFront and not just the DebuggerClient)
* Fix reload request in shadereditor which may still be pending after test ends.

MozReview-Commit-ID: 49qvWSCn6nq

Depends on D8066

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

--HG--
extra : moz-landing-system : lando
2018-10-15 08:36:15 +00:00
Alexandre Poirot
2bab2fef72 Bug 1485660 - Adapt TabClient API to protocol one. r=jdescottes
MozReview-Commit-ID: 1dC5opkgLcQ

Depends on D7459

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

--HG--
extra : moz-landing-system : lando
2018-10-15 08:36:12 +00:00
Alexandre Poirot
bbd1bcdcbe Bug 1485660 - Switch from listening from DebuggerClient to TargetFront. r=jdescottes
* debugger-controller and events.js are special and require to support two cases because this is
the only production codepath that can have a TabTarget or a WorkerTarget.
Thus, leading to either TargetFront or WorkerClient on target.activeTab.
* webide.js doesn't need to listen for tabNavigated, this is redundant with tabListChanged.
* application's initializer. In case you are wondering this code can't be spawn against a WorkerTarget.
The application panel doesn't work in worker toolboxes.
* The code modified in target is in TabTarget, so we don't have to support the WorkerClient case, we always have a TargetFront here.
* I tried to update the doc file the best I can but this all feel outdated.

MozReview-Commit-ID: 2hGchebfIub

Depends on D7458

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

--HG--
extra : moz-landing-system : lando
2018-10-15 08:36:10 +00:00
Alexandre Poirot
e7998a50ec Bug 1485660 - Convert TabClient to a front. r=jdescottes
TabClient appears to be a client for any actor that inherits from browsing context target actor.
So let it be a front for that.

MozReview-Commit-ID: KmpClxJ53N7

Depends on D7457

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

--HG--
extra : moz-landing-system : lando
2018-10-15 08:36:07 +00:00
Alexandre Poirot
9c441aadb9 Bug 1485660 - Avoid exceptions when the connection is closed in middle of the actor's id retrieval. r=jdescottes
MozReview-Commit-ID: KvwkISz7OVe

Depends on D7456

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

--HG--
extra : moz-landing-system : lando
2018-10-15 08:36:05 +00:00
Alexandre Poirot
1fd7cbd0a7 Bug 1485660 - Allows calling DebuggerClient.close twice in a row. r=jdescottes
MozReview-Commit-ID: uACM0VtJ5E

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

--HG--
extra : moz-landing-system : lando
2018-10-15 08:36:03 +00:00
Jonathan Kingston
8bcd10a7ab Bug 1490257 - Add asserts and remove implied system triggering principal code r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D8368

--HG--
extra : moz-landing-system : lando
2018-10-15 06:29:45 +00:00
Dorel Luca
451b0f42f9 Backed out 2 changesets (bug 1494543) for causing Devtools failures in browser/base/content/test/static/browser_parsable_css.js. CLOSED TREE
Backed out changeset 744747bb295c (bug 1494543)
Backed out changeset 5a54f333b855 (bug 1494543)
2018-10-15 12:14:17 +03:00
Florens Verschelde
b355fe0cc4 Bug 1495693 - Declare devtools-textinput colors explicitly; r=pbro
Differential Revision: https://phabricator.services.mozilla.com/D8677

--HG--
extra : moz-landing-system : lando
2018-10-15 08:12:12 +00:00
Belén Albeza
96c978440f Bug 1494543 - Part 2: Add model + short runtime name to the sidebar item. r=jdescottes,daisuke
Added new getters to the ADB scanner so our runtime objects have now the information we need.

Note that the UX of the devices in this patch doesn't still match what we had in the mockups (icons don't match, and we also need a circle with a tick), but since we have another bug to handle the CSS in the Sidebar, we can always adapt it there. The information needed to display what is shown in the mockups should be passed in this patch –if I miss anything, give me a shout!

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

--HG--
extra : moz-landing-system : lando
2018-10-11 12:01:59 +00:00
Florens Verschelde
deef5c4f62 Bug 1456307 - Use more accurate flexbox icon in inspector; r=pbro
Differential Revision: https://phabricator.services.mozilla.com/D8662

--HG--
extra : moz-landing-system : lando
2018-10-15 07:52:52 +00:00
Belén Albeza
b77f33a3d8 Bug 1494543 - Part 1: Refactor sidebar items into different components. r=jdescottes,daisuke
This is a refactor of the components used in the sidebar. TL;DR: sidebar items now use the composition approach outlined here https://reactjs.org/docs/composition-vs-inheritance.html

Before we had a container `Sidebar` component, which in turn had `SidebarItem` components inside. The issue was that depending on what item is inside, the information and UX displayed is different. Before this patch, we had an optional commponent, `DeviceSidebarItemAction` –which was featuring a "Connect" button, and was only rendered in the runtime sidebar items. However, we now need to display even more info, so continue to pass optional components to `SidebarItem` was tricky.

What this patch does is to preserve `SidebarItem` and treat is a generic container of more specific content. This is passed via the `children` prop, which React automatically maps to the DOM content that we pass to that component (this is the same concept as slots in Web Components / Vue). `SidebarItem` now only contains the logic to select items in the sidebar and render them in `<li>` elements. Two new components, `SidebarFixedItem` (for our "static" pages) and `SidebarDeviceItem` are now the ones instancing `SidebarItem` with their specific contents.

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

--HG--
extra : moz-landing-system : lando
2018-10-11 11:59:26 +00:00
Florens Verschelde
ccb44df343 Bug 1471163 - Remove devtools floating scrollbars and set scrollbar-color on Linux; r=jdescottes
Remove the floating scrollbar implementation used on Linux now that CSS scrollbar-color
landed for Linux. Also force scrollbar-color for the DevTools light theme on Linux, to
avoid visual conflicts with dark GTK themes.

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

--HG--
extra : moz-landing-system : lando
2018-10-14 17:14:10 +00:00
Csoregi Natalia
adeba320b0 Merge inbound to mozilla-central. a=merge 2018-10-15 07:53:34 +03:00
Gabriel Luong
d3d023f557 Bug 1497905 - Avoid destroying the markup iframe on navigation. r=pbro 2018-10-14 22:26:05 -04:00
Mark Striemer
bfceed545a Bug 1490366 - Part 1: Move card styles to common from about:debugging r=dao
Differential Revision: https://phabricator.services.mozilla.com/D8101

--HG--
extra : moz-landing-system : lando
2018-10-14 19:20:02 +00:00
Patrick Brosset
25bfd6366a Bug 1498487 - Flex item outline design changes; r=gl
- Made the border for the final size thicker
- Made the delta area more transparent
- Removed the arrow-head pattern for the delta area
- Added a thin horizontal arrow instead
- Removed the background circle around the lock icon
- Added a non-blurry shadow area around it instead

The mockup also called for adding a new label for "grow".
I did not implement this yet, because this will require more
work that can be done in a separate bug. We also need to
decide what happens if there isn't enough room to display
it.

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

--HG--
extra : moz-landing-system : lando
2018-10-14 19:24:38 +00:00
shindli
27d0f9d0d2 Backed out 5 changesets (bug 1488730, bug 1490366, bug 1488727) for bc failures in | toolkit/mozapps/extensions/test/browser/browser_details.js and browser/components/enterprisepolicies/tests/browser/browser_policy_disable_flash_plugin.js CLOSED TREE
Backed out changeset 9cd889824b1c (bug 1488730)
Backed out changeset 4d076c865471 (bug 1488727)
Backed out changeset 0b8bcd97f254 (bug 1490366)
Backed out changeset 448672780572 (bug 1490366)
Backed out changeset 7e0abd16a50b (bug 1490366)
2018-10-14 19:23:09 +03:00
Mark Striemer
c18b17b3d3 Bug 1490366 - Part 1: Move card styles to common from about:debugging r=dao
Differential Revision: https://phabricator.services.mozilla.com/D8101

--HG--
extra : moz-landing-system : lando
2018-10-14 15:13:31 +00:00
Gurzau Raul
e8d74109ee Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-10-15 01:21:36 +03:00
Gabriel Luong
40306dcbc5 Bug 1496572 - Fix intermittent devtools/client/inspector/test/browser_inspector_highlighter-eyedropper-xul.js by adding a new emitted event for the inspector toolbar update. r=pbro 2018-10-13 06:53:00 +03:00
Tiberius Oros
1956192203 Disable Bug 1453214 for frequent failures on windows and linux64 r=jmaher
--HG--
extra : rebase_source : fce55192880d48bfea1006d7f8961b6433b0f8d8
2018-10-13 03:19:00 +03:00
Diego Pino Garcia
4520a114b1 Bug 1498148 - Implement text-transform: full-size-kana. r=xidorn 2018-10-14 09:42:24 +11:00
Noemi Erli
e350ad46ad Backed out changeset a00b402fb8e8 (bug 1498148) for Linting failure in builds/worker/checkouts/gecko/tools/lint/wpt.yml CLOSED TREE 2018-10-14 00:12:12 +03:00
Diego Pino Garcia
d8fa9f97a3 Bug 1498148 - Implement text-transform: full-size-kana. r=xidorn 2018-10-13 05:03:00 +03:00
Olli Pettay
32f9fcc2d3 Bug 1498380 - devtools UI relies on old Gecko's <button> hit testing, r=pbro 2018-10-12 14:14:58 +03:00
Daisuke Akatsuka
4fb0e9fd75 Bug 1494847 - Part 4: Remove backward compatibility codes before version 62. r=pbro
Depends on D7687

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

--HG--
extra : moz-landing-system : lando
2018-10-12 13:33:54 +00:00
Daisuke Akatsuka
2558c76250 Bug 1494847 - Part 3: Add test for negative playback rate. r=pbro
Depends on D7686

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

--HG--
extra : moz-landing-system : lando
2018-10-12 07:01:40 +00:00
Daisuke Akatsuka
984d6868a8 Bug 1494847 - Part 2: Set proper currentTime for negative playback rate. r=pbro
Depends on D7685

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

--HG--
extra : moz-landing-system : lando
2018-10-12 06:36:37 +00:00
Daisuke Akatsuka
96b09f29f1 Bug 1494847 - Part 1: Show proper graph for negative playback rate. r=pbro
Differential Revision: https://phabricator.services.mozilla.com/D7685

--HG--
extra : moz-landing-system : lando
2018-10-13 05:39:18 +00:00
Tim Nguyen
53b1b96828 Bug 1497969 - Add a way to emulate :focus-within pseudo-class. r=pbro
Differential Revision: https://phabricator.services.mozilla.com/D8275

--HG--
extra : moz-landing-system : lando
2018-10-12 21:56:44 +00:00
Gabriel Luong
30fe8ea044 Bug 1499483 - Make the Layout view the default sidebar tab. r=pbro 2018-10-17 17:00:35 -04:00
Dorel Luca
2b0bec5ab3 Merge mozilla-central to mozilla-inbound. CLOSED TREE
--HG--
extra : amend_source : d757a37614ac9d59e154d34ede3ca871a643cdb7
2018-10-18 02:02:07 +03:00