Commit Graph

12704 Commits

Author SHA1 Message Date
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
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