Bobby Holley
b5be668356
Bug 889911 - Switch xpcshell to SystemErrorReporter with a little bit of special magic. r=mrbkap
...
XPCShell currently overrides all the JSContexts whose creation it observes with
its own custom error reporter. This reporter does all sorts of funny things which
we try to clean up for the most part. But there are a few very intricate
considerations at play.
First, the old xpcshell error reporter does some mumbo jumbo with the
XPCCallContext stack to try to guess whether some other code might catch the
exception. This is total garbage on a number of fronts, particularly because
the XPCCallContext stack has no concept of saved frame chains, nested event
loops, sandbox boundaries, origin boundaries, or any of the myriad of
complicating factors that determine whether or not an exception will propagate.
So we get rid of it. But this causes some crazy debugger tests to fail, because
they rely on an exception from uriloader/exthandler/nsHandlerService.js getting
squelched, and can't handle anybody reporting errors to the console service at
the particular moment of contortionism when the exception is raised. So we need
to introduce an explicit mechanism to disable the error reporter here to keep
things running.
Second, we have to be very careful about tracking the return status of the
xpcshell binary. The old code would simply flag an error code if the error
handler was invoked, and we can mostly continue to do that. But there are some
complications. See the comments.
Finally, we don't anything analogous in XPCShellEnvironment, because I have
patches in bug 889714 to remove its state-dependence on the error reporter.
I'll switch it to SystemErrorReporter in that bug.
2013-07-16 18:04:49 -07:00
Philipp Kewisch
229a4c057f
Bug 872897 - TypeError: cyclic object value when opening style editor. r=harth
2013-06-10 23:02:24 +02:00
Dave Camp
a289f7b2de
Bug 896267 - Only create one walker actor per tab. r=harth
2013-07-19 11:21:40 -07:00
Brandon Benvie
e877da470f
bug 825039 - Make Scratchpad execute in context of current debugger; r=rcampbell,msucan,past
2013-07-23 09:58:27 -07:00
Mike Hommey
ffd522d5c2
Bug 892904 - Remove useless includes of config.mk. r=gps
2013-07-15 18:48:40 +09:00
Ryan VanderMeulen
92e4fbcbce
Merge m-c to inbound.
2013-07-12 15:51:48 -04:00
Panos Astithas
1298be4225
Fix step-in in chrome debugging by loading the promise library in the debugger server's compartment (Bug 834756); r=dtownsend,vporof
2013-07-12 22:13:21 +03:00
Jim Blandy
4ed9036036
Bug 878958: Implement ChildDebuggerTransport, a debug protocol transport for communicating with content child processes via process message managers. r=dcamp
...
Transport classes (or prototypes?) should have a label that the requester telemetry stuff can cite, instead of that freaky check we have now.
2013-07-12 11:08:28 -07:00
Ryan VanderMeulen
36aae04be3
Merge m-c to fx-team.
2013-07-11 21:58:48 -04:00
Ryan VanderMeulen
a9bc125c4e
Backed out changeset 817ceeb741b4 (bug 888528) for mochitest-other orange.
2013-07-11 15:21:41 -04:00
Alexandre Poirot
fe554b909c
Bug 889356 - Add test for app redirects
manifest feature. r=fabrice
2013-07-11 14:43:53 -04:00
Alexandre Poirot
2e588bec08
Bug 889356 - The redirects functionality appears to fail via pushing the app to the device. r=fabrice
2013-07-11 14:43:38 -04:00
Nick Fitzgerald
16333ef823
Bug 892100 - Script actor's source loading error reporting broken; r=past
2013-07-11 10:56:23 -07:00
Ed Morley
c46ac635b9
Merge mozilla-central and fx-team
2013-07-11 10:59:07 +01:00
Panos Astithas
fedbf437f3
Rename Promise to promise to avoid collisions with the forthcoming DOM Promise implementation (bug 885318); r=jwalker
2013-07-11 10:12:20 +03:00
Ryan VanderMeulen
aaee3cf638
Merge m-c to inbound.
2013-07-10 09:45:16 -04:00
Heather Arthur
bcf9ef08b8
Bug 891171 - Remove actor id from StyleSheetActor event type name; r=dcamp
2013-07-09 17:34:14 -07:00
Jim Blandy
8d7610ea0c
NO BUG: JS Debugger: Fix variable name in reportError. r=gijs
2013-07-10 16:02:28 -07:00
Mihai Sucan
d99153a1a6
Bug 812618 - Autocomplete at cursor location; r=robcee
2013-06-28 20:56:33 +03:00
Panos Astithas
ec526032b6
Bug 882538 - Add reload() and navigateTo() methods to BrowserTabActor; r=rcampbell
2013-06-28 10:53:00 +03:00
Panos Astithas
e32dd9f2c7
Bug 870128 - Pause on exceptions doesn't work after reload; r=rcampbell
2013-07-09 10:57:13 +03:00
Trevor Saunders
6be251fe42
bug 886526 - disallow MODULE_NAME and IS_COMPONENT for makefiles in libxul r=bsmedberg
2013-06-25 11:15:21 -04:00
Nick Fitzgerald
127658878e
Bug 889526 - Improve reportError so that it will add a stack trace if one is available; r=past
2013-07-03 14:10:52 -07:00
Dave Camp
139b602943
Bug 888528 - Add node deletion/insertion to the walker actor. r=jwalker
...
--HG--
extra : rebase_source : 8d5b9991371a7dcdceff2cd302e7bc76c8f90ea0
2013-06-17 06:52:53 -07:00
Ryan VanderMeulen
548543e0eb
Merge fx-team to inbound.
2013-07-02 09:14:48 -04:00
Brandon Benvie
96b7fd215a
Bug 888399 - Fix missing parenthesis in DebuggerClient.Argument.prototype.getArgument. r=dcamp
2013-06-28 11:25:57 -07:00
Mihai Sucan
fff43b3fcf
Bug 886137 - Can't inspect objects in the webconsole, while debugging and inspecting; r=past
2013-06-28 19:16:18 +03:00
Anton Kovalyov
89611fda5a
Bug 828038 - Change profile recording UI and behavior; r=dcamp
2013-06-27 17:31:52 -07:00
Alexandre Poirot
1976a1826a
Bug 887809 - Webconsole actor doesn't unregister correctly consoleProgressListener on stopListeners. r=msucan
2013-07-01 09:47:09 -04:00
Mihnea Dobrescu-Balaur
db1f890ec9
Bug 889102 - Use a dynamic port in test_dbgglobal.js so that the xpcshell tests can be run concurrently. r=past
2013-07-09 09:09:16 -04:00
Victor Porof
3a2e8a2f7b
Bug 886067 - Netmonitor displays request sizes as "0 KB" after opening Console, r=msucan
2013-06-26 23:35:39 +03:00
Heather Arthur
e512549c46
Bug 731311 - Network monitor should allow to replay and edit requests; r=vporof
2013-06-26 12:09:59 +03:00
Victor Porof
0c801e1d35
Backed out changeset 5414c83bb989 for having the wrong patch author, r=me
2013-06-26 12:06:07 +03:00
Victor Porof
85595c397e
Bug 731311 - Network monitor should allow to replay and edit requests; r=vporof
2013-06-26 09:00:49 +03:00
Mihai Sucan
3a69010850
Bug 885751 - dbg-server.jsm compartment is leaking 500,000-char JavaScript warning strings like a sieve; r=dcamp
2013-06-23 14:35:22 +03:00
Rob Campbell
96837b0120
Bug 692829 - Display cached messages from iframes; r=msucan
2013-06-14 11:19:26 -04:00
Nick Fitzgerald
9a78048baa
Bug 885597 - absolute urls not working with sourcesContent and source maps in file:// urls; r=dcamp
2013-06-23 09:44:29 -07:00
Victor Porof
1dfc9dd271
Merge fx-team to m-c
2013-06-23 19:00:17 +03:00
Mihai Sucan
b8b639cf74
Bug 883649 - Console freezes when accessing a DeadObject's property; r=past
2013-06-21 20:40:00 +03:00
Dave Camp
de94e4d633
Bug 884431 - Consistently treat iframe documents as children in the inspector actor. r=paul
...
--HG--
extra : rebase_source : b364251c71393eed94a39ba5ace7225525bc5a00
2013-06-17 06:52:52 -07:00
Dave Camp
80bf33ed1a
Bug 884396 - Add tests for NodeActor.setNodeValue. r=paul
...
--HG--
extra : rebase_source : 2e60220c3c3021862267e6300a5c54e7489aef57
2013-06-10 21:18:44 -07:00
Dave Camp
cbf7f89130
Bug 884390 - Add attribute modification to the inspector actor. r=paul
...
--HG--
extra : rebase_source : ecd39da79ad5ad7d1bc365b135758970561341a0
2013-06-10 21:18:44 -07:00
Dave Camp
b7c28efb2c
Bug 884388 - Add inner/outerHTML requests to the walker actor. r=paul
...
--HG--
extra : rebase_source : 7fe93afb46ce07bf17c9bf503056d345506f17b6
2013-06-10 21:18:44 -07:00
Dave Camp
8f75ae9488
Bug 883908 - Fix padding in Console.jsm's trace method. r=jwalker
...
--HG--
extra : rebase_source : b98c20106329084d5361dc336a58e98287f27445
2013-06-17 06:52:54 -07:00
Dave Camp
d709e1e7a8
Bug 877316 - Add pseudo-class lock functionality to the inspector actor. r=harth
...
--HG--
extra : rebase_source : a24d4026ebc893d64f25ac65e535e5da23adfbc3
2013-06-10 21:18:41 -07:00
Dave Camp
87c72a0da7
Bug 883601 - Downgrade exceptions to warning when accessing rawNode on an inspector front. r=paul
...
--HG--
extra : rebase_source : bd170c4a9d32a6ffb4031e9c09658d2892dbb445
2013-06-10 21:18:43 -07:00
Dave Camp
ca303ce912
Bug 883600 - Add an isLocal method to the walker. r=paul
...
--HG--
extra : rebase_source : 62589f32bbf32569b000f5b1557788402cf979e7
2013-06-10 21:18:43 -07:00
Victor Porof
317ce2c31f
Bug 883345 - Undefined values aren't properly displayed in the debugger's variables view, r=past
2013-06-21 17:33:57 +03:00
Ryan VanderMeulen
a2d0805a67
Merge inbound and m-c.
2013-06-20 19:22:19 -04:00
Nick Fitzgerald
2dbed58a48
Bug 757408 - Opening debugger hangs completely on large scripts; r=past
2013-06-20 10:43:30 -07:00
Brian O'Keefe
5f8b5163e8
Bug 875934 - Move LIBRARY_NAME to moz.build (batch #1 ); r=mshal
...
--HG--
extra : rebase_source : 385d3fd65475ffc18ee44ae088753649470e214b
2013-06-17 15:21:01 -04:00
Alexandre Poirot
3f744cf6ad
Bug 732553 - NS_BASE_STREAM_CLOSED in dbg-transport.js. r=past
2013-06-19 20:57:35 -04:00
Alexandre Poirot
f97f3f81cc
Bug 879228 - [browserconsole] Tune console.jsm to ease Addon SDK integration. r=msucan
2013-06-20 12:51:18 -04:00
Alexandre Poirot
98f929dde8
Bug 882760: Fix devtool's JSM global issue on b2g; r=jimb
2013-06-22 09:01:12 -04:00
Dave Camp
8bceb2ee2a
Bug 883604 - Implement NodeFront.isDocumentElement. r=paul
2013-06-17 06:52:51 -07:00
Dave Camp
71d54a5b47
Bug 883603 - Don't reply to getWalker request until DOM content is loaded. r=paul
2013-06-17 06:52:51 -07:00
Dave Camp
fee8937e4e
Bug 883602 - Import all parents when using frontForRawNode(). r=jwalker
2013-06-17 06:52:51 -07:00
Dave Camp
f75b6dc79c
Bug 883599 - Fix the inspector actor's nextSibling and previousSibling requests. r=paul
2013-06-10 21:18:18 -07:00
Dave Camp
2f9475a47e
Bug 881120 - Allow clients to specify nodes that shouldn't be released. r=jwalker
2013-06-11 20:27:23 -07:00
Dave Camp
d06fd61fb5
Bug 878443 - Let the inspector actor expire actors for nodes that are no longer connected to the tree. r=jwalker
...
--HG--
extra : rebase_source : 0f6e871eebfd817b70d8229127b6cd285950ea86
2013-06-07 11:06:39 -07:00
Dave Camp
3778dbeba6
Bug 878614 - Handle subdocument loads/unloads in the inspector actor. r=jwalker
...
--HG--
extra : rebase_source : 08d33498922f3a8b46faa5b1b11c6d8d25de9f17
2013-06-07 11:02:32 -07:00
Dave Camp
d324f55f93
Bug 878442 - Add tree change mutations to the inspector actor. r=jwalker
...
--HG--
extra : rebase_source : 54401ddc820a0636f2980b8051207c4fa9968113
2013-06-06 16:22:01 -07:00
Dave Camp
ac6904d5a4
Bug 878441 - Add simple mutation watching to the inspector actor. r=jwalker
...
--HG--
extra : rebase_source : 1f6a187ccaa8a8d0454da7271a5adbfd890c7c79
2013-06-06 16:09:16 -07:00
Dave Camp
2d2a4af3fe
Bug 878381 - Keep track of parents and children on the client side of the inspector. r=jwalker
...
--HG--
extra : rebase_source : c8ba58bf283e6c2c99c0c1ba8959ce97fc266d8a
2013-06-06 16:09:16 -07:00
Dave Camp
9c3398edd6
Bug 878379 - Change the walker's querySelector requests to provide any nodes needed to connect to the root node. r=jwalker
...
--HG--
extra : rebase_source : c234f32af28b5c137e679b1da1d9e5967fc08b3f
2013-06-06 16:09:16 -07:00
Dave Camp
85a97695bf
Bug 877300 - Add a basic DOM walker actor. r=jwalker
...
--HG--
extra : rebase_source : 984ca53aba9223f1d7c716a394cef2fc72bf8438
2013-06-06 16:09:16 -07:00
Dave Camp
fa2deceeb1
Bug 866306 - Add a library to make devtools protocol interaction a bit easier - fix xpcshell tests, r=orange
2013-06-15 12:10:23 -07:00
Dave Camp
3098ad3a35
Bug 881101 - hooks.other is null after shutting down the debugger. r=past
2013-06-10 21:16:47 -07:00
Dave Camp
f6dd109fad
Backout revision 5c76c23df424 for bad commit message.
2013-06-15 10:21:50 -07:00
Dave Camp
364d796a6d
Bug 866306 - Add a library to make devtools protocol interaction a bit easier. r=jimb
...
--HG--
extra : rebase_source : 1b8d8b42ccea6bfea01297a16a561e55f192d554
2013-06-06 12:29:27 -07:00
Dave Camp
57221414e1
Bug 877295 - Allow actors to be loaded as addon-sdk modules. r=past
...
--HG--
extra : rebase_source : 8f5e3247a5b98fb67bc3d659549b4040bb2d2f42
2013-06-10 21:16:47 -07:00
Dave Camp
64c9e404fc
Bug 877295 - Allow actors to be loaded as CommonJS modules. r=past
...
--HG--
extra : rebase_source : c9f1f7da216e006ab1983127f9aa61da25f7da92
2013-06-06 16:06:08 -07:00
Jim Blandy
014a9073db
Bug 878958: Handle a greeting packet as if it were reply from the root actor. r=dcamp
2013-06-14 13:14:30 -07:00
Jim Blandy
ab53ba2a4a
Bug 878958: Separate out a function for setting reply handlers. r=dcamp
2013-06-14 13:14:30 -07:00
Jim Blandy
3de0c7f00e
Bug 878958: In DebuggerClient, substitute mainRoot for _connected. r=dcamp
2013-06-14 13:14:30 -07:00
Jim Blandy
7ff10cfcb3
Bug 878958: Use a Map to map actor names to reply handlers, not an object. r=dcamp
2013-06-14 13:14:30 -07:00
Jim Blandy
ca4c2b59f4
Bug 878958: Use arrow functions in JS debugger client code. r=dcamp
2013-06-14 13:14:30 -07:00
Jim Blandy
3bb4e4f973
Bug 878901: Create a separate client front object, RootClient, for communicating with root actors. r=dcamp
2013-06-14 13:14:29 -07:00
Nick Fitzgerald
f9b181c2d5
Bug 882986 - A source map's sourcesContent doesn't work when the original file path is absolute; r=dcamp
2013-06-13 18:21:06 -07:00
Nick Desaulniers
f845a651ac
Bug 881499 - Modify WebApps actor to receive receipts. r=fabrice
2013-06-12 20:47:14 -04:00
Panos Astithas
e7698e0f66
Bug 773590 - Display the return value when stepping out of a function; r=vporof
2013-06-12 12:56:15 +03:00
Philipp Kewisch
8449e98723
Fix bug 881671 - Comment for appShellDOMWindowType is wrong. r=jimb
2013-06-11 14:53:48 +02:00
Philipp Kewisch
36392d9af3
Fix bug 881468 - Event listener not properly removed in BrowserTabList. r=jimb
...
Fix bug 881468 - Event listener not properly removed in BrowserTabList. r=jimb
2013-06-11 13:04:29 +02:00
Nick Fitzgerald
c85e0b6a3c
Bug 877682 - blackbox sources in the debugger server via the rdp; r=dcamp,past
2013-06-11 17:23:00 +03:00
Mihai Sucan
2aea3f340c
Bug 861338 - [browserconsole] Cache Console.jsm API calls with ConsoleAPIStorage.jsm; r=jwalker
2013-06-07 20:13:48 +03:00
Panos Astithas
62b5afefab
Don't take the slow async path when source maps are not enabled or present (bug 873224); r=rcampbell f=nfitzgerald
2013-06-11 10:58:57 +03:00
Jonathan Griffin
0be31f0242
Bug 797529 - Make DevToolsUtils.js compatible with B2G compartment sharing, r=past
2013-06-06 20:00:11 -07:00
Nick Fitzgerald
4d9ce027ff
Bug 870361 - Change the symbol for source map pragmas from @ to #. r=jorendorff
2013-06-10 08:36:23 -04:00
Mihai Sucan
76a046193d
Bug 877773 - If Browser console is staying opened, Browser UI freezes for a while when open youtube page; r=robcee
2013-06-04 18:47:39 +03:00
Mihai Sucan
b8b0822eb0
Bug 877953 - Fix for intermittent test_cached_messages.html | number of cached page errors - got n, expected 2; r=me
2013-06-04 22:12:11 +03:00
Jim Blandy
56bffabc42
No bug: comment fixes for JS debugger sourceMap support. f=fitzgen DONTBUILD
2013-06-05 18:06:43 -07:00
Ryan VanderMeulen
092e3941a2
Merge inbound to m-c.
2013-06-05 16:29:54 -04:00
Nick Fitzgerald
bb6f1f512c
Bug 879246 - Fix intermittent failure in test_sourcemaps-02.js. r=past
2013-06-05 12:13:31 -04:00
Dave Camp
5aa4ecef33
Bug 878472 - Let local debugger clients find the DebuggerServerConnection. r=past
2013-06-03 09:05:29 -07:00
Jim Blandy
0aa67b4cf9
Bug 878319: Move makeInfallible into its own JSM. r=dcamp
2013-06-05 09:30:54 -07:00
Jim Blandy
6e250c165d
Bug 870081: Share a common RootActor implementation amongst browser, Fennec, B2G, and xpcshell tests. r=past,mfinkle,fabrice
2013-06-02 10:19:41 +03:00
Panos Astithas
c44e64a862
Backout b0e571a21e22 for wrong bug number
2013-06-02 10:18:15 +03:00
Jim Blandy
6cc708a8d0
Bug 871081: Share a common RootActor implementation amongst browser, Fennec, B2G, and xpcshell tests. r=past,mfinkle,fabrice
...
--HG--
rename : browser/devtools/debugger/test/browser_dbg_listtabs.js => browser/devtools/debugger/test/browser_dbg_listtabs-01.js
2013-05-17 15:17:00 +03:00
Dave Camp
eaa4cb5cd8
Bug 878292 - Profiler actor leaves the profiler running in some cases. r=anton, r=robcee
2013-06-01 11:53:54 -07:00
Dave Camp
6ae5881813
Bug 877719 - DebuggerServer.destroy should always work. r=past
2013-05-30 09:42:00 -07:00