Commit Graph
908 Commits
Author SHA1 Message Date
Julian Descottes e46d87bcb7 Bug 1341612 - align grid highlighter numbers with lines and increase readability;r=zer0
MozReview-Commit-ID: AGmWT3gmzL0
2017-03-28 20:42:00 +02:00
nchevobbe f7d5e045ac Bug 1347490 - Return isConnected in node grip to indicate if a node is in the DOM tree. r=ochameau
node.isConnected (see https://dom.spec.whatwg.org/#dom-node-isconnected) returns true if the node is
in the DOM tree (including in a shadowDOM tree), which can be used in the frontend to display additional
tools and information.

MozReview-Commit-ID: LjUbkc7VPcB
2017-04-04 12:08:54 +02:00
J. Ryan Stinnett 7dc78d9187 Bug 1353559 - Filter out exited browsers from tab list. r=ochameau
This adds higher level protection to ignore exited browser actors, so we don't
end up triggering methods like `form` on them, since they won't make much sense
anyway.

MozReview-Commit-ID: KgUCA04N2fY
2017-04-05 07:27:30 -05:00
J. Ryan Stinnett 50a214cd50 Bug 1353559 - Guard against null browser in exited actor. r=ochameau
MozReview-Commit-ID: 4TZZMywFIdu
2017-04-04 17:41:30 -05:00
Patrick Brosset 5a573258c2 Bug 1353010 - Remove the unused director-manager/registry API; r=ochameau
MozReview-Commit-ID: 3TZUs0MAhAi
2017-04-05 10:44:07 +02:00
bechen 0b9a35ad45 Bug 1318542 - fix testcases due to new pseudo element ::cue. r=heycam
MozReview-Commit-ID: F10y2zTtBoT
2017-04-05 10:50:58 +08:00
Matteo Ferretti c75591f4c5 Bug 1345434 - Implementation of a virtual canvas technique for grid highlighter; r=pbro
A virtual canvas is basically a canvas that seems bigger than is actually is.
The technique consists in moving a fixed sized canvas during the scrolling, when
is needed, to give the illusion that it always covers the entire document.

MozReview-Commit-ID: Hp4cUZaBdm8
2017-04-04 15:11:04 +02:00
Patrick Brosset 7854006d0a Bug 1338582 - New devtools highlighter for signaling paused state; r=jlast
This adds a new highlighter to our collection of highlighters.
This one is a simple overlay on top of the page and a message at the
top.
It will be used by the debugger to signal to users that script execution
is paused.

In later versions, the message at the top will also contain stepping and
resuming buttons.

MozReview-Commit-ID: JNGWrVjMzkm
2017-04-04 12:03:03 +02:00
Patrick Brosset 131cbe897a Bug 1352369 - Delete unused RectHighlighter CSS; r=zer0
MozReview-Commit-ID: Gz0m9fLJyKS
2017-03-31 12:23:59 +02:00
Julian Descottes 420fd66fac Bug 1350499 - exclude styles for pseudo-els when building boxmodel widget;r=gl
MozReview-Commit-ID: GSoqlJ97KT7
2017-03-29 15:41:42 +02:00
Rahul Chaudhary 67ebe412d6 Bug 1332090 - Added a contrast ratio component to the Color Widget. r=pbro
MozReview-Commit-ID: 9FA0h9ST62E
2017-02-20 22:27:22 -05:00
Gabriel Luong cbd52e8456 Bug 1350894 - Check if the node is dead in getOffsetParent. r=pbro 2017-03-30 00:10:40 -04:00
Matteo Ferretti 4a6c9485d3 Bug 1349275 - refactored moveInfobar function; r=pbro
- Added `getViewportDimensions`
- Added `getComputedStylePropertyValue` to `CanvasFrameAnonymousContentHelper`
- Refactored totally `moveInfobar` to works with both APZ enabled and new
  positioned absolutely highlighters
- Updated `AutoRefreshHighlighter` for having a `scrollUpdate` method.
- Updated tests

MozReview-Commit-ID: 5m31ZzRzLXr
2017-03-28 12:40:22 +02:00
Iris Hsiao fc280a6213 Backed out changeset 448adfbcfda1 (bug 1349275) for eslint failure 2017-03-29 10:29:13 +08:00
Matteo Ferretti 7484fd202f Bug 1349275 - refactored moveInfobar function; r=pbro
- Added `getViewportDimensions`
- Added `getComputedStylePropertyValue` to `CanvasFrameAnonymousContentHelper`
- Refactored totally `moveInfobar` to works with both APZ enabled and new
  positioned absolutely highlighters
- Updated `AutoRefreshHighlighter` for having a `scrollUpdate` method.
- Updated tests

MozReview-Commit-ID: 5m31ZzRzLXr
2017-03-28 12:40:22 +02:00
Andrew McCreight df7cef86b2 Bug 1350435 - Compute snapshot ID in the parent process. r=fitzgen,smaug
The parent and content processes can have different temp directories
when sandboxing is enabled, so the process that creates the file for a
heap snapshot must also determine the snapshot ID.

MozReview-Commit-ID: 2UuncT54NXc
2017-03-24 10:34:44 -07:00
Alexandre Poirot 6e5b6bd5c0 Bug 1348885 - Prevent throwing on dead wrapper when processing stacks of error from nuked globals. r=jryans
MozReview-Commit-ID: gdFNYNzXLz
2017-03-23 18:53:57 +01:00
Stanford Lockhart 122249aa04 Bug 1345119 - Part 4: Test test_inspector_getOffsetParent for new actor methods. r=pbro
MozReview-Commit-ID: AqSOEdEZKIy
2017-03-21 21:59:22 -03:00
Stanford Lockhart 41f2b4f7d1 Bug 1345119 - Part 3: Display offset parent of absolutely positioned node in box model. r=gl
MozReview-Commit-ID: 102vRTuIhEh
2017-03-17 23:07:06 -03:00
Stanford Lockhart 7d1eb6f350 Bug 1345119 - Part 2: Server side for retrieving offset parent of DOM node. r=pbro
MozReview-Commit-ID: I51NHlxv6Mp
2017-03-17 23:05:27 -03:00
Iris Hsiao 206cfb29fd Backed out 5 changesets (bug 1345119) dor mochitest failure in test_inspector_getOffsetParent.html
Backed out changeset c9be65ad95f6 (bug 1345119)
Backed out changeset 4e4817e5b6d4 (bug 1345119)
Backed out changeset 6a01debcc43c (bug 1345119)
Backed out changeset 2c6f67f420d0 (bug 1345119)
Backed out changeset ba020c15393d (bug 1345119)
2017-03-24 15:01:47 +08:00
Gabriel Luong fb421efa30 Bug 1345119 - Part 5: Fix eslint errors in unit tests. r=me 2017-03-23 16:13:33 -04:00
Stanford Lockhart 1cefc7d52a Bug 1345119 - Part 4: Test test_inspector_getOffsetParent for new actor methods. r=pbro
MozReview-Commit-ID: AqSOEdEZKIy
2017-03-21 21:59:22 -03:00
Stanford Lockhart be0a7b560b Bug 1345119 - Part 3: Display offset parent of absolutely positioned node in box model. r=gl
MozReview-Commit-ID: 102vRTuIhEh
2017-03-17 23:07:06 -03:00
Stanford Lockhart d3b71c2a75 Bug 1345119 - Part 2: Server side for retrieving offset parent of DOM node. r=pbro
MozReview-Commit-ID: I51NHlxv6Mp
2017-03-17 23:05:27 -03:00
Sebastian Hengst cd5e9f96fd Backed out changeset 9c1ee3920ea3 (bug 1345119) 2017-03-23 22:00:26 +01:00
Sebastian Hengst 2ba83c0a8d Backed out changeset 14ff5693848f (bug 1345119) 2017-03-23 22:00:22 +01:00
Sebastian Hengst 31663b0c91 Backed out changeset c67e5d94d6c3 (bug 1345119) 2017-03-23 22:00:18 +01:00
Sebastian Hengst 6e40e59b09 Backed out changeset 7145d2ae3fab (bug 1345119) 2017-03-23 21:59:15 +01:00
Gabriel Luong 09ac8e93ee Bug 1345119 - Part 5: Fix eslint errors in unit tests. r=me 2017-03-23 16:13:33 -04:00
Stanford Lockhart c0dc47c7b6 Bug 1345119 - Part 4: Test test_inspector_getOffsetParent for new actor methods. r=pbro
MozReview-Commit-ID: AqSOEdEZKIy
2017-03-21 21:59:22 -03:00
Stanford Lockhart d3d66bdc66 Bug 1345119 - Part 3: Display offset parent of absolutely positioned node in box model. r=gl
MozReview-Commit-ID: 102vRTuIhEh
2017-03-17 23:07:06 -03:00
Stanford Lockhart a87fb2b6a6 Bug 1345119 - Part 2: Server side for retrieving offset parent of DOM node. r=pbro
MozReview-Commit-ID: I51NHlxv6Mp
2017-03-17 23:05:27 -03:00
Carsten "Tomcat" Book 626d44b38b Merge mozilla-central to mozilla-inbound 2017-03-23 13:57:16 +01:00
Zibi Braniecki e1617486a8 Bug 1347314 - Migrate calls to ChromeRegistry::GetSelectedLocale to use LocaleService::GetAppLocale. r=jfkthame,Pike
In cases, where the caller is looking for the locale to be used for JS Intl API,
we can now replace it with `undefined` which causes JS Intl API to use the default
locale which since bug 1346674 is resolved to the app locale.

This allows us to remove a lot of calls for the app locale.

The remaining ones are split between `AsBCP47` and `AsLangTag`.
Here, the `AsLangTag` is used, as described in the API docs, for cases where
the language string is used for localization purposes, such as language negotaition
matching to our language resources etc.
`AsBCP47` is used when the returned value is handed over to ICU API.

MozReview-Commit-ID: DzmFEUvMq3N
2017-03-14 16:09:54 -07:00
Sebastian Hengst 1f6ea2382a Backed out changeset cc308a73ad05 (bug 1347314) for eslint failure in test_device.html. r=backout 2017-03-22 18:20:26 +01:00
Zibi Braniecki a56e4c7360 Bug 1347314 - Migrate calls to ChromeRegistry::GetSelectedLocale to use LocaleService::GetAppLocale. r=jfkthame,Pike
In cases, where the caller is looking for the locale to be used for JS Intl API,
we can now replace it with `undefined` which causes JS Intl API to use the default
locale which since bug 1346674 is resolved to the app locale.

This allows us to remove a lot of calls for the app locale.

The remaining ones are split between `AsBCP47` and `AsLangTag`.
Here, the `AsLangTag` is used, as described in the API docs, for cases where
the language string is used for localization purposes, such as language negotaition
matching to our language resources etc.
`AsBCP47` is used when the returned value is handed over to ICU API.

MozReview-Commit-ID: DzmFEUvMq3N
2017-03-14 16:09:54 -07:00
Patrick Brosset ce3ad9dfa8 Bug 1349256 - Merged server and general docs under just one directory; r=sole
MozReview-Commit-ID: HzNGfWhYukh
2017-03-21 17:36:34 +01:00
Sebastian Hengst 22a192b831 Backed out changeset 354618874505 (bug 1349256) 2017-03-22 15:26:17 +01:00
Patrick Brosset d6a92381b7 Bug 1349256 - Merged server and general docs under just one directory; r=sole
MozReview-Commit-ID: HzNGfWhYukh
2017-03-21 17:36:34 +01:00
J. Ryan Stinnett 47d40079e2 Bug 1326100 - Restore notable inline comments in DevTools. r=tromey
MozReview-Commit-ID: 6cLDkoCt0al
2017-03-20 16:22:55 -05:00
Matteo Ferretti 230f4f5928 Bug 1348306 - use the display density pixel ratio to render lines using logical pixels; r=pbro
The display density is basically the line size, but we have to calculate the
`offest` for translation accordingly.

MozReview-Commit-ID: LVAWL8ZtkrU
2017-03-17 15:09:23 +01:00
Wes Kocher 29c38a6108 Merge inbound to central, a=merge
MozReview-Commit-ID: 2omKclRg40c
2017-03-20 18:19:52 -07:00
Patrick Brosset 3118619a9a Bug 1301015 - Re-enable some devtools tests on e10s-multi; r=krizsa
Some devtools tests had been forced to run in e10s with just 1
content process in bug 1301340 and bug 1303113 because they were
failing.
Now there seems to have been enough e10s messaging fixes that these
tests work again. It seems safe to re-enable multi-content-processes
for them now.

MozReview-Commit-ID: ENfDdIXvIAI
2017-03-20 14:05:21 +01:00
Gabriel Luong 4d25f7df6d Bug 1347238 - Add a check for rootNode in getAllGrids. r=pbro 2017-03-20 13:44:14 -04:00
Fabien Casters 36ec43839b Bug 1325988 - Fix ESLint issues in devtools/server/tests/mochitest/ r=tromey
MozReview-Commit-ID: BFaOv5i5Tun
2017-03-13 21:15:44 +01:00
Matteo Ferretti 4364825159 Bug 1348267 - used display density pixel ratio to scale the font size; r=pbro
Added also a `getDisplayPixelRatio` method, since we're probably going to use it
more often, instead of doing this math all the time in the code, it will be more
clear.

MozReview-Commit-ID: HLtbwDBvbF6
2017-03-17 12:07:11 +01:00
Tom Tromey 917563e01d Bug 1347961 - use #f06, not #f0c, in devtools tests; r=pbro
MozReview-Commit-ID: Li0s9X82YQC
2017-03-16 16:40:10 +01:00
Markus Stange 7d509b0623 Bug 1329111 - Update devtools users of nsIProfiler.getSharedLibraryInformation. r=gregtatum
This actor message is not used by the devtools themselves, it's only exposed so that
the add-on can use it. See bug 1131397.

MozReview-Commit-ID: F1dm0U4rkEd
2017-03-14 19:20:21 -04:00
Sebastian Hengst 3315b242b8 Backed out changeset c823541813c2 (bug 1329111) 2017-03-16 19:59:29 +01:00