Commit Graph
95 Commits
Author SHA1 Message Date
Tom Tromey 2472b4e90e Bug 1403610 - update to source-map 0.6.1; r=bgrins
Import the source-map 0.6.1 bundle.

MozReview-Commit-ID: AkVLlBJRD1l
2017-09-27 09:39:44 -06: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
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
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 dda591f32b 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
Xidorn Quan d617693a48 Bug 1383075 part 2 - Update CSS lexer in devtools to match the change. r=jryans
MozReview-Commit-ID: LO7ZMeLgJdJ
2017-07-31 09:23:01 +10:00
Sebastian Hengst 32ea619857 Backed out changeset 192d517219c1 (bug 1369801)
MozReview-Commit-ID: KeLy0a8hjVF
2017-07-27 18:14:38 +02:00
Julian Descottes 8c0c562ada Bug 1369801 - dt-addon-xpcshell: load devtools addon for xpcshell tests;r=bgrins
MozReview-Commit-ID: 4EyclGKca0t
2017-07-11 12:30:22 +02:00
Paolo Amadini 7afba17088 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
2017-06-19 11:32:37 +01:00
Yury Delendik ecf14f38f8 Bug 1364535 - Inverse source mapping for WebAssembly maps. r=jlast
MozReview-Commit-ID: JqEkdLpIv2o
2017-06-19 10:55:20 -05:00
Kris Maglione e5aca6859e 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
2017-06-03 17:12:14 -07:00
Kris Maglione a1c3a9c808 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
Ajay ac7b5a729e Bug 1327773 - Fix non-functioning devtools option 'Indent using spaces' by modifying prettifyCSS.js; r=tromey
MozReview-Commit-ID: 5m5nNgwX6v2
2017-02-07 21:06:28 +05:30
Mark Banner 55868dde7c Bug 503613 - Remove old 'tail =' lines from xpcshell.ini files; r=gps
MozReview-Commit-ID: 62Hp5ISxowJ
2017-01-18 10:30:39 +00:00
Sebastian Hengst c6d9ef3e98 Backed out changeset 6bc38f188ef2 (bug 1330099) for devtools failures. r=backout 2017-01-11 23:21:56 +01:00
Tim Nguyen 548b6bdbef Bug 1330099 - Enable object-shorthand eslint rule. r=jryans
MozReview-Commit-ID: 3wA25rfznBv
2017-01-11 21:22:15 +00:00
Julian Descottes 5323d54c49 Bug 1323713 - fix prettify CSS error when encountering extra closing brace;r=tromey
MozReview-Commit-ID: 5TAxEP5561K
2017-01-10 22:19:47 +01:00
Florian Quèze 361ec85a2e Bug 1329182 - remove trailing newURI null parameters in devtools/, r=jaws. 2017-01-09 20:27:26 +01:00
Jared Wein 21fc75d491 Bug 1326479 - Fix 'indent' eslint errors now that eslint scans multiline array and object definitions. r=Gijs
MozReview-Commit-ID: 99mWjxu8PPn
2017-01-03 10:07:50 -05:00
Tim Nguyen 9390ab0eba Bug 1325213 - Fix lots of eslint errors in devtools/shared/. r=jryans
MozReview-Commit-ID: 2XxhfV8ih0S
2016-12-30 15:01:42 +01:00
Phil Ringnalda 83857fe4ea Backed out changeset 67611ffb1fef (bug 1325213) for failures in test_require_lazy.js 2016-12-29 19:01:37 -08:00
Tim Nguyen eb7be14ba4 Bug 1325213 - Fix lots of eslint errors in devtools/shared/. r=jryans
MozReview-Commit-ID: 2XxhfV8ih0S
2016-12-30 03:11:52 +01:00
[email protected] f6265c23b9 Bug 1309065 - Be smarter about filling in the client-side css properties db; r=tromey
MozReview-Commit-ID: BOYwveTH1Hy
2016-10-11 20:30:24 +00:00
Wes Kocher 32d62c3316 Backed out changeset 2aef437d23b7 (bug 1309065) for failures in test_css-properties-db.js a=backout 2016-12-28 13:42:19 -08:00
[email protected] bfd9bbaafe Bug 1309065 - Be smarter about filling in the client-side css properties db; r=tromey
MozReview-Commit-ID: BOYwveTH1Hy
2016-10-11 20:30:24 +00:00
Brian Grinstead d3c7b73f76 Bug 1259603 - Use ConsoleEvents for cached messages and observing messages when webconsole actor is running;r=ejpbruel
MozReview-Commit-ID: E3oG451qPe9
2016-11-30 10:32:48 -08:00
Phil Ringnalda dcadbc448a Merge m-i to m-c, a=merge
MozReview-Commit-ID: H4VKCYDq5cD
2016-11-05 13:36:25 -07:00
Boris Zbarsky c19f725ca8 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 2fecbac0d0 Bug 1310297 - Remove test annotations using b2g, mulet or gonk: devtools. r=RyanVM
MozReview-Commit-ID: DZit0XSS1yk
2016-11-05 11:29:14 +01:00
Tom Tromey 1976c3df85 Bug 1312041 - remove requireRawId rewriting in favor of Loader paths; r=jryans
MozReview-Commit-ID: 6OSszbKpp74
2016-10-25 21:30:18 -06:00
Wes Kocher 20d9f9713d Backed out 2 changesets (bug 1312041) for mass failures a=backout
Backed out changeset c4f42d7d5453 (bug 1312041)
Backed out changeset 9bfbc8480d43 (bug 1312041)
2016-11-01 10:30:45 -07:00
Tom Tromey d1b2d82846 Bug 1312041 - remove requireRawId rewriting in favor of Loader paths; r=jryans
MozReview-Commit-ID: 6OSszbKpp74
2016-10-25 21:30:18 -06:00
Mark Banner 233309fbe2 Bug 1251003 - Change .eslintrc files to .eslintrc.js to avoid obsolete config file format. r=mossop
MozReview-Commit-ID: JrbFxQ5rj6I
2016-10-18 08:38:10 +01:00
Greg Tatum 84dd3ed162 Bug 1309040 - Update mach devtools-css-db to be more accurate in generating the db; r=tromey
This patch removes the preferences from the css properties db as they
are not needed anymore. It also makes the generation process more
robust when the properties-db.js has been deleted. Finally the comments
have been updated to reflect the recent change in approach to the
devtools-css-db.

MozReview-Commit-ID: H31QGYTjy34
2016-10-11 10:16:27 -05:00
Greg Tatum eddf4bdcf5 Bug 1308648 - Fix reference to ./mach devtools-css-db in test_css-properties.js; r=tromey
MozReview-Commit-ID: 7zk80TVehlV
2016-10-10 09:11:53 -05:00
Greg Tatum f3584d844f Bug 1307009 - Restrict the CSS properties db test to only nightly; r=tromey
The CSS properties DB breaks on uplift, and the only way to extract the
information is through a full build. Since the DB is used only as a
back-up if the CssPropertiesActor does not provide full information,
it's ok to include experimental properties even in release.

MozReview-Commit-ID: 7aDIsyZjf6h
2016-10-04 14:58:28 -05:00
Sebastian Hengst 1dbdf4b445 Backed out changeset 4009150bc53b (bug 1307009) for devtools failing in browser_styleeditor_autocomplete.js. r=backout on a CLOSED TREE 2016-10-05 17:11:05 +02:00
Greg Tatum 01e9bad889 Bug 1303810 - Fix undeclared variable issue in test_css-properties-db.js; r=tromey
This is the same fix that was applied to aurora, because it broke the
uplift, but this patch applies to to central.

MozReview-Commit-ID: ACXNRpYIX49
2016-09-27 09:04:14 -05:00
Greg Tatum 293dfce429 Bug 1307009 - Restrict the CSS properties db test to only nightly; r=tromey
The CSS properties DB breaks on uplift, and the only way to extract the
information is through a full build. Since the DB is used only as a
back-up if the CssPropertiesActor does not provide full information,
it's ok to include experimental properties even in release.

MozReview-Commit-ID: 7aDIsyZjf6h
2016-10-04 14:58:28 -05:00
Tom Tromey f6aabee50a Bug 1301854 - detect BOM when determining resource encoding; r=pbro
MozReview-Commit-ID: 6akivZSRwVN
2016-09-16 13:02:33 -06:00
Greg Tatum d5558cb315 Bug 1290988 - Take into account prefs for the CSS properties database. r=tromey
This test was causing uplifts to fail because certain CSS properties
were disabled via preferences, and the devtools client and platform were
out of sync with what properties were supported. This test now uses the
preference information to allow in-development features to not break
this test.

MozReview-Commit-ID: 767xRFMHyw9
2016-09-14 10:00:27 -05:00
Greg Tatum 0fc28c2ff3 Bug 1290988 - Collect devtools/shared/css-* files into a folder. r=tromey
In preparation for the additional files in the `mach generate-css-db`
command, collect the CSS files into a folder.

MozReview-Commit-ID: 9JRVsC2NMK8
2016-09-14 10:00:27 -05:00
Sebastian Hengst 93c9c62451 Backed out changeset 1bca17123507 (bug 1290988) for xpcshell failures (test_rewriteDeclarations.js) and devtools failures (browser_styleeditor_syncAddProperty.js). r=backout 2016-09-13 17:43:44 +02:00
Sebastian Hengst 2eae176128 Backed out changeset 307a8048995a (bug 1290988) 2016-09-13 17:42:25 +02:00
Greg Tatum 7858518680 Bug 1290988 - Take into account prefs for the CSS properties database; r=tromey
This test was causing uplifts to fail because certain CSS properties
were disabled via preferences, and the devtools client and platform were
out of sync with what properties were supported. This test now uses the
preference information to allow in-development features to not break
this test.

MozReview-Commit-ID: 767xRFMHyw9
2016-08-29 11:37:14 -05:00
Greg Tatum 36e0a1b1fa Bug 1290988 - Collect devtools/shared/css-* files into a folder; r=tromey
In preparation for the additional files in the `mach generate-css-db`
command, collect the CSS files into a folder.

MozReview-Commit-ID: 9JRVsC2NMK8
2016-08-29 11:02:34 -05:00
Julian Descottes 2ffcf17cff Bug 1265887 - port PluralForm.jsm to plural-form.js without chrome APIs;r=tromey
MozReview-Commit-ID: GpGFgtdnzek
2016-08-29 12:17:42 +02:00
Julian Descottes dfdeb92a2a Bug 1294220 - part4: Add chrome:// protocol when loading raw properties files;r=tromey
MozReview-Commit-ID: HJfFoqNso2J
2016-08-20 20:31:53 +02:00
Wes Kocher 29771f4f17 Merge fx-team to m-c a=merge 2016-08-07 00:16:15 -07:00