Commit Graph

5175 Commits

Author SHA1 Message Date
Benjamin Smedberg
28cc656304 Stupid logic error from bug 539755
--HG--
extra : transplant_source : %B6%D5%DA%DA%29%06h%82%EBl%00%F7t%93%AA%C3_26%D3
2010-01-21 14:35:00 -05:00
Ted Mielczarek
cca33bca9a bug 539552 - make PluginModuleParent write out more data to .extra file. r=bsmedberg
--HG--
extra : transplant_source : %C1P%99%80%8E%2C%92%7B%8C%BF%40c%40%FD%18%1F%AE%0E%D8%D9
2010-01-13 20:20:00 -05:00
Justin Lebar
46de8dd77f Bug 515190 - Hashchange event should be dispatched synchronously. r=smaug 2009-11-26 21:01:43 -08:00
Benjamin Smedberg
03f2a9760b Bug 540775 - Implement NPP_SetValue(NPNVprivateModeBool), r=cjones
--HG--
extra : transplant_source : %C7T%9D%9E%A5%E8%B5HP%D8%DD%28%C6%C5%5E%9CS%9C%20%80
2010-01-19 22:23:35 -05:00
Benjamin Smedberg
1b91ca0efa Bug 540776 - Initialize NPRuntime scriptable result variants the same way the Mozilla plugin host does, r=cjones
--HG--
extra : transplant_source : x_%F3W%2A%F5%83%C5%BE%08V%81%D7%40%BF%12%0B%BF%DF%A0
2010-01-19 22:23:32 -05:00
Benjamin Smedberg
8cf748e18c Bug 518924 - NPN_ScheduleTimer, and clean up asynccalls when the plugin instance is destroyed, r=cjones
--HG--
extra : transplant_source : %C8%97/%8E%1C%A4%89%26%98%C1%01u%8F%B2m%91%F8%F4%B7M
2010-01-19 22:13:24 -05:00
Karl Tomlinson
19dc78f0aa Bug 539897: Add missing socket_window reference due to GtkPlug bug. r=cjones
--HG--
extra : transplant_source : %D0%91%8Eoa%1F%00JDF%7Cj%AB%9A%C8%06%E13%E37
2010-01-19 15:45:56 -06:00
Karl Tomlinson
212ae41366 Bug 538914: Undo incorrect unref of GtkPlug by plugin. r=roc r=cjones
--HG--
extra : transplant_source : sdX%A6%286%AD%29%DC%CE%BB%E5X%F4B%A3_d%A6N
2010-01-19 15:45:54 -06:00
Benjamin Smedberg
3d8b8832ba Bug 539755 - Implement NPN_GetValueForURL, NPN_SetValueForURL, and NPN_GetAuthenticationInfo, r=bent 2010-01-15 11:26:46 -05:00
Benjamin Smedberg
1a09d5ee52 Bug 521377 build-bustage followup: make template instantiations available inline, r=bent
--HG--
rename : dom/plugins/PluginScriptableObjectUtils.cpp => dom/plugins/PluginScriptableObjectUtils-inl.h
extra : transplant_source : %18%D0%7BP%40v%CF%89%9B%D3%27i%B9%E3d%A4%ACgf%3F
2010-01-15 16:52:13 -05:00
Ben Turner
a5990daace Bug 521377 - 'NPRuntime: Segfault when NPP_GetValue_NPPVpluginScriptableNPObject returns a null actor'. r=bsmedberg+valgrind.
--HG--
extra : transplant_source : %F8%7C%B6%C49%24%9A%E0%96%EA%10%E9%C7%C0%EF%EA%D6%7FT%9A
2010-01-15 12:35:57 -08:00
Benjamin Smedberg
53e84d481c Bug 539280 - Add support for NPNVnetscapeWindow query on Linux, r=karlt 2010-01-14 10:18:34 -05:00
Peter Van der Beken
91685776a5 Backout 76cdc8296409 and 9baa220b27c0 (Bug 521377 - 'NPRuntime: Segfault when NPP_GetValue_NPPVpluginScriptableNPObject returns a null actor') to try fo fix orange. 2010-01-19 13:00:58 +01:00
Benjamin Smedberg
0104108380 Bug 521377 build-bustage followup: make template instantiations available inline, r=bent
--HG--
rename : dom/plugins/PluginScriptableObjectUtils.cpp => dom/plugins/PluginScriptableObjectUtils-inl.h
2010-01-15 16:52:13 -05:00
Ben Turner
1b93c5d97b Bug 521377 - 'NPRuntime: Segfault when NPP_GetValue_NPPVpluginScriptableNPObject returns a null actor'. r=bsmedberg+valgrind. 2010-01-15 12:35:57 -08:00
Aryeh Gregor
4e20e50999 Bug 535043 - Support maxlength on textarea. r=smaug, sr=jst 2010-01-18 16:53:59 +01:00
Peter Van der Beken
a8bdb68b07 Fix for bug 539219 (Remove unused DOMCI). r=jst. 2010-01-16 15:25:58 +01:00
Peter Van der Beken
308c62701a Fix for bug 428229 (Unable to override addEventListener), quickstub addEventListener. r=bz.
--HG--
extra : rebase_source : 1e8779a8089e19f56c51ae34deed7284147df2ab
2010-01-13 14:50:01 +01:00
Peter Van der Beken
5d17428c48 Fix for bug 428229 (Unable to override addEventListener), add nsIDOM(NS)EventTarget to all SVG elements. r=smaug.
--HG--
extra : rebase_source : f06870811a6644720826e2d16c900414d855a4c1
2010-01-13 14:50:01 +01:00
Peter Van der Beken
2df9829fab Fix for bug 428229 (Unable to override addEventListener), add nsIDOMNSEventTarget to workers. r=bent.
--HG--
extra : rebase_source : 81ef9a9c3401c7b6b47c2da829903a02d61d51e3
2010-01-13 14:50:01 +01:00
Peter Van der Beken
1c3043fb0e Fix for bug 428229 (Unable to override addEventListener), add security check to nsGlobalWindow::AddEventListener. r=mrbkap, sr=jst.
--HG--
extra : rebase_source : a5a35ee7301d276ef8194a639515f42f78e26328
2010-01-13 14:50:01 +01:00
Peter Van der Beken
a5b6707a12 Fix for bug 428229 (Unable to override addEventListener), remove custom addEventListener code. r=bz.
--HG--
extra : rebase_source : 4e679da2100075a1e3c4ad557b92a3c86a5cf7be
2010-01-13 14:50:01 +01:00
Jim Mathies
59737bce0b Bug 536369 - OOPP: Add NPNVnetscapeWindow support for windows. r=bsmedberg. 2010-01-13 19:47:38 -06:00
Jim Mathies
ed4ec9bc95 Bug 536369 - OOPP: Fix for mouse event serialization errors. r=bsmedberg. 2010-01-13 19:46:44 -06:00
Chris Jones
c3261b9717 Bug 538537: Guard BrowserStreams from being deleted from within their constructor. r=bsmedberg 2010-01-12 17:06:18 -06:00
Benjamin Smedberg
5d29eaa804 Bug 531859 - Remove stdout spew from dom/plugins by using NSPR logging, r=cjones
--HG--
extra : transplant_source : fW%F0%06%1F%88%2C%F3l%B3%A0%F7b%D0%13%AE%D7%BD-%26
2009-12-18 17:22:51 -05:00
Benjamin Smedberg
04d26699a0 Bug 536437 - work around a bug in the Mozilla plugin host where NPN_GetURLNotify can return an error and also call NPP_URLNotify, r=cjones
--HG--
extra : transplant_source : %07%7B%DBO%AF%069%16%F5%FF%1A%C5%F5Wi%E1%9D%E1%E6%83
2010-01-05 12:12:30 -05:00
Robert O'Callahan
cc6d54b61e Bug 526394. Part 36: Store the overflow area explicitly whenever it's not exactly equal to the border-box; if they're both empty but with different dimensions or position, we should still store the explicit overflow area. Also fix test_offsets to compute the expected scrolled area correctly. r=mats 2010-01-12 10:45:21 +13:00
Robert O'Callahan
c73b06e1f3 Bug 526394. Part 11: Convert nsGlobalWindow and nsDOMWindowUtils. r=mats 2009-09-03 15:57:46 +12:00
Jim Mathies
0ccee0c61c Bug 539020 - OOPP: mouse events get duped. r=bsmedberg. 2010-01-11 12:53:08 -06:00
Tom Dyas
0f154b629d Support receiving data from Mac OS X services into text and HTML editors. b=525389 r=josh r/sr=smaug 2010-01-10 20:45:45 -05:00
Johnny Stenback
059765dea4 Fix regression calling unique methods for the first time on plugin objects. b=536116 r=josh 2009-12-25 13:16:57 -05:00
Boris Zbarsky
a864e44fa8 Bug 500882 part 6. Switch remaining modules to using the new GetPrimaryFrame API. r=smaug,roc 2009-12-24 16:20:06 -05:00
Palo Misik
a9d927386d Bug 530505 - Bump iid on some changed xul interfaces for 1.9.3, r=neil 2009-12-23 19:31:39 -05:00
L. David Baron
4c65f842dd Implement events part of CSS transitions: add support for the transitionend DOM event. (Bug 531585) r=smaug 2009-12-23 14:10:31 -05:00
Benjamin Smedberg
df57e102fe Back out all the pieces of bug 531585 (transitioned event for end of CSS transitions) because of timeouts in test_transitions_events.html 2009-12-23 10:15:26 -05:00
L. David Baron
31ad7bf3f4 Implement events part of CSS transitions: add support for the transitionend DOM event. (Bug 531585) r=smaug 2009-12-23 06:35:46 -05:00
Geoff Lankow
41869d3690 Bug 524408. File inputs should remember the last-used directory on a per-site basis. r=bzbarsky
--HG--
rename : toolkit/components/contentprefs/public/nsIContentPrefService.idl => dom/interfaces/base/nsIContentPrefService.idl
2009-12-22 20:05:26 -05:00
John J. Barton
11fc5619b7 Bug 508562. Make it possible to not have js strict warnings in debug builds. r=bzbarsky, sr=jst 2009-12-22 19:52:13 -05:00
Blake Kaplan
26fefbada4 Bug 531364 - Change up the order of these calls. r=peterv sr=bzbarsky 2009-12-17 16:21:57 -08:00
Blake Kaplan
5e6b899dc8 Bug 533596 - Implement XPCNativeWrapper.unwrap. r=peterv sr=jst 2009-12-14 13:58:50 -08:00
Metal Sonic
80ae9b3620 Bug 507387 - fix copyright holder; Mozilla Corporation -> Mozilla Foundation. r=gerv. 2009-12-21 21:50:30 +00:00
Olli Pettay
f5357928ad bug 531176, r=sicking, sr=jst 2009-12-18 21:27:57 +02:00
Chris Jones
526c1eb4fb bug 535073: prevent plugins from corrupting the stack by making word-size stores to pointers to NPBool (unsigned char). r=bsmedberg 2009-12-17 00:32:44 -06:00
Blake Kaplan
8f5d1a781e Bug 535079 - Get the XPCNativeWrapper class without compiling and running JS code. r=jst sr=sicking 2009-12-16 16:51:06 -08:00
Benjamin Smedberg
44e1ce7702 Merge plugin changes from electrolysis to mozilla-central. 2009-12-16 19:06:54 -05:00
Benjamin Smedberg
19e77143fb Bug 518924 - Implement NPN_AsyncCallback r=cjones 2009-12-16 17:27:18 -05:00
Benjamin Smedberg
1f863b7fb6 Bug 532751 - Notify the nsNPAPIPlugin and the related nsNPAPIPluginInstances when a plugin crashes so that reloading will create a new plugin process, r=josh 2009-12-16 15:08:45 -05:00
Benjamin Smedberg
8051ceb908 Merge only plugin changes from e10s to mozilla-central. 2009-12-16 09:19:07 -05:00
Benjamin Smedberg
c827f3a584 Electrolysis-plugin-only bookkeeping commit. 2009-12-15 20:33:05 -05:00
Benjamin Smedberg
83b97480d2 Merge mozilla-central into electrolysis. 2009-12-15 20:31:04 -05:00
Chris Jones
63b57abda9 bug 534863: the plugin DLL path needs to be quoted on windows. irc r=bent 2009-12-15 17:10:41 -06:00
Josh Aas
75ab03884b Greatly reduce the number of timers firing when multiple Carbon plugin instances are active on Mac OS X. Should reduce CPU usage. Make all instances use the same (at most two) timers for idle events. b=519598 r=roc 2009-12-15 15:44:52 -05:00
Benjamin Smedberg
f2b62bb114 Merge mozilla-central into electrolysis. 2009-12-14 21:27:17 -05:00
Jim Mathies
3c68e53543 Bug 534027 - input event coords incorrect for oop windowless plugins. r=jmuizelaar. 2009-12-14 18:28:51 -06:00
Jim Mathies
8334063adb Bug 531860 - plugin-alpha-zindex ref test fails with oopp enabled. r=jmuizelaar. 2009-12-14 18:27:25 -06:00
Masayuki Nakano
7f5db327e8 bug 534420 debug code for the test 2009-12-16 01:49:17 +09:00
Benjamin Smedberg
4d837b5abc Followup to e10s landing (and back to bug 516509): on Mac, NP_GetMIMEDescription and NP_GetValue are optional entry points, because the metadata can be retrieved from the .plist file, r=josh
--HG--
extra : rebase_source : 0fc5db971736612606c66c20cc2f0a3cc62ca444
2009-12-14 16:19:25 -05:00
Benjamin Smedberg
5c177ecd89 End the electrolysis-plugins-only branch: merge in the remaining changes from electrolysis head in preparation for pushing to mozilla-central. 2009-12-14 09:56:08 -05:00
Benjamin Smedberg
a54e6acfd8 Merge mozilla-central into electrolysis. 2009-12-14 08:01:18 -05:00
Benjamin Smedberg
636d74b114 Merge mozilla-central into electrolysis. One code change was required: in nsDocShell::CreateStaticClone I replaced EnsureDocShell with MaybeCreateDocShell. 2009-12-12 13:38:25 -05:00
Ben Turner
f9ead8a5d6 Backing out changesets ed8d3323a50d, 3930bbdffdd5, 36e32abd2cc8, f4bcfc703ff9, 21051d997076, and 49f489315dd9 at the request of bsmedberg. 2009-12-11 12:48:37 -08:00
Masayuki Nakano
73f9a129d8 Bug 125282 Webpage-JS can steal focus from URLbar / chrome r=enndeakin 2009-12-12 14:17:40 +09:00
Chris Jones
8e5648cbee bug 532983: fix invalid memory reads caused by regressions in shutdown behavior. r=bsmedberg 2009-12-07 00:03:49 -06:00
Benjamin Smedberg
6b8e2464c1 Defer the PluginCrashed notification so that we don't delete the PluginModuleParent while we're in the middle of a crash notification. 2009-12-04 21:20:06 -05:00
Benjamin Smedberg
badf2095ff Partly fix test bustage from bug 532751: set mShutdown before notifying the nsNPAPIPlugin, so that it doesn't re-enter IPC methods. 2009-12-04 18:41:56 -05:00
Benjamin Smedberg
a17ea948ee Merge additional changes from electrolysis and mozilla-central into the electrolysis-plugins-only tracking branch.
--HG--
branch : electrolysis-plugins-only
2009-12-04 11:42:28 -05:00
Benjamin Smedberg
4e352d7aeb Merge mozilla-central into electrolysis 2009-12-04 11:28:50 -05:00
Benjamin Smedberg
061a369048 Bustage fix 2009-12-03 15:44:33 -05:00
Benjamin Smedberg
87941a941e Bug 532751 - Stop cacheing the nsNPAPIPlugin when it crashes, so that refreshing the page immediately reloads the plugin, r=bent pending r?joshmoz 2009-12-04 13:24:57 -05:00
Benjamin Smedberg
42a284d56b Bug 532671 - After a plugin crashes, the module entry points (most importantly NPP_New) should fail, r=bent
--HG--
extra : rebase_source : 389d54e70fea2801d28bdf2e48740dcaaec31a07
2009-12-03 15:31:52 -05:00
Benjamin Smedberg
4fdb3bfb23 When the plugin crashes, set NPP->pdata to NULL, and null-check NPP->pdata in the callbacks that matter. r=bent
--HG--
extra : rebase_source : 32489b985b05b9da68546d37a2f0302bac8fd467
2009-12-03 15:31:01 -05:00
Benjamin Smedberg
b695aba156 Bug 532659 - PluginScriptableObjectParent gets double-deleted when the plugin crashes, and fix the IPDL bug where we delete the actor if construction fails, instead of calling Deallocate on it, r=bent
--HG--
extra : rebase_source : dbe9a100735b1e0d0a8b07f4421e1ccb6055a78a
2009-12-03 15:30:05 -05:00
Ben Turner
f5b425c04f Fix bad invalidation bug in child NPObjects 2009-12-03 11:53:09 -08:00
Chris Jones
c47450d9a7 bug 529005: detect child process shutdowns vs. crashes, and expose this information to IPDL actors in a new |ActorDestroy(why)| interface. also ensure that subprotocol actors are notified of shutdown and cleaned up properly. r=bsmedberg r=bent 2009-12-03 02:16:28 -06:00
Chris Jones
270962252a bug 525342: make IPDL dtors part of the destructed actor's protocol instead of the manager's. r=bsmedberg 2009-12-03 02:16:14 -06:00
Chris Jones
16291938f9 bug 524220: add a |nullable| type qualifier denoting whether C++ actor params are allowed to be NULL. r=bent 2009-12-03 00:35:22 -06:00
Chris Jones
c059302c3a Build fix 2009-12-01 17:33:51 -06:00
Ben Turner
d98c67138d Bug 526401 - Fixup handling of null NPP. r=bsmedberg. 2009-12-01 13:27:13 -08:00
Jim Mathies
705471067a Bug 522299 - Electrolysis: Get windowless plugins drawing on win32. r=jmuizelaar. 2009-12-01 15:05:26 -06:00
Mark Steele
09c6fd8dc6 b=529717, change webgl object prefix to WebGL instead of Canvas; r=vlad 2009-12-02 13:38:39 -08:00
Mark Steele
558f4f4db0 b=526957; add array indexers to webgl arrays; r=vlad 2009-12-02 13:38:38 -08:00
jacek@codeweavers.com
f123829915 Bug 516213 - Fix webgl compilation on mingw. r=vlad 2009-12-02 13:38:38 -08:00
Benjamin Smedberg
fdb90dcb10 Remove makefile and glue bits which support out of process tabs on the electrolysis-plugins-only branch.
--HG--
branch : electrolysis-plugins-only
2009-11-30 14:44:38 -05:00
Benjamin Smedberg
801331f275 Straight revert of dom/interfaces to its mozilla-central state.
--HG--
branch : electrolysis-plugins-only
2009-11-30 14:43:29 -05:00
Benjamin Smedberg
c23e173ce0 Straight revert of content/* dom/interfaces/canvas/* dom/ipc/* toolkit/content/tests/fennec-tile-testapp/* netwerk/* security/manager/ssl* to their mozilla-central state. This named branch will be used as a temporary area to merge just the plugin portion of electrolysis into mozilla-central.
--HG--
branch : electrolysis-plugins-only
2009-11-30 13:31:41 -05:00
Benjamin Smedberg
e98d1daf07 Merge mozilla-central into Electrolysis 2009-11-30 12:59:43 -05:00
Peter Van der Beken
7b63cc4659 Fix for bug 437449 (top crash [@ nsCycleCollector::MarkRoots(GCGraphBuilder&)][@ nsBaseContentList::cycleCollection::Traverse(void*, nsCycleCollectionTraversalCallback&)]). r=jst, a=blocking1.9.2+.
--HG--
extra : rebase_source : 5358561a463757cbfb77c542760dc1ea95fc6b82
2009-11-29 09:32:39 +01:00
Peter Van der Beken
af98e1b60b Back out fix for bug 437449 (top crash [@ nsCycleCollector::MarkRoots(GCGraphBuilder&)][@ nsBaseContentList::cycleCollection::Traverse(void*, nsCycleCollectionTraversalCallback&)]). 2009-11-28 23:30:49 +01:00
Peter Van der Beken
11b65eb91d Try to fix timeouts. 2009-11-28 21:45:37 +01:00
Peter Van der Beken
0407dfb81a Fix build bustage. 2009-11-28 15:25:40 +01:00
Peter Van der Beken
0e69aaba5a Fix for bug 437449 (top crash [@ nsCycleCollector::MarkRoots(GCGraphBuilder&)][@ nsBaseContentList::cycleCollection::Traverse(void*, nsCycleCollectionTraversalCallback&)]). r=jst, a=blocking1.9.2+. 2009-11-28 10:35:35 +01:00
Doug Turner
cf4d46174d Bug 531008 - nsIDOMGeoPositionAddress must use DOMString instead of string. r=jst 2009-11-25 13:17:58 -08:00
Benjamin Smedberg
822c6cd02f XXX removal: don't destroy the stream on failure (a future ActorDestroy callback will take care of that), and other shutdown- and crash-related XXX removal which are handled by bug 529005 2009-11-25 15:34:49 -05:00
Benjamin Smedberg
9b8b8bbfe2 TODO-removal: make NullableStringGet an inline function instead of a macro, and make NullableString an inline function in mozilla::plugins instead of in an anonymous namespace: no need to have a separate copy of it for each translation unit. 2009-11-25 15:07:45 -05:00
Benjamin Smedberg
53bf5266c6 More TODOs in the the plugin stream code, use the NullableString mechanisms which were invented after this landed. 2009-11-25 10:34:59 -05:00
Benjamin Smedberg
3e0ae20e17 Bug 530894 - Clean up TODOs in the plugin stream remoting: if NPN_{Get,Post}URLNotify fail, clean up the actor properly. Also deal with null postdata, which currently causes significant problems for the in-process case (NPN_PostURLNotify succeeds, but NPP_URLNotify is never called). r=bent 2009-11-25 09:26:01 -05:00
Benjamin Smedberg
e53a7195d5 Merge mozilla-central into Electrolysis. 2009-11-24 10:06:03 -05:00
Benjamin Smedberg
6acc2d4d3b Backed out changeset 97c456993dbd -- red herring, no need for this debugging spew. 2009-11-20 13:48:42 -05:00
Chris Jones
b70e1dc5c2 temporary debugging spew to check bug 529234 2009-11-20 11:54:46 -06:00
Benjamin Smedberg
188d096d5c Don't crash if NP_Initialize failed remotely: PluginLibrary::NP_Initialize returns an nsresult, not a NPError; nsNPAPIPlugin::CreatePlugin fails but still sets the outparam; nsPluginHost doesn't properly rv-check nsNPAPIPlugin::CreatePlugin, which causes us to think the bad plugin is actually good. I hate stupid failure chains! 2009-11-20 10:34:20 -05:00
Chris Jones
d6c803e859 bug 530007: fix crashing edge cases in the hope of getting better diagnostics about failed tests 2009-11-20 02:23:07 -06:00
Benjamin Smedberg
7101a519cc Don't use a static nsCString (causing leaks in the plugin process). Also, use NS_LogInit/NS_LogTerm for the child process so that leaks are reported at the right time. 2009-11-19 17:57:56 -05:00
Ben Turner
9e4dea1fd1 Fix bad allocation pattern in NPP_New 2009-11-19 14:47:09 -08:00
Benjamin Smedberg
d74c6776f3 Merge mozilla-central into electrolysis. 2009-11-19 12:41:46 -05:00
Ben Turner
d55a2ca318 Bug 488081 - 'Workers: Don't compile and run script if it is suspended'. r+sr=jst 2009-11-18 13:55:38 -08:00
Josh Matthews
9972edd9fb Bug 517963 - New-tab opening should not launch the content process synchronously r=cjones 2009-11-18 16:43:53 -05:00
Blake Kaplan
9fa4c84e8a Bug 533481 - Don't call into jsd from worker threads. r=bent/jorendorff 2009-12-11 16:52:40 -08:00
enndeakin@gmail.com
263703657b Bug 525856 - White-space in source code affects how link receive focus from keyboard (tab key), r=smaug, sr=roc 2009-11-20 14:09:33 +02:00
Blake Kaplan
5a297da3c3 Bug 520386. Don't clear scope while executing code in that scope. r=bzbarsky@mit.edu, sr=jst@mozilla.org 2009-11-19 15:11:44 -08:00
Frederic Plourde
06eac01810 Bug 513354 - Destroy the baseWindow on tab destruction, r=bs 2009-11-13 07:43:43 -05:00
Olli Pettay
2f47360eda Bug 523356 - Remote event listeners for Electrolysis, r=bsmedberg 2009-11-17 16:22:23 +02:00
Olli Pettay
837ced7851 Backout Bug 523356 2009-11-17 13:56:49 +02:00
Olli Pettay
7084484409 Bug 523356 - Remote event listeners for Electrolysis, r=bsmedberg 2009-11-17 10:43:39 +02:00
Ben Turner
5d92ec3ff2 Followup to bug 527876 2009-11-13 13:19:33 -08:00
Ben Turner
8e9c6fea1d Bug 527876 - 'test_windowed_invalidate.html hangs during mochitest-ipcplugins'. 2009-11-13 12:20:03 -08:00
Chris Jones
825bd599dd no need to include in C++ protocol-common headers |include protocol|'d from IPDL. this is an accident of history 2009-11-12 16:20:20 -06:00
Ben Turner
82191b418a Bug 525792 - 'Fix leaks running mochitests'. 2009-11-12 14:16:54 -08:00
Benjamin Smedberg
661a77e3d4 Don't rely on the plugin methods to return a non-null actor when the say NPERR_NO_ERROR... crashing here is a no-no even if the plugin is stupid. 2009-11-11 17:01:07 -05:00
Ben Turner
0a324cd616 Fix invalidation algorithm so that we never leave a deleted actor in the live hash map. 2009-11-11 17:12:01 -08:00
Benjamin Smedberg
d8c7dfc1dd Merge mozilla-central into electrolysis. 2009-11-11 12:35:42 -05:00
Chris Jones
548d6d261d bug 527871: fix shutdown assertion and leaking TestShellParent. still leaking ContentProcessParent's GeckoChildProcess, but needs discussion before fixing 2009-11-11 02:34:08 -06:00
Chris Jones
5c7a5ab290 mac builds and runs with --enable-ipc, but the subprocess nsAppShell dies for an apparently Cocoa-related reason. IPC is fine though 2009-11-10 20:25:10 -06:00
Mark Steele
e79156ed76 b=526017, [webgl] collapse state query calls; r=vlad 2009-11-18 12:42:35 -08:00
Ben Turner
d515b14aeb Fix silly bugs 2009-11-09 17:30:02 -08:00
Phineas T. Farnsworth
3da7352b78 bug 526626: band-aids for shutdown assertions 2009-11-09 16:56:55 -06:00
Ben Turner
d10ccd2c5a Bug 522414 - 'RPC and Sync channels will deadlock easily on Windows'. r=jimm+rs. 2009-11-06 14:33:12 -08:00
Ben Turner
3a94be32e4 Bug 534051, r=jorendorff+jst, sr=jst. 2009-12-11 12:50:54 -08:00
Boris Zbarsky
03a58e11a7 Bug 525608 part 2. Change the CSS parser to not allow anon box selectors with more than the anon box name in them. Store the pseudo type in pseudo-element selectors. Enforce that all non-anon-box pseudo selectors have an mNext that selects the element they apply to. r=dbaron 2009-12-11 02:37:40 -05:00
Boris Zbarsky
8202b90f61 Backing out bug 525608 and bug 525952 2009-12-10 18:28:08 -08:00
Boris Zbarsky
197fdecd49 Bug 525608 part 2. Change the CSS parser to not allow anon box selectors with more than the anon box name in them. Store the pseudo type in pseudo-element selectors. Enforce that all non-anon-box pseudo selectors have an mNext that selects the element they apply to. r=dbaron 2009-12-10 14:36:05 -08:00
Benjamin Smedberg
1d97bbb36a Merge from mozilla-central. 2009-11-06 09:54:28 -05:00
Nochum Sossonko
8fb73579d9 Bug 524128 - sporadic timeout in /tests/dom/tests/mochitest/general/test_497898.html followed by focus issues. r=enn 2009-11-06 11:31:07 +01:00
Chris Jones
2eb8767355 bug 523894: wstrings are bad news in OPT builds due to chromium/Mozilla -fshort-wchar mismatch 2009-11-05 18:24:27 -06:00
Olli Pettay
6586059db9 Bug 516727 - Electrolysis+Fennec: forward mouse events from the chrome tiles to the content process 2009-11-05 20:21:09 +02:00
Olli Pettay
2a17b8c76f Bug 522533 - Sort out focus handling in Electrolysis
--HG--
extra : rebase_source : 8b91e5c9a55bb7c2809352c5e297be77399141dd
2009-11-05 20:14:22 +02:00
Chris Jones
c916fbb575 bug 525792: fix leaking PluginModules, call NP_Shutdown() on plugins. minor, no r= 2009-11-03 15:37:07 -06:00
Benjamin Smedberg
4ae77766a7 Remove stale TODO, this will be properly covered by parent-side error handling events. 2009-11-02 11:48:52 -05:00
Benjamin Smedberg
f5d95a9f70 Linux build bustage from previous commit, bug 525605. 2009-10-31 15:32:06 -04:00
Benjamin Smedberg
86020d2a05 Bug 525605 - Windows unit tests orange loading plugins: on Windows, the directly-imported plugin functions are WINAPI, so we need to use careful typedefs to get the calling convention right. 2009-10-31 15:22:02 -04:00
Benjamin Smedberg
e39d5bd323 Bug 525454 - Crash in mochitest-ipcplugins where NPP_Invoke returns the last reference to an object. Also fixes an operator-precedence error. 2009-10-30 17:02:47 -04:00
Blake Kaplan
a6684af3a0 Bug 522839 - Deal with OOM when creating a context for a new worker thread. r=bent 2009-11-11 11:28:22 +01:00
Benjamin Smedberg
be1e4c0ce6 Bug 523224 - nsFrameLoader::TryNewProcess crashes if reflow hasn't happened yet and created a view for our remote tab. Fix this by separating the process of creating the IFrameEmbedding and hooking up the view. IFrameEmbedding creation is analogous to creating a docshell, and we can hook up the view/widget hierarchy later.
* * *
imported patch fennelectrolysis-workihng
2009-10-28 16:41:46 -04:00
Joe Drew
84e878a14d Bug 505847 - Implement asyncDrawXULElement in 2D canvas. r=bz,bsmedberg 2009-10-29 13:58:31 -04:00
Joe Drew
7149d45ce5 Back out asyncDrawXULElement, since WebGL isn't ready to be compiled with -DUNICODE. 2009-10-28 18:51:59 -04:00
Joe Drew
2d91956179 Bug 505847 - Implement asyncDrawXULElement in 2D canvas. r=bz,bsmedberg 2009-10-28 16:55:49 -04:00
Benjamin Smedberg
2d7690384a We can use <xul:browser> now. Exciting! 2009-10-19 15:17:20 -04:00
Benjamin Smedberg
34440c4bbc Merge mozilla-central into e10s. 2009-10-28 11:32:00 -04:00
Chris Jones
fbbc8d4bf1 fix an nsresult/bool confusion resulting in an incorrect error message 2009-10-27 21:01:38 -05:00
Chris Jones
ccfc1178e3 bug 523761: give top-level IPDL actors handles to each others' processes. r=bent 2009-10-27 16:52:37 -05:00
Chris Jones
7fa53e51ac Make a DEBUG_cjones log message DEBUG 2009-10-27 16:07:49 -05:00
Benjamin Smedberg
d5c63908ca Linux build bustage from bug 522122. 2009-10-27 16:59:40 -04:00
Jeff Muizelaar
c6986e395d Bug 522122. Electrolysis: Forawrd windows events to windowless plugins. r=cjones,karlt
This gets windowless plugin events mostly working. We don't forward IME events because
they are much more complicated.
2009-10-27 15:58:33 -04:00
Josh Aas
552eb2b966 Allow multiple types of OOP plugins to load. b=516509 r=cjones 2009-10-27 15:51:12 -04:00
Benjamin Smedberg
acca60ec88 Bug 522351 - check for remote="true" on the element before trying to remote it, r=bz 2009-10-16 15:42:27 -04:00
Benjamin Smedberg
43b89c2ff3 Merge mozilla-central to pick up additional backouts and pymake fix. 2009-10-23 11:22:12 -04:00
Chris Jones
bcf3969bc6 Merge mozilla-central to pick up unit test fixes 2009-10-22 20:33:36 -05:00
Olli Pettay
06825d0f17 Bug 523569 - remove initXXXEventNS methods, r=sicking
--HG--
extra : rebase_source : fa251f645567f0bc63c1debbc64062d7145c5374
2009-10-21 21:35:42 +03:00
Olli Pettay
e32bd468dc Bug 523111 - DOMEvent implementations should inherit first the base class, r=jwatt, sr=jst
--HG--
extra : rebase_source : 81cba369792644a99f42c1901dbf04196d007d53
2009-10-21 12:38:39 +03:00
Honza Bambas
1d0897eeec Bug 367373 - DOM storage quota should exclude offline-app allowed domains, r+sr=jst 2009-10-21 12:18:08 +02:00
Benjamin Smedberg
9ae75c423f Merge mozilla-central to electrolysis. 2009-10-20 12:08:28 -04:00
Nochum Sossonko
ea120921fe Bug 498648 - Start private browsing while editing a message, cancel, doesn't cancel private browsing; r=bz,jst,ehsan 2009-10-20 10:19:43 -04:00
Vladimir Vukicevic
3255a6f7bb b=523229; WebGL rename clearDepthf/depthRangef to get rid of f suffix; r=mwsteele 2009-10-19 15:14:09 -07:00
Chris Jones
46ad34660e bug 523143: switch protocols using nsTArray to native IPDL arrays 2009-10-19 14:10:52 -05:00
Josh Aas
78786fef8e Bustage fix for Cocoa NPAPI, don't confuse Gecko's error codes with NPAPI error codes. b=435041 2009-10-19 11:45:53 -05:00
Olli Pettay
33365a4e60 Bug 506961 - Add a method to get jsdIValue from JS implemented event listeners, r=bz
--HG--
extra : rebase_source : 93d446c1c94512be8cc0dc208c0bf8f1cd3cc936
2009-10-17 17:40:44 +03:00
Chris Jones
9570ba4cbb bug 506171: rewrite lower.py and add native IPDL arrays. 2009-10-16 18:31:53 -05:00
L. David Baron
56e12b01bd Work around bug 524037 by sending a mouse up event in addition to the mouse down event so that we don't leak and the tree goes green again. 2009-10-23 07:43:24 -04:00
Atul Varma
a55cc3112d Bug 522764 - Add mochitests for COWs. r=mrbkap 2009-10-16 15:19:01 -07:00
Jonathan Griffin
3f3a0c3b8f Bug 522400. Fix a typo which prevented the invokedefault method on plugin-defined objects from being called. r+sr=jst 2009-10-16 10:27:33 -07:00
Honza Bambas
9397b47404 Bug 399526 - let the offline-app permission apply to subdomains, r+sr=jst 2009-10-16 16:48:19 +02:00
Neil Deakin
8491400c96 Bug 511449, when a window is shown, update the system focus, as the focus may have been put into an about:blank page loaded beforehand, test by mstange, r=smaug 2009-10-16 10:32:05 -04:00
Serge Gautherie
da24f0dedd Add |ok(true, ...);|.
Bug 483624 - Mochitest bugs/test_bug479143.html runs fine but needs to check/report success; (Av1).
r+sr=jst
2009-11-05 01:46:38 +01:00
Ben Turner
46834b0ee5 Add NPN_Evaluate and NPN_Push/PopPopupsEnabledState support 2009-10-13 10:54:41 -07:00
Peter Van der Beken
c1a07f2b27 Part 2 of fix for bug 533401 (Names added through external DOM classinfo don't resolve on global object). r=jst, a=beltzner. 2009-12-08 21:50:27 -08:00
Peter Van der Beken
16718495b0 Fix for bug 533401 (Names added through external DOM classinfo don't resolve on global object). r=jst, a=beltzner. 2009-12-08 13:46:42 -08:00
Benjamin Smedberg
960781ec85 Merge mozilla-central to electrolysis to pick up bug 515436. 2009-10-12 10:51:38 -04:00
Rich Walsh
2a2bea0133 [OS/2] Bug 516274 - fix plugin focus issues, r=pweilbacher 2009-10-12 11:10:38 +02:00
Boris Zbarsky
c67f8e72a5 Add some much-needed documentation for getAnonymousNodes. No bug. 2009-10-11 22:45:00 -04:00
Karl Tomlinson
de31404147 b=521376 remove XSynchronize from plugin process r=cjones 2009-10-12 12:54:49 +13:00
Takeshi Kurosawa
9987263299 Bug 521631 - remove SVGSVGElement::createSVGString. r=longsonr 2009-10-11 16:48:36 +01:00
Chris Jones
f1b7dc69e2 nsDependentCString must be null-terminated, but byte buffers do not. temporary fix until we start using a "real" byte buffer 2009-10-09 01:24:46 -05:00
Ben Turner
e95bb870a8 Remove testplugin for ipc, we can run the real one now. 2009-10-08 14:40:51 -07:00
Ben Turner
e06629ffc5 Oops, revert bad changes 2009-10-08 12:23:04 -07:00
Ben Turner
64cfab94c4 Add threadsafety assertions to plugin code 2009-10-08 12:11:13 -07:00
Ben Turner
6d1571567b Oops, missed two 2009-10-08 11:45:20 -07:00
Ben Turner
e512cd4cd8 Crash fixes, must initialize variants before returning true 2009-10-08 11:36:50 -07:00
Chris Jones
745fd38927 implement NPN_UserAgent, which was trickier than expected 2009-10-08 02:54:16 -05:00
Chris Jones
f3992ab813 fix some simple crasher bugs 2009-10-08 00:49:30 -05:00
Dão Gottwald
0483e930c3 Bug 524533 - mozGetFileNameArray length out param should be optional. r=sicking 2009-10-28 08:01:22 +01:00
Ben Turner
423c5543dd Bug 516524 - Support NPRuntime across processes. r=bsmedberg. 2009-10-07 16:50:48 -07:00
Ben Turner
1458356fce Merge mozilla-central 2009-10-05 16:08:52 -07:00
Frederic Plourde
4f0745ce30 Bug 513990 - Add provisions to nsFrameLoader for reflow and resize events. r=bzbarsky 2009-10-05 07:52:19 -04:00
Markus Stange
d113609b2f Bug 520494 - Implement the Cocoa print dialog in a way that works on 10.4. r=josh, r=rs
--HG--
rename : toolkit/locales/en-US/chrome/global/gnomeprintdialog.properties => toolkit/locales/en-US/chrome/global/printdialog.properties
2009-10-09 18:20:37 +13:00
Markus Stange
7ee5cecce4 Merge backout of bug 456646. 2009-10-09 18:15:34 +13:00
Markus Stange
94f4ccb97f Backed out changeset 8c4658f8f0dc, bug 456646 (Cocoa print dialog) - we can do better. 2009-10-09 18:14:31 +13:00
Taras Glek
387de8cf2e Backed out changeset e22bef491d84 2009-10-08 16:43:55 -07:00
Taras Glek
d07c55d805 Bug 515777 - move css files, hiddenWindow.html to jar r=bsmedberg sr=bz 2009-10-08 11:22:50 -07:00
Chris Jones
2151b59798 Merge backout 2009-10-02 18:09:39 -05:00
Chris Jones
708e2e04ae Backed out changeset 8cbc47eee659 2009-10-02 18:09:08 -05:00
Daniel Holbert
176ee39664 Bug 474049: Add support for SMIL animation of CSS properties in SVG. r=birtles sr=roc 2009-10-02 14:37:25 -07:00
L. David Baron
87aaedc9a4 Fix spelling of synthetic in macro name. 2009-10-02 14:06:42 -07:00
Chris Jones
f2df9d3504 bug 441324: implement infallible ::operator new(), malloc() and friends. make |new Foo()| infallible, but leave |malloc()| fallible for the time being. r=blassey sr=bsmedberg,vlad 2009-10-01 21:50:09 -05:00
Karl Tomlinson
3ed5b0a4b2 b=519896 NPN_InvalidateRect r=cjones 2009-10-01 17:09:21 +13:00
Ben Newman
ab706d3f74 Bug 518003 - implement function to check whether element matches a CSS selector. r+sr=bzbarsky
--HG--
extra : rebase_source : 67a7867a5cca52c867a8ee7daeea1bd1e613f1bc
2009-09-30 15:17:14 -07:00
Boris Zbarsky
88806f4b54 Bug 514120. Don't bother looking for XBL bindings on non-XUL nodes in display:none subtrees. r=sicking,enn 2009-10-01 16:17:25 -04:00
Markus Stange
24f7463d0c Bug 456646 - Replace Carbon printing dialog with Cocoa one. r=josh, r=bsmedberg, sr=jst
--HG--
rename : toolkit/locales/en-US/chrome/global/gnomeprintdialog.properties => toolkit/locales/en-US/chrome/global/printdialog.properties
extra : rebase_source : 80b46470b496313b6994366cb953abed5bb0849e
2009-10-01 11:15:32 +13:00
Karl Tomlinson
6256ea2a09 b=519641 pass visual and colormap to plugin process r=cjones 2009-10-01 10:36:14 +13:00
Chris Jones
f8a593bfbe update plugin process NPNetscapeFuncs interface (with stub impls) to the most recent NPAPI. 2009-09-29 13:50:11 -05:00
Chris Jones
4592c2c15d fix stupid bug in deserialization of NPWindow. X11 windowless plugins now work. 2009-09-25 15:35:03 -05:00
Chris Jones
c83bd901e1 forward NPWindow.{x, y} properly. no windowless gfx yet, but closer. thanks=karlt 2009-09-25 11:16:44 -05:00
Chris Jones
39379cfc8a attempt to fix linux build 2009-09-25 00:17:29 -05:00
Chris Jones
13cbfa2955 pre-fix windows bustage. thanks=bent 2009-09-24 21:14:41 -05:00
Chris Jones
026f20f14d basic support for windowless X11 plugins. gfx not quite working yet 2009-09-24 21:03:59 -05:00
Benjamin Smedberg
b30e208aa5 More plugin crash fixes: failure from NPP_Write doesn't actually destroy the stream, it just tells the browser to destroy the stream. NPP_NewStream resulting from NPN_GetURLNotify didn't have the notifyData field set correctly. Other minor logging and cleanup.
--HG--
extra : rebase_source : 932c0290a7c1779275266607d5e853d5c1994396
2009-09-23 19:00:23 -04:00
Ben Turner
9914a675f3 Merge mozilla-central 2009-09-23 13:14:34 -07:00
Ben Turner
f726ffaf7b Bustage fix for linux 2009-09-23 00:48:28 -07:00
Ben Turner
e79eab04e0 Finish up child-side NPRuntime. Now plugin-provided NPObjects should be totally supported. Browser-provided objects still unsupported. 2009-09-23 00:12:52 -07:00
Markus Stange
c2055691da Bug 515003 - Rewrite native mouse event handling. Also add tests for native mouse events (bug 470845). r=josh, sr=roc 2009-09-23 14:31:37 +12:00
Benjamin Smedberg
2efdc3145d Fix streams to work. Be consistent about AStream* for pdata/ndata. Set up pdata before actually calling the constructor. Implement functions which were stubbed out without TODO comments. This passes the stream tests!
--HG--
extra : rebase_source : fb5dbbd43a1588efad83b80760b82f40ad1eff3f
2009-09-22 17:06:00 -04:00
Chris Jones
8d3e0640b8 bug 517977: require actor impls to override AllocPFoo/DeallocPFoo instead of PFooConstructor/PFooDestructor 2009-09-22 12:31:11 -05:00
Chris Jones
50ed6c02c5 bug 517923: support serializing ns*Strings that represent NULL, use this mechanism in PluginInstanceParent/PluginModuleChild. also add basic crash-handling to *Channel code and some NS_OVERRIDE annotations. 2009-09-21 21:02:15 -05:00
Benjamin Smedberg
7a91b6b1de Implement Plugin->Browser streams. In a very basic form the first plugin instantiation passes the new plugin stream tests, but subsequent instantiations don't: I think there's some shutdown/startup issue (the plugin is being unloaded, perhaps?) 2009-09-21 10:51:35 -04:00
Benjamin Smedberg
2056ffeb78 __FUNCTION__ is not a preprocess macro: it is a symbol which ends up being a const char* for the current function. You can't concatenate it with other stuff. 2009-09-21 11:46:38 -04:00
Benjamin Smedberg
54ae75f5f4 Merge mozilla-central into electrolysis to pick up new plugin tests. 2009-09-21 10:57:57 -04:00
Ben Turner
596ccf5e7a Merging mozilla-central once more to hopefully clear windows unit tests 2009-09-20 10:47:21 -07:00
Ben Turner
7935719c87 More nsresult -> bool fixes, and fix windows bustage from NPEvent stub impl. 2009-09-19 12:24:24 -07:00
Chris Jones
ccac220704 fix more bustage related to nsresult-to-bool switch. committing initial (untested!) NPEvent forwarding caught in the crossfire 2009-09-18 20:19:11 -05:00
Vladimir Vukicevic
d023bfc631 b=517557; remove --enable-canvas; r=ted 2009-09-18 16:48:35 -07:00
Benjamin Smedberg
379dcfab05 Fix up dom/plugins code for bug 516661 - no more nspluginsdefs.h! 2009-09-18 17:01:09 -04:00
Benjamin Smedberg
03bc0e116d Merge mozilla-central into Electrolysis. 2009-09-18 16:47:18 -04:00
Chris Jones
427a01d800 Merge backout. CLOSED TREE 2009-11-16 23:50:52 -06:00
Chris Jones
2a2094819d Backout b68f602ce949 2009-11-16 23:49:22 -06:00
Jonas Sicking
28565aae30 Bug 507114: Don't put up a dialog if we're low on memory. Instead just attempt to report to the console-service. r=jst 2009-11-16 17:06:28 -08:00
Dietrich Ayala
94b03fc043 Backed out changeset 6e8717db83bb (accidental inclusion) 2009-11-16 16:53:22 -08:00
Dietrich Ayala
1b377e975a Bug 526545 - Crash reporter still can send wrong URL when crashing during pageload (r=bsmedberg) 2009-11-16 16:51:07 -08:00
Chris Jones
8a41af9985 bug 527590: make it an error to hide a virtual method declaration by overloading it in a derived class. (use |using base::method;| if you really mean to do that). rs=bsmedberg 2009-11-16 17:57:21 -06:00
Masayuki Nakano
fbd9249755 Bug 528435 Drop NS_COMPOSITION_QUERY event r=roc, sr=neil 2009-11-16 22:13:02 +09:00
Peter Van der Beken
a9216f9202 Back out fix for bug 428229 (Unable to override addEventListener). 2009-11-15 17:03:03 +01:00
Peter Van der Beken
be7f33599f Fix for bug 428229 (Unable to override addEventListener). r=bz. 2009-11-09 14:54:18 +01:00
Ben Turner
8828f586c2 Bug 488080 - 'Workers: Don't compile script if the worker is already canceled'. r+sr=jst 2009-11-13 13:30:03 -08:00
Doug Turner
14f6137b3a Bug 526316 - ClearWatch should not throw when given bad input. Fixing test. 2009-11-13 11:30:39 -08:00
Doug Turner
1505c646cf Bug 526317 - Remove nsIDOMGeoPositionError::message and nsIDOMGeoPositionError::UNKNOWN_ERROR. r=olli
--HG--
extra : rebase_source : 201b8d323cfbafa13cfd664f4fd5a14075c6fd4e
2009-11-13 09:21:09 -08:00
Doug Turner
2de21d7e27 Bug 526316 - ClearWatch should not throw when given bad input. r=olli
--HG--
extra : rebase_source : a8829e12d26ad0793017a70b96f77c647afb2771
2009-11-13 09:19:45 -08:00
Josh Aas
9abf43148f Fix navigator.platform for 64-bit Mac OS X builds. b=489586 r=dbaron 2009-11-12 17:54:06 -05:00
Boris Zbarsky
61d38c857a Bug 528208. Measure interval delays from start of callback to start of callback, not from end of callback to start of callback. r=peterv 2009-11-12 16:50:38 -05:00
Boris Zbarsky
ea9fca3a01 Bug 528259. Fixing broken test that was checked in as part of bug 493615. 2009-11-12 15:03:47 -05:00
Doug Turner
b906152f4b Bug 493615 - Allow Addons the use of the DOM Geolocation API. part 2. fix mochitest failures. r=dholbert
--HG--
extra : rebase_source : ae3ed9aab598073a7e41d44766ffde0d588b7b16
2009-11-12 09:17:21 -08:00
Doug Turner
172e2f77f5 Bug 493615 - Allow Addons to use the DOM Geolocation API. r=smaug
--HG--
extra : rebase_source : a48f85c5940252a87bfef879663b2d50daed5686
2009-11-12 07:14:45 -08:00
Honza Bambas
823e77a429 Bug 510234 - localStorage.clear() doesn't actually delete its properties, r+sr=jst 2009-11-11 21:39:34 +01:00
Matin Movassate
1ba0cf09e4 Bug 507805: Support FileRequest API for reading Files. r/sr=sicking 2009-10-07 01:30:26 -07:00
Chris Jones
16c57e27c9 fix changes that busted ipc-test plugin 2009-09-17 20:49:04 -05:00
Chris Jones
ad7cc03628 switch message handler nsresult return types to bool. appears to break test plugin, will be temporary 2009-09-17 18:09:20 -05:00
Ben Turner
151058edaa Landing the first part of NPRuntime support for plugin-side objects. Not hooked up yet. 2009-09-17 15:15:12 -07:00
Ben Newman
a13534936f Bug 260264 - Popups from a Site that is in the "Allowed List" (whitelist) are blocked, starting with the n-th popup (dom.popup_maximum). r+sr=jst 2009-09-16 11:46:05 -07:00
liucougar
1c056a43ec Bug 396392. Don't change frozen nsIDOMRange interface, put the new methods on nsIDOMNSRange instead. r=roc 2009-11-04 07:39:43 +13:00
Blake Kaplan
a03c404963 Bug 522430 - Don't hand out unexpected objects. r=jst sr=sicking 2009-10-20 17:22:16 -07:00
Vladimir Vukicevic
88afa1cc2e [webgl] Reland earlier-backed out patches, b=520708, b=520920, b=522201; r=me/mwsteele 2009-11-01 16:33:39 -08:00
Vladimir Vukicevic
51345f632c Revert previous commits due to weird talos crash. 2009-10-30 01:09:24 -07:00
Mark Steele
25a885d652 b=520920, update WebGL arrays to support views, r=vlad 2009-10-29 23:01:06 -07:00
Boris Zbarsky
9804e7b2dc Bug 523666. Make nsGenericHTMLFormElement::mForm an nsHTMLFormElement. r=sicking 2009-10-29 21:49:11 -04:00
Paul O’Shannessy
e759e740d7 Bug 511503 - Need events for window focus / activation. r=Enn 2009-10-29 12:11:00 -07:00
Gijs Kruitbosch
c888c1980e Back out bug 487059, fix tests and EM to cope, r=gavin,beltzner, bug 524995
--HG--
extra : rebase_source : d8414b8de165cf2fa534719c36416d82d21872c6
2009-10-29 14:44:10 +01:00
Olli Pettay
62344a3ec7 Bug 508479 - HTML5 Drag and Drop: Drop event on elements that are not drop targets, r=enn, sr=sicking 2009-10-29 13:11:02 +02:00
Johnny Stenback
4c40ecf75e Adding missing files from my previous commit. 2009-10-06 17:25:56 -07:00
Johnny Stenback
0f5b5ba5ba Fixing bug 504862. Sanitize modal dialog argument handling. r=mrbkap@gmail.com, sr=bzbarsky@mit.edu 2009-10-06 17:09:16 -07:00
Boris Zbarsky
0b451e51ec Bug 519905. Avoid some QIs to nsWrapperCache. r=peterv 2009-10-05 19:16:22 -04:00
Ms2ger
e138a2550c Bug 520353. querySelector(), querySelectorAll() and mozMatchesSelector() handle null and undefined incorrectly. r=bzbarsky 2009-10-05 19:16:22 -04:00
Robert O'Callahan
60a2f7d116 Bug 513144. Basic implementation of mozLoadFrom API. r=doublec
--HG--
extra : rebase_source : 71d04afaf21d268e3eddbb40e9894479698d1bfc
2009-09-15 14:30:44 +12:00
Matthew Gregan
466c733803 Bug 481057 - Fire MEDIA_ERR_DECODE errors when a decoding error occurs. r=chris.double, sr=roc
--HG--
extra : rebase_source : a07687f16726086dd425eef8907788019beebbe1
2009-09-22 12:08:13 +12:00
Neil Deakin
dc9b8b8573 Bug 516076, pass a contextual window to focus controller methods, so that it retrieves the controller for the right window, r=neil,sr=smaug 2009-09-21 13:39:44 -04:00
Masayuki Nakano
c673342285 Bug 517787 Clicking a partially off-screen link shouldn't scroll the page (again) r=enndeakin 2009-09-22 00:58:16 +09:00
Dão Gottwald
39a4c6336e browser_focus_steal_from_chrome.js cleanup 2009-12-14 11:07:36 +01:00
Peter Van der Beken
8c116924af Fix error in test. 2009-12-13 21:48:20 -08:00
Peter Van der Beken
a2a9c0be64 Fix for bug 531542 ("ASSERTION: DOM_MIN_TIMEOUT_VALUE lies" with negative setTimeout). r=jst. 2009-11-30 10:58:32 +01:00
Peter Van der Beken
00b87e5ee3 Fix for bug 534362 (Allow modifications to Location.prototype). r=mrbkap.
--HG--
extra : rebase_source : c860de457e25114244c86ff8063ca6c1390e33ae
2009-12-13 16:57:08 -08:00
Dão Gottwald
c367212e49 browser_focus_steal_from_chrome.js cleanup
--HG--
extra : rebase_source : 96a43eac3e3eddead6dfc2f10335561d7104f2e7
2009-12-13 21:46:38 +01:00
Dão Gottwald
c58eedf77c improve browser_354894.js output
--HG--
extra : rebase_source : 0091d4b16fae7732d4dd382f2cfab8c1bc404c43
2009-12-13 21:46:15 +01:00
Neil Deakin
2f68128a63 Bug 498799, use waitForFocus for test_focus.xul in various places 2009-09-18 13:02:44 -04:00
Vladimir Vukicevic
c62e96b0c0 b=516213; Freshen WebGL implementation and enable on trunk (part 2); r=mwsteele,roc 2009-09-17 23:01:12 -07:00
Mark Steele
b109b87a48 b=516213; freshen WebGL implementation and enable on trunk (part 1); r=vlad 2009-09-17 23:01:07 -07:00
Robert O'Callahan
1da8163981 Bug 510110. Extend MozAfterPaint event to contain list of PaintRequest objects with information about individual invalidations. r=dbaron,sr=jst
--HG--
extra : rebase_source : 0e8b9f424d50c2d9e346f7ff15834202a6c101d1
2009-09-04 16:49:18 +12:00
Mark Steele
fb27339c8b b=517717; fix up webGL array compat (rename WebGL*Array->Canvas); r=vlad 2009-09-20 14:33:40 -07:00
Josh Aas
2a7ea592aa Gecko should use NPAPI directly, remove nsplugindefs.h abstractions. b=516661 r/sr=jst 2009-09-16 21:30:26 -04:00
Blake Kaplan
785911363a Merge tracemonkey to mozilla-central. 2009-09-16 16:15:59 -07:00
Ehsan Akhgari
1af2aae951 Bug 497032 - "ASSERTION: Oops! You're asking for a weak reference to an object that doesn't support that" on bankrate.com (geolocation on stack); r=sicking 2009-09-15 14:40:10 +04:30
Phil Ringnalda
cbb05845ba Bug 515582 - Remove unused (and heinous) webservices strings, r+sr=jst 2009-09-13 16:05:55 -07:00
Neil Deakin
51b0e867e6 Bug 503943, add mouse capturing api to elements, remove capturing from views, r=roc,sr=smaug 2009-09-13 09:13:16 -04:00
Peter Van der Beken
113419688c Fix for bug 512645 (Only clamp nested timeouts). r=jst.
--HG--
extra : rebase_source : 556930c0c02258f75becabe58eadd202fdea59a1
2009-08-26 11:07:39 -07:00
Josh Aas
ab17acd8b4 Cocoa event model: 1) fix spurious NPP_SetWindow calls 2) propagate event model immediately. b=527115 r=smichaud r=roc 2009-11-09 22:58:48 -05:00
Jonas Sicking
8f545535ea Bug 503481: Implement async attribute 2009-11-09 17:04:24 -08:00
Jonas Sicking
d954edae7f Bug 527370: Rename some things in order to match the latest File API spec. Specifically FileRequest -> FileReader and .response -> .result. r=smaug sr=jst
--HG--
rename : content/base/public/nsIDOMFileRequest.idl => content/base/public/nsIDOMFileReader.idl
rename : content/base/src/nsDOMFileRequest.cpp => content/base/src/nsDOMFileReader.cpp
rename : content/base/src/nsDOMFileRequest.h => content/base/src/nsDOMFileReader.h
2009-11-09 12:05:16 -08:00
Nochum Sossonko
df32b0ef6e Bug 491759 - Clear geolocation token when exiting private browsing; r=dougt,ehsan 2009-11-06 19:05:52 -05:00
Dave Townsend
22c6d8824b Bug 526635: Interfaces changed on the 1.9.2 branch with no IID rev. r=enn, r=vlad, r=josh, r=mak77, r=ted, r=roc 2009-11-06 11:31:22 -08:00
Olli Pettay
2d83c2550e Bug 448602 - Have a way to enumerate event listeners, r=bz
--HG--
extra : rebase_source : 77ed96b23db73ae78ed7f34ed231daf84fae1f54
2009-10-16 11:57:32 +03:00
Jesse Ruderman
52a69cd192 Add more crashtests 2009-10-15 14:22:11 -07:00
Blake Kaplan
fc4b1187b7 Bug 509557 - Don't do a bunch of extra work and create a bunch of extra objects during window creation. 2009-08-18 21:02:05 -07:00
Martin McNickle
fdb442917d Bug 515335. Distance calculation between 2 geocoordinates incorrect for points not on the equator. r=dougt.
--HG--
extra : rebase_source : 7f73773d16fb2ecee1f57e0c106b014c2f424de9
2009-09-10 07:47:32 -07:00
Neil Deakin
cef5702d08 Bug 503943, back out mouse capture patch, CLOSED TREE 2009-09-10 12:11:41 -04:00
Neil Deakin
6d007b6255 Bug 503943, add mouse capturing api to elements, remove capturing from views, r=roc,sr=smaug 2009-09-10 08:51:36 -04:00
Neil Deakin
8609abaa76 Bug 514230, fix up to not refer to elements by id but by reference, also fixes the case when full keyboard access is used because tabs are now focusable, r=smaug 2009-09-08 07:24:20 -04:00
Benjamin Smedberg
667f63d102 Bug 513032 - remove empty conditionals in our makefiles, r=ted 2009-08-27 10:48:18 -07:00
Neil Deakin
9a10269f0b Bug 513450, page info unfocuses after cursor keys when caret browsing in on, caused because caret browsing preference shouldn't be checked in chrome documents, r=smaug 2009-09-03 15:30:06 -04:00
Mark Steele
9f78beefa4 b=513156; update Canvas 3D to implement WebGL (still disabled by default via configure); r=vlad 2009-09-02 17:47:49 -07:00
Boris Zbarsky
bb69736d00 Disabling test that makes bogus assumptions about DOM behavior 2009-09-02 13:38:49 -04:00
Martin McNickle
e9a68c4356 Bug 513658 - Deprecate isReady() in geolocation provider. r=dougt
--HG--
extra : rebase_source : a4ce9d11548b9f09521caf3ced073f6015c2542d
2009-09-02 09:47:33 -07:00
Doug Turner
4679b91f25 [Bug 513342] crash while browsing to and from a geolocation page. r=blassey 2009-09-01 12:48:46 -07:00
Johnny Stenback
7dfc767546 Backed out changeset 105d89f1a33b due to test failures. 2009-08-31 15:03:53 -07:00
Johnny Stenback
abda1a2206 Fixing bug 504862. Sanitize modal dialog argument handling. r=mrbkap@gmail.com, sr=bzbarsky@mit.edu 2009-08-31 14:35:58 -07:00
Ehsan Akhgari
742c3c2cf8 Bug 513567 - Not enough arguments in nsISocketTransport.close in GPSDProvider.shutdown; r=dougt 2009-08-31 07:29:20 +04:30
Doug Turner
0d55293441 [Bug 462192] move initialization code out of nsGeolocationService constructor. r=olli 2009-08-28 10:40:27 -07:00
Jason Duell
9910cfcf97 Necko init patch, with modeline fixes 2009-08-18 12:05:15 -07:00
Benjamin Smedberg
1bbec701d1 Bug 517207 - Implement NPN_GetValue, r?bent. I use separate messages for each getvalue property instead of an integer/enumeration and a variant because for each message, the type returned is static: this avoids a lot of dynamic checking for correct enumeration values and variant types. r=bent 2009-09-15 16:33:24 -04:00
Benjamin Smedberg
63dd6aeab8 Actually implement the geturl/posturl functions on the child-side plugin host. 2009-09-15 15:48:18 -04:00
Ben Turner
b063012cae Further fixes for unions 2009-09-14 19:26:17 -07:00
Ben Turner
366a3cf8ce Add simple tests for NPIdentifiers in testplugin 2009-09-14 15:35:02 -07:00
Ben Turner
af82cf26df Add support for NPIdentifiers to oop plugins 2009-09-14 13:01:31 -07:00
Benjamin Smedberg
d96f7451fa The functions which accept a NPP instance parameter don't need the special shim: just make them static functions on PluginModuleParent. This leaves only the following functions which will need special treatment in the Mozilla plugin host:
* NP_Initialize
* NP_GetEntryPoints
* NP_Shutdown
* NP_GetPluginVersion
* NP_GetValue
* NPP_New
* NP_GetMIMEDescription
2009-09-14 14:56:23 -04:00
Benjamin Smedberg
c23fd76f77 Fix Windows build bustage from the NPN_GetURLNotify patch. 2009-09-11 13:52:53 -04:00
Benjamin Smedberg
b11c695563 Implement NPN_GetURLNotify/NPN_PostURLNotify/NPP_URLNotify. Still without any tests! 2009-09-08 17:22:50 -04:00
Chris Jones
11c6e75c70 add discriminated union types to IPDL 2009-09-10 23:55:03 -05:00
Ben Turner
5a0e09b701 Remove 'Protocol' suffix from IPDL-generated files 2009-09-09 15:59:06 -07:00
Ben Turner
df0dc3228b Rename remaining protocols
--HG--
rename : dom/ipc/ContentProcess.ipdl => dom/ipc/PContentProcess.ipdl
rename : dom/ipc/IFrameEmbedding.ipdl => dom/ipc/PIFrameEmbedding.ipdl
rename : ipc/test-harness/Test.ipdl => ipc/test-harness/PTest.ipdl
rename : ipc/testshell/TestShell.ipdl => ipc/testshell/PTestShell.ipdl
rename : ipc/testshell/TestShellCommand.ipdl => ipc/testshell/PTestShellCommand.ipdl
2009-09-09 15:00:14 -07:00
Benjamin Smedberg
8f891f87cd PPluginStream is badly named: there is going to be a PPluginStream, but it's not this!
--HG--
rename : dom/plugins/PluginStreamChild.cpp => dom/plugins/BrowserStreamChild.cpp
rename : dom/plugins/PluginStreamChild.h => dom/plugins/BrowserStreamChild.h
rename : dom/plugins/PluginStreamParent.cpp => dom/plugins/BrowserStreamParent.cpp
rename : dom/plugins/PluginStreamParent.h => dom/plugins/BrowserStreamParent.h
rename : dom/plugins/PPluginStream.ipdl => dom/plugins/PBrowserStream.ipdl
2009-09-09 10:04:09 -04:00
Chris Jones
258569f503 bug 515242: finish FE support for actor types specified to be in "any" state (by adding State.ANY). fix IPDL handling of carriage return, remove them from new code 2009-09-09 01:58:08 -05:00
Ben Turner
06029219b0 Rename plugin protocols and fix up usage
--HG--
rename : dom/plugins/NPP.ipdl => dom/plugins/PPluginInstance.ipdl
rename : dom/plugins/NPAPI.ipdl => dom/plugins/PPluginModule.ipdl
rename : dom/plugins/NPObject.ipdl => dom/plugins/PPluginScriptableObject.ipdl
rename : dom/plugins/NPBrowserStream.ipdl => dom/plugins/PPluginStream.ipdl
rename : dom/plugins/NPPInstanceChild.cpp => dom/plugins/PluginInstanceChild.cpp
rename : dom/plugins/NPPInstanceChild.h => dom/plugins/PluginInstanceChild.h
rename : dom/plugins/NPPInstanceParent.cpp => dom/plugins/PluginInstanceParent.cpp
rename : dom/plugins/NPPInstanceParent.h => dom/plugins/PluginInstanceParent.h
rename : dom/plugins/NPAPIPluginChild.cpp => dom/plugins/PluginModuleChild.cpp
rename : dom/plugins/NPAPIPluginChild.h => dom/plugins/PluginModuleChild.h
rename : dom/plugins/NPAPIPluginParent.cpp => dom/plugins/PluginModuleParent.cpp
rename : dom/plugins/NPAPIPluginParent.h => dom/plugins/PluginModuleParent.h
rename : dom/plugins/NPObjectChild.cpp => dom/plugins/PluginScriptableObjectChild.cpp
rename : dom/plugins/NPObjectChild.h => dom/plugins/PluginScriptableObjectChild.h
rename : dom/plugins/NPObjectParent.cpp => dom/plugins/PluginScriptableObjectParent.cpp
rename : dom/plugins/NPObjectParent.h => dom/plugins/PluginScriptableObjectParent.h
rename : dom/plugins/NPBrowserStreamChild.cpp => dom/plugins/PluginStreamChild.cpp
rename : dom/plugins/NPBrowserStreamChild.h => dom/plugins/PluginStreamChild.h
rename : dom/plugins/NPBrowserStreamParent.cpp => dom/plugins/PluginStreamParent.cpp
rename : dom/plugins/NPBrowserStreamParent.h => dom/plugins/PluginStreamParent.h
2009-09-08 23:31:35 -07:00
Benjamin Smedberg
069f02260e Revert accidental commit of printf-debugging code in the test plugin. 2009-09-08 16:05:12 -04:00
Benjamin Smedberg
28dfae6b92 Implement browser streams (NPStream from the plugin host to the plugin). Unfortunately, there aren't any tests for this stuff at all. Various related APIs like NPN_GetURLNotify are not yet implemented and will require changes to the protocol structure (you have to be able to associate a browser stream with a notify request through NPStream->notifyData). 2009-08-18 16:20:03 -04:00
Ben Turner
7e8db9f9a4 Force child processes to close and wait for them on shutdown 2009-09-02 17:18:27 -07:00
Ben Turner
9739753cd3 Rework ipcshell to become xpcshell 2009-08-28 16:16:19 -07:00
Benjamin Smedberg
689058eecc Merge mozilla-central into Electrolysis 2009-08-26 12:15:27 -04:00
Ben Turner
cbeec64aa4 Fix build bustage 2009-08-25 16:39:30 -07:00
Ben Turner
9d33531365 Fix testshell to use the new callback commands, and shut down properly 2009-08-25 16:07:22 -07:00
Benjamin Smedberg
794b9eeaf1 Package test.xul so that it ends up at chrome://global/content/test-ipc.xul. This allows it to be tested with nightly builds, as well as giving it chrome permissions so that jdm can work on hooking up typeaheadfind. 2009-08-19 13:59:58 -04:00
Robin Bate Beorop
b4dc22d447 Bug 507218 - Expose the process type (chrome/content) to client code via XRE_GetProcessType and nsIXULRuntime, r=bent 2009-08-19 13:09:51 -04:00
Chris Jones
8ee4de9a10 export ContentProcess* headers 2009-08-14 18:21:21 -05:00
Peter Van der Beken
cf46d66dc3 Fix for bug 510677 (Avoid XPCCallContext for WrapNativeToJSVal). r/sr=jst.
--HG--
extra : rebase_source : 647f360f5603a2f9ade579a9911ba51af1db91b5
2009-08-14 21:00:24 +02:00
Benjamin Smedberg
97dfb1e921 Remove #ifdef 0 functions in nsNPAPIPluginParent which definitely won't live there. Some (memory allocation/deallocation) are local, while others should just be instance methods on the NPP wrappers. 2009-08-14 14:47:30 -04:00
Peter Van der Beken
3fbf50e20c Fix for bug 510673 (Add a quickstub for document.write). r/sr=jst.
--HG--
extra : rebase_source : 10b08ef2c45a0db19122851cd105a7580e499d0a
2009-08-14 19:55:43 +02:00
Doug Turner
60ae41e157 Bug 512520 - remove Maemo geolocation providers. r=staurt 2009-08-25 15:08:56 -07:00
Honza Bambas
053b590142 Bug 509683 - nsDOMStorageMemoryDB::GetItemsTable inits hashtable twice, r=peterv 2009-08-25 21:25:32 +02:00
Benjamin Smedberg
bfa6bff11f Bug 510025 - make TestShell a subprotocol of ContentProcess so that it is useful for prototyping 2009-08-12 14:31:48 -04:00
Chris Jones
539c5a5231 add ContentProcessChild singleton and accessor 2009-08-12 19:32:50 -05:00
Benjamin Smedberg
96fa9d431b More Returning NS_OK from non-void functions. 2009-08-12 16:20:42 -04:00
Benjamin Smedberg
6685ba14a5 Return NS_OK from non-void function 2009-08-12 15:12:47 -04:00
Benjamin Smedberg
7836d0478f Bug 509798 - Create a ContentProcess protocol which manages IFrameEmbedding. ContentProcessChild is a globally-accessible singleton in the content process. For the moment, ContentProcessParent is a global singleton in the parent process, but that will change once we have process-per-domain or something similar.
--HG--
rename : dom/ipc/TabThread.cpp => dom/ipc/ContentProcessThread.cpp
rename : dom/ipc/TabThread.h => dom/ipc/ContentProcessThread.h
2009-08-12 12:18:08 -04:00
Chris Jones
f02911c98e build on 64-bit linux 2009-08-12 00:41:55 -05:00
Ben Turner
88db6a6673 Skeleton implementation for NPObject remoting 2009-08-10 16:28:22 -07:00
Johnny Stenback
ac45fe56aa Part 2 of fix for bug 459452 (Add support for optional arg count for IDL methods): use [optional_argc] for DOM methods. r=peterv.
--HG--
extra : rebase_source : c0bc25842b2645fe9f42c9ed5d57567f8e6b5279
2009-08-10 16:41:12 +02:00
Ben Turner
37f6bdca20 Add extremely basic support for unblocking in the event of a bad message 2009-08-07 16:13:20 -07:00