Julian Descottes
3ec0b0ad0d
Bug 1406311 - add unit test to cover sprintfjs;r=bgrins
...
We would like to optimize sprintfjs for performances.
To avoid regressions, add a basic unit test taken from the original
sprintfjs repository.
MozReview-Commit-ID: IKkDHpYfL4I
--HG--
extra : rebase_source : 39837c4c6039e77c189ce9db2e12d4b7b26171c7
extra : intermediate-source : 10683284fa0d1d7cbe4c10628b7ab90eb034c8de
extra : source : d7028aeaf4fbf8cd06285746269799a7a9cc7af5
2017-10-12 13:08:08 +02:00
Alexandre Poirot
76914dd9bc
Bug 1399589 - Register all spec and front modules lazily in specs/index.js. r=jdescottes
...
MozReview-Commit-ID: 3U2D0PWivm2
--HG--
extra : rebase_source : bb087a66c0d946f684dbfa00e7dc96725d4eee30
2017-10-03 17:56:35 +02:00
Tom Tromey
762c2f58dd
Bug 1403610 - update to source-map 0.6.1; r=bgrins
...
Import the source-map 0.6.1 bundle.
MozReview-Commit-ID: AkVLlBJRD1l
--HG--
extra : rebase_source : 882b2ef4b2c3b2eac8733f408a4ce7a6aaa403d2
2017-09-27 09:39:44 -06:00
Julian Descottes
86f9684361
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
--HG--
extra : rebase_source : 4de2e6ec946634acaf638777aab2589eeb5125a2
2017-08-17 16:42:50 +02:00
ZER0
7dca53648e
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
ba9681c84a
Bug 1381542 - renamed "devtools/shared/event-emitter" in "devtools/shared/old-event-emitter"; r=ochameau
...
MozReview-Commit-ID: GkF8HcUg5u8
--HG--
rename : devtools/shared/event-emitter.js => devtools/shared/old-event-emitter.js
2017-08-11 03:47:30 +02:00
Wes Kocher
db97e61fc7
Backed out changeset 58f678547059 (bug 1381542) for conflicting with the incoming m-c merge a=backout
...
MozReview-Commit-ID: 1wKVHbOAUdc
--HG--
rename : devtools/shared/old-event-emitter.js => devtools/shared/event-emitter.js
2017-08-10 18:23:14 -07:00
ZER0
93e1efc17d
Bug 1381542 - renamed "devtools/shared/event-emitter" in "devtools/shared/old-event-emitter"; r=ochameau
...
MozReview-Commit-ID: GkF8HcUg5u8
--HG--
rename : devtools/shared/event-emitter.js => devtools/shared/old-event-emitter.js
2017-08-11 02:43:47 +02:00
Alexandre Poirot
966527f5aa
Bug 1382968 - Move console actor helper modules to a dedicated folder. r=jryans
...
MozReview-Commit-ID: 6l1kcHFglDf
--HG--
rename : devtools/server/actors/utils/webconsole-listeners.js => devtools/server/actors/webconsole/listeners.js
rename : devtools/server/actors/utils/moz.build => devtools/server/actors/webconsole/moz.build
rename : devtools/server/actors/utils/webconsole-utils.js => devtools/server/actors/webconsole/utils.js
rename : devtools/server/actors/utils/webconsole-worker-listeners.js => devtools/server/actors/webconsole/worker-listeners.js
extra : rebase_source : 5760bfc4de183e74b6eb8a511006c770121f24b9
2017-08-01 16:17:22 +02:00
Wes Kocher
e36214b3fb
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
--HG--
rename : devtools/server/actors/webconsole/listeners.js => devtools/server/actors/utils/webconsole-listeners.js
rename : devtools/server/actors/webconsole/utils.js => devtools/server/actors/utils/webconsole-utils.js
rename : devtools/server/actors/webconsole/worker-listeners.js => devtools/server/actors/utils/webconsole-worker-listeners.js
2017-08-08 09:17:56 -07:00
Alexandre Poirot
253b1895e6
Bug 1382968 - Move console actor helper modules to a dedicated folder. r=jryans
...
MozReview-Commit-ID: 6l1kcHFglDf
--HG--
rename : devtools/server/actors/utils/webconsole-listeners.js => devtools/server/actors/webconsole/listeners.js
rename : devtools/server/actors/utils/moz.build => devtools/server/actors/webconsole/moz.build
rename : devtools/server/actors/utils/webconsole-utils.js => devtools/server/actors/webconsole/utils.js
rename : devtools/server/actors/utils/webconsole-worker-listeners.js => devtools/server/actors/webconsole/worker-listeners.js
extra : rebase_source : 3222c8ca77a6c38dc2f0ee01adc27264e028a514
2017-08-01 16:17:22 +02:00
Xidorn Quan
7f38dbe964
Bug 1383075 part 2 - Update CSS lexer in devtools to match the change. r=jryans
...
MozReview-Commit-ID: LO7ZMeLgJdJ
--HG--
extra : rebase_source : 31f898bf70fa2c025dc0d8c7f744165a14450586
2017-07-31 09:23:01 +10:00
Sebastian Hengst
205843f800
Backed out changeset 192d517219c1 (bug 1369801
)
...
MozReview-Commit-ID: KeLy0a8hjVF
2017-07-27 18:14:38 +02:00
Julian Descottes
df95b72117
Bug 1369801
- dt-addon-xpcshell: load devtools addon for xpcshell tests;r=bgrins
...
MozReview-Commit-ID: 4EyclGKca0t
--HG--
extra : rebase_source : 05d41abb69a34f0f5b8241c26684ed53a88b6df5
2017-07-11 12:30:22 +02:00
Alexandre Poirot
be18a2c0f1
Bug 1359855 - Prevent loading any DevTools module until users interact with any devtool entrypoint. r=jdescottes
...
MozReview-Commit-ID: 4rORySoFRQY
--HG--
extra : rebase_source : c7b41b0adc65d7b6e2273fb577f6738fe9e010c7
2017-07-18 11:05:47 +02:00
Carsten "Tomcat" Book
bd7e1d3a34
Backed out changeset a46ee323e1e7 (bug 1359855) for test failures in browser_ext_devtools_inspectedWindow.js
2017-07-24 12:07:39 +02:00
Alexandre Poirot
3610b1c150
Bug 1359855 - Prevent loading any DevTools module until users interact with any devtool entrypoint. r=jdescottes
...
MozReview-Commit-ID: 4rORySoFRQY
--HG--
extra : rebase_source : c7b41b0adc65d7b6e2273fb577f6738fe9e010c7
2017-07-18 11:05:47 +02:00
Paolo Amadini
10ee6a5c4e
Bug 1362970 - Part 2 - Script-generated patch to convert .then(null, ...) to .catch(...). r=florian
...
Changes to Promise tests designed to test .then(null) have been reverted, and the browser/extensions directory was excluded because the projects it contains have a separate process for accepting changes.
MozReview-Commit-ID: 1buqgX1EP4P
--HG--
extra : rebase_source : 3a9ea310d3e4a8642aabbc10636c04bfe2e77070
2017-06-19 11:32:37 +01:00
Yury Delendik
3c4f86517b
Bug 1364535 - Inverse source mapping for WebAssembly maps. r=jlast
...
MozReview-Commit-ID: JqEkdLpIv2o
--HG--
extra : rebase_source : 381c8ff7b754299c468c0e790177aace74bab44f
2017-06-19 10:55:20 -05:00
Patrick Brosset
336f2049fa
Bug 987877 - Add Copy XPath menu item to the inspector; r=miker
...
MozReview-Commit-ID: A5g0MmWovjk
--HG--
extra : rebase_source : c426b97a789847ba8a6c1a7d3f8cc81cd20a2fdc
2017-06-12 16:25:48 +02:00
Matteo Ferretti
2854cff5e1
Bug 1370278 - used getTransformToAncestor in Grid Inspector highlighter; r=gl
...
Used the new chrome-only API to obtain the transformation matrix of the current
node, relative to the inspected window's root element.
That also includes all the transformations from the element's ancestor; plus
the method is more robust and we can simplify the current code, removing also
some hack.
Deleted also the test for dom_matrix_2d, since one of the method was testing
now doesn't exist anymore, and the second it's just a map to native method
that has its own tests on platform.
MozReview-Commit-ID: 35rs34RSMYA
2017-06-09 01:32:27 +02:00
Kris Maglione
e51750a9c4
Bug 1322235: Part 6 - Replace AddonPolicyService with a stub implementation in ExtensionPolicyService. r=mixedpuppy,zombie
...
This replaces the JS policy service stubs with a pure C++ version which
directly makes policy decisions based on active WebExtensionPolicy objects.
This is the first step in a larger refactoring, which will remove the
ExtensionManagement module entirely, and replace the current add-on policy
service with direct, non-virtual access to native WebExtensionPolicy objects.
It will also be followed by related changes to migrate the content script and
extension page matching to native code, based on the existing MatchPattern and
WebExtensionPolicy bindings.
MozReview-Commit-ID: 2MpbmXZGiPZ
--HG--
extra : rebase_source : 8b268618164b45605143e858665e592de829a6fa
2017-06-03 17:12:14 -07:00
Julian Descottes
b7e19500fe
Bug 1359085 - remove unused devtools util content-globals.js;r=ochameau
...
MozReview-Commit-ID: K8Knz9B0Gav
--HG--
extra : rebase_source : 1d2200ea18a8782f3fe4bfe49815363e999231a7
2017-04-25 16:53:54 +02:00
Julian Descottes
d86bd44c46
Bug 1356415 - move devtools helper findCssSelector to shared module in toolkit;r=mixedpuppy
...
MozReview-Commit-ID: 2KOeij1oJnT
--HG--
rename : devtools/shared/tests/mochitest/test_css-logic.html => toolkit/modules/tests/chrome/test_findCssSelector.html
extra : rebase_source : 940ee1fb814bc33836c1be8e569ed57a6c62ab2e
2017-04-26 15:30:36 +02:00
Matteo Ferretti
cb85a61c17
Bug 1359522 - added test_dom_matrix_2d.html; r=gregtatum
...
MozReview-Commit-ID: 9HHOdFg78He
2017-05-03 20:50:09 +02:00
Florian Queze
37ff4fc7cc
Bug 1356569 - Remove addObserver's last parameter when it is false, r=jaws.
2017-04-14 21:51:38 +02:00
Sebastian Hengst
a07223d699
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
95d4d20c17
Bug 1356569 - Remove addObserver's last parameter when it is false, r=jaws.
2017-04-14 21:51:38 +02:00
Kris Maglione
85333437e5
Bug 1314361 - Part 3: Stop using origin attributes for add-on ID in console filtering. r=baku
2017-02-26 13:13:45 -08:00
Masatoshi Kimura
7be7b11a1c
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
--HG--
extra : rebase_source : e8f90249454c0779d926f87777f457352961748d
2017-02-23 06:10:07 +09:00
Ajay
dddc1df2ec
Bug 1327773 - Fix non-functioning devtools option 'Indent using spaces' by modifying prettifyCSS.js; r=tromey
...
MozReview-Commit-ID: 5m5nNgwX6v2
--HG--
extra : rebase_source : 563df3f299e855e4d005f8308c2c14ffbd5373e9
2017-02-07 21:06:28 +05:30
Mark Banner
16e6d381ac
Bug 503613 - Remove old 'tail =' lines from xpcshell.ini files; r=gps
...
MozReview-Commit-ID: 62Hp5ISxowJ
--HG--
extra : rebase_source : daa8efb3409031fea553f4fd0c9d0746e38dc308
extra : histedit_source : b4c23aacf678ba0d0ac9c09191a7c494ead11a08
2017-01-18 10:30:39 +00:00
Patrick Brosset
e767d90101
Bug 1323700 - Adding a copy full path option to the inspector menu; r=gl
...
MozReview-Commit-ID: IvRnek7e7Xq
--HG--
extra : rebase_source : 360b3e72c0983c749eac9e685f29ee879cf3034a
2017-01-17 14:14:41 +01:00
Sebastian Hengst
cb76f56d60
Backed out changeset 6bc38f188ef2 (bug 1330099) for devtools failures. r=backout
2017-01-11 23:21:56 +01:00
Tim Nguyen
d7ea1c1605
Bug 1330099 - Enable object-shorthand eslint rule. r=jryans
...
MozReview-Commit-ID: 3wA25rfznBv
2017-01-11 21:22:15 +00:00
Julian Descottes
4a16348236
Bug 1323713 - fix prettify CSS error when encountering extra closing brace;r=tromey
...
MozReview-Commit-ID: 5TAxEP5561K
--HG--
extra : rebase_source : 41fdc014c018d2f2611e698a2292d15978e49df8
2017-01-10 22:19:47 +01:00
Florian Quèze
55f78ce0fa
Bug 1329182 - remove trailing newURI null parameters in devtools/, r=jaws.
2017-01-09 20:27:26 +01:00
Jared Wein
560afd3f8e
Bug 1326479 - Fix 'indent' eslint errors now that eslint scans multiline array and object definitions. r=Gijs
...
MozReview-Commit-ID: 99mWjxu8PPn
--HG--
extra : rebase_source : f78d800263b8544ce0accbdb2dc57b303969543f
2017-01-03 10:07:50 -05:00
Tim Nguyen
d62604fd8b
Bug 1325213 - Fix lots of eslint errors in devtools/shared/. r=jryans
...
MozReview-Commit-ID: 2XxhfV8ih0S
--HG--
extra : rebase_source : 48cda848a23c57d3301db5e563ad8f5f20064862
2016-12-30 15:01:42 +01:00
Phil Ringnalda
6ac54a1574
Backed out changeset 67611ffb1fef (bug 1325213) for failures in test_require_lazy.js
2016-12-29 19:01:37 -08:00
Tim Nguyen
7350350463
Bug 1325213 - Fix lots of eslint errors in devtools/shared/. r=jryans
...
MozReview-Commit-ID: 2XxhfV8ih0S
--HG--
extra : rebase_source : 1d4c869401ed8b501565d0d8927728771597cc30
2016-12-30 03:11:52 +01:00
gtatum@mozilla.com
91e6ea18e7
Bug 1309065 - Be smarter about filling in the client-side css properties db; r=tromey
...
MozReview-Commit-ID: BOYwveTH1Hy
--HG--
rename : devtools/server/tests/mochitest/test_css-properties_01.html => devtools/server/tests/mochitest/test_css-properties.html
extra : rebase_source : 07118d9577635c57bcf1684a6e0be66937118944
2016-10-11 20:30:24 +00:00
Wes Kocher
d1a5db810e
Backed out changeset 2aef437d23b7 (bug 1309065) for failures in test_css-properties-db.js a=backout
...
--HG--
rename : devtools/server/tests/mochitest/test_css-properties.html => devtools/server/tests/mochitest/test_css-properties_01.html
2016-12-28 13:42:19 -08:00
gtatum@mozilla.com
3878d6e752
Bug 1309065 - Be smarter about filling in the client-side css properties db; r=tromey
...
MozReview-Commit-ID: BOYwveTH1Hy
--HG--
rename : devtools/server/tests/mochitest/test_css-properties_01.html => devtools/server/tests/mochitest/test_css-properties.html
extra : rebase_source : 11ceb980e2d1039b0120e761ee59e9760ee57b00
2016-10-11 20:30:24 +00:00
Brian Grinstead
47309efaed
Bug 1259603 - Use ConsoleEvents for cached messages and observing messages when webconsole actor is running;r=ejpbruel
...
MozReview-Commit-ID: E3oG451qPe9
--HG--
rename : devtools/server/actors/utils/webconsole-utils.js => devtools/server/actors/utils/webconsole-listeners.js
rename : devtools/server/actors/utils/webconsole-worker-utils.js => devtools/server/actors/utils/webconsole-worker-listeners.js
extra : rebase_source : 6e60511fc0432c24fe7b85f6a24924c66ecd5547
2016-11-30 10:32:48 -08:00
Alexandre Poirot
6899883349
Bug 1154645 - Move findCssSelector from server to shared. r=pbro
...
MozReview-Commit-ID: DjEO1hjFSc5
--HG--
extra : rebase_source : 8f2a07757ecb1a51fdbbac9295e797dc4b546004
2016-11-09 09:22:42 -08:00
Phil Ringnalda
a7bc94158c
Merge m-i to m-c, a=merge
...
MozReview-Commit-ID: H4VKCYDq5cD
--HG--
rename : xpcom/tests/TestAutoRef.cpp => xpcom/tests/gtest/TestAutoRef.cpp
rename : xpcom/tests/TestCOMArray.cpp => xpcom/tests/gtest/TestCOMArray.cpp
rename : xpcom/tests/TestCOMPtr.cpp => xpcom/tests/gtest/TestCOMPtr.cpp
rename : xpcom/tests/TestCOMPtrEq.cpp => xpcom/tests/gtest/TestCOMPtrEq.cpp
rename : xpcom/tests/TestFile.cpp => xpcom/tests/gtest/TestFile.cpp
rename : xpcom/tests/TestHashtables.cpp => xpcom/tests/gtest/TestHashtables.cpp
rename : xpcom/tests/TestID.cpp => xpcom/tests/gtest/TestID.cpp
2016-11-05 13:36:25 -07:00
Boris Zbarsky
5c0257a736
Bug 1315368. Back out changeset bf190e326bfd (bug 790997) because what it implements doesn't actually follow the CSS syntax editor's draft and breaks some sites in the process. r=dbaron
2016-11-05 00:23:16 -04:00
Sebastian Hengst
9748b56fb9
Bug 1310297 - Remove test annotations using b2g, mulet or gonk: devtools. r=RyanVM
...
MozReview-Commit-ID: DZit0XSS1yk
--HG--
extra : rebase_source : b972b5d28944b3d4c4bbdc2b38774f087dd62f56
2016-11-05 11:29:14 +01:00
Tom Tromey
1fc208e8d8
Bug 1312041 - remove requireRawId rewriting in favor of Loader paths; r=jryans
...
MozReview-Commit-ID: 6OSszbKpp74
--HG--
extra : rebase_source : 475b4a2de10d65cadd6198e49e5ff5cfb4e9b871
2016-10-25 21:30:18 -06:00