Commit Graph
266 Commits
Author SHA1 Message Date
Mark Banner 06932c9e09 Bug 1363790 - Turn off some ESLint rules for devtools that are in mozilla/recommended but not enabled currently for devtools. r=tromey
MozReview-Commit-ID: Dfse5Wny7nD
2017-05-10 16:51:17 +01:00
Kris Maglione bca9b281cc Bug 1359653: Part 8 - Ignore script cache when loading scripts in gcd script breakpoint tests. r=jimb
MozReview-Commit-ID: DGPBK9GAqQT
2017-05-02 17:31:05 -07:00
Sebastian Hengst d80860be6b Backed out changeset d8dc72ab2406 (bug 1359653) 2017-05-06 11:02:09 +02:00
Kris Maglione 5104fc5d25 Bug 1359653: Part 8 - Ignore script cache when loading scripts in gcd script breakpoint tests. r=jimb
MozReview-Commit-ID: DGPBK9GAqQT
2017-05-02 17:31:05 -07:00
Gabriel Luong 64304b19c1 Bug 1317215 - Add tests for the LayoutActor and GridActor. r=pbro 2017-04-26 15:19:51 -04:00
Iris Hsiao 84a20ab190 Backed out changeset b3f163644c78 (bug 1317215). a=backout
CLOSED TREE
2017-04-27 11:57:11 +08:00
Iris Hsiao f9253bd61c Backed out changeset 379d1f58868f (bug 1317215) for devtool failures at browser_layout_getAllGrids.js. a=backout
CLOSED TREE
2017-04-27 11:56:53 +08:00
Gabriel Luong ed365769f7 Bug 1317215 - Part 2: Fix eslint errors with browser_layout_getAllGrids.js and devtools/server/tests/browser/head.js. r=me 2017-04-26 22:46:04 -04:00
Gabriel Luong d5984868ef Bug 1317215 - Add tests for the LayoutActor and GridActor. r=pbro 2017-04-26 15:19:51 -04:00
Yury Delendik d1ad13d635 Bug 1355263 - Generate better source URL for the wasm module. r=luke
The URLs will have the following format:
   wasm: [<uri-econded-filename-of-host> ":"] <64-bit-hash>

MozReview-Commit-ID: 3diYgRWhki1
2017-04-10 19:08:07 -05:00
Markus Stange 36d7413c44 Bug 1350503 - Wrap the performance actor's sharedLibraries value inside an object so that it can be transferred through the debugger protocol. r=gregtatum
MozReview-Commit-ID: 3cXfaSrWFJW
2017-04-20 16:10:47 -04:00
Florian Queze ddf0cda8da Bug 1355161 - script-generated patch to replace .{currentThread,mainThread}.dispatch(..., Ci.nsIThread.DISPATCH_NORMAL) with .dispatchToMainThread(...), r=froydnj. 2017-04-14 18:29:12 +02:00
Florian Queze d3c36892fa Bug 1356569 - Remove addObserver's last parameter when it is false, r=jaws. 2017-04-14 21:51:38 +02:00
Sebastian Hengst 4cd95d4a02 Backed out changeset 18d45aa984d6 (bug 1355161) 2017-04-14 23:39:23 +02:00
Sebastian Hengst 42670ceca0 Backed out changeset 322fde2d53bf (bug 1356569) so bug 1355161 can be backed out. r=backout 2017-04-14 23:39:22 +02:00
Florian Queze 9b4f73599f Bug 1356569 - Remove addObserver's last parameter when it is false, r=jaws. 2017-04-14 21:51:38 +02:00
Florian Queze 35cd8ba883 Bug 1355161 - script-generated patch to replace .{currentThread,mainThread}.dispatch(..., Ci.nsIThread.DISPATCH_NORMAL) with .dispatchToMainThread(...), r=froydnj. 2017-04-14 18:29:12 +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
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
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
Gabriel Luong cbd52e8456 Bug 1350894 - Check if the node is dead in getOffsetParent. r=pbro 2017-03-30 00:10:40 -04: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
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
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
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 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
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
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
Michael Brennan 66cb6ceccb Bug 1325989 - Resolve ESLint issues in devtools/server/tests/unit. r=jryans 2017-03-18 12:26:05 +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
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
Tooru Fujisawa e4497bd249 Bug 1317400 - Part 3: Fix devtools tests. r=till 2017-03-04 20:37:14 +09:00
Masatoshi Kimura 4f2e64ad3d Bug 1342144 - Remove version parameter from the type attribute of script elements. r=jmaher
This patch is generated by the following sed script:
find . ! -wholename '*/.hg*' -type f \( -iname '*.html' -o -iname '*.xhtml' -o -iname '*.xul' -o -iname '*.js' \) -exec sed -i -e 's/\(\(text\|application\)\/javascript\);version=1.[0-9]/\1/g' {} \;

MozReview-Commit-ID: AzhtdwJwVNg
2017-02-23 06:10:07 +09:00
Ruturaj K. Vartak 85d53ec72a Bug 1325987 - Fix ESLint issues in devtools/server/tests/browser/. r=ntim 2017-02-23 20:32:00 -05:00
Luke Wagner 0c165fa02e Bug 1342060 - wasm: enable by default (r=bbouvier,sr=jorendorff)
MozReview-Commit-ID: LozhxKgleFc
2017-02-23 13:02:40 -06:00
Jamie Nicol f10b52ba06 Bug 1339578 - Remove min active layer size for animations; r=mattwoodrow
Even for very small layers we want to avoid doing work on the main
thread.

At the same time, however, increase the minimum active layer size for
animations which come from restyles. These involve the main thread
anyway, so there is less to be gained from using an active
layer. Since switching items between active and inactive can have
large knock-on effects, we want to make sure it really is worth making
the layer active.

MozReview-Commit-ID: 8N6xlVW4Dp3
2017-02-09 18:00:32 +00:00
Greg Mierzwinski a9323edf9f Bug 1301197 - Add xpcshell code coverage to linux64-jsdcov and the 'coverage' mozinfo flag. r=jmaher
This patch makes it possible to collect code coverage for xpcshell tests using the linux64-jsdcov build. It also enables the use of a 'coverage' flag to disable tests when they are instrumented with the js debugger for code coverage. Lastly, it uses the 'coverage' flag to disable certain tests.

MozReview-Commit-ID: 97VFkJmlwQn
2016-11-08 15:57:21 -05:00
Yury Delendik 189dc8847c Bug 1333840 - Protect from frame.this access for wasm debugger frame. r=ochameau
MozReview-Commit-ID: eEhoHiXQTr
2017-01-25 12:21:37 -06:00