Commit Graph

928 Commits

Author SHA1 Message Date
Chris Leary
1d3c0638b7 Merge mozilla-central into tracemonkey. 2011-01-04 10:51:14 -08:00
Robert O'Callahan
534f3f6418 Backing out 3883e79e5a9a and 0653a37b7230 (bug 601064) due to test failures, a=backout 2011-01-04 17:48:11 +13:00
Robert O'Callahan
3d63fb9b64 Bug 601064. Fix tests (and test this bug). 2011-01-04 16:56:09 +13:00
Robert O'Callahan
635ece94a9 Bug 621260. Don't run StopPluginInstance multiple times on the same instance. Also, let StopPluginInstance do the call to instance->Stop(). r+a=josh 2010-12-20 14:37:43 +13:00
Taras Glek
ffc42c44ee Don't do IO in nsPluginsDir::IsPluginFile on Mac r+a=josh 2010-12-27 11:15:15 -08:00
Jacek Caban
d83e8cb533 Bug 620668 - spike in crashes [@ nsAString_internal::IsEmpty() ] bustage fix r+a=bustage-fix 2010-12-26 22:51:06 +00:00
Robert O'Callahan
47439ff0e8 Bug 620668 - spike in crashes [@ nsAString_internal::IsEmpty() ] r=joshmoz a=blocking:beta9+ 2010-12-26 22:36:33 +00:00
timeless@mozdev.org
decad3427b Bug 620297 crash [@ nsPluginHost::SetUpPluginInstance] if !aOwner, r+a=josh 2010-12-20 01:13:00 -08:00
Chris Leary
272d457a20 Merge mozilla-central to tracemonkey. 2010-12-29 19:25:04 -05:00
Makoto Kato
d0748609ac Bug 620140 - Bug 616271 causes CanLoadPlugin returns failure when plugin path is non-ASCII. r=joshmoz a=blocking-beta9+ 2010-12-20 12:52:03 +09:00
Robert O'Callahan
e835ebeb75 Backing out part 5 of bug 617152. a=blocking 2010-12-24 15:15:11 +13:00
Robert O'Callahan
5509213034 Backing out ade671d15514 2010-12-24 15:14:04 +13:00
Rob Campbell
f22fbb6193 Bug 475991 - Extend the NPAPI to allow plugins to participate in redirects - fix line endings; r=rcampbell, a=test-fix; DONTBUILD 2010-12-23 12:30:44 -04:00
Robert O'Callahan
7faddbb34c Bug 617152. Part 5: nsPluginHost::StopPluginInstance should skip plugin instances that are already destroyed (e.g. because the plugin was disabled). r=josh 2010-12-20 14:37:43 +13:00
Robert O'Callahan
863afc3119 Bug 617718. Don't process invalidates if we're stopping. r=bsmedberg a=bsmedberg 2010-12-21 15:03:00 -08:00
Taras Glek
0ea07d11c6 Bug 620114 - File size of pluginreg.dat increases steadily r=josh a=blocking-betaN 2010-12-20 15:38:10 -08:00
Scott Greenlay
e748997ab8 Bug 616271 - missing bool bits r=taras a=blocking-betaN 2010-12-20 15:38:04 -08:00
Luke Wagner
2fc61cf52e Bug 609440, part 3 - remove fallible public APIs, update mozilla (r=bent,jst,mrbkap,waldo,sdwilsh) 2010-12-03 00:24:17 -08:00
Josh Aas
10f5a0354f Bug 573873: Make sure to propagate redirect notifications whenever we don't kill the redirect for plugins. r=jst sr=bz a=blocking2.0betaN+ 2010-12-03 10:46:10 -05:00
Josh Aas
c04477ac1b Bug 615881: Fix several bugs related to the handling of NPAPI's NPPluginFuncs structure. r=bsmedberg a=blocking2.0final+ 2010-12-03 00:20:59 -05:00
Robert O'Callahan
37ce525680 Bug 616901. Fix rect in nptest_windows.cpp, to fix misrendering in 580160-1-ref.html. r=bsmedberg a=tests-only 2010-12-10 10:30:50 -08:00
Scott Greenlay
0a5b711056 Bug 616271: Add architecture and list of invalid plugins to pluginreg, r=josh,taras a=blocking-beta9 2010-12-09 14:28:15 -08:00
Taras Glek
b9e24f22f3 Bug 616271 - Only check plugin validity once r=josh a=blocking-beta9 2010-12-10 10:23:48 -08:00
timeless@mozdev.org
3abf353848 Bug 615066 potential crash [@ nsPluginHost::HandleBadPlugin] if !aInstance
r=josh, a=josh

--HG--
extra : rebase_source : c9116eca854b56984cbebdf347658a8caa93a274
2010-12-08 12:22:10 +00:00
Steven Michaud
afd3294490 Bug 594482 - Java applets broken with content policies. r=josh,bsmedberg a=blocking2.0BetaN+ 2010-12-07 15:18:50 -06:00
Scott Greenlay
2633ddbcf2 Bug 613679 - pluginreg.dat rewritten on plugins list construction, even if there are no changes, r=josh, a=josh 2010-11-19 18:00:52 -08:00
Steven Michaud
2e29bcd78b Bug 611910 - (try again with leak fixed) r=josh a=blocking2.0BetaN+ 2010-11-19 14:58:59 -06:00
Daniel Holbert
9863cb8ff8 Backed out changeset 16c2e141d418 (Bug 611910) due to crashtest leak/orange. a=orange 2010-11-19 11:08:13 -08:00
Steven Michaud
ca1e7b72a9 Bug 611910 - r=josh a=blocking2.0BetaN+ 2010-11-19 12:14:15 -06:00
Benjamin Smedberg
3930901751 Bug 602891 part A - refactor the code which notes intentional crashes for leak logging, so that it can be shared between testplugin and the jetpack. r=ted
--HG--
extra : rebase_source : c1f50eb1525883cfec34a7d0fec81d8227c5b8f6
2010-11-17 15:55:25 -05:00
Josh Aas
6094c78eb9 Bug 573873: Fix bug in HTTP handling for plugins. r=jst a=blocking2.0 2010-11-17 14:25:48 -05:00
Ryan VanderMeulen
b3c91154cb Bug 578546 - Fix more MSVC warning spam by removing unneeded declarations. r=cjones a=benjamin 2010-11-16 10:21:53 +01:00
Mounir Lamouri
829dd41312 Bug 595062 - Trying to fix intermittent mochitest-ipcplugins failureas in test_cocoa_focus.html. r=jst a=tests 2010-11-15 23:56:55 +01:00
Scott Greenlay
40ed798210 Bug 611197 - Force pluginreg.dat refresh to propagate fix for Quicktime pdf display bug, r=josh, a=beta8+ 2010-11-15 14:21:50 -08:00
Scott Greenlay
9bf5461ab4 Bug 611136 - Support WebPluginTypeEnabled key in com.apple.quicktime.plugin.preferences.plist, r=josh, a=betaN+ 2010-11-15 14:21:18 -08:00
Steven Michaud
a1ca2869fa Bug 601182 - Mochitest for this bug. r=josh a=test 2010-11-15 15:23:51 -06:00
Benjamin Smedberg
217e5c109d Disable test_positioning.html from bug 611206 because even though it passes locally, something about the test setup is different on tinderbox: perhaps the outer mochitest window is moving, causing the coordinates to be incorrect. a=bustage 2010-11-15 13:06:11 -05:00
Benjamin Smedberg
738a37d48b Bustage fix from typo in merge fixup from bug 611652, revision fc492fc14c67 a=bustage 2010-11-15 09:56:38 -05:00
Benjamin Smedberg
542fdd7b82 Bug 611652 - NPN_Construct doesn't work on JS functions, only on plugin-provided objects. Fix this by using JS_New to set up the construction class and prototype correctly, r=jst 2010-11-15 09:41:19 -05:00
Benjamin Smedberg
a95396d2ef Bug 611206 - Send the plugin information about mouse position changes when we scroll, even when we don't need to repaint the plugin, r=karlt 2010-11-15 09:41:18 -05:00
Karl Tomlinson
e378df1b89 Bug 610646 - Fix typo that caused 100% CPU hang running crashtest 598862.html in non-OOPP builds. a=test 2010-11-14 19:26:36 +01:00
Ehsan Akhgari
eda812475f Bug 610556 - Linker errors on shared builds with NS_SetDllDirectory; r=khuey a=bsmedberg
--HG--
rename : toolkit/xre/nsSetDllDirectory.cpp => xpcom/base/nsSetDllDirectory.cpp
rename : toolkit/xre/nsSetDllDirectory.h => xpcom/base/nsSetDllDirectory.h
2010-11-09 21:02:09 -05:00
Benjamin Smedberg
c1f3d96e91 Final merge of bug 596451. a=blocking2.0 - Asynchronous layer-based painting on Windows. Various pieces r=josh/romaxa/karlt/jmathies/roc.
This merge includes the fix for bug 583109 - Add visibility notifications for plugins, so that asynchronous painting can be suspended when plugins are not visible. This collaterally fixes bug 606285, hulu homepage doesn't paint with async layers.

This changeset only implements asynchronous painting for out-of-process plugins. In-process painting will be implemented as a followup. Note that it is still possible to disable asynchronous layers on Windows by setting the preference mozilla.plugins.use_layers to false, but my intention is to remove this preference and sync-painting codepaths soon in a followup.
2010-11-10 10:29:09 -05:00
Benjamin Smedberg
bf439a6ea1 Fix test_xulbrowser_plugin_visibility to be more robust and use fewer magic timeouts, review note from bug 583109 comment 52. 2010-11-10 08:35:46 -05:00
Benjamin Smedberg
316a7c0dee Address review comments for the test in bug 583109 by polling for visibility changes in the plugins. 2010-11-09 11:41:59 -05:00
Benjamin Smedberg
a028dfd6da Bug 607958 - Opacity rounding of 0.5 is different when using a layer and painting directly. Use a value of 0.8 which divides evenly into 255 to avoid rounding differences. Bug 602200 did not fix this rounding difference. r=roc 2010-11-08 14:40:11 -05:00
Benjamin Smedberg
2aaeb2d246 Merge mozilla-central into the branch for asynchonous plugin painting (bug 596451), especially to pick up and test whether the fix for 602200 also fixes bug 607958. 2010-11-08 09:50:11 -05:00
Benjamin Smedberg
010fbdcb07 Merge mozilla-central into the branch for asynchronous plugin painting on Windows. 2010-11-05 15:56:28 -04:00
Benjamin Smedberg
d19fb0dfce With async plugin painting, crashtest 522512 is no longer valid (and the condition which caused it is entirely gone). Remove it. 2010-11-05 10:52:41 -04:00
Benjamin Smedberg
cfe4308ade Test for bug 583109 - Add an .isVisible() method to the testplugin. test_visibility.html checks whether a visibility: hidden plugin suspends and resumes painting properly. test_xulbrowser_plugin_visibility.xul tests whether switching tabs properly suspends and resumes plugin painting. r-pending=karlt 2010-11-05 10:43:14 -04:00