Commit Graph
1191 Commits
Author SHA1 Message Date
Alexandre Poirot 8572cf8e9b Bug 1392602 - Simplify SDK loader to only match DevTools needs. r=jdescottes
MozReview-Commit-ID: 5MUEmCW6AJM
2017-08-28 14:52:07 +02:00
Alexandre Poirot fed7b94a29 Bug 1392602 - Stop using unnecessary const in Devtools loader. r=jdescottes
MozReview-Commit-ID: GMn8eoGUxkb
2017-08-28 14:23:57 +02:00
Alexandre Poirot 236a884c15 Bug 1392602 - Remove descriptor helper in DevTools loader. r=jdescottes
MozReview-Commit-ID: JHC0s0cMyZG
2017-08-28 14:10:18 +02:00
Alexandre Poirot 5b36273f36 Bug 1392602 - Remove override helper in DevTools loader. r=jdescottes
MozReview-Commit-ID: E2dNIMoa2wz

Also get rid of shared global blocklist as this isn't used by DevTools.
2017-08-28 14:05:37 +02:00
Alexandre Poirot b741f7d6aa Bug 1392602 - Instanciate RegExp only once in DevTools loader. r=jdescottes
MozReview-Commit-ID: GGYMPKZwBsS
2017-08-28 14:05:17 +02:00
Alexandre Poirot a7237f1f6b Bug 1392602 - Remove evaluate function from DevTools loader. r=jdescottes
MozReview-Commit-ID: MGXxIWUxWF
2017-08-28 14:01:34 +02:00
Alexandre Poirot 24be858f90 Bug 1392602 - Stop freezing everything in DevTools loader. r=jdescottes
MozReview-Commit-ID: ANdgiYjfV6N
2017-08-28 11:43:43 +02:00
Alexandre Poirot c17331dfc9 Bug 1392602 - Remove jetpack specifics from DevTools loader. r=jdescottes
* Remove notion of "main" module
* Remove notion of "isNative" and only use Loader.resolve algorithm

MozReview-Commit-ID: 7GOJELAh375
2017-08-28 11:27:07 +02:00
Alexandre Poirot a085009b5a Bug 1392602 - Remove module boilerplate from DevTools loader. r=jdescottes
This file is now only loaded as a JSM.
Expose symbols directly instead of putting them on `Loader` symbol.
No longer exports it as a fake 'toolkit/loader' module and always import it as JSM.

MozReview-Commit-ID: 6J3IxHpk9ct
2017-08-29 10:49:43 +02:00
Alexandre Poirot 4ab9f6f378 Bug 1392602 - Copy SDK Loader to devtools. r=jdescottes
MozReview-Commit-ID: 6INu38Wqvt
2017-08-24 15:17:33 +02:00
Julian Descottes 09c0897077 Bug 1391228 - remove unused devtools profiler actor, specs and front;r=gregtatum,mstange
MozReview-Commit-ID: 82R4C3NFolu
2017-08-18 17:27:56 +02:00
Yura Zenevich 195a6537f6 Bug 1151468 - add accessibility spec/actor/front to devtools. r=pbro
MozReview-Commit-ID: Ln1R8e04mGR
2017-08-31 23:11:23 -04:00
Wes Kocher 6542b273bf Merge inbound to central, a=merge
MozReview-Commit-ID: FBt5lm2sDFe
2017-08-31 16:26:40 -07:00
Sebastian Hengst ee47b6ea7c merge mozilla-central to autoland. r=merge a=merge 2017-08-31 14:37:58 +02:00
Sebastian Hengst ae74a4c150 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: 4IUksc3Mn9i
2017-08-31 14:36:51 +02:00
Tom Tromey 2c4ab81b95 Bug 1395262 - use plain console.error in devtools promise catches; r=bgrins
MozReview-Commit-ID: C8IhVPckQJ7
2017-08-30 12:05:41 -06:00
Franziskus Kiefer 1111350822 Bug 1304923 - adding key exchange group and signature scheme details to devtools view, r=keeler, Honza
This patch adds the group used for TLS key exchange and the siganture scheme of the certificate to SSLStatus and displays it in devtools.

MozReview-Commit-ID: 7aTj0U5GIvo
2017-08-28 15:29:19 +02:00
Rahul Chaudhary c002d50add Bug 1145527 - Display the inherited and used CSS Variable in the rule view. r=tromey
Displays which CSS variable is used in the rule view.
Displays the actual variable value on the variable name's title property.
Displays all the inherited CSS variables on the selected element in the rule view.



MozReview-Commit-ID: 52uLJA123AP
2017-07-02 22:39:45 +02:00
Sebastian Zartner 50b2d55b0e Bug 1336934 - Added option to remove all session cookies for a specific domain r=miker
MozReview-Commit-ID: Anm6aHQOlkO
2017-08-27 00:33:33 +02:00
Julian Descottes 2530599593 Bug 1391562 - use obj.on/off/emit rather than static methods from devtools event-emitter;r=zer0
MozReview-Commit-ID: I50W8zGB9d0
2017-08-18 17:05:04 +02:00
Chung-Sheng Fu 3360252b7e Bug 863246 - Fix test failures r=Gijs
MozReview-Commit-ID: 8tUr27zvs8z
2017-07-19 17:30:01 +08:00
Chung-Sheng Fu 93a9d33793 Bug 863246 - Move resources that need to be exposed to web content to locations that are marked as contentaccessible r=billm
MozReview-Commit-ID: ArhSHKPYOr8
2017-06-08 17:52:46 +08:00
Sebastian Zartner cf91d2d04f Bug 1303392 - Used uppercase 'S' for 'Shift' in color swatch title r=gl
MozReview-Commit-ID: 8BB3jvujGzo
2017-08-25 00:47:17 +02:00
Sebastian Hengst 79fe00c165 merge mozilla-central to mozilla-inbound. r=merge a=merge on a CLOSED TREE 2017-08-25 13:21:40 +02:00
Sebastian Hengst d2184e5f2d merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: 5armhVE9Jui
2017-08-25 13:12:04 +02:00
Oriol Brufau 710cbf1623 Bug 1390701 - Let devtools consider system principal proxy objects to be unsafe. r=jimb 2017-08-24 06:38:00 -04:00
Jan de Mooij f9f0443c9f Bug 1389510 part 3 - Remove getProperty/setProperty hooks from ClassOps. r=evilpie 2017-08-25 10:12:16 +02:00
Julian Descottes bc1dc1e752 Bug 1378862 - remove usage of sdk heritage in devtools protocol.js;r=zer0
MozReview-Commit-ID: 8hyEroQwnNL
2017-08-21 20:21:48 +02:00
Nicolas Chevobbe 15554f90b2 Bug 1392614 - Add an onEnumSymbols function on the object actor. r=ochameau
This will enable lazy loading symbols for a grip if needed.
This patch introduce a new SymbolIteratorActor, which is similar
to PropertyIteratorActor but with a data structure that better
fits symbols, and how we already handle them, i.e. an `ownSymbols`
array property (and not an `ownProperties` object like PropertyIteratorActor).

We take this as an opportunity to add a test for enumSymbols, but also
for enumProperties that did not have server unit tests (it is only tested
in the frontend with the variable view, which might be deprecated at some
point).

MozReview-Commit-ID: IEIKA8zwH90
2017-08-22 12:07:48 +02:00
Nicolas Chevobbe e04b0a07bb Bug 1392954 - Fix DebuggerClient.requester Promise response. r=ochameau
The promise returned by a function created with DebuggerClient.requester was
resolved with the raw response, i.e. without any modifications that could
happen in the after callback.

MozReview-Commit-ID: Bd81eTsZ9YB
2017-08-23 11:42:44 +02:00
Julian Descottes ef24cdb654 Bug 1391563 - stop exporting event-emitter emit method from devtools protocol.js;r=ochameau
MozReview-Commit-ID: Eeh55k6DDCd
2017-08-18 17:16:12 +02:00
Julian Descottes 122761aa6a Bug 1386616 - dt-addon: move key-shortcuts.properties to devtools/shim/locales;r=ochameau
MozReview-Commit-ID: 9zUqnuYIdWS
2017-08-02 16:20:58 +02:00
Mark Banner 44963145a5 Bug 1392098 - Enable the new ESLint no-useless-run-test rule across the tree. r=mossop
MozReview-Commit-ID: 35MaseieNUk
2017-08-20 18:52:05 +01:00
Wes Kocher 71b980ddf1 Merge inbound to central, a=merge
MozReview-Commit-ID: 4cWGBbMEU2x
2017-08-18 15:53:07 -07:00
Eric Rahm 4d399e631a Bug 1389598 - Part 4: Remove remaining gonk refs. r=froydnj 2017-08-11 17:45:18 -07:00
Julian Descottes 90d2742710 Bug 1137935 - remove usage of sdk event-target in devtools;r=ochameau
MozReview-Commit-ID: 2lPCVNq7wN0
2017-08-16 15:17:24 +02:00
Julian Descottes 92eb851e00 Bug 1137935 - remove all usage of sdk/event/core/ in devtools;r=ochameau
MozReview-Commit-ID: 2ab0Ol4Mq64
2017-08-16 15:11:21 +02:00
Julian Descottes 9416f56244 Bug 1137935 - add support for wildcard event type in devtools event emitter;r=ochameau
This API is only implemented as a temporary measure to ease the migration out of
sdk APIs.

MozReview-Commit-ID: BBlhxclpWqJ
2017-08-17 16:42:50 +02:00
Masatoshi Kimura cbbc2b20e1 Bug 1390106 - Stop using versioned scripts in tests. r=jmaher
MozReview-Commit-ID: ErqU4M1f7Oj
2017-08-14 20:46:55 +09:00
ZER0 45bfec717c Bug 1381542 - refactored EventEmitter with old SDK event/core capabilities; r=ochameau
`EventEmitter` now can be used in the same way `sdk/event/core`, it also
integrates some of the SDK capabilities.
In addition the `emit` method is now unified in functionality, and is more
consistent with the nodejs counterpart (the listener doesn't receive the event
type anymore as first argument).

MozReview-Commit-ID: DNxnjwmcC4W
2017-08-11 22:21:28 +02:00
ZER0 d78f1c54ef Bug 1381542 - renamed "devtools/shared/event-emitter" in "devtools/shared/old-event-emitter"; r=ochameau
MozReview-Commit-ID: GkF8HcUg5u8
2017-08-11 03:47:30 +02:00
Masatoshi Kimura dcc478e660 Bug 1387790 - Remove [deprecated] decodeImageData from imgITools. r=tnikkel
MozReview-Commit-ID: GZBYTPanHH6
2017-08-06 10:54:14 +09:00
Alexandre Poirot 4290449b4f Bug 1382968 - Move console actor helper modules to a dedicated folder. r=jryans
MozReview-Commit-ID: 6l1kcHFglDf
2017-08-01 16:17:22 +02:00
Wes Kocher 85ba4e7ea1 Backed out 3 changesets (bug 1382968) for breaking browser_addons_debug_webextension.js a=backout
Backed out changeset e25b4bd21ac8 (bug 1382968)
Backed out changeset 5a2260bc98ca (bug 1382968)
Backed out changeset 869a9b46b5cc (bug 1382968)

MozReview-Commit-ID: DSKWAHxdXI
2017-08-08 09:17:56 -07:00
Alexandre Poirot 946ab8adea Bug 1387123 - Replace all usages of require(promise).defer by require(devtools/shared/defer).defer. r=tromey
In prevision of Promise.jsm removal, use defer helper module instead of Promise.jsm
as that's the only one feature that DOM Promise don't support.

PART3: Manual fixes
- Go manually fix: http://searchfox.org/mozilla-central/source/devtools/client/dom/dom-panel.js
  which has duplicated import of defer symbol (it already used to import it)
- execute eslint, see all the places where we import of 'promise' is no longer use it
  (there may be leftovers not covered by eslint that will be covered in bug 1387128)
  devtools/server/tests/mochitest/inspector-helpers.js needs to keep importing promise as it is a shared test script.
- fix devtools/client/performance/panel.js and devtools/client/webconsole/console-output.js
  which use loader.lazyRequireGetter(this, "promise") and miss the defer import
- fix devtools/server/worker.js to use 'worker.require(devtools/shared/defer")'

MozReview-Commit-ID: HIOB5Et87Wc
2017-08-08 15:19:56 +02:00
Alexandre Poirot 3d76320218 Bug 1387123 - Replace all usages of require(promise).defer by require(devtools/shared/defer).defer. r=tromey
In prevision of Promise.jsm removal, use defer helper module instead of Promise.jsm
as that's the only one feature that DOM Promise don't support.

PART2: Substitutes promise.defer usages with defer
$ sed -i 's/promise.defer/defer/gI' $(egrep -lir "promise.defer\(\)" devtools)
  Reset modification to the following files as they are using deprecated syncable promises as we don't want to touch them.
  http://searchfox.org/mozilla-central/search?q=deprecated-sync-thenables&case=true&regexp=false&path=
$ git checkout devtools/client/debugger/test/mochitest/
$ git checkout devtools/shared/client/main.js
$ git checkout devtools/client/debugger/
$ git checkout devtools/server/main.js

MozReview-Commit-ID: DGN5ae68wtn
2017-08-08 15:24:04 +02:00
Alexandre Poirot 1f1a801a56 Bug 1387123 - Replace all usages of require(promise).defer by require(devtools/shared/defer).defer. r=tromey
In prevision of Promise.jsm removal, use defer helper module instead of Promise.jsm
as that's the only one feature that DOM Promise don't support.

PART1: Import devtools/shared/defer
$ sed -i '/require("promise")/a const defer = require("devtools/shared/defer");' $(egrep -lir "promise.defer\(\)" $(egrep -rl "require\(\"promise\"\)" devtools))
But ignore debugger as it still uses sync promises and would better be handled manually
$ git checkout devtools/client/debugger/
MozReview-Commit-ID: 7FvhNxULB2x
2017-08-08 15:33:56 +02:00
Vincent Lequertier d20c142d31 Bug 1382025 - Include the headers size in the netmonitor 'Transferred' column; r=tromey
MozReview-Commit-ID: 4LfbqvxLsqi
2017-07-30 11:42:26 +02:00
Alexandre Poirot ece07052c8 Bug 1387122 - Remove all useless Promise = require("promise"). r=tromey
Promise with a capital 'P' is already available in all DevTools sandboxes.

Still a couple of letfovers:
* Modules still using `Promise.defer()` (will be handled in bug 1387123)
* devtools/shared/defer, which introduces changes in Promise unhandled exception and stacks (bug 1388054)

MozReview-Commit-ID: PBaliHFa7u
2017-08-07 17:53:29 +02:00
Carsten "Tomcat" Book b9fbb93a18 Merge mozilla-central to autoland 2017-08-08 13:25:29 +02:00