Commit Graph

2281 Commits

Author SHA1 Message Date
Chris Jones
f0560d9e8e Bug 441324, part 1: Shuffle around includes to avoid problems with #define malloc et al. r=bsmedberg 2010-03-03 23:02:55 -06:00
Robert O'Callahan
daba5acae2 Backing out bug 534467 to try to fix test failure 2010-03-04 17:50:57 +13:00
Robert O'Callahan
a976e4bcd0 Backed out changeset 1672d4c79e82 2010-03-04 17:50:28 +13:00
Robert O'Callahan
65a2683e00 Back out due to Linux-64 build bustage 2010-03-04 14:38:23 +13:00
Robert O'Callahan
5ef23a16ea Backed out changeset b35354fe21e3 2010-03-04 14:38:00 +13:00
Vladimir Vukicevic
42ec90deac b=534467; implement Uint8ClampedArray for CanvasPixelArray; part 3, DOM-side implementation; r=bz 2010-03-03 16:40:27 -08:00
Vladimir Vukicevic
02fe8f1b07 b=534735; use custom quickstubs for canvas fillStyle and strokeStyle; r=bz 2010-03-03 16:40:25 -08:00
Vladimir Vukicevic
eec75b1143 Nuke some stale/unused files 2010-01-22 18:29:49 -08:00
Olli Pettay
83b813bb98 Bug 549566, clean-up beforeunload message, r=sicking
--HG--
extra : rebase_source : 5abe27de295f9285b926f105d7ec317ebe1503ff
2010-03-03 14:41:57 +02:00
Saint Wesonga
4c4911bf50 Bug 526454 - Link to plugin check page from about:plugins. r=josh, ui-r=faaborg 2010-03-03 09:51:58 +01:00
Ryan Flint
fdfd016123 Bug 549788 - Increase the buffer size used for JSON streams. r=sayrer 2010-03-02 17:54:40 -08:00
Neil Deakin
52f2006039 Bug 546425, add mozSourceNode to access the source node of the drag, r=jonas,sr=roc 2010-03-02 06:21:20 -08:00
Martin Stransky
ed744ecebf Bug 546270: Use SetupSilentPrinting() to initialize mGTKPrinter for window.print() calls. r=roc 2010-03-10 12:33:35 -08:00
Mark Banner
1fa876e743 Backout changes to .jar files missed from previous backout of bug 544097 2010-03-10 09:51:28 +00:00
Brad Lassey
bb55fe310f backing out changesets e939397fc6a5, 88529662c474 and 3d7c54b194bb due to random hangs in pgo tests 2010-03-09 22:33:11 -05:00
Joel Maher
aef3dc32c3 Bug 544097 changing mochitests to use mochi.test instead of localhost for windows mobile refactoring p=jmaher, r=ted,dwitte, sayrer, waldo, ctalbert 2010-03-09 08:55:39 -08:00
Saint Wesonga
f78442c0ad Bug 523417 - "warning: invoking macro NS_ENSURE_SUCCESS argument 2: empty macro arguments are undefined in ISO C90 and ISO C++98" in DOM worker code. r=jst 2010-02-22 18:41:21 +01:00
Nochum Sossonko
2b4fa77fc0 Bug 536889 - Don't throw in nsGlobalWindow::Print when printing is disabled, r=olli.pettay 2010-02-21 21:47:21 -05:00
Ben Turner
236e97e5cd Bug 535017 - 'IPC plugins should cache well-known scriptable objects to avoid unnecessary actor creation/destruction'. r=bsmedberg. 2010-02-20 13:59:40 -08:00
Ben Turner
7dd95ddea3 Bug 540029 - 'Workers: Flush JIT cache when suspended'. r+sr=jst. 2010-02-20 12:50:56 -08:00
Neil Deakin
65465d8068 Bug 528491, combine nsFocusController and nsWindowRoot, r=jst,sr=smaug 2010-02-20 11:07:03 -05:00
Neil Deakin
10dc1ef135 Bug 536481, clear the mouse capture when a window is lowered or the containing docshell is hidden, r=smaug 2010-02-20 11:06:58 -05:00
Jae-Seong Lee-Russo
39d8beb92d Bug 530300: Replace PR_MIN/PR_MAX with NS_MIN/NS_MAX in /dom r=peterv 2010-02-20 08:59:07 -05:00
Boris Zbarsky
8b813d19e1 Bug 513146. Since this test assumes things about the positioning of things on the page but doesn't flush layout before running, we need to make sure to either run it when pageload is done or make it flush layout up front. Do the former. Will get gavin's review. 2010-02-19 23:04:09 -05:00
Jim Mathies
0be9704540 Bug 545239 - [OOPP] Plugin focus: hang at PPluginInstanceParent::CallSetPluginFocus against child _NtUserSetFocus. r=bsmedberg. 2010-02-18 14:21:21 -06:00
Jim Mathies
094bf7e9a3 Bug 543201 - [OOPP] Shockwave window position is not correct. r=bent. 2010-02-18 14:20:25 -06:00
Jim Mathies
f2cf287e8d Bug 539658 - [OOPP] Full-screen mode doesn't work with windowless controls (hulu). r=bent. 2010-02-18 14:19:28 -06:00
Shawn Wilsher
f40358c5a0 Merge for backout of changeset 5607b8b76949 2010-02-18 09:46:35 -08:00
Shawn Wilsher
40f009e687 Backed out changeset 5607b8b76949 2010-02-18 09:44:28 -08:00
Shawn Wilsher
5af603aed6 Bug 461199 (Part 29) - Fix dom tests.
r=sicking
2010-02-17 14:04:34 -08:00
Luke Wagner
5b003deb87 Bug 545044 - initialize tempAlloc'd memory so GC-safe (r=brendan)
--HG--
extra : rebase_source : 712bf473d05f707dd50a276f1e60421ce46a7353
2010-02-17 11:32:47 -08:00
Robert O'Callahan
11a3d788af Bug 534425. Part 6: Let nsIWidgets expose a LayerManager to be used to render into the widget, instead of nsPaintEvent::renderingContext which is removed since it's no longer needed. Currently all widgets fall back to a default BasicLayerManager implementation. Also change nsPaintEvent::region to be an nsIntRegion, and get rid of nsPaintEvent::rect since it's redundant. 2010-03-01 21:03:49 +13:00
Chris Jones
568776b2d0 Bug 532208: Defer deletion of browser streams to later tasks. r=bsmedberg 2010-02-26 13:07:56 -06:00
Mounir Lamouri
54f1561afc Bug 457800 - Implement placeholder attribute for text input fields; r=ehsan,bzbarsky,bolter sr=roc ui-r=faaborg
--HG--
extra : rebase_source : 2e2f3a73553d720b32812603b0ce96c89b9a6261
2010-02-26 10:47:38 -08:00
Henri Sivonen
cb3f5d69ed Bug 545402 - Make test_bug42976.html run from onload and make HTML5 createContextualFragment work on DOMs that do not have a docshell. r=Olli.Pettay.
--HG--
extra : rebase_source : 74002d7f9936045065406e412477df9b740ee766
2010-02-22 14:17:31 +02:00
Henri Sivonen
f7cc870630 Bug 545404 - Remove parsing-dependent isindex tests from the DOM Level 2 HTML test suite. r=jonas.
--HG--
extra : rebase_source : 2c955c2b9005925d5c21a1dd5950c4c8b7f147ed
2010-02-22 14:17:31 +02:00
Ben Turner
7aae9fc552 Fix braindead variant conversion bug, r=cjones, no bug 2010-02-25 15:31:09 -08:00
Karl Tomlinson
f125b837c1 b=548434 NULL check aNPP in _invalidaterect for nspluginwrapper r=cjones
--HG--
extra : rebase_source : 6af217c167b313f034461ec63d7dd45cb5bd5225
2010-02-24 16:19:51 -08:00
Benjamin Smedberg
435bf321ac Merge backout of bug 532208 due to test failures, crashes, and overall badness. 2010-02-25 03:03:12 -08:00
Benjamin Smedberg
a97d6cd2b0 Backed out changeset e4a7ea0bb90f bug 532208 - asynchronous stream delivery because write events were being dispatched in odd re-entrant states and NPP_DestroyStream was being delivered before all the stream data was delivered. 2010-02-25 03:00:56 -08:00
Karl Tomlinson
6ed1f5d145 b=517133 Get crash stats for X errors r=bsmedberg
--HG--
extra : rebase_source : e9b2319a566ecb5a8a3cd6ba322df97e1ff3ffc8
2010-02-24 14:25:16 -08:00
Benjamin Smedberg
0d781c505c Bug 532208 - Make PBrowserStream destructor uni-directional by delivering all data asynchronously and doing two-phase (acknowledged) destruction, r=bent
--HG--
extra : rebase_source : 1155cb3c0d548712b274c81e7cf597eaf091d220
2010-02-23 16:45:00 -05:00
Makoto Kato
a3d58316e9 Bug 405242 - Implement select.options.remove() method [HTML5 HTMLOptionsCollection.remove]. r=Olli.Pettay, sr=jst 2010-02-25 13:53:42 +09:00
Jim Mathies
5dc5015ef8 Bug 547353 - [OOPP] Mouse pointer coordinates misaligned with winless Silverlight. r=bent. 2010-02-24 16:13:48 -08:00
Robert O'Callahan
3285727f86 Bug 544399. Use nsLayoutUtils::SurfaceFromElement when comparing canvases. r=vlad
--HG--
extra : rebase_source : 93f22c10faa3bad9dbff48cd823f38d4a6ffc22a
2010-02-24 11:04:32 -08:00
Chris Jones
06871df7a3 Bug 544945, part 2: Periodically unblock the parent to allow it to process events while the plugin subprocess is in a nested event loop. r=karlt
--HG--
extra : rebase_source : bf9a2df9d7d6b420fb93d11dc5abaeb4be1214db
2010-02-16 12:44:25 -06:00
Chris Jones
eb662c9fe6 Bug 544945, part 1: Detect nested glib event loops in the plugin subprocess. r=karlt
--HG--
extra : rebase_source : 454553501de351b66e328a7005e6779088f2a2fa
2010-02-16 12:44:24 -06:00
Jonas Sicking
1a41a3c97c Bug 546528 part 3: Implement FormData. r=benjamn 2010-02-24 21:58:18 -08:00
Benjamin Smedberg
cdf15ace3b Bug 544074 - Crashes at mozilla::plugins::PluginModuleChild::UnregisterActorForNPObject - the hash of scriptable objects is mutating while we enumerate the actors being destroyed after a plugin instance is destroyed. Save the list of actors off into a separate non-mutating table, r=bent 2010-02-24 16:14:13 -05:00
Benjamin Smedberg
a884a24043 Bug 547894 - Allow null in NPN_GetStringIdentifier(s) to fix a topcrash with the divx plugin, r=bent 2010-02-24 16:34:17 -05:00
Benjamin Smedberg
3b1352e4df Bug 547316 - Plugin window subclass is not reset when CallNPP_Destroy fails, r=bent 2010-02-19 17:08:16 -05:00
Shawn Wilsher
376df21743 Bug 461199 (Part 29) - Fix dom tests.
r=sicking
2010-02-24 08:37:03 -08:00
Doug Turner
99bbb9251a Backed out Bug 489813 / changeset 0542680c6f74 2010-02-23 23:11:18 -08:00
Doug Turner
8191486eee Bug 489813 - fire geolocation timeout error if the provider fails to response after initial response. r=olli
--HG--
extra : rebase_source : 03c08ca4f017302e8ae2e63cdb844c62f01c234e
2010-02-23 20:27:27 -08:00
Serge Gautherie
352641e1f7 Bug 512520 - remove Maemo geolocation providers; (Bv1) Clean up nsGeolocation.cpp too.
r=dougt.
2010-02-24 05:36:29 +01:00
Ben Newman
d32fcf7f0e Backout of changeset c3b327ad051a due to failure of dom/tests/mochitest/bugs/test_bug459848.html. 2010-02-23 13:57:15 -08:00
Daniel Veditz
ac0251d255 bug 515442 CSP inline script protection 2010-02-23 13:20:46 -08:00
Ben Newman
f28f39240d Bug 523885 - Tabbrowser handling of window.close possibly leak-prone. r=bz+sr=jst
--HG--
extra : rebase_source : 07b3a2e304498e053cdb301bb0d0d781412a196a
2010-02-23 10:45:05 -08:00
Ben Turner
93ebb4ca17 Bug 547814, r=jorendorff, sr=peterv. 2010-02-23 10:45:36 -08:00
Neil Deakin
78ed0e9792 Bug 544146, when focusing at the caret position, if the caret is not set or at the root, don't look for a node to focus, r=smaug 2010-02-23 13:16:19 -05:00
Ben Turner
0753e26462 Bug 531225 - 'Workers: Share strings across thread boundary'. Fix shutdown leak 2010-02-23 09:57:14 -08:00
Boris Zbarsky
09f6e100c7 Bug 513146. Address review comment about adding a comment. r=gavin 2010-02-22 23:02:00 -05:00
Benjamin Smedberg
e5aab11778 Merge and review fixup from async streams, bug 551049 2010-03-11 11:56:35 -05:00
Benjamin Smedberg
1a54d18a03 Bug 551049 part 3: delay the delivery of NPP_URLNotify until the related stream is completely delivered and destroyed, and propagate errors from NPP_Write and NPN_DestroyStream back to NPP_URLNotify r=bent 2010-03-06 16:03:05 -05:00
Benjamin Smedberg
51a11b0266 Bug 551049 (was bug 532208) part 2 - Delay delivery of NPP_DestroyStream until stream data is delivered, and make sure that data delivery doesn't re-enter, r=bent 2010-03-06 16:02:31 -05:00
Benjamin Smedberg
39df629db6 Bug 551049 (was bug 532208) part 1 - Make PBrowserStream destructor uni-directional by delivering all data asynchronously and doing two-phase (acknowledged) destruction, r=bent 2010-02-23 16:45:00 -05:00
Benjamin Smedberg
1fc1bc4a5a Revert the RPC-style race resolution from bug 532208 in order to use the asynchronous delivery patches. 2010-03-06 11:08:19 -05:00
Benjamin Smedberg
3ec1519e77 Bug 551387 - octoshape plugin crashes because it doesn't implement NPNFunctions.setwindow, r=bent 2010-03-10 10:54:22 -05:00
Chris Jones
7fd74b1a80 Merge backout 2010-03-11 05:07:51 -06:00
Chris Jones
415f85da1a Backing out bug 550026 due to orange 2010-03-11 05:07:42 -06:00
Chris Jones
ad34b8295e Followup to bug 549888: don't call HandleEvent after Paint 2010-03-11 04:13:23 -06:00
Chris Jones
7e203b6454 Bug 549888: Part 2: Add a Paint() message and have the browser win races of Paint() vs. anything else. r=bent,jmathies,karlt 2010-03-11 01:35:31 -06:00
Chris Jones
a3aa9cbbff Bug 550118: Try to not process XPCOM events when a plugin process spins a nested glib event loop. r=karlt 2010-03-11 01:35:29 -06:00
Chris Jones
148296d96a b=550026 Don't call PluginCrashed while plugin code is still on the stack r=bsmedberg 2010-03-08 09:16:02 +13:00
Ms2ger
09e869f910 Bug 559839 - "Failures in ajax test suites aren't counted" [r=sayrer]
Removing the unused copies
2010-04-16 08:14:00 -04:00
Ms2ger
7e9c7f46d6 Bug 559839 - "Failures in ajax test suites aren't counted" [r=sayrer] 2010-04-16 08:12:00 -04:00
Mounir Lamouri
dbdc60fd52 Bug 346485 - "Implement output element" [r=smaug,hsivonen,mrbkap,timeless,roc sr=jst] 2010-04-26 03:42:00 -04:00
Olli Pettay
8ef39a6b0c Bug 560902 - Optimize nsFocusManager::ContentRemoved, r=enndeakin+sicking
--HG--
extra : rebase_source : 69c72c67341dd27dbd5a526c59c5ee52d2b6a813
2010-04-27 12:58:58 +03:00
Karl Tomlinson
50e922752b b=544211 ungrab the pointer before passing ButtonPress events to plugins r=roc 2010-03-24 15:26:10 +13:00
Olli Pettay
c5e7b0ab22 Bug 552663, start timeouts asynchronously when jsd enables scripts, r=jst 2010-03-24 00:35:15 +02:00
Blake Kaplan
cf01e551cd Bug 522430 - Assert that this bad case doesn't happen. r=jst 2009-10-20 17:22:16 -07:00
Chris Jones
42f30e5822 Bug 549888: Have the browser win NPP_SetWindow races, and add a special-cased NPP_HandleEvent async WindowPosChanged message for windows. r=jimm,karlt 2010-03-22 17:35:15 -05:00
Robert Sayre
c08105c9c5 Bug 505228. JSON.stringify generates non standard output if space is defined. r=sayrer 2010-04-09 15:38:27 -04:00
Robert Sayre
5ef05c8584 Merge mozilla-central to tracemonkey. 2010-04-09 11:43:07 -04:00
Robert Sayre
fc4b9ec6e1 FF 3.5.2 native JSON.stringify replacer applied only to array items, not object properties. bug 509184. r=waldo 2010-04-07 12:35:43 -04:00
Robert Sayre
744599315f Merge mozilla-central to tracemonkey. 2010-04-04 14:15:05 -04:00
Masatoshi Kimura
87b17f9962 Bug 463104: elementFromPoint should accept floating point coordinates. r=bz 2010-04-03 07:34:24 -04:00
L. David Baron
c6cfc1d0a4 Fix existing tests to deal with getComputedStyle lying about :link vs. :visited. (Bug 147777) r=sdwilsh 2010-04-02 18:58:25 -07:00
L. David Baron
0703626682 Add nsIDOMWindowUtils::getVisitedDependentComputedStyle for use in tests. (Bug 147777) r=bzbarsky 2010-04-02 18:58:25 -07:00
Daniel Holbert
0ec0eb7772 Bug 556860: Fix unsigned/signed warnings in nsGeolocation.cpp. r=dougt 2010-04-02 14:49:38 -07:00
Robert Sayre
404189ee98 Merge mozilla-central to tracemonkey. 2010-04-02 10:10:27 -04:00
Robert Sayre
c8c02b70fc Merge mozilla-central to tracemonkey. 2010-03-31 12:47:53 -07:00
Robert Sayre
baeb2d1edf Merge mozilla-central to tracemonkey. 2010-03-30 21:13:01 -07:00
Josh Aas
b60aa33480 Remove unimplemented status from NPN_ForceRedraw for IPC. We are ignoring calls on purpose and do not plan to implement it in any way at this point. b=555511 r=cjones 2010-03-30 23:53:53 -04:00
Jeff Walden
6279380ef0 Readd changes to nsJSEnvironment.{cpp,h}, and adjust js::LazilyConstructed so as to force pointer alignment on the theory that's what was wrong.
--HG--
extra : rebase_source : 2215152cf0f03dbb69e49e9adb49979a72294620
2010-03-29 22:51:52 -07:00
Jeff Walden
fbc0da3a62 Backed out changeset 79fd90e2dd87, n810s all orange -- yay! Something fruitful to investigate! 2010-03-29 19:46:37 -07:00
Jeff Walden
fa7bcd268b Readd jsregexp.{cpp,h} (and to users of the regex-statics save/restore methods) and nsJSEnvironment.{cpp,h} changes for bug 548702. 2010-03-29 12:24:03 -07:00
Jeff Walden
0973dfd6ab Merge. 2010-03-26 21:53:40 -07:00
Jeff Walden
95422c65a3 Backed out changeset e7065853ef79; I'll be repushing this incrementally, attempting to find the precise place where things go bad, in the near future. Happy days are here again! :-\ 2010-03-26 18:01:54 -07:00
Craig Topper
c61d158305 Bug 253889: DeCOMtaminate nsIPresShell - Remove more NS_IMETHOD. r=roc
--HG--
extra : rebase_source : ab0c230d7be484858e03b242c76b5cc9bcfa87ae
2010-03-31 08:45:32 -04:00
Craig Topper
7b89b159bb Bug 253889: DeCOMtaminate nsIPresShell - GetCaret(). r=roc
--HG--
extra : rebase_source : 2a05050d8cbb10dd3bb763d5d5a158cc5f3dd814
2010-03-31 08:39:31 -04:00
Olli Pettay
e425b81efd Bug 536092 - Micro optimizations for event handling, r=jst
--HG--
extra : rebase_source : d34faef862a532109f05750ccb7220bd1ddf6e19
2010-03-31 15:44:18 +03:00
Ms2ger@gmail.com
d24f7fda02 Bug 534425 - Rev uuid. r=roc
--HG--
extra : rebase_source : 8f189550903221ce00d0a6ea5c51e3eeb1a6f8c0
2010-03-31 13:06:57 +02:00
Andreas Gal
32268bb413 Report proper typeof for XPCNativeWrapper(obj) and XPCNativeWrapper(fun) (553407, r=mrbkap). 2010-03-18 18:00:58 -07:00
Benoit Girard
8e7c8c5f5b Optimize Core Graphics drawing model OOPP implementation. b=555835 r=josh 2010-04-01 17:53:56 -04:00
Doug Turner
339d76e2c9 Bug 554692 - Maemo location provider. r=oleg
--HG--
extra : rebase_source : ea58c30392f9450eba80070d5a4be75028df7fd0
2010-04-02 00:56:22 -07:00
Doug Turner
db137ceede When backing out bug 554692, these files should have also been removed 2010-04-01 22:10:39 -07:00
Igor Bukanov
6231f35ccd bug 551680 - replacing JS_(Suspend|Resume)Request with JSAutoSuspendRequest. r=mrbkap 2010-03-17 10:29:37 +03:00
Robert Sayre
e0c72a18bd Merge mozilla-central to tracemonkey. 2010-03-14 13:04:44 -04:00
Robert Sayre
53807b9013 Fix up a little merge fail so that infallible malloc macros don't get run on js/src files. 2010-03-13 14:35:27 -05:00
Robert Sayre
84b14d6f30 Merge mozilla-central to tracemonkey. 2010-03-13 11:51:12 -05:00
Jeff Walden
106fbd8085 Bug 548702 - Temporary value-rooting scheme should be C++- and RAII-based, not macro-based. r=igor
--HG--
extra : rebase_source : c7bb34662dbd70df49d40880227139537c60356e
2010-01-11 11:52:21 -06:00
Mike Moening
0373a2437d bug 549010 - fixing and silencing MSVC warnings. r=brendan,igor 2010-03-04 20:44:09 -08:00
Andreas Gal
cef73f06e6 Don't include JS-engine internal header files in header files outside the JS engine (bug 549440, r=jst). 2010-03-04 16:17:05 -08:00
Chris Jones
ab754697b8 Bug 555309, part 3: Grab the plugin thread's ID on startup and blame it in hang dumps. r=bsmedberg 2010-03-30 19:24:47 -05:00
Chris Jones
3b21dfdc4c Bug 555309, part 1: Add a CrashReporter::CurrentThreadId interface. r=bsmedberg 2010-03-30 19:24:45 -05:00
Kyle Huey
53dc79a0f8 Backing out Bug 253889 to fix Bug 555727. 2010-03-30 19:57:12 -04:00
Kyle Huey
afc6c6ca2d Backed out changeset 4b8936ac4a31 2010-03-30 19:56:44 -04:00
Oleg Romashin
b371b618cb Bug 554911 - mozilla-runtime process hang and not closed properly after closing fennec UI. r=dougt
--HG--
extra : rebase_source : 5490b2acfe1980e372b7918cf36e8e771b2a0747
2010-03-30 07:34:37 -04:00
Josh Aas
9aa84a5f00 [OOPP] Serialize remaining Cocoa NPAPI events, including keyboard events. b=555300 r=cjones 2010-03-29 15:27:49 -04:00
Craig Topper
6c9540a26d Bug 253889: More deCOMtamination of nsIPresShell. r=roc 2010-03-28 19:21:11 -04:00
Benjamin Smedberg
2e0b8d0752 Bug 542700 - Async calls aren't cancelled when the instance is destroyed, and the list of pending calls isn't protected against simultaneous access, r=cjones
--HG--
extra : rebase_source : b0949fd4921d1dbb558e84e191387964af5767fc
2010-03-25 14:25:38 -04:00
Josh Aas
fc1d594cb2 Initialize NPP structure's pdata pointer to NULL. Plugins can mistake an uninitialized non-NULL value for their own instance pointer and try to dereference it. b=555312 r=BenWa 2010-03-29 10:16:27 -04:00
Robert Sayre
cac8f1e4ad Merge 2010-03-26 15:56:20 -07:00
Robert Sayre
5cf27a725e Merge tracemonkey to mozilla-central. 2010-03-26 15:53:14 -07:00
Andreas Gal
9d5b1c0316 Disallow embeddings reaching into our guts (part 1: jsnum.h, bug 548205, r=brendan). 2010-03-01 13:30:23 -08:00
Ben Turner
95882b79e1 Bug 547359 - '[OOPP] Silverlight plugin takes 6X longer to load with IPC plugins than without - make NPIdentifier handler smarter/faster'. r=bsmedberg. 2010-03-23 07:30:51 -07:00
Peter Van der Beken
fd4084623b Fix for bug 519614 (Having to QI javascript scriptable helpers to nsIXPCScriptable is silly). r=mrbkap.
--HG--
extra : rebase_source : 10d46903d75cecff0f47f3bd483f849ea740e446
2009-09-28 23:00:35 +02:00
felipc@gmail.com
33b5d6a951 Bug 547996 - Be able to tell when a click was generated by a tap on the screen, r=smaug,jimm, sr=jst 2010-04-06 15:59:24 +03:00
Robert Sayre
5927f9eed6 Merge tracemonkey to mozilla-central. 2010-04-05 13:17:29 -04:00
Jim Mathies
dff53c0295 Bug 552062 - [OOPP] Black Background on certain Flash Objects. r=bent. 2010-04-05 11:43:55 -05:00
Jim Mathies
b170e75577 Bug 535295 - [OOPP] Tearing/Repainting issues with flash videos, their controls and other page content during/after scrolling. r=roc. 2010-04-05 11:43:13 -05:00
Saint Wesonga
7e2833c5f2 Bug 548481 - about:plugins page title should be "Enabled Plugins", not "Installed Plugins". ui-r=faaborg, r=josh 2010-03-09 08:49:22 +01:00
Kyle Huey
1d0289c601 Backed out changeset 8ce70abd7777 2010-03-09 01:14:21 -05:00
Joel Maher
cee9b522a0 Bug 544097 Change mochitests to use mochi.test instead of localhost for mobile refactoring p=jmaher r=ted,dwitte,sayrer 2010-03-08 19:21:33 -08:00
Serge Gautherie
a1c3b463fa Bug 521673 - Remove remnant OJI references; (Dv1) /dom/dom-config.mk: remove obsolete REQUIRES.
r=jst.
2010-03-09 01:02:26 +01:00
Chris Jones
ff3e952b48 Fix windows build 2010-02-11 15:22:44 -06:00
Chris Jones
ddb81e99d6 Bug 544345: Kill plugins if they exceed the hang timeout. r=bsmedberg 2010-02-11 14:32:18 -06:00
Chris Jones
7ec2f83c06 Log "schlepping drawable" messages as PLUGIN_LOG_DEBUG. no r=, trivial 2010-02-10 17:17:33 -06:00
Benjamin Smedberg
3ad7eb7f3a Merge mozilla-central into electrolysis. 2010-02-09 21:22:09 -05:00
Ted Mielczarek
d40733d453 Bug 541076 - add minidump id and plugin name to PluginCrashed event. p=ted+dolske, r=jst, r=ted 2010-02-09 17:05:31 -08:00
Jim Mathies
222acbd54a Bug 538918 - [OOPP] Modal system dialogs cause UI freeze w/windowless controls. r=bent, cjones. 2010-02-09 16:34:38 -06:00
Benjamin Smedberg
33745658c4 Merge mozilla-central into electrolysis 2010-02-09 11:39:28 -05:00
Ryan Flint
da462d7bb6 Bug 539907 - Have getPref use asynchronous statements when called with an optional callback. r=myk, sr=robstrong 2010-02-09 05:28:39 -05:00
Blake Kaplan
bf56726f19 Bug 544544 - Make sure DataContainerEvent's classinfo interfaces are complete. r=smaug 2010-02-08 13:25:07 -08:00
Jim Mathies
b32f193a8c Bug 542897 - [OOPP] Random sized black boxes appear/disappear in silverlight content areas. r=bsmedberg. 2010-02-08 13:35:37 -06:00
Makoto Kato
256f2577f8 Bug 182954 - Content should use the newer nsIPrefService APIs instead of nsIPref. r=jst 2010-02-08 11:49:18 +09:00
Oleg Romashin
2f8503b1f3 Bug 544192 - Qt Xembed version required for IPC browser content embedding. r=bzbarsky,mozbugz 2010-02-04 18:00:52 +02:00
Benjamin Smedberg
c4141662bb Bug 516515 - Don't initialize XPCOM in plugin processes, r=cjones
--HG--
rename : ipc/glue/GeckoThread.cpp => ipc/glue/MozillaChildThread.cpp
rename : ipc/glue/GeckoThread.h => ipc/glue/MozillaChildThread.h
2010-01-31 22:19:21 -05:00
Benjamin Smedberg
f64a66954c Merge mozilla-central into electrolysis. 2010-02-03 13:28:22 -05:00
Benjamin Smedberg
9eb44973ee Work around bug 543776 by submitting empty PluginName/PluginVersion in crash reports.
--HG--
extra : rebase_source : d3ea07dc9edbb1295aeb815b47316a9ad1423026
2010-02-03 09:36:45 -05:00
Saint Wesonga
bc62bb2de6 Bug 180568 - Remove "Enabled" column from about:plugins. ui-r=faaborg r=jst,josh 2010-02-03 13:44:13 +01:00
Daniel Holbert
aaaa0e4b10 Backed out changeset c502a1a0900a (patch for bug 542263), since its test 'test_GCrace.html' failed on OSX in its first cycle. 2010-02-02 18:58:35 -08:00
Benjamin Smedberg
1f00a8ee4a Bug 542263 - Deallocating a scriptable object shouldn't cause us to mark the actor as invalidated. If the object is resurrected by a racing call from the other side, simply create a new NPObject on this side to represent the actor (Crash at NPObjWrapper_NewResolve with Silverlight), r=bent 2010-02-02 17:18:39 -08:00
Daniel Holbert
336040d3c5 Bug 501423 followup: Reorder init lists to fix "will be initialized after" build warnings. r=jst 2010-02-02 12:05:24 -08:00
Ben Newman
368b49823d Bug 542341 - Add RequestRunToCompletion method to ContentProcessParent. r=cjones 2010-02-01 17:53:52 -08:00
Benjamin Smedberg
6e31be0f2d Merge mozilla-central into electrolysis. 2010-02-01 15:30:27 -05:00
Josh Aas
4a93f5fe9f Clean up a bunch of things in nsNPAPIPlugin. b=543339 2010-01-31 16:41:26 -05:00
Robert Sayre
62ad0ec794 Merge tracemonkey to mozilla-central. 2010-01-31 10:12:39 -05:00
Masayuki Nakano
87066daf06 Bug 534420: Fix intermittent failure in browser_focus_steal_from_chrome.js r=enndeakin 2010-01-30 08:05:42 -05:00
Daniel Holbert
2d27756ba3 merge after backing out c7a04be6904 on suspicion of causing bug 543034 2010-01-29 18:56:08 -08:00
Daniel Holbert
46ba50b0cb Backed out changeset dc7a04be6904 on suspicion of causing bug 543034. 2010-01-29 18:50:46 -08:00
Daniel Holbert
32a1fb0c00 Bug 542959: Add 'const' to NP_GetMIMEDescription's parameter, to fix "deprecated conversion from string constant to ‘char*’" warning. r=cjones 2010-01-29 12:18:50 -08:00
Chris Jones
bab3961fbc Prevent |ChildAsyncCallback|s from touching freed |PluginInstanceChild|s if NPP_Destroy() re-enters or races with the callback. r=bsmedberg 2010-01-29 13:24:11 -06:00
Robert Sayre
c7ce498f03 Merge mozilla-central to tracemonkey. 2010-01-29 09:51:21 -08:00
Chris Jones
07003cf347 Final merge of debug-spew backout 2010-01-26 20:09:07 -06:00
Chris Jones
6a65c0d728 Backout 8d0ad9632fd2 2010-01-26 20:09:04 -06:00
Chris Jones
a8ac13cd85 Intermediate merge of debug-spew backout 2010-01-26 20:08:59 -06:00
Chris Jones
b42dd35ca1 Backout f861b6e0a364 2010-01-26 20:08:56 -06:00
Chris Jones
fe90ea5e99 Intermediate merge of debug-spew backout 2010-01-26 20:08:44 -06:00
Chris Jones
e12332b1d9 Backout 76bf173816e8 2010-01-26 20:08:41 -06:00
Ben Turner
a5684857a3 Bug 542337 - '[OOPP] hang in test_plugin_clipping2.xhtml'. r=jimm. 2010-01-26 16:08:39 -08:00
Jim Mathies
ed02ce9b5d Bug 541362 - [OOPP] hang closing tab with Yahoo web messenger loaded. r=bent. 2010-01-26 15:40:43 -06:00
Jim Mathies
ed4ba1d2fa Bug 540052 - [OOPP] Test failure in test_plugin_focus.html. r=bent. 2010-01-26 15:40:15 -06:00
Benjamin Smedberg
cdf47037d7 Bug 540604 - silverlight doesn't work with OOPP because it doesn't set the stype outparam for NPP_NewStream, and relies on us initializing the value with NP_NORMAL, r=cjones 2010-01-26 12:05:54 -05:00
Chris Jones
e03c1f3854 More temporary debug spew to sort linux mochitest hang. 2010-01-25 14:10:12 -06:00
Benjamin Smedberg
0ba2d6e348 Merge mozilla-central with electrolysis. 2010-01-25 11:57:19 -05:00
Luke Wagner
89799b298a Bug 541456 - change ConvertSupportsTojsvals not to use js_AllocStack (r=jst) 2010-01-25 08:48:07 -08:00
Chris Jones
db57f114be Temporary spew part 2: convert fprintf(stderr into printf( so that child output shows up in the log. 2010-01-22 15:31:56 -06:00
Luke Wagner
2645ecd2da Bug 541452 - put jstracer.cpp in namespace js (r=jorendorff) 2010-01-22 14:49:18 -08:00
Chris Jones
7b53db6a22 Temporary debug spew for diagnosing Linux mochitest hang. 2010-01-22 12:53:18 -06:00
Benjamin Smedberg
25d837343c Bug 540868 part 3: when deallocating NPObjects in leakcount builds, let the leak monitor know that we cleaned them up correctly, r=bent
--HG--
extra : transplant_source : H%AC%29%DF8y%E8f%F1%2B%3B%5C%A3Z%10%D1R%7E%CC%10
2010-01-22 10:06:30 -05:00
Benjamin Smedberg
8adba8c2a2 Bug 540868 part 2: keep all NPObjects (not just those with actors) in mObjectMap, and invalidate/deallocate them when we destroy the associated instance, r=bent
--HG--
extra : transplant_source : %96H%CA%BF%2BX%18s%C8%1B%2Bh%8F%92%05%F0%9F/N%01
2010-01-22 10:06:13 -05:00
Benjamin Smedberg
6f7867ca0f Bug 540858 part I: separate the refcount logging of NPObject (which works for both plugin and proxy NPObject) from ctor/dtor logging of ChildNPObject (proxy only), r=bent
--HG--
extra : transplant_source : %16%16%92s%8C%B1%AC%8AT%23%DF%DD%A0%B7RH%84C%A7%3A
2010-01-22 10:05:29 -05:00
Benjamin Smedberg
32dd918b29 Bug 540868 part 3: when deallocating NPObjects in leakcount builds, let the leak monitor know that we cleaned them up correctly, r=bent 2010-01-22 10:06:30 -05:00
Benjamin Smedberg
5ff7ecd852 Bug 540868 part 2: keep all NPObjects (not just those with actors) in mObjectMap, and invalidate/deallocate them when we destroy the associated instance, r=bent 2010-01-22 10:06:13 -05:00
Benjamin Smedberg
1fc18fe407 Bug 540858 part I: separate the refcount logging of NPObject (which works for both plugin and proxy NPObject) from ctor/dtor logging of ChildNPObject (proxy only), r=bent 2010-01-22 10:05:29 -05:00
Chris Jones
1587357bc7 Bug 535612: Set GDK_NATIVE_WINDOWS in plugin processes to work around plugins that don't interact well with client-side GDK windows. r=karlt r=roc 2010-02-02 00:28:28 -06:00
Benjamin Smedberg
68f46ef6d9 Stupid logic error from bug 539755 2010-01-21 14:35:00 -05:00
Benjamin Smedberg
e6dec65946 Merge mozilla-central to electrolysis. 2010-01-21 13:37:08 -05:00
Jason Orendorff
0f530fd289 Bug 538440 - We never jit DOM workers. r=mrbkap. 2010-01-20 14:54:34 -06:00
Oleg Romashin
959dec8b52 Bug 534644 - e10s: implement Qt ipc/chromium backend, part 2. r=benjamin. 2010-01-29 08:50:44 +02:00
Ted Mielczarek
6250f89d2e bug 539552 - make PluginModuleParent write out more data to .extra file. r=bsmedberg 2010-01-13 20:20:00 -05:00
Benjamin Smedberg
3b88ca3739 Bug 540775 - Implement NPP_SetValue(NPNVprivateModeBool), r=cjones 2010-01-19 22:23:35 -05:00
Benjamin Smedberg
ba9089ed7d Bug 540776 - Initialize NPRuntime scriptable result variants the same way the Mozilla plugin host does, r=cjones 2010-01-19 22:23:32 -05:00
Benjamin Smedberg
01a9072055 Bug 518924 - NPN_ScheduleTimer, and clean up asynccalls when the plugin instance is destroyed, r=cjones 2010-01-19 22:13:24 -05:00
Benjamin Smedberg
24a79f8598 Merge mozilla-central into electrolysis. 2010-01-19 17:37:26 -05:00
Karl Tomlinson
84cf829591 Bug 539897: Add missing socket_window reference due to GtkPlug bug. r=cjones 2010-01-19 15:45:56 -06:00
Karl Tomlinson
c047f15a1d Bug 538914: Undo incorrect unref of GtkPlug by plugin. r=roc r=cjones 2010-01-19 15:45:54 -06:00
Benjamin Smedberg
617c58608b Merge mozilla-central to electrolysis. 2010-01-19 14:51:19 -05:00
Benjamin Smedberg
abd04b1311 Merge mozilla-central into electrolysis. 2010-01-18 10:26:52 -05:00
Peter Van der Beken
2a74b42ee1 Fix for bug 539219 (Remove unused DOMCI). r=jst. 2010-01-16 15:25:58 +01:00
Benjamin Smedberg
9f8d31817d 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
99e612c87d Bug 521377 - 'NPRuntime: Segfault when NPP_GetValue_NPPVpluginScriptableNPObject returns a null actor'. r=bsmedberg+valgrind. 2010-01-15 12:35:57 -08:00
Benjamin Smedberg
8cf3963e32 Bug 539755 - Implement NPN_GetValueForURL, NPN_SetValueForURL, and NPN_GetAuthenticationInfo, r=bent 2010-01-15 11:26:46 -05:00
Benjamin Smedberg
5341e28bd6 Bug 539280 - Add support for NPNVnetscapeWindow query on Linux, r?karlt
--HG--
extra : rebase_source : 0537c32cb6491150fe85d76f1f5e90311bddc032
2010-01-14 10:18:34 -05:00
Benjamin Smedberg
3f9c685874 Merge mozilla-central into electrolysis 2010-01-14 09:01:59 -05:00
Benjamin Smedberg
89fff872c6 Merge mozilla-central into electrolysis 2010-01-13 10:51:41 -05:00
Peter Van der Beken
9612080734 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
22fc8d3fe6 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
f83021152f 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
d609cb9818 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
7d8645e4ca 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
Chris Jones
709ae3ce2b Bug 538537: Guard BrowserStreams from being deleted from within their constructor. r=bsmedberg 2010-01-12 17:06:18 -06:00
Benjamin Smedberg
736201c0c2 Merge mozilla-central into electrolysis. 2010-01-11 10:08:36 -05:00
Tom Dyas
8209cf7fbc 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
Jae-Seong Lee-Russo
513e9cf886 Bug 517553: Remove '=='/'!=' 'PR_FALSE'/'PR_TRUE' 2010-02-07 10:52:43 -05:00
Robert Longson
79ae710023 Bug 374216 - Setting element.style.someSvgProperty has no effect. r=dbaron,sr=roc 2010-02-06 13:46:54 +00:00
Ms2ger@gmail.com
8ac5baea31 Bug 41464 - Implement textarea.wrap. r=bz 2010-02-06 09:51:10 +01:00
Jim Mathies
938c329d54 Bug 536369 - OOPP: Add NPNVnetscapeWindow support for windows. r=bsmedberg. 2010-01-13 19:47:38 -06:00
Jim Mathies
3960d009a6 Bug 536369 - OOPP: Fix for mouse event serialization errors. r=bsmedberg. 2010-01-13 19:46:44 -06:00
Saint Wesonga
9c08b77659 Bug 496198 - about:plugins lies when all plugins are disabled, r=joshmoz, ui-r=faaborg 2010-01-17 15:23:00 -08:00
Vladimir Vukicevic
a3b000cac9 ugh, backout this until I figure out what's wrong with linux 2010-01-22 18:28:19 -08:00
Vladimir Vukicevic
ad09806b1d [webgl] (no bug, just removing unused/stale files) 2010-01-22 16:50:24 -08:00
Vladimir Vukicevic
21e2f78a75 b=539756; [webgl] remove old typed getters; r=jmuizelaar 2010-01-22 16:50:22 -08:00
Vladimir Vukicevic
553a8c9c5a b=533663; use js typed arrays in webgl; r=jmuizelaar,mrbkap,brendan 2010-01-22 13:34:25 -08:00
Benjamin Smedberg
d38ed37590 Bug 531859 - Remove stdout spew from dom/plugins by using NSPR logging, r=cjones 2009-12-18 17:22:51 -05:00
Benjamin Smedberg
570f731f49 Merge mozilla-central to electrolysis. 2010-01-07 22:11:14 -05:00
Benjamin Smedberg
ba2a2920c7 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 2010-01-05 12:12:30 -05:00
Benjamin Smedberg
75601d4658 Merge mozilla-central to Electrolysis. 2010-01-05 13:18:08 -05:00
Chris Jones
fc78df75e6 Fix windows bustage caused by 04d6f128da25 2010-01-04 16:41:34 -06:00
Chris Jones
a20ac7326a Bug 535687: Fix regression in forwarding NPN_InvalidateRect() for OOPP on linux. r=bent 2010-01-04 15:46:34 -06:00
Boris Zbarsky
af71184cfe Bug 516747 part 3. Make TabChild and TabParent cooperate on window opening at least to the extent of doing all window opens in new tabs. r=bsmedberg 2009-12-31 20:35:55 -05:00
Boris Zbarsky
71944973e4 Bug 516747 part 2. Change nsIBrowserDOMWindow to allow some sort of setup where it works with frameloaders. r=bsmedberg 2009-12-31 20:34:38 -05:00
Boris Zbarsky
91fef6fc3b Bug 516747 part 1; make TabChild hand things out via nsIInterfaceRequestor. r=bsmedberg 2009-12-31 20:34:06 -05:00
Benjamin Smedberg
e418880c95 Merge mozilla-central to electrolysis. 2009-12-22 14:18:51 -05:00
Metal Sonic
4c1b34d634 Bug 507387 - fix copyright holder; Mozilla Corporation -> Mozilla Foundation. r=gerv. 2009-12-21 21:50:30 +00:00
Benjamin Smedberg
c85b1e45a9 Merge mozilla-central to electrolysis 2009-12-21 10:22:07 -05:00
Benjamin Smedberg
84db3ddf86 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
dc4191cad2 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
68f4784a75 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
Benjamin Smedberg
e5c0bed1ab Merge mozilla-central to electrolysis. 2009-12-17 13:09:48 -05:00
Benjamin Smedberg
4164f7bfc5 Bug 518924 - Implement NPN_AsyncCallback r=cjones 2009-12-16 17:27:18 -05:00
Benjamin Smedberg
e9b0ccabad 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
Chris Jones
cb0d649a87 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
Benjamin Smedberg
daab3b8125 Merge mozilla-central into electrolysis. 2009-12-15 20:31:04 -05:00
Chris Jones
b91d7c23b6 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
514a6c5e9d 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
2010a569bb Merge mozilla-central into electrolysis. 2009-12-14 21:27:17 -05:00
Jim Mathies
1ea63e49c6 Bug 534027 - input event coords incorrect for oop windowless plugins. r=jmuizelaar. 2009-12-14 18:28:51 -06:00
Jim Mathies
23118539a9 Bug 531860 - plugin-alpha-zindex ref test fails with oopp enabled. r=jmuizelaar. 2009-12-14 18:27:25 -06:00
Masayuki Nakano
a7fc50d23b bug 534420 debug code for the test 2009-12-16 01:49:17 +09:00
Benjamin Smedberg
b7d1d5c7ba 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
a819191110 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
999be86ac2 Merge mozilla-central into electrolysis. 2009-12-14 08:01:18 -05:00
Benjamin Smedberg
422b4b28d2 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
6e20a64631 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
cb4ed98fcc Bug 125282 Webpage-JS can steal focus from URLbar / chrome r=enndeakin 2009-12-12 14:17:40 +09:00
Chris Jones
6e91459a40 bug 532983: fix invalid memory reads caused by regressions in shutdown behavior. r=bsmedberg 2009-12-07 00:03:49 -06:00
Benjamin Smedberg
1c4aa9f2e3 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
5035b52067 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
b55b15dccf 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
767eb11cb4 Merge mozilla-central into electrolysis 2009-12-04 11:28:50 -05:00
Benjamin Smedberg
c29bfd6d3d Bustage fix 2009-12-03 15:44:33 -05:00
Benjamin Smedberg
6e3d83cf38 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
c1afb3a76f 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
7fa499445d 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
f29a8b92d2 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
998844d951 Fix bad invalidation bug in child NPObjects 2009-12-03 11:53:09 -08:00
Chris Jones
4572a1920a 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
4a0c6ae1dc 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
f2a7be3825 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
411500f1ca Build fix 2009-12-01 17:33:51 -06:00
Benjamin Smedberg
2324becd51 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
471d1a3e1b 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
51181a42aa Bug 539280 - Add support for NPNVnetscapeWindow query on Linux, r=karlt 2010-01-14 10:18:34 -05:00
Peter Van der Beken
076d23ead6 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
758ab615e5 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
37ff4409a5 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
86317086bb Bug 535043 - Support maxlength on textarea. r=smaug, sr=jst 2010-01-18 16:53:59 +01:00
Ben Turner
b17063546e Bug 526401 - Fixup handling of null NPP. r=bsmedberg. 2009-12-01 13:27:13 -08:00
Jim Mathies
0ffd1b2e75 Bug 522299 - Electrolysis: Get windowless plugins drawing on win32. r=jmuizelaar. 2009-12-01 15:05:26 -06:00
Mark Steele
6714e94c89 b=529717, change webgl object prefix to WebGL instead of Canvas; r=vlad 2009-12-02 13:38:39 -08:00
Mark Steele
4aacb4b100 b=526957; add array indexers to webgl arrays; r=vlad 2009-12-02 13:38:38 -08:00
jacek@codeweavers.com
e3e929e6b1 Bug 516213 - Fix webgl compilation on mingw. r=vlad 2009-12-02 13:38:38 -08:00
Benjamin Smedberg
c9f41df4e3 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
9aef27b1b1 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
300d0dafa7 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
9911c2f99d Merge mozilla-central into Electrolysis 2009-11-30 12:59:43 -05:00
Peter Van der Beken
41824cb4bf 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
5a63b1ad1c 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
39a59a95a1 Try to fix timeouts. 2009-11-28 21:45:37 +01:00
Olli Pettay
19c06de19d bug 531176, r=sicking, sr=jst 2009-12-18 21:27:57 +02:00
Justin Lebar
a090ac8577 Bug 515190 - Hashchange event should be dispatched synchronously. r=smaug 2009-11-26 21:01:43 -08:00
Peter Van der Beken
2186f69c09 Fix build bustage. 2009-11-28 15:25:40 +01:00
Peter Van der Beken
1f7d9b23d4 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
9da78ac6f9 Bug 531008 - nsIDOMGeoPositionAddress must use DOMString instead of string. r=jst 2009-11-25 13:17:58 -08:00
Benjamin Smedberg
96bcd263ae 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
aa44111ad9 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
3815e2f045 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