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

15165 Коммитов

Автор SHA1 Сообщение Дата
Jason Laster 25d855c4ff Bug 1534368 - breakpoint positions should be filtered by source. r=loganfsmyth
Differential Revision: https://phabricator.services.mozilla.com/D24289

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

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

--HG--
extra : moz-landing-system : lando
2019-03-26 13:33:29 +00:00
Mellina Yonashiro 2fbf0a347e Bug 1536005 - Merge Tabs.css and TabBar.css into Tabs.css r=fvsch
Differential Revision: https://phabricator.services.mozilla.com/D24663

--HG--
extra : moz-landing-system : lando
2019-03-26 13:19:35 +00:00
Belén Albeza c3820a59f4 Bug 1505125 - UX implementation of the Sidebar. r=jdescottes,daisuke,Ola,flod
Differential Revision: https://phabricator.services.mozilla.com/D24419

--HG--
extra : moz-landing-system : lando
2019-03-26 12:38:48 +00:00
Dhruvi Butti 805db1b032 Bug 1512400 - Make console autocomplete optional. r=nchevobbe.
Add a preference to make the console input autocomplete automatic.
If set to false, the autocomplete popup will only appear on Ctrl+Space.
A test is added to ensure this works as expected.

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

--HG--
extra : moz-landing-system : lando
2019-03-26 07:13:15 +00:00
Julian Descottes aa6b2752d1 Bug 1528781 - Hide tabs for This Firefox behind a preference;r=Ola,daisuke
Differential Revision: https://phabricator.services.mozilla.com/D24378

--HG--
extra : moz-landing-system : lando
2019-03-25 16:09:57 +00:00
Brindusan Cristian 8d646b09cd Merge mozilla-central to autoland. a=merge CLOSED TREE 2019-03-26 02:28:46 +02:00
Brindusan Cristian c4f15a4dae Merge inbound to mozilla-central. a=merge 2019-03-26 02:26:12 +02:00
Noemi Erli 676cfa3d56 Backed out changeset d0b9b3883584 (bug 1534786) for failures in browser_dbg-old-breakpoint.js 2019-03-25 19:25:13 +02:00
arthur.iakab 35c8a01713 Merge mozilla-central to autoland 2019-03-25 17:54:29 +02:00
arthur.iakab ee02cd6515 Merge inbound to mozilla-central a=merge 2019-03-25 17:53:27 +02:00
Nicolas Chevobbe c0f87f9ae6 Bug 1527867 - Add support for BigInt in devtools; r=davidwalsh.
We add a new `BigInt` grip type that can be consumed by reps.
A few test cases are added to ensure this works as expected.

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

--HG--
extra : moz-landing-system : lando
2019-03-25 14:33:30 +00:00
Patrick Brosset d6270ca25d Bug 1538676 - Hide the auto-expanded overridden longhands when value is empty; r=gl
Differential Revision: https://phabricator.services.mozilla.com/D24690

--HG--
extra : moz-landing-system : lando
2019-03-25 13:56:20 +00:00
Florens Verschelde 9d9c19e064 Bug 1537724 - Make text selection visible in TreeView inputs; r=Honza
Differential Revision: https://phabricator.services.mozilla.com/D24375

--HG--
extra : moz-landing-system : lando
2019-03-25 12:24:54 +00:00
Julian Descottes 9fc4dd6f7a Bug 1528912 - Do not stop ADB when closing aboutdebugging or webide;r=daisuke
It looks like we don't need to stop ADB. Most of the logic can stay, in order to start and stop the devices polling.

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

--HG--
extra : moz-landing-system : lando
2019-03-25 08:05:18 +00:00
Botond Ballo c1ca1c7e5f Bug 1536755 - Fix eslint trailing-comma failures. r=apavel
Differential Revision: https://phabricator.services.mozilla.com/D24660

--HG--
extra : moz-landing-system : lando
2019-03-25 03:37:00 +00:00
Daisuke Akatsuka aee3333051 Bug 1536682: Add a test for special CSS color. r=pbro
Differential Revision: https://phabricator.services.mozilla.com/D24127

--HG--
extra : moz-landing-system : lando
2019-03-25 03:03:34 +00:00
Daisuke Akatsuka 2d87871070 Bug 1536682: Handle special CSS color within animation inspector. r=pbro
Differential Revision: https://phabricator.services.mozilla.com/D24125

--HG--
extra : moz-landing-system : lando
2019-03-25 03:06:43 +00:00
Brad Werth 65d87a00fb Bug 1536755 Part 2: Add a test of meta viewport fixed width and zoom. r=botond
Differential Revision: https://phabricator.services.mozilla.com/D24456

--HG--
rename : devtools/client/responsive.html/test/browser/browser_viewport_resizing.js => devtools/client/responsive.html/test/browser/browser_viewport_resizing_fixed_width.js
extra : moz-landing-system : lando
2019-03-22 21:01:48 +00:00
sakshaat d781937a67 Bug 1517483 - Get rid of nsIScriptSecurityManager::IsSystemPrincipal r=bzbarsky
Replaced instances of callers in both C++ and JS files to query the state from the principal directly.

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

--HG--
extra : moz-landing-system : lando
2019-03-24 20:36:25 +00:00
Michael Ratcliffe 639bed7bb2 Bug 1509620 - Computed style inspector CSS cascade calculation is wrong r=ladybenko
### Try

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

### Summary

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

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

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

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

This leaves us with:

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

### Changes

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

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

--HG--
extra : moz-landing-system : lando
2019-03-25 16:32:19 +00:00
arthur.iakab 1ab45e3251 Merge mozilla-central to mozilla-inbound 2019-03-25 17:57:57 +02:00
Philipp Kewisch 52aa5b978e Bug 1507709 - Move WebExtensions geckoProfiler API to toolkit. r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D12100

--HG--
rename : browser/components/extensions/ProfilerGetSymbols-worker.js => toolkit/components/extensions/ProfilerGetSymbols-worker.js
rename : browser/components/extensions/ProfilerGetSymbols.jsm => toolkit/components/extensions/ProfilerGetSymbols.jsm
rename : browser/components/extensions/parent/ext-geckoProfiler.js => toolkit/components/extensions/parent/ext-geckoProfiler.js
rename : browser/components/extensions/profiler_get_symbols.js => toolkit/components/extensions/profiler_get_symbols.js
rename : browser/components/extensions/schemas/geckoProfiler.json => toolkit/components/extensions/schemas/geckoProfiler.json
rename : browser/components/extensions/test/xpcshell/test_ext_geckoProfiler_control.js => toolkit/components/extensions/test/xpcshell/test_ext_geckoProfiler_control.js
rename : browser/components/extensions/test/xpcshell/test_ext_geckoProfiler_schema.js => toolkit/components/extensions/test/xpcshell/test_ext_geckoProfiler_schema.js
extra : moz-landing-system : lando
2019-03-22 13:18:01 +00:00
Helena Moreno 0274f5667c Bug 1538153 - Fix RTL alignment in RequestList headers and align Storage table headers with Netmonitor r=fvsch
Differential Revision: https://phabricator.services.mozilla.com/D24508

--HG--
extra : moz-landing-system : lando
2019-03-22 18:55:02 +00:00
shindli b3ac60ff06 Merge inbound to mozilla-central. a=merge 2019-03-23 11:47:34 +02:00
Brian Hackett 1bc179f724 Bug 1536618 Part 2 - Tolerate sources from any debugger in getOrCreateSourceActor, r=loganfsmyth.
--HG--
extra : rebase_source : cc2a3155162c4bdc87fcbb91b3bc6bcedf38bd46
2019-03-22 12:08:19 -06:00
Cosmin Sabou 520c7a9423 Backed out 2 changesets (bug 1535246) for devtools failures on devtools/client/debugger/new/test/mochitest/browser_dbg-html-breakpoints.js. CLOSED TREE
Backed out changeset 5860aac31563 (bug 1535246)
Backed out changeset 5929d34ee923 (bug 1535246)

--HG--
extra : rebase_source : 3aac58ce35404488259bd778b4a9d78bca706ae8
2019-03-23 03:28:05 +02:00
Logan Smyth 505e03b918 Bug 1535246 - Part 2: Handle new actors appearing in HTML files. r=davidwalsh
Differential Revision: https://phabricator.services.mozilla.com/D24444

--HG--
extra : moz-landing-system : lando
2019-03-22 21:04:47 +00:00
Logan Smyth 55e99d992a Bug 1535246 - Part 1: Ensure that changes to emptyLines are handled for both additions and removals. r=davidwalsh
Differential Revision: https://phabricator.services.mozilla.com/D24443

--HG--
extra : moz-landing-system : lando
2019-03-22 18:49:09 +00:00
arthur.iakab ca7277b3cc Backed out changeset 75634ae8f7c5 (bug 1537657) for causing debugger failures CLOSED TREE 2019-03-23 01:28:27 +02:00
David Walsh dd65f15097 Bug 1537596 - Make shift-click toggle all breakpoint states per line r=loganfsmyth
Implements a function to enable or disable all breakpoints on a line based on shift-clicking. Uses the first breakpoint's state to decide whether to enable or disable all.

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

--HG--
extra : moz-landing-system : lando
2019-03-22 19:43:41 +00:00
Brian Hackett 81e54c6f8e Bug 1537657 - Detach from workers when navigating, r=loganfsmyth.
Differential Revision: https://phabricator.services.mozilla.com/D24434

--HG--
extra : moz-landing-system : lando
2019-03-21 22:06:14 +00:00
Julian Descottes fda43987c4 Bug 1537877 - Update getDocumentWalker to fallback to non-anonymous walker;r=pbro
Except for rawParentNode, all consumers of getDocumentWalker should be ok with this fallback.

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

--HG--
extra : moz-landing-system : lando
2019-03-22 19:43:08 +00:00
Florens Verschelde 952b28e95a Bug 1537721 - Style Storage table inputs to take the same space as table cells; r=miker
Differential Revision: https://phabricator.services.mozilla.com/D24482

--HG--
extra : moz-landing-system : lando
2019-03-22 13:46:17 +00:00
fanny d84598c487 Bug 1115363 - Implement copy text option on sidebar of storage. r=miker
Before this change, there was no option to copy text of an attribute in
sidebar of storage.You can now copy an attribute and it's text.

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

--HG--
extra : moz-landing-system : lando
2019-03-22 13:26:42 +00:00
Michael Ratcliffe 3f627acfe1 Bug 1536819 - Fix node.offsetParent is null error in Rule View r=gl
The editing of selectors in the rule view is broken (see https://bugzil.la/1536867) but that is not related to this issue.

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

--HG--
extra : moz-landing-system : lando
2019-03-22 12:28:09 +00:00
Patrick Brosset c53da4bcc7 Bug 1535315 - Hide computed expander when computed properties are undefined; r=gl
Differential Revision: https://phabricator.services.mozilla.com/D24364

--HG--
extra : moz-landing-system : lando
2019-03-22 02:06:46 +00:00
Ciure Andrei 1c183ba62d Backed out changeset a1c5e97960d0 (bug 1537596) for causing debugger test perma failure CLOSED TREE 2019-03-22 10:49:49 +02:00
David Walsh 29407aeed7 Bug 1537596 - Make shift-click toggle all breakpoint states per line r=loganfsmyth
Implements a function to enable or disable all breakpoints on a line based on shift-clicking.  Uses the first breakpoint's state to decide whether to enable or disable all.

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

--HG--
extra : moz-landing-system : lando
2019-03-21 22:16:13 +00:00
David Walsh a871cb609e Bug 1537949 - Remove animation from threads list r=loganfsmyth
Normally this is a good first bug but since we're trying to move quickly before 67, I took it.

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

--HG--
extra : moz-landing-system : lando
2019-03-21 20:13:23 +00:00
Mellina Yonashiro 6127d37dae Bug 1534499 - Wait for hiding both shortName and name when remove USB runtime in tests r=daisuke
Differential Revision: https://phabricator.services.mozilla.com/D23763

--HG--
extra : moz-landing-system : lando
2019-03-21 23:05:08 +00:00
Hemakshi Sachdev 7262280404 Bug 1531790 - Reset DOMContentLoaded and load metrics on Reload while Persist Logs is enabled. r=Honza
Added a new state `requestsStarted` in the timing-marker.js reducer which is initialized with the time a new reload (when persist logs in enabled) is triggered. Used this parameter to calculate the `DOMContentLoaded` and `load` metrics in the StatusBar.

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

--HG--
extra : moz-landing-system : lando
2019-03-22 06:08:17 +00:00
David Walsh 149caa6c6a Bug 1537748 - Prevent unwanted scrolling in scopes pane r=loganfsmyth
Differential Revision: https://phabricator.services.mozilla.com/D24362

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

--HG--
extra : moz-landing-system : lando
2019-03-21 15:45:24 +00:00
Brian Hackett dc598c8197 Bug 1534786 - Add test.
--HG--
extra : rebase_source : f66f930fa8494fc1a5a11a811acc053d7089390d
2019-03-14 15:20:22 -10:00
Brian Hackett 89ea21ef92 Bug 1537657 - Detach from workers when navigating, r=loganfsmyth.
--HG--
extra : histedit_source : 17ad5a2896c81d61d3b4a13fff28627f291e7f12%2C7b53c3a13ed1836f9769268ea4abbcbe0b01fd17
2019-03-25 07:37:21 -06:00
tanhengyeow 70a1707897 Bug 1537566 - Fix brightness of selected netmonitor rows; r=fvsch
Remove unnecessary css

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

--HG--
extra : moz-landing-system : lando
2019-03-21 14:19:44 +00:00
Brian Grinstead a797a66d25 Bug 1531119 - Remove editMenuCommands.inc.xul and make editMenuOverlay.js in charge of constructing the relevant commandset DOM r=bdahl,NeilDeakin
This allows us to drop preprocessing and makes it simpler to add edit menu functionality to any type of document.

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

--HG--
extra : moz-landing-system : lando
2019-03-21 14:18:48 +00:00
Daisuke Akatsuka 4c8a6b7b69 Bug 1488503: Add test for validation. r=jdescottes
Depends on D23993

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

--HG--
extra : moz-landing-system : lando
2019-03-21 08:26:59 +00:00