Commit Graph

1665 Commits

Author SHA1 Message Date
Josh Aas
d40619068c Back out patch for bug 554170 due to IPC bustage. 2010-03-25 17:11:14 -04:00
Josh Aas
feb256f474 Fix NPAPI NPN_PushPopupsEnabledState and NPN_PopPopupsEnabledState signature mismatches, statically initialize browser-side NPAPI function table with no casting. b=554170 r=bent 2010-03-25 16:33:40 -04:00
Josh Aas
ec35e887a5 Fix a compiler warning in nsNPAPIPluginInstance.cpp. No bug. 2010-03-25 14:57:30 -04:00
Chris Jones
7329573dd7 Bug 544936, part 6: Submit a browser minidump along with the plugin's, if we got one. r=dolske,gavin,josh 2010-03-24 16:22:04 -05:00
Nickolay Ponomarev
ac179ae81b bug 546629 - fix a wrong comment in the npruntime sample plugin code, r=joshmoz 2010-02-22 16:18:17 +03:00
Mike Hommey
a71ad7f6dc Bug 535990: Null check at PL_DHashTableOperate to avoid crashing r=bsmedberg 2010-02-20 08:55:34 -05:00
Martin Stransky
b3a1889d8e Bug 528900: Null check at _[pop|push]popupsenabledstate to avoid crashing r=jst 2010-02-20 08:53:10 -05:00
Brad Lassey
23156d33b8 Winmo bustage fix from bug 545080 r=dougt 2010-02-20 00:53:38 -05:00
Benjamin Smedberg
171347def1 Followup to bug 545080, convert additional functions to the explicit "W" variants so that even when we're not building with -DUNICODE we always use unicode paths, r=Thunderbird bustage 2010-02-19 15:31:28 -05:00
Benjamin Smedberg
a408137a65 Bug 545080 and bug 537344 - When UNICODE is defined in modules/plugin/base/src, we follow codepaths that aren't right, and the fields of nsPluginInfo are double-converted to UTF8, which is bad, r=josh 2010-02-13 16:59:39 -05:00
Chris Cooper
797fff5d7f Bug535369 - Compile bsdiff for host OS rather than target - r=ted.mielczarek 2010-02-19 11:58:45 -05:00
Karl Tomlinson
0cd7c3af25 b=540114 process reparent requests before removing the X error handler r=cjones 2010-02-18 11:05:24 +13:00
Karl Tomlinson
048a190877 b=540114 reparent foreign children of the socket window before it gets destroyed r=cjones 2010-02-16 10:40:46 +13:00
Chris Jones
cf45e467cb Merge backout 2010-03-11 05:07:25 -06:00
Chris Jones
97cf462418 Backing out bug 550026 due to orange 2010-03-11 05:07:20 -06:00
Chris Jones
e828b32c3e Merge backout 2010-03-11 05:07:01 -06:00
Chris Jones
cb8c6e8792 Backing out bug 550026 due to orange 2010-03-11 05:06:42 -06:00
Dão Gottwald
caa365d9d4 merge 2010-03-11 09:23:13 +01:00
Dão Gottwald
fb3abf035d Backed out changeset 28b6961febf1 2010-03-11 09:22:58 +01:00
Glenn Randers-Pehrson
282de06977 Bug 536256 - request libpng to flush after writing IEND. r=joe 2010-03-11 07:48:38 +01:00
Masayuki Nakano
788bb1a791 Bug 315727 Request Firefox respond to Windows scroll messages so pages can be scroll captured r=jmathies+smaug, sr=roc 2010-03-11 14:25:29 +09:00
Doug Turner
e342d43d13 Bug 550545 - The NPAPI ImageExpose event should be disabled when building for Qt. r=vlad
--HG--
extra : rebase_source : b66a81ba5a019e7da387eb81d4fd2454be196fe7
2010-03-10 15:01:46 -08:00
Karl Tomlinson
4ced0c81c9 modify pluginCrashInNestedLoop to work when other events also become pending b=550026 2010-03-08 15:13:05 +13:00
Chris Jones ext:(%20and%20Karl%20Tomlinson%20%3Ckarlt%2B%40karlt.net%3E)
db07ec03f8 test for bug 550026 r=karlt+cjones 2010-03-08 09:17:57 +13:00
Saint Wesonga
22dd000e85 Bug 550894 - unreachable code in nsPluginHost::PostURL. r=josh 2010-03-11 07:49:29 +01:00
Joe Drew
e4b3d4e2f4 Bug 546272 - Some animated images have cropped frames. Fix several issues that didn't make sense in a world where frames aren't always at (0, 0), and make the GIF decoder report its real sizes. r=roc,vlad 2010-03-10 17:09:06 -05:00
Joe Drew
7e3291a306 Bug 546272 - Tests for images with smaller-than-full-canvas frame sizes. 2010-03-10 17:01:35 -05:00
Josh Aas
bcb41f783d More Carbon usage cleanup. b=550787 r=bsmedberg 2010-03-10 14:30:11 -05:00
Benjamin Smedberg
0ac333446e Bug 550944 - If a stream is alive at instance destruction, make sure we fire NPP_DestroyStream and NPP_URLNotify correctly. Also make the new-stream functions (NPN_GetURL etc) fail while we are destroying a plugin instance, r=josh
--HG--
extra : rebase_source : e94bc08bcc04c2ead28ac14bce7e3320a49c9d5a
2010-03-08 16:54:04 -05:00
Benjamin Smedberg
b0c6119cf2 Test for bug 550944 - When a stream is alive when a plugin instance is destroyed, NPP_DestroyStream and NPP_URLNotify are never called
--HG--
extra : rebase_source : cd5a5bca0964294fd74ab70123e805c4e0f9deac
2010-03-08 12:16:35 -05:00
Ehren Metcalfe
39d4440c7f Bug 536646 - nsJPEGEncoder::errorExit incorrectly reports JERR_OUT_OF_MEMORY as NS_ERROR_FAILURE instead of NS_ERROR_OUT_OF_MEMORY. r=joe
--HG--
extra : rebase_source : f1097aa56ca3c53270ba236df804ea677aaf0df8
2010-03-10 13:50:35 +01:00
Phil Ringnalda
20d3a2d318 Bug 539863 - Stop setting Mac value for SeaMonkey-only browser.urlbar.clickAtEndSelects pref in all.js, r=bsmedberg
--HG--
extra : rebase_source : e80a9f24afb7cd0c1405f451d0fb95325ac16151
2010-01-15 19:55:27 -08: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
Vladimir Vukicevic
79ee72ed5e b=538530; add a way to forcibly disable a11y on win32; r=surkov.alexander 2010-03-09 13:02:25 -08:00
Julian Seward
d06bc6c5d0 Bug 548441. Don't write to ndata after we delete the object it's in. r=bzbarsky 2010-03-09 14:38:13 -05:00
Glenn Randers-Pehrson
a16fd7ff34 Bug 544747 - Update libpng to version 1.4.1. r=joe 2010-03-09 13:22:44 -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
Benoit Girard
03c1f7cf9c Add support for the NPAPI Core Animation drawing model. b=497225 r=josh sr=roc 2010-03-23 20:51:11 -04:00
Henri Sivonen
629a0e668d Bug 543458 - Make the HTML5 tree op executor use nsContentSink code for deciding when to return to the event loop. r=bnewman.
--HG--
extra : rebase_source : fa41825753811279070d232c7d467600d7b2d523
2010-02-26 11:18:38 +02:00
Makoto Kato
9058c89126 Bug 553548 - nsEditor::GetWrapWidth() is unused. r=Olli.Pettay 2010-03-23 12:51:58 +09:00
Neil Rashbrook
85d3ff805d Bug 553874 - Add a reftest that compares blank to blank, to get a chance to remove the file created by bug415761.sjs so the tinderboxes don't fail trying to clean it up for the next run
--HG--
rename : modules/libpr0n/test/reftest/icon/win/bug415761.sjs => modules/libpr0n/test/reftest/icon/win/bug415761cleanup.sjs
2010-03-21 21:33:50 -07:00
Phil Ringnalda
e155b8f7ff Bug 553874 - see whether a non-executable bug415761.ico is enough to let us consistently remove it when it's copied to ☺.ico 2010-03-21 19:51:34 -07:00
Gary Kwong
5852797bd7 Bug 544481 - Build fails on Ubuntu Lucid Lynx using 'dash' shell (# /bin/sh: Syntax error: end of file unexpected (expecting "}")). r=joe 2010-03-21 10:41:26 +01:00
Neil Rashbrook
1dc6cbeca8 Bug 415761 Adding Windows-only test r=waldo 2010-03-20 23:57:57 +00:00
Josh Aas
c953e77bdc Fix incorrect type usage for NPP_SetValue NPNVprivateModeBool. b=544158 r=karlt 2010-03-17 13:17:09 -04:00
Justin Dolske
1db3f5a1ce Bug 550293 - plugin-crashed UI needs more user opt-in. r=vlad, ui-r=faaborg 2010-03-16 22:10:08 -07: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
Boris Zbarsky
2e4e658c7d Bug 488850. Remove imgRequestProxies from the loadgroup asynchronously. r=joedrew, sr=vlad 2010-03-08 14:34:52 -05:00
Joe Drew
8226268b84 Bug 547143 - Basic test. 2010-03-08 14:01:07 -05:00
Joe Drew
a3bca64786 Bug 547143. r=jrmuizel sr=roc 2010-03-08 14:01:04 -05:00
Benjamin Smedberg
ced61e4b02 Followup to bug 548217 - Instead of using a bizarre dual-refcounting scheme, explicitly track when nsPluginStreamListenerPeer.mLocalCachedFile is shared and should be deleted, r=josh
--HG--
extra : rebase_source : 97f6bebfdb99f0c0cbd8cd033e62492fcb755d09
2010-03-06 14:38:54 -05:00
Benjamin Smedberg
2a5f3518de 1;2cBug 548217 - Make NP_SEEK streams work properly: they shouldn't crash if NPN_RequestRead is called after all the stream data is delivered, and they should call NPP_DestroyStream when NPN_DestroyStream is called, but not before. To this end, the classes nsPluginStreamInfo and nsPluginStreamListenerPeer have been unified: the nsNPAPIPluginStreamListener holds the stream listener peer alive so that additional range requests can be made on it. In addition the nsNPAPIPluginStreamListener holds *itself* alive for NP_SEEK streams, and only calls releases itself/calls CleanUpStream when the plugin explicitly calls NPN_DestroyStream or when the associated plugin instance is being destroyed. r=josh
--HG--
extra : rebase_source : 372df117d2b0c955605f44ee0e2fa512f0ad972b
2010-02-23 21:58:27 -05:00
Doug Turner
b4f17e4827 Bug 550410. Provide a pref to disable orientation events. r=dveditz
--HG--
extra : rebase_source : 0bc3ffef8341a4a34b166a41e9dcd1a405b1ec89
2010-03-08 07:33:24 -08:00
Florian Queze
ac2563a6f8 Bug 485721 - Roaming preferences redundant in Firefox. r=bsmedberg 2010-03-08 08:41:37 +01:00
Clint Talbert
7ffd9496bc Backed out changeset b4372055f473 -- due to unexplained orange on OS X Leak test (Bd) box 2010-03-07 17:34:23 -08:00
Joel Maher
ef6c5fda3d Bug 544097 - Change mochitests to use mochi.test instead of localhost for mobile test refactoring p=jmaher, r=sayrer,dwitte 2010-03-07 16:08:05 -08:00
Makoto Kato
ab84067b16 Bug 346010 - Decom nsIJAR by merging it into nsIZipReader. r=tglek, sr=bsmedberg 2010-03-07 22:56:45 +09:00
Joe Drew
6bbf88a4b5 Bug 516772 - nsImageFrame ends up using random values for image size if mError set in imgContainer. r=bholley/bz 2010-03-07 10:48:24 +01:00
Uli LInk
095565d1b1 Bug 548213. Fix C++-style comment in C code. r=josh 2010-03-05 13:10:42 +13:00
Mike Kristoffersen
abdb2aa82c Build bustage on Qt due to macro definition of malloc, realloc, etc. Most of this is just moving Qt #includes around. r=dougt
--HG--
extra : rebase_source : 9734e9e68754a6fc45bddbdc60bb5e898bb8cdb2
2010-03-04 13:51:42 -08:00
Brad Lassey
7941559ff8 bug 547521 - enable building for windows mobile with --disable-libxul r=ted 2010-03-04 13:47:35 -05:00
Simon Montagu
c98bc79fd2 Add Tibetan to font selection UI. Bug 441110, r=emk 2010-03-04 10:55:53 +02:00
Chris Jones
2141078f6e Bug 441324, part 3: Configure and build changes for libmozalloc. r=bsmedberg 2010-03-03 23:02:57 -06:00
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
Bas Schouten
0870c143c9 Bug 549272: Initialize the mozilla.widget.render-mode pref in all.js. r=vlad 2010-03-03 09:29:57 +00:00
John Daggett
48eeb721a5 Backed out changeset a258698d412f 2010-03-03 17:18:59 +09:00
Bas Schouten
67f09f5168 Bug 549272: Initialize the mozilla.widget.render-mode pref in all.js. r=vlad 2010-03-03 07:57:41 +01:00
Steven Michaud
64dbfdb0b6 Bug 542068 - Wrong coordinates set on synthesized plugin events. r=josh 2010-03-02 10:59:01 -06:00
Bas Schouten
10b251fa8d Bug 534787: Properly flush and markdirty image surfaces on Locking/Unlocking image data. r=jrmuizel 2010-03-02 02:04:30 +01:00
Benjamin Smedberg
b3d0b9cadd Merge backout of bug 548217 because of topcrash bug 549112 2010-02-27 17:40:03 -05:00
Benjamin Smedberg
0b629a5939 Backed out changeset f829f942873d - bug 548217 because of topcrash bug 549112 2010-02-27 17:36:54 -05:00
Benjamin Smedberg
958042217d Bug 548217 - Make NP_SEEK streams work properly: they shouldn't crash if NPN_RequestRead is called after all the stream data is delivered, and they should call NPP_DestroyStream when NPN_DestroyStream is called, but not before. To this end, the classes nsPluginStreamInfo and nsPluginStreamListenerPeer have been unified: the nsNPAPIPluginStreamListener holds the stream listener peer alive so that additional range requests can be made on it. In addition the nsNPAPIPluginStreamListener holds *itself* alive for NP_SEEK streams, and only calls releases itself/calls CleanUpStream when the plugin explicitly calls NPN_DestroyStream or when the associated plugin instance is being destroyed. r=josh/jst 2010-02-23 21:58:27 -05:00
Jonathan Kew
a77a681fe4 Bug 548177 - remove ATSUI text rendering code. r=jdaggett 2010-02-26 06:20:38 -08:00
Bas Schouten
e3160db84b Bug 527707: Correction from rev 0e1c0b71bf13. Incorrect line came along. 2010-02-25 22:42:27 -08:00
Bas Schouten
dcdb088a10 Bug 527707: Add Direct2D and DirectWrite backend integration to thebes and widget. Preffed off by default r=jrmuizel r=jmathies r=jfkthame 2010-02-25 22:36:07 -08:00
Bas Schouten
09cdfdc786 Bug 545513: Flush surfaces and mark them dirty at the correct points. r=jrmuizel 2010-02-25 10:14:30 -08:00
Benjamin Smedberg
429147b570 Bug 532208: Test for large streams 2010-02-26 13:07:58 -06:00
Benjamin Smedberg
1976dbb0b7 Merge backout of bug 548217 2010-02-25 03:59:05 -08:00
Benjamin Smedberg
7985a1dcb1 Backed out changeset 77dc38d8196e - bug 548217 because even though this patch is correct, it exposes a bug in the OOPP code which got backed out. 2010-02-25 03:57:57 -08:00
Benjamin Smedberg
4a49a68e09 1;2cBug 548217 - Make NP_SEEK streams work properly: they shouldn't crash if NPN_RequestRead is called after all the stream data is delivered, and they should call NPP_DestroyStream when NPN_DestroyStream is called, but not before. To this end, the classes nsPluginStreamInfo and nsPluginStreamListenerPeer have been unified: the nsNPAPIPluginStreamListener holds the stream listener peer alive so that additional range requests can be made on it. In addition the nsNPAPIPluginStreamListener holds *itself* alive for NP_SEEK streams, and only calls releases itself/calls CleanUpStream when the plugin explicitly calls NPN_DestroyStream or when the associated plugin instance is being destroyed. r=josh
--HG--
extra : rebase_source : fba343acbfcaa785c7405552d42f4558424b485c
2010-02-23 21:58:27 -05:00
Ben Turner
fa9f8c3513 Fix #warning, msvc doesn't have that.
--HG--
extra : rebase_source : 06b12ba7cb87045261a1bb042a654cac4d573bd1
2010-02-16 13:04:16 -08:00
Chris Jones
d3f03a7d84 Bug 544945: Mochitest of clipboard interaction that forces the plugin subprocess into a nested event loop on gtk2 platforms. r=karlt
--HG--
extra : rebase_source : f9fb43d4bf4c3991bbdf30f6d999d315ee7a2407
2010-02-16 12:44:26 -06:00
Jonas Sicking
28396b7d9c Bug 545059: Remove unneeded/non-working bidi.controlstextmode pref. r=smontagu 2010-02-24 21:58:17 -08:00
Jonas Sicking
aecb30c8cf Bug 544698 part 1: Move value processing from submission code to elements. Decomtaminate. Kill a few dead functions. r=jst 2010-02-24 21:58:16 -08: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
Shawn Wilsher
541e2d0c5d Merge for back out of changeset bb9e847a02c8 (bug 193911) due to performance regressions. 2010-02-23 17:13:00 -08:00
Shawn Wilsher
e350020303 Backed out changeset bb9e847a02c8 (bug 193911) due to performance regressions. 2010-02-23 17:12:33 -08:00
Steve Chapel
57829ccc4f Bug 193911 - Increase default disk cache size. r=biesi, sr=bz 2010-02-23 10:04:30 +01:00
Benjamin Smedberg
d33edc0f10 Bug 543802 - blacklist common Xt plugins on Linux (VLC and Acrobat) so they are in-process, until we implement OOPP for Xt plugins, r=karlt 2010-02-20 10:27:58 -05:00
Benjamin Smedberg
256648ae37 Bug 543977 - NPClass.invoke should be optional when a class just wants to implement NPClass.invokedefault, r=jst
--HG--
extra : rebase_source : 2e1fb9896bcbf12bc6d2772c02a1cc9557efe6eb
2010-02-17 13:30:54 -05:00
Benjamin Smedberg
29f2801f1e Actually run test_GCrace.html from bug 542263 which was committed in revision e9d8b376d014. The missing Makefile change is due to a bad transplant which I didn't notice :-( r=bent
--HG--
extra : rebase_source : 0057b1362919a34460ba3c72afd990952ad53d25
2010-02-17 13:30:37 -05:00
Chris Cooper
f0d6758d41 Bug 535369 - Backed out changeset 20d2d6abd4a2, will wait for tree to stabilize 2010-02-12 15:51:13 -05:00
Chris Cooper
e6131b512a Bug 535369 - Fix bsdiff/libbz2 linking for builds compiled with CROSS_COMPILE - r=ted 2010-02-12 15:47:45 -05:00
Christian Biesinger
9d47066edd bug 531801 Enable caching of all SSL content to disk
r=bz

--HG--
extra : rebase_source : 80227d2c25b1aba9f8c2feb48181686bbda6f412
2010-02-12 18:03:12 +01:00
Karl Tomlinson
a4cd333dde b=543901 only call NPPluginFuncs::getvalue when non-NULL and remove NPP_GetValue NPPVpluginWindowBool NPPVpluginTransparentBool r=cjones 2010-02-04 13:02:48 +13:00
Chris Jones
efa51c360c Bug 544345: Mochitest of plugin hangs. r=bsmedberg
--HG--
extra : transplant_source : %0F%8A%10%CC%7C%A3%1C%F3%A1%05%B0%0D%AA%7EH%A6%29%23%EE%85
2010-02-11 14:32:19 -06:00
Chris Jones
c3c2e2f00c Bug 544345: Kill plugins if they exceed the hang timeout. r=bsmedberg
--HG--
extra : transplant_source : K%BBb%8Dq%C8%26O%7Cj%10%0B%EE%05j%3C%0F%CA%C3%3A
2010-02-11 14:32:18 -06:00
Brandon Sterne
29c6c96c84 Bug 452093 - [r=bzbarsky r=joe] 2010-02-11 15:59:00 -06:00
Oleg Romashin
afd6f98795 bug 544193 - Qt version for plugins embedding functionality required. r=mozbugz. 2010-02-10 22:48:20 +02:00
Benjamin Smedberg
109798179d Followup to bug 543086 - PBBUILD isn't set until you include config.mk, use PBBUILD_BIN instead 2010-02-10 12:40:53 -05:00
Ted Mielczarek
7534f6eb66 Bug 541446 - sort out details of where OOP minidumps should wind up. r=benjamin
--HG--
rename : modules/plugin/test/mochitest/test_crash_notify.xul => modules/plugin/test/mochitest/test_crash_notify_no_report.xul
2010-02-09 17:05:31 -08:00
Ted Mielczarek
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
Doug Turner
c5fb72ab64 Bug 543976 - Clean up Maemo defines. r=ted 2010-02-09 11:02:11 -08:00
Boris Zbarsky
8ee09a16e0 Bug 543086. Don't try to build the default plug-in on mac if we don't have pbbuild. It'll just fail. r=ted 2010-02-09 12:09:06 -05:00
Josh Aas
c04a923d42 Fix our plugin library loading code so that it works in 64-bit builds. 64-bit NSPR does not support bundle loading. b=544579 r=smichaud 2010-02-08 13:22:25 -06:00
Josh Aas
e0d1ee7974 More complete plugin architecture check for Mac OS X. Support 64-bit-only plugins and stop assuming that any universal binary plugin has the correct architecture. Fixes bug 544433 and bug 544437. r=smichaud 2010-02-06 23:29:58 -06:00
Josh Aas
20a6128dae Make all scriptable methods in nsIPluginHost appear before the C++ code. b=542712 r=jst 2010-02-06 16:07:13 -06:00
Zack Weinberg
e628f0c656 Bug 543101: (Test-only change) When comparing filesystem timestamps to zip-file timestamps in zipwriter tests, truncate both values to second precision. r=dtownsend. CLOSED TREE 2010-02-05 11:22:39 -08:00
Benjamin Smedberg
151a3c2903 Bug 544016 - If two plugins are available for a MIME type, prefer the enabled one to the disabled/blocklisted one, r=josh
--HG--
extra : rebase_source : 8c4382719dd8886634a8f89a85d89af1e96f6c4d
2010-02-03 16:52:07 -05:00
Benjamin Smedberg
936c70b8c5 Testcase for bug 542263 - crash at NPObjWrapper_NewResolve or various other places
--HG--
extra : rebase_source : 92a3bc42926934ec4f077657d4c519809fa71df0
2010-02-03 09:09:16 -05:00
Daniel Holbert
7f88cb2313 Backed out changeset 8006ad2d0c06 (tests for bug 542263), since its test 'test_GCrace.html' failed on OSX in its first cycle. 2010-02-02 18:57:15 -08:00
Benjamin Smedberg
49079e3a39 Testcase for bug 542263 - crash at NPObjWrapper_NewResolve or various other places 2010-02-02 17:18:41 -08:00
Benjamin Smedberg
6db43fb19a revert changeset f61e06c31086 (bug 542971) since it caused bug 543376. 2010-02-02 17:18:37 -08:00
Benjamin Smedberg
fb8f40b46e Bug 542248 - ASSERTION: Shouldn't return null and NPERR_NO_ERROR (and then crash) navigation from one silverlight page to another, r=josh 2010-02-02 09:46:25 -05:00
Justin Lebar
e730a1afc6 Bug 500328 - Implement History.pushState(), History.replaceState() methods. r=smaug, r=zpao, sr=sicking 2009-09-01 09:45:05 -07:00
Ben Turner
dac5a3fee3 Bug 542915 - 'Protect DelayedReleaseGCCallback from reentering and double-freeing NPObjects' r=jst+josh.
--HG--
extra : transplant_source : %5B%C1%C3QH%22%22%24%9D%A2%CE%E9%907%941%8F%F5%07%19
2010-02-01 12:35:48 -08:00
Josh Aas
4a93f5fe9f Clean up a bunch of things in nsNPAPIPlugin. b=543339 2010-01-31 16:41:26 -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
Josh Aas
46d060dccd Get rid of nsPluginInstanceTag. Clarifies the plugin object hierarchy and makes it easier to get from one object to another. We avoid unnecessary null checks and strong references due to clarified lifetimes dependencies between objects. Makes all of this code less error-prone. b=542971 r=jst 2010-01-29 14:42:54 -05:00
Jesse Ruderman
42a85b7235 Remove duplicated, out-of-date reftest.list instructions 2010-01-29 03:25:48 -08:00
Henri Sivonen
6835111d7b Bug 539215 - Chunk long tree op queue flushes into multiple runnables in the HTML5 parser. r=bnewman.
--HG--
extra : rebase_source : 31f125d0e833aaea2c1bd4755c16d5e7fd5f2e83
2010-01-14 15:58:27 +02:00
Ben Turner
33a8aae576 Bug 542337 - '[OOPP] hang in test_plugin_clipping2.xhtml' Followup fix, r=roc.
--HG--
extra : transplant_source : ._%92%D6%40%FE%1E%92%01%11%7F%BA%2A%EF%24Y%84%DC6%0E
2010-01-28 12:23:07 -08:00
Ben Turner
453fbad6ed Bug 542337 - '[OOPP] hang in test_plugin_clipping2.xhtml' r=jimm. 2010-01-28 11:32:41 -08:00
Justin Lebar
a827ba17fc Bug 500328 - Implement History.pushState(), History.replaceState() methods. r=smaug, r=zpao, sr=sicking 2009-09-01 09:45:05 -07:00
Benjamin Smedberg
4245b947f3 Bug 539063 - Implement a whitelist/blacklist for OOPP, r=josh 2010-01-28 10:31:53 -05:00
Daniel Holbert
345647b7b2 Bug 541828 followup: Convert "sizeof" result to signed integer, to fix signed-vs-unsigned build warning in nsZipArchive. r=tglek 2010-01-28 01:52:35 -08:00
Oleg Romashin
2d419b5929 Bug 534644 - implement Qt ipc/chromium backend, first part. r=benjamin, r=jones.chris.g 2010-01-28 07:22:41 +02:00
Chris Jones
c22de50bdf Bug 542356: Initialize the NPError outparam passed to NPP_New() so that plugins must set it to NPERR_NO_ERROR (and so as to work around a valgrind UMR false-positive for OOPP). r=joshmoz 2010-01-27 17:45:34 -06:00
Benjamin Smedberg
f55c3f38ef When calling a null function pointer, breakpad apparently skips a frame. In order for intentionalCrash() to appear in the minidump, try dereferencing a null pointer instead.
--HG--
extra : transplant_source : %C4et%5B3%B1%163N%84%FF%04%BB%0AC%8E%A7%0AzX
2010-01-27 11:31:03 -05:00
Benjamin Smedberg
05f44c363f Rename Crash() to IntentionalCrash() so that automation can grep for it. Make it non-static, and add trailing instructions to it so that it isn't inlined nor tail-called away in crash reports.
--HG--
extra : transplant_source : %D7R%95%D1%FD%14%F3%F0V%033%0BQ%3F%9E%AB%E4%A7%A7J
2010-01-25 17:26:23 -05:00
Benjamin Smedberg
ce6c755ed6 Bug 541707 - semi-random failures in test_crashing2.html, probably due to interminism in the crash/crashreport/reload sequence
--HG--
extra : rebase_source : eaa6c45f5383e14b7d64dc71bc84c91256144864
2010-01-27 08:49:36 -05:00
Jim Mathies
757c1b3d63 Bug 540052 - [OOPP] Test failure in test_plugin_focus.html. r=bent.
--HG--
extra : rebase_source : bdb40f27e098519ecd71abd75a80e8e612f888f8
2010-01-26 15:40:15 -06:00
Josh Aas
2e7df95914 Get rid of nsPluginInstanceTagList. Make this code easier to deal with and less error-prone. b=535643 r=jst 2010-01-26 20:30:58 -05:00
Gavin Sharp
937dce11b7 Bug 189378: add pref to disable plugins in the browser, r=josh
--HG--
extra : rebase_source : 7f70e2585d6b2840fa801969e5af50c5e81caca8
2009-10-05 05:00:57 -04:00
Jonathan Griffin
fe5929b77f Bug 539755. Fix tests to use 'basic' instead of 'http' for the scheme parameter. 2010-01-26 09:22:49 -08:00
Jonathan Griffin
5040e737a1 Bug 518924. Fix memory leak in NPAPI async callback test and re-enable 2010-01-25 12:20:30 -08:00
Alfred Kayser
b1dfdbc219 Bug 541828: crash in BuildFileList (r=tglek) 2010-01-25 10:21:49 +01:00
Taras Glek
e255b8b9e3 Bug 537165: Don't hold on to OS file handles in JARs r=ak 2010-01-23 11:40:21 -05:00
Phil Ringnalda
574c919e99 Bug 518924 - disable mochitests, since one of them is leaking every Md6 run on Windows and Linux 2010-01-22 22:16:16 -08:00
Jonathan Griffin
d736eba473 Bug 518924. Add tests for NPAPI timers and async callbacks. r=bsmedberg 2010-01-22 17:13:26 -08:00
Andrew Shilliday
6bbf5d3015 bug 500983 - "Use System Proxy Settings" should be default for new profiles. r=bzbarsky 2009-08-05 09:33:00 -04:00
Jonathan Griffin
ce90ed0a0d Test for bug 539755, NPN_GetAuthenticationInfo
--HG--
extra : transplant_source : %1E%F7%C1%BF0%14Ul%0Ex%ABJ%0A%B9Z%0CX4%02%98
2010-01-21 14:35:03 -05:00
Benjamin Smedberg
915969ff29 Bug 541155 - test_loadflags.html doesn't reset prefs properly (manifests as a failure in modules/plugin/test/test_cookies.html), r=dwitte
--HG--
extra : transplant_source : VM%EB%A5.b%EC%CB1%1FGB%C2%A0%0E%C4%60%B0r4
2010-01-21 14:11:49 -05:00
Benjamin Smedberg
bb04a0052e Remove the result-initialization from e9c045ce1618 which shouldn't be needed, bug 540776 fixed this the correct way.
--HG--
extra : transplant_source : %E1%B4%D8%1E%84%8C%8F%A5%3A%E8%C7%FB%17%F2%DA%05%DDE%B6%21
2010-01-20 14:08:42 -05:00
Sid Stamm
32f5ce7b68 bug 515433: CSP Core patch by sstamm and bsterne, r=mrbkap, sr=jst 2010-01-21 10:41:24 -08:00
Michal Novotny
a107124c97 Bug 525741 - two JAR tests fail if modification date of their files is on day daylight saving time starts or ends and after time change. r=dtownsend,tglek 2009-12-16 00:01:08 +01:00
Saint Wesonga
c5d2e640b0 Bug 538816 - Fix typos in "basic" SDK sample plugin. r=josh 2010-01-21 13:16:51 +01:00
Josh Aas
811332f5a6 Fix default plugin drawing on Mac OS X. No bug. r=smichaud 2010-01-20 18:59:38 -05:00
Benjamin Smedberg
83a5e9f243 Followup to bug 530980 - Make the setCookie() method initialize its return value 2010-01-19 17:34:10 -05:00
Josh Aas
dd2c892251 Add a plugin test that sets and then gets a cookie. b=530980 r=roc 2010-01-19 15:45:21 -05:00
Jim Mathies
c816891a55 Bug 539955 - [OOPP] unit test failure in test_plugin_mouse_coords.html. r=bsmedberg.
--HG--
extra : transplant_source : o%008%29%A0%96%60%E1W%7D%1A%C7e%BDJ%B2D%EE%1D%E2
2010-01-15 16:02:01 -06: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
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
Makoto Kato
a0bc68ebf2 Bug 539378 - Remove MOZ_BITS macro from tree. r=ted 2010-01-19 14:12:09 +09: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
Marco Bonardo
6b690f6d99 Bug 520165 - Part9 (libpref): fix dependancies, r=mano 2010-01-15 17:40:22 +01:00
Daniel Veditz
c178b317a0 backing out a6ce37b09cf5 2010-01-14 17:20:18 -08:00
Daniel Veditz
0e538279e0 Backed out changeset a6ce37b09cf5 because of possible Tp4 perf hit 2010-01-14 17:19:11 -08:00
Sid Stamm ext:(%2C%20Brandon%20Sterne%20%3Cbsterne%40mozilla.com%3E)
56ceec2c4c bug 515433, bug 515437: Content Security Policy (CSP) core 2010-01-13 14:18:24 -08:00
Josh Aas
9f1683fecf Sent "PluginCrashed" notification when a plugin crashes. b=519541 r=jst r=bsmedberg 2010-01-13 11:42:41 -05:00
Benjamin Smedberg
6d0ab1c884 Bug 538642 part 1: Add a method to the testplugin to set the exception bit, the way some bad plugins/extensions do, r=ted (Windows-only for the moment) 2010-01-08 15:53:04 -05:00
Benjamin Smedberg
84797e72d2 Disable the malformed-data-URI test, since the plugin host is broken and we're double-deleting the urlnotify context pointer in the testplugin.
--HG--
extra : transplant_source : %1Et%11L%F7%13%F6%FCl%C4%0C%C8%95%04%AF-%14%0E%C1%B5
2010-01-11 14:36:11 -05:00
Benjamin Smedberg
100035ff72 Our plugin host has a bug with malformed data URIs: mark this test todo.
--HG--
extra : transplant_source : %F1%3F%BD%26%1E%DF%1De%0E%1A%18%8C%C7%1F%D6m%0CIQ%88
2010-01-07 14:51:37 -05:00
Benjamin Smedberg
095bd7f538 Followup to bug 536437 - fix the test so that we wait for the new tests to complete
--HG--
extra : transplant_source : %B0%87%C6%A1%3C%29%C0e%8C%99%A9%11%7E_%AA%B9r%D8%10%A6
2010-01-07 10:57:18 -05:00
Benjamin Smedberg
66ce889c9b Tests for bug 536437
--HG--
extra : transplant_source : %5D.%3C%D9%90%C6%A9B%5E%F8O4%F5e%95%0AO%BC8%27
2010-01-05 12:12:41 -05:00
Chris Jones
80b004dd05 Bug 538532: When a plugin crashes, make sure all its instances are "stopped" ASAP. r=bsmedberg r=josh
--HG--
extra : rebase_source : 4355e574e5cf74da76ef5773e16fa3bd9a09225e
2010-01-12 00:45:24 -06:00
Chris Jones
2d1e4c2722 Bug 538532: Add the helper method nsPluginHost::FindTagForPlugin(). r=josh
--HG--
extra : rebase_source : c7192818d9f6e42510e681286a4dda774df8a94c
2010-01-12 00:45:23 -06:00
Jim Mathies
bd95331a3a Bug 536303 - OOPP: disable oopp for Windows 2000. r=benjamin. 2010-01-10 17:50:36 -06:00
Jesse Ruderman
093325f819 Fix bug-number comments in reftest.list files 2010-01-08 19:54:28 -08:00
Benjamin Smedberg
43b7734985 Tests for bug 532246, r=jst 2009-12-02 12:02:16 -05:00
Benjamin Smedberg
86980c504e Bug 532246 - Plugins should not be able to obtain an NPObject* belonging to a different NPP, because that instance may go away before this one and the NPObject* may be invalidated and destroyed. Double-wrap in these cases. r=josh sr=jst 2009-12-02 12:02:41 -05:00
Robert O'Callahan
bd19a6fd42 Bug 527864. Add support to the test plugin to detect what width was used at the last paint. r=josh 2010-01-07 14:11:27 +13:00
Glenn Randers-Pehrson
f3231fdc19 Bug 532645 - "Upgrade libpng to version 1.4.0" [r+rs=joe] 2010-01-05 15:46:26 -06:00
Josh Aas
0487ff44e4 Minor cleanup, no bug. a=bsmedberg 2010-01-05 13:30:00 -05: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
Makoto Kato
86412ece0c Bug 535495 - build break test plugin on x64 due to changeset 9c16bf14545c. r=josh 2010-01-01 23:00:18 +09:00
Taras Glek
89e73935db Bug 537398 - Fix copyright headers in libjar r=reed
--HG--
extra : rebase_source : 22b2082bcf17534346f833e36e3b4f9d80659782
2009-12-31 11:27:22 -08:00
Taras Glek
bba0d1d004 Bug 536911: fix null dereference topcash r=alfredkayser
--HG--
extra : rebase_source : 60f760586ac33354e98e48015cecc4762b3d181a
2009-12-31 10:10:20 -08:00
Dão Gottwald
023f0431f3 Fix test_painting.html bustage on Win and OS X from changeset 4f5630e68d04 2009-12-31 11:11:17 +01:00
Karl Tomlinson
b3ef40a9ee bug 535687 is not fixed yet so mark todo for mochitest-ipcplugins
--HG--
extra : rebase_source : ff6a13dc4dfbbac62071328bc9202eb2f9169d99
2009-12-31 20:32:51 +13:00
Karl Tomlinson
0794ab1863 test windowless invalidation (b=535687) and expose events with clips (b=445707)
--HG--
extra : rebase_source : 4befde6a6635d53f60e628b74576cc1dcb1fe1c2
2009-12-31 16:20:51 +13:00
Karl Tomlinson
cf708b8138 b=537301 add sanity checks on expose event rectangle and use for drawmode=solid r=roc
--HG--
extra : rebase_source : f2ccccc0d7e16c17f70048b856cf08c4ed20c774
2009-12-31 16:19:30 +13:00
Michael Wu
27fd1e717b Bug 273025 - "bad logic results in potential leak xor crash based on flow" (Improve GetURL/PostURL code, v4 (2/2)) [r+sr=jst] 2009-12-27 14:26:00 -06:00
Jacek Caban
f4e35e2c70 Bug 535872 - Make nptest_windows.cpp compile on new mingw, r=roc 2009-12-29 14:21:49 -05:00
Benjamin Smedberg
a4e17b427f Fix the test for bug 535298 - because plugin instantiation is asynchronous, we are crashing the plugin process after we meant to, which leads to a JS error and a hung test 2009-12-22 10:38:42 -05:00
Benjamin Smedberg
47b4c82551 Test for bug 535298, crashes which occur during NPP_New or NPP_Destroy 2009-12-21 12:37:32 -05:00
Benjamin Smedberg
2d48c3e186 Re-enable test_crashing.html on the electrolysis branch to see how random/reproducible it is. 2009-12-17 13:11:49 -05:00
Oleg Romashin
bd7430f326 b=532627; nsPluginHostImpl::WritePluginInfo should call PR_Sync before PR_Close, r=jst 2009-12-23 13:58:54 +02:00
John J. Barton
f06b671c7d 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
b03049c0f2 Bug 535641 - Move this declaration around. r=jst 2009-12-22 16:54:06 -05:00
Metal Sonic
4c1b34d634 Bug 507387 - fix copyright holder; Mozilla Corporation -> Mozilla Foundation. r=gerv. 2009-12-21 21:50:30 +00:00
Josh Aas
ac8d51b495 Improve plugin instance stopped/started state management. b=535660 r=roc 2009-12-17 21:09:22 -05:00
Josh Aas
76e1222110 Stop storing xpconnect status in the plugin tag, it isn't used any more. b=535502 r=roc 2009-12-17 12:22:46 -05:00
Benjamin Smedberg
e431d632a4 Disable test_crashing.html because it may be causing hangs still and I have little confidence in it yet. 2009-12-16 22:09:42 -05:00
Benjamin Smedberg
211d3738cb Merge mozilla-central to electrolysis. 2009-12-16 19:02:20 -05:00
Josh Aas
df4585ba38 Fix plugin host so that idle event timer can QI correctly and make the callback. b=535357 r=smichaud 2009-12-16 15:54:16 -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
Benjamin Smedberg
234f5858ff Followup to review comment for bug 534866: don't set fCallbacks.size twice on MacOSX. 2009-12-16 09:10:30 -05:00
Benjamin Smedberg
ffeebc91f0 Merge mozilla-central into electrolysis 2009-12-16 08:38:42 -05:00
Josh Aas
a2cdef8b23 Separate plugin tag code from the plugin host. b=533371 r=jst 2009-12-16 08:16:42 -05:00
Benjamin Smedberg
097c85cae3 Bug 534866 - Fix Java and WMP plugins on Windows by initialize NPPluginFuncs.size before calling NP_Initialize, regression from bug 516509 which landed with the e10s merge, a=blocker-regression r?pending from josh 2009-12-15 21:24:26 -05:00
Benjamin Smedberg
daab3b8125 Merge mozilla-central into electrolysis. 2009-12-15 20:31:04 -05:00
Josh Aas
733399cc7e Windows bustage fix, b=533371 2009-12-15 20:21:57 -05:00
Robert O'Callahan
23ff629cce Backing out test for bug 533371 to try to fix leaks 2009-12-16 12:54:59 +13:00
Robert O'Callahan
b39fa0417b Backed out changeset 682926ebca13 2009-12-16 12:54:30 +13:00
Josh Aas
11a169cbb4 Separate plugin tag code from the plugin host. b=533371 r=jst 2009-12-15 17:47:22 -05:00
Neil Rashbrook
1bd6140306 Bug 533355 nsPrefBranch fails to correctly clean up some stale weak references r=bsmedberg 2009-12-15 21:44:48 +00:00
Josh Aas
3b4141f69a Back out bug 533371 due to Windows bustage. 2009-12-15 22:16:04 -05:00
Josh Aas
df154de1eb Backed out changeset cbb4f67c6b68 2009-12-15 22:15:39 -05:00
Josh Aas
1417c53753 Backed out changeset 892d3eb10151 2009-12-15 22:14:48 -05: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
Josh Aas
4f86d84cb3 Add a plugin test that sets and then gets a cookie. b=530980 r=roc 2009-12-15 15:14:03 -05: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
Josh Aas
e4ef56c1b9 Unset the plugin instance on the plugin instance owner if the instance fails to initialize. b=533030 r=jst 2009-12-15 15:28:12 -05:00
Benjamin Smedberg
6cdd11fcd4 test_crashing.html had windows-style line endings. 2009-12-14 09:14:28 -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
Jonathan Griffin
fb84e3c42c Bug 533482. Let plugin crashtest notify testrunner that no leak log is expected when the plugin process is deliberately crashed. r=bsmedberg 2009-12-09 10:51:38 -08:00
Benjamin Smedberg
fa1b90bc0c Comment out the crash test until we can fix the leaking nsPluginHost as well as tell the test harness that it's ok that the crashing plugin process didn't print leak information. 2009-12-05 13:53:12 -05:00
Chris Jones
93211d4751 rename conflicting crash() symbol that's breaking the mac build 2009-12-04 23:15:18 -06:00
Benjamin Smedberg
cb534efdff Oh snap! nsPluginTag.mEntryPoint became a nsCOMPtr in a merge and ended up being double-released. Victory is mine! 2009-12-04 23:27:32 -05:00
Benjamin Smedberg
8613b91908 Add a .crash() method to the testplugin, and test that crashing throws exceptions in the parent. 2009-12-03 15:33:25 -05:00
Benjamin Smedberg
3e06063b78 !MOZ_IPC build bustage from bug 532751
--HG--
extra : rebase_source : a0b3a3318d3cd3d03fb034ae4d9fd5ab6cb9454a
2009-12-04 13:53:59 -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
487e2582f8 Bug 532700 - nsNPAPIPluginInstance can outlive its nsNPAPIPlugin, sr=jst pending r=josh 2009-12-03 15:33:27 -05:00
Benjamin Smedberg
767eb11cb4 Merge mozilla-central into electrolysis 2009-12-04 11:28:50 -05:00
Benjamin Smedberg
13786e8a04 Bug 532605 - _write conflicts with symbols in the MSVC runtime. Remove all vestiges of PR_BEGIN_EXTERN_C from nsNPAPIPlugin.{h,cpp}, so that these functions are given C++ mangled names in the namespace we actually declared for them. 2009-12-03 09:17:49 -05:00
Taras Glek
55534754ff Bug 531231 - "Incorrect mmap cleanup" [r=alfredkayser] 2009-12-03 01:25:39 -06:00
Ben Turner
ce1bd10179 Don't let plugin return a null window object and NPERR_NO_ERROR, r=jst. 2009-12-01 15:08:16 -08:00
Ben Turner
b17063546e Bug 526401 - Fixup handling of null NPP. r=bsmedberg. 2009-12-01 13:27:13 -08:00
Josh Aas
783c445e79 Fixing bug 520639. Make plugin library unloading independent of the lifetime of nsPluginTag objects. Patch and reviews by jst@mozilla.com and joshmoz@gmail.com, a=blocking1.9.2+ 2009-12-02 21:14:13 -08:00
Benjamin Smedberg
9911c2f99d Merge mozilla-central into Electrolysis 2009-11-30 12:59:43 -05:00
Justin Dolske
0cfb131c4b Bug 531703 - Minimize disk space usage on Windows CE. r+a=vladimir 2009-12-14 22:28:40 -08:00
Johnny Stenback
c9d4899294 Fix for bug 531290 (Firefox 3.6b4 [@ PL_strlen | nsNPAPIPluginInstance::Initialize(nsIPluginInstanceOwner*, char const*) ] during npietab.dll initialization [@nsCOMPtr_base::assign_from_qi(nsQueryInterface, nsID const&) | xul.dll@0x9cc3c3 ]). r=josh, a=blocking1.9.2+. 2009-11-30 11:11:20 +01:00
Benjamin Smedberg
f7eb5c27ab 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
Josh Aas
a4b1dd24fa Fix a bug that prevents NPAPI plugins from retrieving cookies. b=526462 r=roc 2009-11-25 02:40:46 -05:00
Benjamin Smedberg
7a581148bc Merge mozilla-central into Electrolysis. 2009-11-24 10:06:03 -05:00
Josh Aas
e535f8aad7 Forgot null checks for NPN_MemAlloc in patch for bug 530138. NPOB. 2009-11-23 14:08:41 -05:00
Josh Aas
f949685c4d Bug 530138, npruntime sample plugin not using NPN_MemAlloc when it should. NPOB. 2009-11-23 13:57:27 -05:00
Benjamin Smedberg
bda0f732bc 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
9a696edbf3 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
737515b2c8 Merge mozilla-central into electrolysis. 2009-11-19 12:41:46 -05:00
Joe Drew
85d1acb47f Bug 529732 - Disable gif crashtests until we remove the NS_ABORT_IF_FALSE that fires on them. 2009-11-19 00:49:10 -05:00
Joe Drew
e1b521e0a5 Bug 523528 and Bug 526452 - crashtests.
--HG--
extra : rebase_source : dff3ae65f1deb1a411af59ef98b590dba17f46a0
2009-11-18 18:20:31 -05:00
Joe Drew
8310499982 Bug 523528 - Handle compositing frame initialization failure properly. r=jrmuizel
--HG--
extra : rebase_source : dc7fe8226424e5a0622bd97fadcbbd6124d4a1f6
2009-11-18 18:20:27 -05:00
Makoto Kato
30d873946f Bug 526452 - imgContainer::ClearFrame() should handle failure to lockImage/null surfaces. r=jrmuizel
--HG--
extra : rebase_source : 013117f751f87ab9bbe087793d044bba1b6f02da
2009-11-18 18:20:24 -05:00