Граф коммитов

154 Коммитов

Автор SHA1 Сообщение Дата
Panos Astithas b157d819e2 Don't pause twice on a breakpoint or debugger statement while stepping (bug 829028); r=rcampbell 2013-07-18 12:45:17 +03:00
Panos Astithas db345be1be Clear any previous stepping hooks on a plain resumption (bug 832234); r=rcampbell 2013-07-18 12:45:17 +03:00
Bobby Holley eb2e873e6c 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 20:38:44 -07:00
Ryan VanderMeulen e168631670 Backed out 10 changesets (bug 889911, bug 889714) due to merge conflicts on a CLOSED TREE.
Backed out changeset 1a1a536121da (bug 889714)
Backed out changeset 2cd88ef9eea5 (bug 889714)
Backed out changeset 489723887eca (bug 889714)
Backed out changeset 2b38ce22cf97 (bug 889714)
Backed out changeset 87b0a59a5d51 (bug 889714)
Backed out changeset 13229bab2ba4 (bug 889714)
Backed out changeset 234bd6d1fbed (bug 889714)
Backed out changeset 4f5f62284917 (bug 889714)
Backed out changeset 18537c4436c7 (bug 889911)
Backed out changeset ca7060ab1588 (bug 889911)
2013-07-16 21:16:31 -04:00
Bobby Holley c1403cacc4 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 434e0291c7 Bug 872897 - TypeError: cyclic object value when opening style editor. r=harth 2013-06-10 23:02:24 +02:00
Dave Camp 0257b1904b Bug 896267 - Only create one walker actor per tab. r=harth 2013-07-19 11:21:40 -07:00
Brandon Benvie 9d1632cde4 bug 825039 - Make Scratchpad execute in context of current debugger; r=rcampbell,msucan,past 2013-07-23 09:58:27 -07:00
Trevor Saunders e62a12b52f bug 886526 - remove IS_COMPONENT and MODULE_NAME makefile vars for things in libxul r=bsmedberg r=glandium 2013-08-08 20:12:37 -04:00
Ryan VanderMeulen d03fb91d02 Merge m-c to inbound. 2013-07-12 15:51:48 -04:00
Panos Astithas e9012c3b84 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 bc3bf7126b 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 784b4970b1 Merge m-c to fx-team. 2013-07-11 21:58:48 -04:00
Ryan VanderMeulen 7155e76d44 Backed out changeset 817ceeb741b4 (bug 888528) for mochitest-other orange. 2013-07-11 15:21:41 -04:00
Alexandre Poirot 1e1a4993e4 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 f7ca2063a8 Bug 892100 - Script actor's source loading error reporting broken; r=past 2013-07-11 10:56:23 -07:00
Ed Morley 16bf648135 Merge mozilla-central and fx-team 2013-07-11 10:59:07 +01:00
Panos Astithas 698b809ffe 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 d806e1e244 Merge m-c to inbound. 2013-07-10 09:45:16 -04:00
Heather Arthur ea9a6f1485 Bug 891171 - Remove actor id from StyleSheetActor event type name; r=dcamp 2013-07-09 17:34:14 -07:00
Jim Blandy 325ce1a84b NO BUG: JS Debugger: Fix variable name in reportError. r=gijs 2013-07-10 16:02:28 -07:00
Mihai Sucan 366007a69e Bug 812618 - Autocomplete at cursor location; r=robcee 2013-06-28 20:56:33 +03:00
Panos Astithas 2897446860 Bug 882538 - Add reload() and navigateTo() methods to BrowserTabActor; r=rcampbell 2013-06-28 10:53:00 +03:00
Panos Astithas 5694a6f1ae Bug 870128 - Pause on exceptions doesn't work after reload; r=rcampbell 2013-07-09 10:57:13 +03:00
Trevor Saunders 4fda35a773 bug 886526 - disallow MODULE_NAME and IS_COMPONENT for makefiles in libxul r=bsmedberg 2013-06-25 11:15:21 -04:00
Nick Fitzgerald eebeb27495 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 3611785138 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
Alexandre Poirot 03d9153976 Bug 887809 - Webconsole actor doesn't unregister correctly consoleProgressListener on stopListeners. r=msucan 2013-07-01 09:47:09 -04:00
Mihai Sucan 514b9c384c 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 1706e0cec0 Bug 828038 - Change profile recording UI and behavior; r=dcamp 2013-06-27 17:31:52 -07:00
Mihnea Dobrescu-Balaur ed37951190 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 68abdee420 Bug 886067 - Netmonitor displays request sizes as "0 KB" after opening Console, r=msucan 2013-06-26 23:35:39 +03:00
Heather Arthur 6f1595f89b Bug 731311 - Network monitor should allow to replay and edit requests; r=vporof 2013-06-26 12:09:59 +03:00
Victor Porof d89482657a Backed out changeset 5414c83bb989 for having the wrong patch author, r=me 2013-06-26 12:06:07 +03:00
Victor Porof f0d1376f2f Bug 731311 - Network monitor should allow to replay and edit requests; r=vporof 2013-06-26 09:00:49 +03:00
Mihai Sucan b8dd40d720 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
Mihai Sucan a8f991cdf2 Bug 883649 - Console freezes when accessing a DeadObject's property; r=past 2013-06-21 20:40:00 +03:00
Dave Camp 021e1a421d 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 adccb547fb Bug 884396 - Add tests for NodeActor.setNodeValue. r=paul
--HG--
extra : rebase_source : 2e60220c3c3021862267e6300a5c54e7489aef57
2013-06-10 21:18:44 -07:00
Dave Camp 9ac0cdec46 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 4118321418 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 6a1c8cf0e7 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 54db0275a3 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 8c158aea06 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 19edc00bbb Bug 883345 - Undefined values aren't properly displayed in the debugger's variables view, r=past 2013-06-21 17:33:57 +03:00
Nick Fitzgerald 4be3b2b473 Bug 757408 - Opening debugger hangs completely on large scripts; r=past 2013-06-20 10:43:30 -07:00
Brian O'Keefe 11bcc1cd9e 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 52dc995210 Bug 732553 - NS_BASE_STREAM_CLOSED in dbg-transport.js. r=past 2013-06-19 20:57:35 -04:00
Dave Camp d7a7f0ad5c Bug 883604 - Implement NodeFront.isDocumentElement. r=paul 2013-06-17 06:52:51 -07:00
Dave Camp d738064908 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 83c01076cf Bug 883602 - Import all parents when using frontForRawNode(). r=jwalker 2013-06-17 06:52:51 -07:00
Dave Camp 14c6c1419f Bug 883599 - Fix the inspector actor's nextSibling and previousSibling requests. r=paul 2013-06-10 21:18:18 -07:00
Dave Camp 7ab9abf825 Bug 881120 - Allow clients to specify nodes that shouldn't be released. r=jwalker 2013-06-11 20:27:23 -07:00
Dave Camp d886ea39e6 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 dce80b050a 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 53aacec867 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 8512c61e02 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 e84d2f4f19 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 a36c1b496d 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 8dcdc83993 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 f74f25a8b2 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 b4b2f88a8f Bug 881101 - hooks.other is null after shutting down the debugger. r=past 2013-06-10 21:16:47 -07:00
Dave Camp 465d00dbcd Backout revision 5c76c23df424 for bad commit message. 2013-06-15 10:21:50 -07:00
Dave Camp b50d21be3d 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 f24dd9d3b4 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 b39419aaa8 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
Nick Fitzgerald 0c6e598a67 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 dedf6a8eb2 Bug 881499 - Modify WebApps actor to receive receipts. r=fabrice 2013-06-12 20:47:14 -04:00
Panos Astithas 9a6f3ac9cc Bug 773590 - Display the return value when stepping out of a function; r=vporof 2013-06-12 12:56:15 +03:00
Philipp Kewisch 9118048227 Fix bug 881671 - Comment for appShellDOMWindowType is wrong. r=jimb 2013-06-11 14:53:48 +02:00
Philipp Kewisch 6f9fcadd39 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 2fd640db2a Bug 877682 - blackbox sources in the debugger server via the rdp; r=dcamp,past 2013-06-11 17:23:00 +03:00
Panos Astithas c3fa5c9c0d 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
Nick Fitzgerald 194c3a4cb5 Bug 870361 - Change the symbol for source map pragmas from @ to #. r=jorendorff 2013-06-10 08:36:23 -04:00
Mihai Sucan 4e616bdbf9 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
Jim Blandy 003b496a3c No bug: comment fixes for JS debugger sourceMap support. f=fitzgen DONTBUILD 2013-06-05 18:06:43 -07:00
Ryan VanderMeulen 01ff5c0dc3 Merge inbound to m-c. 2013-06-05 16:29:54 -04:00
Nick Fitzgerald e7414531e2 Bug 879246 - Fix intermittent failure in test_sourcemaps-02.js. r=past 2013-06-05 12:13:31 -04:00
Dave Camp dce1c3abcb Bug 878472 - Let local debugger clients find the DebuggerServerConnection. r=past 2013-06-03 09:05:29 -07:00
Jim Blandy 59f3d0d730 Bug 878319: Move makeInfallible into its own JSM. r=dcamp 2013-06-05 09:30:54 -07:00
Jim Blandy 78b89f1c5a 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 03ab87f879 Backout b0e571a21e22 for wrong bug number 2013-06-02 10:18:15 +03:00
Jim Blandy 3923f3e983 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 a211a7d924 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 833e053ee8 Bug 877719 - DebuggerServer.destroy should always work. r=past 2013-05-30 09:42:00 -07:00
Nick Fitzgerald 914800933b Bug 760370 - Visually distinguish non-extensible objects; r=vporof 2013-05-29 19:47:00 +03:00
Jim Blandy 816e6cfe91 Use DebuggerServer.addGlobalActor to register ChromeDebuggerActor, instead of writing out code with the same effect (bug 863936). r=past,mfinkle,fabrice 2013-04-19 17:33:00 +03:00
Alexandre Poirot 5a8eadd448 Bug 865207 - Move webapps actor from /b2g/chrome/content to /toolkit/devtools/apps/. r=fabrice, r=dcamp
--HG--
rename : dom/apps/tests/unit/data/app.zip => toolkit/devtools/apps/tests/unit/data/app.zip
rename : dom/apps/tests/unit/test_webappsActor.js => toolkit/devtools/apps/tests/unit/test_webappsActor.js
rename : b2g/chrome/content/dbg-webapps-actors.js => toolkit/devtools/server/actors/webapps.js
2013-05-30 12:08:15 -04:00
Dave Camp f2c815193b Bug 875437 - Close the debugger client in test_add_actors.js. r=past 2013-05-29 10:47:38 -07:00
Anton Kovalyov b3a6606651 Bug 817836 - Support for console.profile and console.profileEnd; r=dcamp 2013-05-14 15:25:28 -07:00
Anton Kovalyov 59e6805757 Backed out changeset 4f2586fe4489 2013-05-28 12:51:42 -07:00
Anton Kovalyov 0eff5c8c08 Bug 817836 - Support for console.profile and console.profileEnd; r=dcamp 2013-05-14 15:25:28 -07:00
Mihai Sucan 2e950f3c51 Bug 859756 - [browserconsole] Show nsIConsoleMessages in the Browser Console; r=robcee 2013-05-28 18:24:31 +03:00
Mike Shal 5169c0a913 Bug 864774 - Part 2: Move CPPSRCS to moz.build as CPP_SOURCES; r=joey CLOSED TREE
From 9e0ba7f425143f545eb6c4b26a9a96b5ade4d8e9 Mon Sep 17 00:00:00 2001
2013-04-23 17:54:15 -04:00
Tim Taubert 7a1cc4e9e8 merge m-c to fx-team 2013-05-26 15:22:27 +02:00
Mihai Sucan decd78751d Bug 874061 - Figure out private browsing and the browser console; r=robcee f=ehsan 2013-05-25 12:25:36 +03:00
Joe Walker 57536173c7 Bug 874821 - Enable better remote gcli testing; r=mratcliffe 2013-05-25 09:51:31 +01:00
Victor Porof 841b15d8e6 Bug 859046 - Implement filtering out certain types of requests, r=rcampbell
* * *
Bug 873761 - Several "XUL box for hbox element contained an inline #text child, forcing all its children to be wrapped in a block." warnings for netmonitor.xul, r=rcampbell
2013-05-24 20:53:10 +03:00
Eddy Bruel 95c00e88f0 Merge for bug 637572 2013-05-24 17:05:46 -07:00
Jim Blandy 10df30c8be Bug 862490: Clarify sharing of _createExtraActors and _appendExtraActors between BrowserRootActor and BrowserTabActor. r=past 2013-05-24 10:13:42 -07:00