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

12885 Коммитов

Автор SHA1 Сообщение Дата
Julian Descottes 8f79dfd5e3 Bug 1494894 - sidebar CSS: remove duplicated padding on FixedSidebarItem;r=ladybenko
Depends on D9654

This padding is already set on SidebarItem so I think we can skip it here?

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

--HG--
extra : moz-landing-system : lando
2018-10-26 15:00:08 +00:00
Julian Descottes 7d87e1b4e8 Bug 1494894 - sidebar CSS: use constant sidebar item height;r=ladybenko
Depends on D9653

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

--HG--
extra : moz-landing-system : lando
2018-10-26 14:59:55 +00:00
Julian Descottes b9cedf5b0b Bug 1494894 - sidebar CSS: use color instead of opacity for unselectable items;r=ladybenko
Depends on D9652

This allows the Connect button to no longer look disabled. However we could maybe mutualize
colors a bit more, either with a --color-disabled variable or with a class.

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

--HG--
extra : moz-landing-system : lando
2018-10-26 15:00:13 +00:00
Michael Ratcliffe 9594a12760 Bug 1437631 - Flexbox highlighter doesn't honor RTL or writing mode r=gl
This patch fixes **all** issues caused by RTL or writing mode.

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

--HG--
extra : moz-landing-system : lando
2018-10-26 12:12:48 +00:00
Michael Ratcliffe 9a4efbbdcc Bug 1497182 - Flexbox justify-content incorrectly drawn when using flex-direction: row-reverse r=gl
Differential Revision: https://phabricator.services.mozilla.com/D7999

--HG--
extra : moz-landing-system : lando
2018-10-26 12:00:16 +00:00
Razvan Caliman ab99750db5 Bug 1499049 - (Part 9) Add tests for tracking changes to CSS declarations from the Rule view; r=pbro
Depends on D9659
Adds infrastructure and tests for validating that changes to CSS
declarations in the Inspector Rule view are tracked and show up in the
Changes panel.

Makes use of the `client/inspector/rules/test/head.js` file with helpers
to instrument changes in the Rule view then observe results on the
Changes panel.

This is a first pass on tests. More will follow to validate:
- declarations in at-rules;
- nested at-rules;
- declarations in various sources: inline styles, external stylesheets.

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

--HG--
extra : moz-landing-system : lando
2018-10-25 16:01:21 +00:00
Razvan Caliman d87962420b Bug 1499049 - (Part 8) Clear the changes store when about to navigate to a new page; r=pbro
Depends on D9257
We need to clear the store of previous changes but we should not remove
references and event listeners to the ChangesActor since the DevTools
session is still active.

MozReview-Commit-ID: Okp2CcSlfw

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

--HG--
extra : moz-landing-system : lando
2018-10-25 08:07:40 +00:00
Razvan Caliman 067fabd546 Bug 1499049 - (Part 7) Fix issues with toggled and renamed CSS declarations r=pbro;
Depends on D8967

This patch fixes an issue where toggling a new CSS declaration OFF then
back ON would make the Changes panel lose track of its existence. This
happened because tracked changes don't have context about "disabled"
state, only "add" or "remove", like diffs.

Additionally, this patch fixes the case where renaming a property would
erroneously track two distinct operations (rename + add). To fix this,
we prevent the inline editor for the property name from the CSS Rules
view to advance and focus the property value, which then immediately
blurred triggering a fake second operation to be tracked.

Auto-advancing to the property value inline editor still works if
adding a new declaration or if the property name ends with a colon, ":",
therefore old behaviour is not lost.

MozReview-Commit-ID: Faw2DeCJJYk

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

--HG--
extra : moz-landing-system : lando
2018-10-25 11:07:29 +00:00
Razvan Caliman a01b8dee61 Bug 1499049 - (Part 6) Support !important in changed CSS property values; r=pbro
Depends on D8722

Include the "!importat" priority flag when tracking changes to CSS declarations.

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

--HG--
extra : moz-landing-system : lando
2018-10-25 11:06:56 +00:00
Razvan Caliman 7cf94dd9bc Bug 1499049 - (Part 5) Refactor Changes panel to render diff of nested CSS rule structures; r=pbro
Depends on D8721

- Externalize reusable CSSDeclaration React component;
- Introduce the ability to render rules with unlimited levels of nesting, but cap indentation in the UI at a reasonable level;
- Remove accordion behavior from rules, but keep for sources;
- Cleanup CSS styles for Changes panel.

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

--HG--
extra : moz-landing-system : lando
2018-10-25 13:42:05 +00:00
Razvan Caliman d6632c895d Bug 1499049 - (Part 4) Remove tracked rules and sources that end up unchanged; r=pbro
Depends on D8720

If all of the changes to a CSS rule cancel each other out, remove the information about the rule from the Redux store.

If none of the rules in a source end up changed, remove the information about the source form the Redux store.

This ensures the Changes panel only shows actual diffs and not empty signatures of rules which were changed but the sum of their changes means nothing really changed.

MozReview-Commit-ID: 4n9yRkFdmN4

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

--HG--
extra : moz-landing-system : lando
2018-10-25 11:05:55 +00:00
Razvan Caliman da9c192a4c Bug 1499049 - (Part 3) Add new reducer logic for tracking CSS changes to nested rules; r=pbro
Depends on D8719

- Add methods to generate unique identifiers for stylesheets and CSS rules changed within those stylesheets. These are used as IDs in the Redux store;
- Add logic to generate entries in the store for each one of the rule's ancestors and assign parent/child dependencies. This single-level structure for all rules in a source helps with quickly identifying a rule on subsequent changes independent of its rule tree (it avoids needless tree traversal). The parent/child references help with rendering of the nested rule structure in the Changes panel;
- Deep clone Redux store state before aggregating tracked changes (no more mutations of previous state).

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

--HG--
rename : devtools/client/inspector/changes/moz.build => devtools/client/inspector/changes/utils/moz.build
extra : moz-landing-system : lando
2018-10-25 16:20:00 +00:00
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