Commit Graph

6838 Commits

Author SHA1 Message Date
Brad Werth
702a7fc542 Bug 1371395 Part 2: Test media emulation of an unsupported type. r=jryans
MozReview-Commit-ID: L5tswjbGd97

--HG--
extra : rebase_source : 8b67fb05594c4330ee44c7d39ab2fb47c82a4342
2017-08-04 17:06:27 -07:00
Julian Descottes
c6f19f876e Bug 1388738 - add comment for devtools-startup developerToggleCreated flag;r=ochameau
MozReview-Commit-ID: FN4YuM7VpHf

--HG--
extra : rebase_source : f8adaedf6511ce2ed4ffd493afbffca64337f01f
2017-08-10 11:58:36 +02:00
Julian Descottes
62b13a707c Bug 1388738 - reuse devtools-startup initDevTools in DevToolsShim;r=ochameau
MozReview-Commit-ID: 7Qr06CZBYuf

--HG--
extra : rebase_source : 55e275f49c14ada8d9633a2999ce0a86382055b9
2017-08-09 17:17:46 +02:00
Masatoshi Kimura
6815cee2bd Bug 1387790 - Remove [deprecated] decodeImageData from imgITools. r=tnikkel
MozReview-Commit-ID: GZBYTPanHH6

--HG--
extra : rebase_source : f6ccc1a661533f7bdba8bb33bc9a85855b51ffae
2017-08-06 10:54:14 +09:00
Jan Odvarko
444b560b3e Bug 1388368 - Fix the Console panel in Launchpad; r=nchevobbe
MozReview-Commit-ID: BIHXp6tE32Q

--HG--
extra : rebase_source : a990bb0a79f254037ada58bbc7bd6f941fd26343
2017-08-10 10:00:35 +02:00
Xidorn Quan
58e5987209 Bug 1383992 part 1 - Disable failing mochitests. r=heycam
MozReview-Commit-ID: J9LoovJJJgM

--HG--
extra : rebase_source : a5ed4b2a11c293c50d642c3a0da6831ce5a885a1
extra : source : 8d97565b7dedaef3b46e65b92b1ca1e0598d2a76
extra : histedit_source : 72834d0bc485e78cb8c1de357e4b545d7e6408f5
2017-08-09 08:31:26 +10:00
Alexandre Poirot
b142ed1756 Bug 1382968 - Make WebExtension debugging test better test console behavior. r=rpl
MozReview-Commit-ID: Ch8DHw7nTws

--HG--
extra : rebase_source : 17d4ad855bb5e093beb142e449ce2d4b88e20911
2017-08-08 22:30:56 +02:00
Alexandre Poirot
86f3a72ea7 Bug 1382968 - Only try to forward console messages from content processes to parent when browser console/toolbox are opened. r=jryans,tromey
MozReview-Commit-ID: 8cFUbF4msHx

--HG--
rename : toolkit/components/processsingleton/ContentProcessSingleton.js => devtools/server/actors/webconsole/content-process-forward.js
extra : rebase_source : 024d016c37d0f188f5ac3f3f87511595a072eea6
2017-08-01 16:51:07 +02:00
Alexandre Poirot
777467060a Bug 1382968 - Flag Browser Console target as being chrome and related to a TabActor. r=jryans
The Browser Console interacts with a ChromeActor instance, which as any TabActor inherited actor,
expects to be "attached" by calling its `attach` request. isTabActor set to true ensures that.
While chrome set to true allows client codebase to enable additional behavior for chrome debugging.

MozReview-Commit-ID: 1MVLBKnluhg

--HG--
extra : rebase_source : 09b9cce4f6053b78cf617abbe71d54cc1b842f4e
2017-08-07 18:47:20 +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
Tim Nguyen
f28112f57c Bug 1388761 - Update category styling in common.css. r=dao
MozReview-Commit-ID: DfDvzw5zVZ8

--HG--
extra : rebase_source : 9ac1070359e11fe2a36b55c65dfd6d5ede6d820a
2017-08-09 20:13:42 +00:00
Luca Greco
7bbe9e6b94 Bug 1388737 - Make about:debugging webextension popup test able to run with oop extension mode enabled. r=ochameau
MozReview-Commit-ID: FsyDdPsQoLC

--HG--
extra : rebase_source : 925a227a4791bfb95fc1a1f9bfe9ff12049eb91e
2017-08-09 13:55:13 +02:00
Sebastian Hengst
8dbb8d014f Backed out changeset d2e76a2d8794 (bug 1388368) for eslint failures in system-stub.js (should be Unix linebreaks, not the Windows' ones). r=backout 2017-08-09 17:22:51 +02:00
Jan Odvarko
b420ecaa95 Bug 1388368 - Fix the Console panel in Launchpad; r=nchevobbe
MozReview-Commit-ID: 4AAs8Mre3bt

--HG--
extra : rebase_source : 2719f5231656625b4ba9f9b408d774d04d6ea1f0
2017-08-09 15:28:42 +02:00
Carsten "Tomcat" Book
c329d562fb merge mozilla-inbound to mozilla-central a=merge 2017-08-09 11:37:08 +02:00
Wes Kocher
7651bde05c Merge m-c to inbound, a=merge
MozReview-Commit-ID: 9Abf0fILvvK
2017-08-08 15:16:00 -07:00
Wes Kocher
650baf5c45 Merge inbound to central, a=merge
MozReview-Commit-ID: HpVAbc2vi78
2017-08-08 15:14:28 -07:00
Wes Kocher
96d2fa009d 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
extra : source : 309b1b63eb48ded8573cafdcc21602765fce3d9e
2017-08-08 09:17:56 -07:00
Carsten "Tomcat" Book
635b24e121 Merge mozilla-central to autoland 2017-08-08 13:25:29 +02:00
Alexandre Poirot
9aee8eedf4 Bug 1382968 - Only try to forward console messages from content processes to parent when browser console/toolbox are opened. r=jryans,tromey
MozReview-Commit-ID: 8cFUbF4msHx

--HG--
rename : toolkit/components/processsingleton/ContentProcessSingleton.js => devtools/server/actors/webconsole/content-process-forward.js
extra : rebase_source : 8f30b1484e8ec1410f59a8764dced0e645ebec28
2017-08-01 16:51:07 +02:00
Alexandre Poirot
8ca339dcee Bug 1382968 - Flag Browser Console target as being chrome and related to a TabActor. r=jryans
The Browser Console interacts with a ChromeActor instance, which as any TabActor inherited actor,
expects to be "attached" by calling its `attach` request. isTabActor set to true ensures that.
While chrome set to true allows client codebase to enable additional behavior for chrome debugging.

MozReview-Commit-ID: 1MVLBKnluhg

--HG--
extra : rebase_source : 7e5c976c6a9690ae730fd8c32a8909e24a277ace
2017-08-07 18:47:20 +02: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
Jason Laster
425ec06f61 Bug 1383576 - Extend timeout browser_dbg-breakpoints-reloading. r=jmaher 2017-08-08 13:01:00 -04:00
Jason Laster
1514a7e029 Bug 1388128 - Debugger does not remove some breakpoints. r=jdescottes
MozReview-Commit-ID: Hp7wYXGRSYs
2017-08-08 15:51:38 +02:00
Gabor Krizsanits
d624f6b97e Bug 1378207 - Handle sandboxes with XOW protos in WebExtensionChildActor. r=rpl
Sandbox can throw on property access if it does not have permission
to access its own proto, even if the caller compartment had.
2017-08-08 13:43:20 +02:00
Julian Descottes
ea99dbe04c Bug 1387497 - dt-addon-tests: update specificity of selector in firebug-theme.css;r=ochameau
MozReview-Commit-ID: 7o6h5FPOa3I

--HG--
extra : rebase_source : a279cbe3818ebb70c987dc580e52ce6ab8fc4267
extra : source : b617a361a12ce6b20820ccf915bd815eb73c6bd3
2017-06-19 11:12:46 +02:00
Julian Descottes
7c91ef2812 Bug 1387462 - Fix devtools shim test if devtools are not installed;r=ochameau
MozReview-Commit-ID: 28ArQzFGZ6H

--HG--
extra : rebase_source : 59f672548e0352ee60774ea87d4426618f050d2e
extra : source : 7cf0689936eb9cb843cb9e94f326e9b4903e843d
2017-07-25 19:52:34 +02:00
Wes Kocher
223f322400 Merge m-c to autoland a=merge
MozReview-Commit-ID: 2qLtb79Nlhs
2017-08-08 15:26:30 -07:00
Tom Tromey
ef9552735d Bug 1387477 - report source map errors due to missing sources; r=jdescottes
MozReview-Commit-ID: 5UbkJH8fvLn

--HG--
extra : rebase_source : 3242c0bcfcb5d04343c1a724fe78904d5f52e567
2017-08-04 13:14:11 -06:00
Nicolas Chevobbe
66d2ff2fa6 Bug 1386525 - devtools reps: update bundle to v0.12.0. r=bgrins
A test needed to be fixed since we changed some things
in bucketing (proper ellipsis and bucket label fix).

MozReview-Commit-ID: HhfJcKOGO2H

--HG--
extra : rebase_source : 91163a226eaada796b884b6a8e7a0b4887b65e1d
2017-08-08 14:43:27 +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
4d50ab07c7 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

--HG--
extra : rebase_source : fe3bff8599807224fd51898e753589d4c7c1777f
2017-08-08 15:19:56 +02:00
Alexandre Poirot
a8c68f2955 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

--HG--
extra : rebase_source : 57602d89b0bcc1c905bee7723e30f87fa434c6d9
2017-08-08 15:24:04 +02:00
Alexandre Poirot
2bd76261bb 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

--HG--
extra : rebase_source : 7eacd673759d85ab88d69b6edc6dff4c7f245638
2017-08-08 15:33:56 +02:00
Julian Descottes
6c989bd47b Bug 1386550 - remove usage of sdk/system/events in DevTools test;r=sole
MozReview-Commit-ID: FM1AjShYmkj

--HG--
extra : rebase_source : 6ed2763285c1a32c60771d473c4a0613b542c142
2017-08-02 12:01:24 +02:00
Julian Descottes
a3b6311216 Bug 1386821 - add a separate flag to check if devtools entry point was recorded;r=ochameau
MozReview-Commit-ID: Ae1k097opw5

--HG--
extra : rebase_source : 3e1c4662c842f4767f8d2d4dd5128a3d24bc2e38
2017-08-03 12:55:26 +02:00
Julian Descottes
67391889ec Bug 1386821 - call initDevTools if devtools.toolbar.visible is true;r=ochameau
MozReview-Commit-ID: C1EFv9T0VKS

--HG--
extra : rebase_source : dc80edf968e75cfdbf3556c062901cbf9875c4a6
2017-08-03 08:57:38 +02:00
Vincent Lequertier
5a41a0dd63 Bug 1382025 - Include the headers size in the netmonitor 'Transferred' column; r=tromey
MozReview-Commit-ID: 4LfbqvxLsqi

--HG--
extra : rebase_source : 88c3381ba546c7afaa31df14cbde0d1c49c77d83
2017-07-30 11:42:26 +02:00
Alexandre Poirot
7fd76cec03 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

--HG--
extra : rebase_source : d148a26e14e5eb34129f5d4c75c2087952ae596f
2017-08-07 17:53:29 +02:00
Wes Kocher
6211964f2b Merge m-c to inbound, a=merge
MozReview-Commit-ID: FevzakV3RlU
2017-08-07 15:26:13 -07:00
Hossain Al Ikram
b91c660165 Bug 1386545 - Edit comment to stop false-positiveing for sdk/ usages in debounce.js file. r=sole 2017-08-05 07:50:00 -04:00
Masatoshi Kimura
b186427ed3 Bug 1374847 - Remove nsIPrefBranch2 and nsIPrefBranchInternal. r=njn
MozReview-Commit-ID: 2LFhKNVspko

--HG--
extra : rebase_source : 1acfd1427a2d81294d6cbc6358b1d1070b4c2c12
2017-08-04 17:12:58 +09:00
Alexandre Poirot
9bf42dcb14 Bug 1078284 - Disable WebIDE tests on all but optimized builds. r=jryans
MozReview-Commit-ID: 7ORmJaJIrtD

--HG--
extra : rebase_source : 59de740a09959caca3eae41ee88983aac8edeb59
2017-08-03 12:26:44 +02:00
Masatoshi Kimura
8b713b2b0f Bug 1375125 - Stop using nsILocalFile in the tree. r=froydnj
This mechanically replaces nsILocalFile with nsIFile in
*.js, *.jsm, *.sjs, *.html, *.xul, *.xml, and *.py.

MozReview-Commit-ID: 4ecl3RZhOwC

--HG--
extra : rebase_source : 412880ea27766118c38498d021331a3df6bccc70
2017-08-04 17:49:22 +09:00
Cameron McCormack
3c2086d486 Bug 1384398 - Separate family names in font-family serialization with ", ". r=emilio
MozReview-Commit-ID: 9DBCXoy59g3

--HG--
extra : rebase_source : 2dbabd5e0e9426d1e5c943904d313e6e30dc62b6
2017-08-01 23:01:57 +08:00
Sebastian Hengst
39ccebaf18 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: 9IxbB2vCH4S
2017-08-05 11:55:25 +02:00
Tom Tromey
6d4c7b0e3e Bug 1387473 - add cross-domain source-map test; r=jdescottes
MozReview-Commit-ID: KwmCnvSf0fp

--HG--
extra : rebase_source : d1b85ad6c11da44762a86248a51932b80562b9c3
2017-08-04 09:52:25 -06:00
Tom Tromey
8e8ac4d10b Bug 1345533 - report source map errors to the web console; r=bgrins
MozReview-Commit-ID: 7gynPYFxyIv

--HG--
extra : rebase_source : 8cfe3e3ec53beeeed8f1707d6d1e80e34f53e30f
2017-08-03 09:00:19 -06:00
Tom Tromey
dd8e682c0f Bug 1345533 - display newlines in some console messages; r=nchevobbe
MozReview-Commit-ID: JPz5XUJFQek

--HG--
extra : rebase_source : be05494ce2857acebb8372ab40879a82598ab54f
2017-08-03 08:59:37 -06:00
Masatoshi Kimura
49e04cc095 Bug 1149830 - Remove nsIStackFrame::language. r=bz,mccr8
MozReview-Commit-ID: LxTiLFzNJ9Y

--HG--
extra : rebase_source : 98ca14aa59a62309dcbe0c9ed3e961c730ff9db9
2017-08-03 15:50:07 +09:00