Commit Graph
60 Commits
Author SHA1 Message Date
Alexandre Poirot f1ecc74ebf Bug 1362830 - Fix incorrect API call from webconsole actor. r=bgrins
ActorPool.removeActor expects an actor instance, not an ID string.

MozReview-Commit-ID: 366sD7uvHbg
2017-05-09 19:51:55 +02:00
Fabien Casters 8ca3b6f116 Bug 1331802 - Fix remaining ESLint issues in devtools/server/actors/ r=tromey
MozReview-Commit-ID: 3dqvmCywg3s
2017-05-03 23:26:19 +02:00
Florian Queze d3c36892fa Bug 1356569 - Remove addObserver's last parameter when it is false, r=jaws. 2017-04-14 21:51:38 +02:00
Sebastian Hengst 42670ceca0 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 9b4f73599f Bug 1356569 - Remove addObserver's last parameter when it is false, r=jaws. 2017-04-14 21:51:38 +02:00
Alexandre Poirot 6e5b6bd5c0 Bug 1348885 - Prevent throwing on dead wrapper when processing stacks of error from nuked globals. r=jryans
MozReview-Commit-ID: gdFNYNzXLz
2017-03-23 18:53:57 +01:00
Tooru Fujisawa fb86e22154 Bug 1283712 - Part 11.1: Show notes in devtools console. r=nchevobbe 2017-02-15 23:53:07 +09:00
Florian Quèze c8cf49999e Bug 1334156 - script-generated patch to replace .ownerDocument.defaultView with .ownerGlobal, r=jaws. 2017-01-27 10:51:03 +01:00
Alexandre Poirot f0b62a2852 Bug 1323466 - Lazy load dependencies from actors/script.js. r=jryans
MozReview-Commit-ID: 6DdFOIL6nD
2016-12-20 13:35:13 -08:00
Alexandre Poirot 023f7a37d6 Bug 1323466 - Prevent loading webbrowser.js in child process. r=jryans
MozReview-Commit-ID: J1EmwxplNhA

Make actor registration more explicit and documented.
Each codepath depends on various set of actors, and it may be confused
as we often register actors if the DebuggerServer wasn't initialized yet.
But it is often already started by some other callsite...

This changeset also converts childtab to being just a module
and stop using DebuggerServer.addActors magic.
2016-12-19 03:14:12 -08: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
Luca Greco 14c9e57fb3 Bug 1318006 - Prevent "TypeError: can't access dead object" exception on webconsole getCachedMessages. r=ochameau
MozReview-Commit-ID: H0DWJ2bTyn7
2016-11-16 16:35:04 +01:00
Ehsan Akhgari 917a5e63fc Bug 1310845 - Remove support for mozapp iframes; r=fabrice,jryans,baku,mcmanus
This patch removes support for mozapp iframes, leaving support for
mozbrowser iframes intact.  Some of the code has been rewritten in order
to phrase things in terms of mozbrowser only, as opposed to mozbrowser
or app.  In some places, code that was only useful with apps has been
completely removed, so that the APIs consumed can also be removed.  In
some places where the notion of appId was bleeding out of this API, now
we use NO_APP_ID.  Other notions of appId which were restricted to this
API have been removed.
2016-11-16 09:13:38 -05:00
J. Ryan Stinnett ca28966f00 Bug 1315391 - Rename all disconnect methods to destroy in actors. r=ochameau
Ever since protocol.js was added as a way to create DevTools actors, we've had
lots of confusion about the correct way to implement actor destruction.  If your
actor's _parent_ was the legacy kind, you had to use `disconnect`.  If it was
protocol.js, you had to use `destroy`.

There is no reason for this madness, which makes reasoning about destruction
quite hard.  Here we rename `disconnect` to `destroy` so there is only one name
for every destruction path.

MozReview-Commit-ID: C1Yw9NfUUR2
2016-11-11 18:24:58 -06:00
Tooru Fujisawa 5e6a8b0923 Bug 1315242 - Part 2: Display line number and column number in error message for console input. r=bgrins 2016-11-11 01:06:26 +09:00
Tooru Fujisawa f518a6c51e Backed out changeset fd1505a03d78 for mochitest chrome bustage (bug 1315242) 2016-11-11 03:04:46 +09:00
Tooru Fujisawa 671d325dd4 Bug 1315242 - Part 2: Display line number and column number in error message for console input. r=bgrins 2016-11-11 01:06:26 +09:00
Jared Wein 5edec1c0d9 Bug 1315013 - part 1, remove unnecessary double-slash comments that don't add value and look out of place with the spaced-comment eslint rule. r=mossop
MozReview-Commit-ID: HIUTSdkXxbY
2016-11-03 14:42:06 -04:00
J. Ryan Stinnett 5a8a21f763 Bug 1283453 - Add network throttling to emulation actor. r=tromey
Expose network throttling via the emulation actor, similar to other platform
features that RDM alters.  This simplifies the client side since we can avoid
thinking about console clients, etc.

MozReview-Commit-ID: 3CNnJl6Ude8
2016-10-13 09:25:21 -05:00
a2589a09b9 Bug 1224073 - Use the Debugger.Object API to call Error.toString directly. r=bgrins 2016-09-21 15:31:40 +02:00
Jarda Snajdr 01aaa9c953 Bug 1270096 - Netmonitor request replay: disable CORS checks, set request headers accurately r=Honza
MozReview-Commit-ID: Ew7zPkrhOHd
2016-05-23 15:27:45 +02:00
Tom Tromey 070522efed Bug 1244227 - Add an API to enable throttling. r=Honza
MozReview-Commit-ID: BirjFHVSZN7
2016-08-23 07:36:52 -06:00
J. Ryan Stinnett 63f54ad6ac Bug 1240912 - Convert Network Monitor to setupInParent. r=ochameau
MozReview-Commit-ID: 2fqsnR7IMWO
2016-08-19 10:01:32 -05:00
J. Ryan Stinnett 455c5bb644 Bug 1240912 - Filter requests by top frame's outerWindowID. r=ochameau
MozReview-Commit-ID: B5Y65EVG8Tz
2016-08-19 10:01:27 -05:00
Jarda Snajdr 9ed57163c0 Bug 1292503 - Fix e10s issues in resending HTTP requests, enable browser_net_resend.js test r=ochameau 2016-08-10 17:08:35 -07:00
Brian Grinstead 29bef48212 Bug 1288475 - Remove code unused in client and server versions of webconsole utils;r=tromey
MozReview-Commit-ID: GcNg9nEI9d4
2016-08-05 10:44:42 -07:00
Brian Grinstead 4e42260d3e Bug 1288475 - Split webconsole utils.js into separate client and server parts;r=MattN,tromey
MozReview-Commit-ID: HlpiRvuMF1H
2016-08-05 10:44:38 -07:00
Luca Greco 537d059f73 Bug 1285557 - Create a WebExtensionAddonActor based on ChromeActor and TabActor. r=jryans
MozReview-Commit-ID: 70sLUzqHHsl
2016-07-25 16:28:49 +02:00
Luca Greco 626f28f1eb Bug 1287889 - Adopt webconsole _lastConsoleInputEvaluation when the debugger changes. r=bgrins
MozReview-Commit-ID: 8ujphVlekIL
2016-07-25 10:09:14 +02:00
J. Ryan Stinnett 30933227ec Bug 1240907 - Flatten RemoteBrowserTabActor into BrowserTabActor. r=ochameau
The removes the legacy path for non-e10s that avoids the messageManager.  We now
use the messageManager for all cases, both e10s off and on.

Unsurprisingly, this revealed a variety of race conditions in various tests, so
they've been cleaned up as well.

MozReview-Commit-ID: EXEWehphLIY
2016-07-21 12:20:55 -05:00
Jarda Snajdr b68af99371 Bug 1285638 - Network monitor leaks window when a parent-side tab is closed. r=ochameau 2016-07-10 10:37:00 +02:00
Brian Grinstead 99c5784b47 Bug 1283641 - Dont use a missing localized string when changing context in webconsole;r=dolske
MozReview-Commit-ID: 90Wce7yMG8M
2016-07-05 16:21:26 -07:00
Wes Kocher 7dd98fbcaa Backed out 6 changesets (bug 1244227) for mochitest-cl failures
Backed out changeset fc2dcc9e7f52 (bug 1244227)
Backed out changeset 5855543dc299 (bug 1244227)
Backed out changeset b409ab88921d (bug 1244227)
Backed out changeset 2990149167fc (bug 1244227)
Backed out changeset e4bf9065b319 (bug 1244227)
Backed out changeset 404a39c5e090 (bug 1244227)
2016-06-30 13:42:15 -07:00
Tom Tromey f55698e761 Bug 1244227 - add an API to enable throttling; r=Honza
MozReview-Commit-ID: BirjFHVSZN7
2016-03-01 11:13:41 -07:00
Brian Grinstead 10fb539e2a Bug 1279195 - Move error message URL onto server. r=linclark
MozReview-Commit-ID: 4paCU4JDDMv
2016-06-21 15:09:13 -07:00
Jarda Snajdr 014725e771 Bug 1134073 - Part 1: Collect information about request cause and stacktrace in netmonitor backend r=ochameau
MozReview-Commit-ID: BdrqblFyC66
2016-06-01 01:03:00 +02:00
Andrea Marchesini ab623f2b20 Bug 989619 - patch 2 - console API should use webIDL namespaces, r=bz 2016-06-04 09:32:51 +02:00
J. Ryan Stinnett 530b903fcf Bug 1271084 - Apply ESLint autofixes to ignored /devtools files. r=tromey
For simple rules like function spacing, we can auto-fix these across the code
base so they are followed in a consistent way.

To generate this patch, I ran:

./mach eslint devtools --no-ignore --fix

After this, I reverted any changes to third party files that we really do want
to ignore.

MozReview-Commit-ID: 6Q8BApkAW20
2016-05-18 12:49:23 -05:00
Morgan Phillips a465fe828c Bug 1264780 - Handle destructuring cases when forcing binding initialization; r=bgrins 2016-04-15 19:01:09 -07:00
Morgan Phillips 4329bce57f Bug 1259563 - Display links to error message documentation alongside relevant errors (2/2); r=bgrins 2016-04-11 10:27:50 -07:00
Morgan Phillips b210844a9f Bug 1255133 - Surface links to external documentation alongside relevant error messages 1/2; r=bgrins 2016-04-01 23:17:49 -07:00
Brian Grinstead 5aaec69caa Bug 1240881 - Fail more gracefully if webconsole actor is using a non-live Frame for evaluation. r=jlongster 2016-02-05 15:41:00 -05:00
Tooru Fujisawa f0d74e5997 Bug 1253859 - Properly stringify thrown symbol in console. r=fitzgen 2016-03-09 01:32:34 +09:00
Eddy Bruel c600405f32 Bug 1235371 - Move EnvironmentActor into its own file;r=jryans 2016-02-26 09:10:14 +01:00
Morgan Phillips efeaff9e9c Bug 1246215 - Console prevents let re-declaration even when first was an error; r=jryans,shu 2016-02-24 12:16:16 -06:00
AJ Kerrigan 8917ed42db Bug 1246188 - Make webconsole.js ESLint-clean. r=lclark 2016-02-13 00:56:12 -05:00
Alexandre Poirot a6e89f9dc8 Bug 1240762 - Fix ServiceWorker request coming from Cache/Fetch. r=vporof 2016-01-20 14:09:25 -08:00
Alexandre Poirot 33bb7367a8 bug 1158264 - Flag requests coming from service workers. r=vporof 2016-01-14 05:53:00 -08:00
Brian Grinstead 026f3b0504 Bug 1207868 - Fix lexical scope autocomplete for global 'let' and 'const';r=past 2015-12-03 11:35:33 -08:00
Alexandre Poirot 7e64ff9782 Bug 1227139 - Fix the webconsole for addon and browser content toolbox by handling a missing performance property on this.window. r=bgrins 2015-11-25 07:54:26 -08:00