Commit Graph

15825 Commits

Author SHA1 Message Date
Panos Astithas
afadaecb9c 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
ef2c716f24 Clear any previous stepping hooks on a plain resumption (bug 832234); r=rcampbell 2013-07-18 12:45:17 +03:00
Bobby Holley
ea7a9f6f09 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
Bobby Holley
e2b1455bd9 Bug 889911 - Fix tests that unconditionally throw for things reported to the console. r=mrbkap
When we start sending everything reported to the JSErrorReporter to the console,
these tests end up getting confused by warnings.
2013-07-16 20:38:44 -07:00
Robert Strong
9627ecc7ce Test followup fix for Bug 889183 - mozapps/update xpcshell tests cannot be run concurrently. r=me 2013-07-16 19:25:36 -07:00
Robert Strong
1a217b7215 Part 2. add run-sequentially to xpcshell ini files for tests that can't run in parallel yet - Bug 889183 - mozapps/update xpcshell tests cannot be run concurrently. r=mihneadb 2013-07-16 19:19:25 -07:00
Robert Strong
b5aec1f74a Part 1. use custom XREExeF and UpdRootD - Bug 889183 - mozapps/update xpcshell tests cannot be run concurrently. r=bbondy 2013-07-16 19:19:03 -07:00
Robert Strong
7ba644048c Simplify xpcshell ini files - Bug 894115 - xpcshell ini file confusion. r=bbondy 2013-07-16 19:18:44 -07:00
Ryan VanderMeulen
ec49bf763f 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
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
Drew Willcoxon
6338d23a14 Bug 870104 - Add telemetry to BackgroundPageThumbs. r=markh,froydnj 2013-07-12 21:03:18 -07:00
Drew Willcoxon
a47d853914 Bug 891169 - Make BackgroundPageThumbs safer when there are private windows open. r=markh 2013-07-12 21:03:15 -07:00
Honza Bambas
126d26a032 Bug 892486 - Telemetry for appcache vs http cache page load, r=ehsan 2013-07-16 19:38:15 +02:00
Brian O'Keefe
a2b1403eb0 Bug 883502 - Part 1: Move 'chromium_config.mk' includes after rules.mk. r=gps 2013-07-04 08:28:43 -04:00
Marco Bonardo
39d2c2252c bug 892454 - Use a less fragile flag than zero frecency to skip the frecency update on visit.
r=Mano
2013-07-16 15:36:08 +02:00
Joey Armstrong
7673595348 bug 880773: Cleanup/final patch - remove DISABLED_SSRCS. r=mshal 2013-07-16 08:47:40 -04:00
Richard Marti
fd3dd54cba Bug 855998 - Use Aero styling for hover and selected items in UI. r=dao, r=jaws, ui-r=shorlander 2013-07-15 20:36:26 +02:00
Ryan VanderMeulen
495d1f2b79 Backed out 4 changesets (bug 889911) for Windows bustage.
Backed out changeset 5e55ddfc9dc3 (bug 889911)
Backed out changeset 5e296989dd3d (bug 889911)
Backed out changeset 6e48a408d1de (bug 889911)
Backed out changeset e4ec71ab768f (bug 889911)
2013-07-15 15:28:29 -04:00
Bobby Holley
7b22d7ae94 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-15 11:44:51 -07:00
Bobby Holley
9c79c5a4be Bug 889911 - Fix tests that unconditionally throw for things reported to the console. r=mrbkap
When we start sending everything reported to the JSErrorReporter to the console,
these tests end up getting confused by warnings.
2013-07-15 11:44:50 -07:00
Shane Caraveo
64860957b7 bug 872605 add ability to update provider manifest, r=markh 2013-07-03 10:24:16 -07:00
Geoff Lankow
024e54a236 Bug 891181 - Textbox-based <setting> bindings un-focus when forward slash (/) key is pressed. r=bmcbride 2013-07-09 20:31:17 +12:00
Mihnea Dobrescu-Balaur
885b36c048 Bug 888526 - Use the profile dir instead of the bin dir for contentpref xpcshell tests. r=ted 2013-07-11 15:10:28 -07:00
Mike Hommey
ffd522d5c2 Bug 892904 - Remove useless includes of config.mk. r=gps 2013-07-15 18:48:40 +09:00
Mike Hommey
0f994f506e Bug 887483 - Remove some more useless FORCE_STATIC_LIB and leftover comments from previous removal. r=mshal 2013-07-15 18:48:40 +09:00
Mike Conley
d7fc1cd6a5 Unit test for Bug 893316 - Http.jsm doesn't listen to method option parameter. r=Mossop 2013-07-15 09:26:55 +02:00
Mike Conley
c5fa790685 Bug 893316 - Http.jsm doesn't listen to method option parameter. r=Mossop 2013-07-15 09:25:57 +02:00
Phil Ringnalda
147e540f56 Back out 0327b814b3ff (bug 870104) and 1b368df20595 (bug 891169) for 10.8 browser_thumbnails_background.js timeouts 2013-07-13 09:14:42 -07:00
Drew Willcoxon
427dc492cf Bug 870104 - Add telemetry to BackgroundPageThumbs. r=markh,froydnj 2013-07-12 21:03:18 -07:00
Drew Willcoxon
1e989e46e5 Bug 891169 - Make BackgroundPageThumbs safer when there are private windows open. r=markh 2013-07-12 21:03:15 -07:00
Wes Kocher
1187505665 Backout e6bda3437a7c for OSX bustage. 2013-07-12 15:08:33 -07:00
Nathan Froyd
4d9dd85f2d Bug 892765 - part 3 - run captivedetect test http server on OS-determined port; r=schien 2013-06-22 16:59:16 -04:00
Nathan Froyd
91c4687ba6 Bug 892765 - part 2 - rewrite captivedetect tests in terms of run_captivedetect_test; r=schien 2013-07-12 17:03:11 -04:00
Nathan Froyd
4761702933 Bug 892765 - part 1 - move common captivedetect test code into head_setprefs.js; r=schien 2013-07-12 17:01:53 -04:00
Joey Armstrong
12b62814d7 bug 870407: move CMMSRCS to mozbuild (file batch #4). r=mshal 2013-07-12 16:50:34 -04:00
Brian Smith
99c0e0ddef Bug 837862: Remove the MOZ_PSM build option, r=gps
--HG--
extra : rebase_source : 61403d908f5507d2b5b69894efc28a8a2e2abbd0
2013-07-01 18:35:20 -07: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
Ryan VanderMeulen
1877e98917 Merge m-c to fx-team. 2013-07-12 13:34:44 -04: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
c90722e34e Merge birch to m-c. 2013-07-11 21:55:16 -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
Gavin Sharp
18d1a778c7 Bug 890085: don't throw in the currentEngine/defaultEngine setters if the defaultenginename pref is invalid, r=mikedeboer
--HG--
extra : transplant_source : I%18%BA%EB%E8%B1%95V%FA%BF%FA%F5L%14%60%BD%FC%A2DK
2013-07-10 14:35:30 -07:00
Ryan VanderMeulen
aaee3cf638 Merge m-c to inbound. 2013-07-10 09:45:16 -04:00