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

5013 Коммитов

Автор SHA1 Сообщение Дата
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