J. Ryan Stinnett
8d1c817851
Bug 1443081 - Apply spacing via eslint --fix for DevTools. r=jdescottes
...
MozReview-Commit-ID: 2RVNt140Zte
2018-03-12 13:44:41 -05:00
Cosmin Sabou
ac66216e42
Backed out 3 changesets (bug 1223726) for mochitest devtools failures on devtools/client/styleeditor/test/browser_styleeditor_fetch-from-netmonitor.js
...
Backed out changeset 1a09e6c3c0a3 (bug 1223726)
Backed out changeset 41da2897f549 (bug 1223726)
Backed out changeset fa0a1e88a238 (bug 1223726)
2018-03-12 14:51:37 +02:00
Jan Odvarko
07e4f2d1c4
Bug 1223726 - Customize response body interception; r=ochameau
...
* Introduce pref for custom response body limit
* Introduce pref for saving request/response bodies
MozReview-Commit-ID: 7DrAU1did1a
2018-03-12 08:10:39 +01:00
Florian Quèze
f6add2cafd
Bug 1433175 - scripted patch to replace Components.classes[, Components.interfaces.nsI, Components.utils. and Components.results. with Cc, Ci, Cu and Cr, r=Mossop.
2018-02-28 18:51:33 +01:00
Brian Grinstead
c116f51a86
Bug 1440094 - Remove imports to Console.jsm that only access the 'console' object;r=mossop
...
Importing this object is unnecessary after the updates to the WebIDL console from Bug 1425574
and the follow-ups blocking Bug 1430810. There are still callers that access Console.jsm
to create custom ConsoleAPI objects, but those will be handled separately.
MozReview-Commit-ID: 9ojFxtkpPId
2018-02-27 11:29:59 -08:00
Alexandre Poirot
c693997506
Bug 1440320 - Convert Task.jsm to async/await in devtools/shared. r=jryans
...
MozReview-Commit-ID: IK8BzlYuOWm
2018-02-22 00:49:06 -08:00
Boris Zbarsky
2f8423ff8d
Bug 1437921 part 1. Add an attribute on document that is a Promise that resolves when the document has fired DOMContentLoaded _and_ maybe started layout. r=mystor
...
MozReview-Commit-ID: LpPFPKlHTXe
2018-02-22 16:55:40 -05:00
Alexandre Poirot
d8fcb140f2
Bug 1434374 - Remove useless Cu imports. r=jdescottes
...
MozReview-Commit-ID: FUeBcCrmHPL
2018-02-06 11:08:31 -08:00
Alexandre Poirot
13e5d4f0f5
Bug 1434374 - Auto-rewrite Cu.import into ChromeUtils.import or require calls. r=jdescottes
...
MozReview-Commit-ID: 7YyLu5q23Hs
2018-02-07 01:37:36 -08:00
Andrew McCreight
272cee1e65
Bug 1432992, part 1 - Remove definitions of Ci, Cr, Cc, and Cu. r=florian
...
This patch was autogenerated by my decomponents.py
It covers almost every file with the extension js, jsm, html, py,
xhtml, or xul.
It removes blank lines after removed lines, when the removed lines are
preceded by either blank lines or the start of a new block. The "start
of a new block" is defined fairly hackily: either the line starts with
//, ends with */, ends with {, <![CDATA[, """ or '''. The first two
cover comments, the third one covers JS, the fourth covers JS embedded
in XUL, and the final two cover JS embedded in Python. This also
applies if the removed line was the first line of the file.
It covers the pattern matching cases like "var {classes: Cc,
interfaces: Ci, utils: Cu, results: Cr} = Components;". It'll remove
the entire thing if they are all either Ci, Cr, Cc or Cu, or it will
remove the appropriate ones and leave the residue behind. If there's
only one behind, then it will turn it into a normal, non-pattern
matching variable definition. (For instance, "const { classes: Cc,
Constructor: CC, interfaces: Ci, utils: Cu } = Components" becomes
"const CC = Components.Constructor".)
MozReview-Commit-ID: DeSHcClQ7cG
2018-02-06 09:36:57 -08:00
Florian Quèze
c5f15a4700
Bug 1339461 - script-generated patch to convert foo.indexOf(...) == -1 to foo.includes(), r=Mossop.
2018-02-01 20:45:22 +01:00
Alexandre Poirot
7b9e7e0b6c
Bug 1432803 - Prevent using timeline actor to get DOMContentLoaded and load timings. r=Honza
...
MozReview-Commit-ID: Kkn36gDFTKN
2018-01-24 08:48:26 -08:00
Kris Maglione
0bb74efdf1
Bug 1431533: Part 5a - Auto-rewrite code to use ChromeUtils import methods. r=florian
...
This was done using the following script:
https://bitbucket.org/kmaglione/m-c-rewrites/src/37e3803c7a23385bab5ea077ba8692bcfe1608fc/processors/chromeutils-import.jsm
MozReview-Commit-ID: 1Nc3XDu0wGl
2018-01-29 15:20:18 -08:00
Cosmin Sabou
f09d6d985d
Backed out 3 changesets (bug 1431533) for Android mochitest failures on testEventDispatcher on a CLOSED TREE
...
Backed out changeset a1eca62826a1 (bug 1431533 )
Backed out changeset 34c999fa006b (bug 1431533 )
Backed out changeset e2674287e57f (bug 1431533 )
2018-01-30 07:17:48 +02:00
Kris Maglione
fd67f090b2
Bug 1431533: Part 5a - Auto-rewrite code to use ChromeUtils import methods. r=florian
...
This was done using the following script:
https://bitbucket.org/kmaglione/m-c-rewrites/src/37e3803c7a23385bab5ea077ba8692bcfe1608fc/processors/chromeutils-import.jsm
MozReview-Commit-ID: 1Nc3XDu0wGl
2018-01-29 15:20:18 -08:00
Brindusan Cristian
483ba301cb
Backed out 2 changesets (bug 1431533) for ESlint failures on a CLOSED TREE
...
Backed out changeset 6e56f4c8843e (bug 1431533 )
Backed out changeset 12fc4dee861c (bug 1431533 )
2018-01-30 02:32:43 +02:00
Kris Maglione
683a97d172
Bug 1431533: Part 5a - Auto-rewrite code to use ChromeUtils import methods. r=florian
...
This was done using the following script:
https://bitbucket.org/kmaglione/m-c-rewrites/src/37e3803c7a23385bab5ea077ba8692bcfe1608fc/processors/chromeutils-import.jsm
MozReview-Commit-ID: 1Nc3XDu0wGl
2018-01-29 15:20:18 -08:00
Julian Descottes
92c916136b
Bug 1431758 - do not use netmonitor data to fetch stylesheets over 1MB;r=jryans
...
MozReview-Commit-ID: Gz6dRLiLREm
2018-01-20 00:24:41 +01:00
Narcis Beleuzu
d4a1754b65
Backed out changeset 41262016e149 (bug 1431758) for build bustage. on a CLOSED TREE
2018-01-22 18:42:13 +02:00
Julian Descottes
9c8b9a5f12
Bug 1431758 - do not use netmonitor data to fetch stylesheets over 1MB;r=jryans
...
MozReview-Commit-ID: Gz6dRLiLREm
2018-01-20 00:24:41 +01:00
Jan Odvarko
f2c6366eab
Bug 1427718 - Display multiple headers with the same name; r=rickychien
...
MozReview-Commit-ID: 2nV51xLyCni
2018-01-17 09:56:09 +01:00
Alexandre Poirot
fc432809f4
Bug 1429365 - Prevent this.sink is undefined exception for resources loaded from bytecode cache. r=rickychien
...
MozReview-Commit-ID: C9VFVoK0pPG
2018-01-15 07:23:08 -08:00
Julian Descottes
2dadb08fc2
Bug 1404849 - migrate mochitest for generators autocompletion to xpcshell;r=nchevobbe
...
MozReview-Commit-ID: 74EaFkIZva7
2018-01-10 12:04:12 +01:00
Florian Quèze
1838aa9e08
Bug 1421992 - script-generated patch to replace do_execute_soon, do_print and do_register_cleanup with executeSoon, info and registerCleanupFunction, rs=Gijs.
2017-12-21 11:10:23 +01:00
Florian Quèze
082ca8b2a3
Bug 1421992 - script-generated patch to replace do_check_* functions with their Assert.* equivalents, rs=Gijs.
2017-12-21 11:08:17 +01:00
Oriol Brufau
9342329bc4
Bug 1403536 - Protect all protocol request methods against unsafe objects r=ochameau
...
MozReview-Commit-ID: 4fDaap9QCdF
2017-10-18 04:38:13 +02:00
Narcis Beleuzu
63affa5582
Backed out changeset 9fb71b0692a6 (bug 1403536) for devtools-chrome failures on browser_console_dead_objects.js r=backout on a CLOSED TREE
2017-12-01 00:41:09 +02:00
Oriol Brufau
88965e0661
Bug 1403536 - Protect all protocol request methods against unsafe objects r=ochameau
...
MozReview-Commit-ID: 4fDaap9QCdF
2017-10-18 04:38:13 +02:00
Bogdan Tara
fae5eda0ef
Backed out 1 changesets (bug 1403536) for failing ES Linting tests on /builds/worker/checkouts/gecko/devtools/server/tests/unit/test_objectgrips-21.js r=backout on a CLOSED TREE
...
Backed out changeset 897f029f8ef6 (bug 1403536)
2017-11-29 23:37:15 +02:00
Oriol Brufau
51b1162e7d
Bug 1403536 - Protect all protocol request methods against unsafe objects r=ochameau
...
MozReview-Commit-ID: 4fDaap9QCdF
2017-10-18 04:38:13 +02:00
Jan Odvarko
2414274d71
Bug 1416201 - HTTP request stack trace should be lazy loaded;r=rickychien
...
MozReview-Commit-ID: 5SWLLcNqORz
2017-11-23 13:35:04 +01:00
Julian Descottes
21b6d9f77b
Bug 1416711 - Add registerAllActors API;r=ochameau
...
Most of the codebase that needs to create a debugger server
can use a server with all actors registered.
Define an additional method registerAllActors to do that.
By previous implementations, all the call sites that were
using browser: true were indirectly using tab & root: true
as well. So all the call sites using browser: true have been
migrated to registerAllActors and the specific behavior of
the browser: true case has been removed. Passing browser:true
to registerActors now only registers browser specific actors.
MozReview-Commit-ID: F3sx71eGrdG
2017-11-13 21:22:15 +01:00
Julian Descottes
6e8668e849
Bug 1416711 - Stop guarding consumer calls to DebuggerServer.init();r=ochameau
...
DebuggerServer.init() already bails out if it was previously initialized
so we could avoid guarding the calls to init() with it everywhere.
Registering an actor module several times is also a noop as the Server
keeps a map of all the already registered modules and will bail out if
the module is already known.
MozReview-Commit-ID: 4ONLlx9253i
2017-11-13 21:04:43 +01:00
Julian Descottes
2c1ef484ef
Bug 1416711 - Migrate addBrowser/TabActors to registerActors;r=ochameau
...
DebuggerServer has old APIs addBrowserActors & addTabActors that can be
replaced by calls to registerActors.
MozReview-Commit-ID: KpYJpbSHM8I
2017-11-13 20:29:55 +01:00
Alexandre Poirot
ea459fe86b
Bug 1372115 - Prevent exception in network monitor when JS file is loaded throught the bytecode cache. r=Honza
...
MozReview-Commit-ID: 5w6Bj9213ba
2017-11-15 06:12:09 -08:00
Tooru Fujisawa
ed35ba8fe9
Bug 1416249 - Remove conditional catch consumers in devtools/. r=jmaher
2017-11-18 22:57:17 +09:00
Nicolas Chevobbe
fd8ff6dda8
Bug 1383711 - Make addOneTimeListener return a Promise; r=ochameau.
...
Switch some calls to addOneTimeListener from callback-style to Promise.
MozReview-Commit-ID: F9AlSvK0MAH
2017-11-06 08:40:39 +01:00
Mark Banner
ac3e440190
Bug 1371293 - Fix various devtools warnings after upgrading to ESLint 4. r=miker
...
ESLint 4 will turn on all rules after an eslint-enable with no arguments. Therefore be more specific about which rules are being disabled.
MozReview-Commit-ID: IoPBG72zySm
2017-11-06 14:01:33 +00:00
Nicolas Chevobbe
1be39f71c2
Bug 1403458 - Convert browser_webconsole_assert.js to a backend test; r=bgrins.
...
The test ensures that packet are sent for falsy console.assert calls,
and that no packet are sent for truthy console.assert.calls, using a timeout.
Mochitest and support files are removed from the new frontend.
MozReview-Commit-ID: C9QpXfBySLo
2017-10-24 10:45:29 +02:00
Dragana Damjanovic
425236a2cf
Bug 1384679 - Fix network-monitor.js.
2017-10-17 17:08:42 +02:00
Dragana Damjanovic
5d2b7d09a7
Bug 1384679 - Fix timing for TFO. r=mcmanus r=honza
2017-10-17 15:28:33 +02:00
Ben Kelly
68a0ed540e
Bug 1391693 P10 Don't expect extraneous console message from service worker any more. r=bgrins
2017-10-09 10:03:41 -07:00
Ben Kelly
605e6c61c9
Bug 1391693 P9 Make nsHttpChannel redirect to InterceptedHttpChannel to fire a ServiceWorker FetchEvent. r=asuth r=valentin
2017-10-09 10:03:41 -07:00
Nicolas Chevobbe
fee723d060
Bug 1403895 - Remove devtools/shared/client/main.js; r=ochameau.
...
Remove the main file that we don't need anymore and modify all
the imports to target the specific file they now need.
MozReview-Commit-ID: 2uWjTnAMAU0
2017-09-29 15:24:14 +02:00
Oriol Brufau
15477daeff
Bug 1394559 - Better handling of inaccessible objects in the console. r=jimb
2017-09-22 11:54:00 -04:00
Oriol Brufau
30271434ac
Bug 1395276 - Make $ and $$ console commands throw errors created in the debuggee global. r=jimb
2017-08-30 11:50:00 -04:00
Franziskus Kiefer
4b920b23df
Bug 1397833 - don't assert on custom TLS key-exchange groups, r=keeler
...
MozReview-Commit-ID: 8oztPlzw3PB
2017-09-08 11:53:11 +02: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
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
Wes Kocher
aa1caed330
Backed out changeset 58f678547059 (bug 1381542) for conflicting with the incoming m-c merge a=backout
...
MozReview-Commit-ID: 1wKVHbOAUdc
2017-08-10 18:23:14 -07:00