Commit Graph

38226 Commits

Author SHA1 Message Date
Ben Turner
6c55f9cf2e Fix #warning, msvc doesn't have that. 2010-02-16 13:04:16 -08:00
Chris Jones
1c763b2c0a Bug 544945: Mochitest of clipboard interaction that forces the plugin subprocess into a nested event loop on gtk2 platforms. r=karlt 2010-02-16 12:44:26 -06:00
Chris Jones
a64fa515d0 Bug 544945, part 2: Periodically unblock the parent to allow it to process events while the plugin subprocess is in a nested event loop. r=karlt 2010-02-16 12:44:25 -06:00
Chris Jones
651ed664e5 Bug 544945, part 1: Detect nested glib event loops in the plugin subprocess. r=karlt 2010-02-16 12:44:24 -06:00
Chris Jones
5263ca362a Bug 545455: IPDL/C++ test. 2010-02-16 12:44:23 -06:00
Chris Jones
c944b75ac7 Bug 545455, part 2: Expose override-able hooks for top-level IPDL actors to be notified on stack entrance/exit. r=bent 2010-02-16 12:44:22 -06:00
Chris Jones
14baf9c7fa Bug 545455, part 1: Track when RPCChannel code is first pushed on the C++ stack and last popped. r=bent 2010-02-16 12:44:21 -06:00
Jason Duell
680f112978 Bug 541486: Prune unneeded interfaces from HttpChannelChild. author=jduell, r=bsmedberg
- We copied the full list of interfaces from nsHttpChannel, but biesi tells me
  the following will not be needed, so removing: nsIRequestObserver,
  nsIStreamListener, nsICacheListener, nsITransportEventSink,
  nsIProtocolProxyCallback, nsIAuthPromptCallback.
2010-01-22 13:01:44 -08:00
Jason Duell
5ffecf8e1f Bug 530952: Electrolysis HTTP Channel implementation. author=jduell, r=bsmedberg, sr=bz
- Supports only primitive xpcshell HTTP requests which don't set/get HTTP
  headers, don't do redirects, observers, load groups, or anything else other
  than basic things like looking at the reply body, Content-type, Content-length, etc.
- Tested with network/test/unit_ipc/test_simple_wrap.js (patch @ bug 521922)
- Only used if "NECKO_E10S_HTTP" set in environment.
- Force http.h to get #included before any IPDL files, to centralize #define
  handling of LOG and to make sure FORCE_PR_LOGGING is set if needed (bug
  545995)
2009-09-22 11:55:33 -07:00
Chris Jones
1ad383c970 Bug 545757: Don't post replies to the IO thread after a connection error. r=bent 2010-02-11 17:33:53 -06:00
Jason Duell
8ae4560680 Print "child|parent" for dumps in xpcshell tests to disambiguate process output. r=jwalden 2009-11-11 23:01:04 -08:00
Benjamin Smedberg
986acb6e4e Revert the incorrect portion of bug 543788 which was landed in electrolysis without final review.
--HG--
extra : rebase_source : e91a8f11604d11d669aca6e19c83629bc3f47f80
2010-02-11 15:50:57 -05:00
Chris Jones
ff3e952b48 Fix windows build 2010-02-11 15:22:44 -06:00
Chris Jones
f7d360da57 Bug 544345: Mochitest of plugin hangs. r=bsmedberg 2010-02-11 14:32:19 -06:00
Chris Jones
ddb81e99d6 Bug 544345: Kill plugins if they exceed the hang timeout. r=bsmedberg 2010-02-11 14:32:18 -06:00
Chris Jones
2d8c28e487 Bug 545053: IPDL/C++ test of hang detector. 2010-02-11 14:32:17 -06:00
Ben Turner
7f56845cb9 Bug 545053: Implement IPC hang detection for windows. r=jimm 2010-02-11 12:19:21 -08:00
Jim Mathies
1ce25062ef Bug 538918 - Fix for bug 545338, don't drop into WaitForNotify() when spin loop unwinds. r=bent. 2010-02-11 14:03:24 -06:00
Jason Duell
4f875a514b Add run_test_in_child() and do_load_child_test_harness() xpcshell functions (bug 521922). r=bent sr=ted
Add necko 'unit_ipc' test directory under e10s, plus simple HTTP test.
2009-10-17 00:05:27 -07:00
Jim Mathies
83b997ec7f Bug 538918 - Move Init() above mutex unlock - attempted test hang fix. 2010-02-11 11:25:39 -06:00
Chris Jones
a082cb3bbf Bug 545591: Temporary workaround. 2010-02-11 00:48:33 -06:00
Jim Mathies
5ac54da692 Bug 538918 - Don't delete gNeuteredWindows until the stack unwinds. 2010-02-10 22:51:05 -06:00
Chris Jones
b29d08d712 Bug 544882, bug 545312: Only tell glib that work is pending if there has been a pollin or timer expiration. Merged from chromium latest, r=chromium 2010-02-10 22:04:56 -06:00
Jim Mathies
30bbf7bf87 Bug 538918 - Don't test the stack depth on entering WaitForNotify(). r=cjones. 2010-02-10 20:30:21 -06:00
Chris Jones
7ec2f83c06 Log "schlepping drawable" messages as PLUGIN_LOG_DEBUG. no r=, trivial 2010-02-10 17:17:33 -06:00
Benjamin Smedberg
7c19e754c3 Followup to bug 538918 - Don't leak gNeuteredWindows, r=jimm 2010-02-10 17:18:19 -05:00
Chris Jones
f2ac603ebe Bug 545338: Make the IPC hang detector tolerate spurious wake-ups. Possibly temporary. irc-r=jimm 2010-02-10 15:41:44 -06:00
Benjamin Smedberg
10a775affc Merge last of bustage fixup from the plugin UI to electrolysis. 2010-02-10 14:25:01 -05:00
Benjamin Smedberg
2dfa353c0b Followup to bug 541446 - nsIEnvironment.set will intentionally leak a string when you call it because that is required by the PR_SetEnv API. Make that string something which is not tracked by our leak detector
--HG--
extra : rebase_source : 2bdaf8d6ce3a8d093c107eeb9a4b2d4643ba0136
2010-02-10 12:57:46 -05:00
Benjamin Smedberg
109798179d Followup to bug 543086 - PBBUILD isn't set until you include config.mk, use PBBUILD_BIN instead 2010-02-10 12:40:53 -05:00
Benjamin Smedberg
7dab97abc0 Leak fix for bug 539843. Make sure that .cleanup() is called in all the error conditions so that the pending-submit list is cleaned up. r=Mossop 2010-02-10 12:20:37 -05:00
Benjamin Smedberg
81b0923375 Merge bustage fixes from mozilla-central into electrolysis. 2010-02-10 09:21:50 -05:00
Mark Banner
4e935520e6 Bustage fix following bug 541594 - revert NS_strtok change that appears to be causing hangs and fix ini parser to work as intended. rs=dolske 2010-02-10 11:55:18 +00:00
Justin Dolske
3dc4765ccc Bustage fix for bug 541594. 2010-02-10 02:01:44 -08:00
Phil Ringnalda
a4e36d4f5f Fix typo to trigger builds
--HG--
extra : rebase_source : 526e64cfda9d8e3e591cfa4c77352a63c20f7f52
2010-02-09 21:39:02 -08:00
Jim Mathies
397fd64e73 Bug 538918 - follow up patch: IsMessagePending should use PeekMessage, not the stacks for detection. 2010-02-09 22:47:44 -06:00
Jonathan Kew
569ea9f30a Bug 543976 followup - workaround because preprocessor.pl can be overly fussy about the form of #if conditions. 2010-02-09 19:35:39 -08:00
Benjamin Smedberg
3ad7eb7f3a Merge mozilla-central into electrolysis. 2010-02-09 21:22:09 -05:00
Justin Dolske
fcf3ef6b6c Bustage fix for bug 540532. 2010-02-09 18:11:08 -08:00
Ms2ger
63c2cf06cb Bug 368994 - move mochitest tests near the code they test in the tree; Removing moved files.
r=sayrer.
2010-02-10 02:15:36 +01:00
Serge Gautherie
5ffe6a4f3a Bug 117440 - remove usages of DEBUG_PRINTF in favor of NS_ASSERTION/NS_WARNING; (Ev1) <xpcwrappednativescope.cpp> remove unused |#ifdef + NS_WARNING()| case.
r=jst.
2010-02-10 02:13:45 +01:00
Justin Dolske
1f895f93b6 Bug 538910 - Plugins: Need a "plugin crashed" UI. r=gavin, ui-r=faaborg, icon=shorlander 2010-02-09 17:05:32 -08:00
Justin Dolske
43603428aa Bug 539848 - Make in-content plugin problem UI look better. r=gavin
--HG--
rename : toolkit/mozapps/plugins/content/missingPlugin.xml => toolkit/mozapps/plugins/content/pluginProblem.xml
rename : toolkit/mozapps/plugins/content/missingPluginBinding.css => toolkit/mozapps/plugins/content/pluginProblemBinding.css
rename : toolkit/themes/pinstripe/mozapps/plugins/missingPlugin.css => toolkit/themes/pinstripe/mozapps/plugins/pluginProblem.css
rename : toolkit/themes/winstripe/mozapps/plugins/missingPlugin.css => toolkit/themes/winstripe/mozapps/plugins/pluginProblem.css
2010-02-09 17:05:32 -08:00
Justin Dolske
fe85a968ac Bug 541755 - Add ability to remove notification bar without triggering animation. r=enn 2010-02-09 17:05:31 -08:00
Justin Dolske
0763c9dd9f Bug 540532 - allow setting report submission preference via XPCOM. r=gavin, r=ted 2010-02-09 17:05:31 -08:00
Justin Dolske
d8daefadb7 Bug 541594 - extend nsIINIParser to allow writing INI files. p=dolske+benjamin, r=benjamin, r=dolske 2010-02-09 17:05:31 -08:00
Ted Mielczarek
7534f6eb66 Bug 541446 - sort out details of where OOP minidumps should wind up. r=benjamin
--HG--
rename : modules/plugin/test/mochitest/test_crash_notify.xul => modules/plugin/test/mochitest/test_crash_notify_no_report.xul
2010-02-09 17:05:31 -08:00
Ted Mielczarek
cef39bfa9f bug 539843 - Need a mechanism for plugin crashed UI to trigger crash report submission. r=dtownsend
--HG--
rename : toolkit/crashreporter/content/crashes.js => toolkit/crashreporter/CrashSubmit.jsm
2010-02-09 17:05:31 -08:00
Ted Mielczarek
d40733d453 Bug 541076 - add minidump id and plugin name to PluginCrashed event. p=ted+dolske, r=jst, r=ted 2010-02-09 17:05:31 -08:00
Justin Dolske
7af7ad098a Bug 539828 - Need CSS pseudoclass for crashed plugins. r=dbaron 2010-02-09 17:05:31 -08:00