Commit Graph
1180 Commits
Author SHA1 Message Date
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
Markus Stange 72a9a387b6 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 18:54:51 -04:00
Stanford Lockhart c1147d5e72 Bug 940275 - Part 1: Add positioning properties to box model r=gl
MozReview-Commit-ID: AB5fREjDhsD
2017-02-28 18:18:28 -04:00
Michael Brennan 66cb6ceccb Bug 1325989 - Resolve ESLint issues in devtools/server/tests/unit. r=jryans 2017-03-18 12:26:05 +01:00
Julian Descottes b903b87518 Bug 1346781 - do not attempt to hide highlighters if currentNode is falsy;r=zer0
This commit updates part of the logic changed in Bug 1333714 (e3a0d990896d)
The hide method of the auto refresh highlighters were modified to allow
hide() to be called as long as the highlighter env window was still valid.

This could lead to calling hide on highlighters where show() had not been
previously called, slowing down closing the inspector for no reason.

This changes the hide() method to also bail out in case this.currentNode
is not truthy, which means show() was not called previously.

MozReview-Commit-ID: 4EOgjD6W2QB
2017-03-13 22:15:12 +01:00
Carsten "Tomcat" Book c523d35b9d merge mozilla-inbound to mozilla-central a=merge 2017-03-14 14:23:03 +01:00
JerryShih 23fb12c9de Bug 1310681 - fix the missed closing parenthesis. r=me
MozReview-Commit-ID: Crsog4XJhW0
2017-03-13 11:54:00 +01:00
Matteo Ferretti c26f95af3b Bug 1335691 - Removed RectHighlighter, tests, and all reference to them; r=gl
MozReview-Commit-ID: Gn3uxuv7gRU
2017-03-13 21:35:50 +01:00
Carsten "Tomcat" Book f9c4356297 Merge mozilla-central to mozilla-inbound 2017-03-13 15:25:16 +01:00
Carsten "Tomcat" Book 811b1bab9a merge mozilla-inbound to mozilla-central a=merge 2017-03-13 15:22:26 +01:00
Gabriel Luong 6886481d31 Bug 1346587 - Add a check for rootNode in getGrids. r=jdescottes
MozReview-Commit-ID: Ihk73QAsWQW
2017-03-11 19:59:08 -05:00
Wes Kocher a818a82935 Merge m-c to autoland, a=merge
MozReview-Commit-ID: Hikpu6ARByb
2017-03-13 16:40:18 -07:00
Matteo Ferretti b0aeb1017a Bug 1327725 - ensure the pagehide event we received are for the window's highlighter; r=gl
Some tests were failing since they navigate in the history of frames; and that
was triggering the `onPageHide` for the highlighter.

MozReview-Commit-ID: 7lGRTg4CerU
2017-03-12 13:06:00 +01:00
Matteo Ferretti 428103c1a0 Bug 1255351 - box model highlighter: all the guidelines now are overlap the node; r=gl
This patch is fixing the issue mostly for 1dppx / 1dpi display.
For higher dpi a follow-up bug will be made once bug 1345917 and bug 1151421
are fixed; and it will be part of bug 1187970.

MozReview-Commit-ID: 7XuED9ydGvB
2017-03-10 02:32:09 +01:00
Kris Maglione 115e1d5fce Bug 1344590: Part 4 - Store parsed and normalized extension data in indexedDB. r=aswan
MozReview-Commit-ID: HA0PJfbGa9w
2017-03-08 09:16:01 -08:00
Gabriel Luong c5ba3b7f61 Bug 1342941 - Implement the geometry editor toggle in the new box model. r=zer0 2017-03-11 19:53:37 -05:00
Wes Kocher a563b1dc88 Merge inbound to central, a=merge CLOSED TREE
MozReview-Commit-ID: Gj4s6DtqKmw
2017-03-09 16:33:31 -08:00
Matteo Ferretti 3831752b0d Bug 1343217 - Cut the CssGridHighlighter canvas size to its maximum size; r=pbro
This is a temporary fix to prevent the CssGridHighlighter from crashing on very
big pages.
This way, at least some parts of the highlighter are visible.
See bug 1345434 for the real fix.

MozReview-Commit-ID: DIw7RXi0SEz
2017-03-02 10:52:15 +01:00
Micah Tigley 1023699f93 Bug 1343777 - Display grid cell highlights on mouseover events for grid outline. r=gl
MozReview-Commit-ID: ErCPdqaaIvs
2017-03-02 00:16:10 -07:00
Sebastian Hengst e756a51b53 Backed out changeset e989c259852d (bug 1345517) for failing eslint and devtools browser_telemetry_toolboxtabs_webaudioeditor.js. r=backout 2017-03-08 19:56:10 +01:00
Paul Adenot 6dc772fcad Bug 1345517 - Add new AudioNodes to the Web Audio devtools. r=jsantell
MozReview-Commit-ID: KmTShPEXkBe
2017-03-08 17:16:43 +01:00
Carsten "Tomcat" Book 30a4cf49a1 Merge mozilla-central to autoland 2017-03-07 15:20:23 +01:00
Carsten "Tomcat" Book 708777dd78 merge mozilla-inbound to mozilla-central a=merge 2017-03-07 15:13:31 +01:00
Yury Delendik bd203fef56 Bug 1333219 - Allow setBreakpoint on server fail when script is absent. r=jlast
MozReview-Commit-ID: 4CDeTToUPfi
2017-01-30 13:53:42 -06:00
Paul Adenot dc5cd39131 Bug 1345517 - Add new AudioNodes to the Web Audio devtools. r=jsantell
MozReview-Commit-ID: KmTShPEXkBe
2017-03-08 17:16:43 +01:00
J. Ryan Stinnett 4999247ce4 Bug 1275942 - Add option to wait for debugger on startup. r=jdescottes
Adds a `--wait-for-jsdebugger` CLI option which will spin the event loop until
the debugger connects to allow debugging _some_ startup code paths, such as the
beginning of the `browser.js` file.

Startup code paths that run before the DevTools CLI handler will be missed for
now.  This can be improved in the future if we move this to an earlier phase of
app startup.

MozReview-Commit-ID: J1A8lWLETGY
2017-03-02 14:50:30 -06:00
Sebastian Hengst 4614f6261e Backed out changeset b43d8eb6e6c9 (bug 1335691) for build bustage. r=backout on a CLOSED TREE 2017-03-13 18:33:11 +01:00
Matteo Ferretti 9bec5bbb63 Bug 1335691 - Removed RectHighlighter, tests, and all reference to them; r=gl
MozReview-Commit-ID: Gn3uxuv7gRU
2017-03-13 17:49:11 +01:00
Matteo Ferretti 091e32a5cc Bug 1303158 - handle browser zoom and density display in CssGridHighlighter; r=gl
That also fixed bug 1303156, since handling better the device pixel ratio makes
also the lines crisp.

MozReview-Commit-ID: Iyl6YLFFp5b
2017-03-11 22:51:57 +01:00