Commit Graph

1058 Commits

Author SHA1 Message Date
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
Benjamin Smedberg
b5c8de3824 Bug 606285 and Bug 583109 - Send the "visible" notification when painting with async layers, so that when a plugin goes from invisible to visible it starts sending asynchronous paints. Suspend sending surface updates for asynchronous plugins when they are invisible, and set the empty clipRect so that the plugin knows that drawing is suspended per the new API. Assume that plugins are visible again when a Paint or BuildLayer call is received. r-pending=karlt 2010-11-05 10:40:55 -04:00
Jim Mathies
c0b0832655 Bug 570249 - Plugin container shutdown via hang detector results in a disabled browser window when modal plugin dialogs are active. r=bsmedberg, a=final. 2010-11-05 10:18:07 -05:00
Benjamin Smedberg
b5700735c7 Followup to bug 596451 part E (cset 37188e297b07) - double-pass painting is still used for in-process plugins, so fix the test expectations accordingly. 2010-10-28 12:57:33 -04:00
Benjamin Smedberg
0a2062e721 Merge mozilla-central to the branch for bug 596451. 2010-10-28 10:05:20 -04:00
Benjamin Smedberg
f8d5bcfbda Fix testplugin painting issues from bug 596451 part J - when doing non-solid painting, paint to x/y, not 0/0. 2010-10-28 09:17:35 -04:00
Benjamin Smedberg
175c51b9e9 Bug 596451 part J - Fix our test plugin to paint without using GDI functions which overwrite the opacity incorrectly, r=jmathies 2010-10-27 16:56:34 -04:00
Benjamin Smedberg
151a8aa808 Bug 596451 part H - Make our quirk of silverlight transparent by default active in the plugin process, to match the logic in nsNPAPIPluginInstance. This makes the Microsoft Surface website paint correctly. r=jimm 2010-10-27 09:13:53 -04:00
Benjamin Smedberg
c26e61f8d5 Bug 596451 part E - Implement transparency using DIBs with builtin transparency. Flash at least does this correctly, and since nobody else really uses windowless transparency, this is going to be the Way It Is. r-pending=jimm/karlt 2010-10-27 09:03:09 -04:00
Benjamin Smedberg
ae4a853966 Bug 596451 part D - Hook up asynchronous plugin painting on Windows. This part allows opaque plugins to paint correctly. r=jmathies 2010-10-25 13:57:13 -04:00
Benjamin Smedberg
135698e22c Merge mozilla-central with the asynchronous plugins painting branch. 2010-10-13 10:45:01 -04:00
Josh Aas
3e01275064 Bug 610238: Sync to npapi-headers rev 31. r=bsmedberg a=blocking2.0betaN+ 2010-11-09 10:26:44 -05:00
Chris Jones
fb1d02f4d7 Test for bug 598862. r=karlt a=blocking 2010-11-08 20:48:59 -06:00
Ehsan Akhgari
ffa07f5b9a Bug 603679 - Fix a regression causing the Shockwave plugin to fail to load; r=bsmedberg a=blocking-beta8+ 2010-11-04 14:45:51 -04:00
Chris Jones
c3ee27307f Bug 607123: Skip this test if we don't have the test plugin, otherwise it'll time out. r=roc a=test-only 2010-10-26 11:57:46 -05:00
Benjamin Smedberg
f176e663d6 Bug 596451 part B - UseAsyncPainting really shouldn't need to dig very far or use an outparam, r=romaxa 2010-09-21 17:10:45 -04:00
Scott Greenlay
92c12ef9d7 Bug 596762: Allow specification of differing IPC preferences for each architecture in a universal binary. r=josh a=blocking-b7 2010-09-27 16:42:43 -04:00
Josh Aas
54d8736551 Back out patch for 596762, running the test plugin out-of-process on 64-bit Mac OS X is exposing a bug that causes a lot of intermittent orange. a=josh 2010-09-24 15:08:30 -04:00
Jesse Ruderman
89e3edd9bd Bug 584582 - Remove asserts-if() now that the bug is fixed 2010-09-24 11:22:42 -07:00
Josh Aas
e8cb9a73bd Bug 599086 and bug 599391: Disable tests that are now intermittent orange because we put the Mac OS X test plugin out of process. a=josh 2010-09-24 13:04:25 -04:00
Josh Aas
bafb76988d Bug 599378: Disabled test_hanging.html on Mac OS X for now. a=josh 2010-09-24 12:32:23 -04:00
Scott Greenlay
9ab1f355f5 Bug 596762: Allow specification of differing IPC preferences for each architecture in a universal binary. r=josh a=blocking-b7 2010-09-24 10:32:02 -04:00
Josh Aas
7f5edbad1d Merge backout of bug 596762. a=josh 2010-09-23 16:06:36 -04:00
Josh Aas
a2b531c127 Backed out changeset 401db5db054a, bug 596762. Too much orange, again. a=josh 2010-09-23 16:06:13 -04:00
Josh Aas
843e210522 Bug 599076: Disable test_crashing.html on Mac OS X for now. Bustage fix. a=josh 2010-09-23 15:43:56 -04:00
Scott Greenlay
4d41c8ea82 Bug 596762: Allow specification of differing IPC preferences for each architecture in a universal binary. r=josh a=blocking-b7 2010-09-23 13:21:55 -04:00
Scott Greenlay
2b1aed9232 Bug 564485: Support "WebPluginMIMETypesFilename" for getting plugin MIME types on Mac OS X. r=josh a=blocking-betaN+ 2010-10-25 13:56:46 -04:00
Oleg Romashin
ed7c4c467b Bug 598112 fix 552512 reftest. r=joshmoz a=blocking2.0 2010-09-21 11:03:19 -07:00
Oleg Romashin
42bbe5a57c Bug 598112 - UseAsyncPainting, always return FALSE becuase plugin mRunning == FALSE. r=roc a=blocking2.0 2010-09-20 21:16:37 -07:00
Doug Turner
21dd89698d Backing out Bug 598112. This caused perma orange on 597742. a=me 2010-09-20 23:24:18 -07:00
Doug Turner
49d8611636 Bug 598112 - UseAsyncPainting, always return FALSE becuase plugin mRunning == FALSE. r=roc a=npodb 2010-09-20 21:16:37 -07:00
Josh Aas
4c5979b1bf Backed out changeset c06ef0414fee, bug 596762. a=me 2010-09-20 22:13:13 -04:00
Scott Greenlay
c18a02206e Bug 596762: Allow specification of differing IPC preferences for each architecture in a universal binary. r=josh a=blocking-b7 2010-09-20 20:21:55 -04:00
Josh Aas
97b5457fe2 Convert test to UNIX line endings. r=me a=me 2010-09-20 20:18:17 -04:00
Robert O'Callahan
ede8b01991 Bug 594774. Tests for this bug. r=dbaron a=blocking 2010-09-17 12:09:09 -07:00
Boris Zbarsky
ebd7c067e3 Bug 484992 and bug 604420. Don't start a new network request when instantiating the plug-in for <object>s. r=josh, a=blocker 2010-10-22 21:16:29 -04:00
Honza Bambas
1809d63cca Bug 595525 - Double data deletion in streamTest (nptest.cpp), test_streamNotify.html, r=josh, a=blocking:betaN+ 2010-10-11 21:41:11 +02:00
Robert O'Callahan
b6a55af831 Fixing test errors, a=me 2010-10-11 15:35:47 +13:00
Robert O'Callahan
2456df20bd Bug 596491. Part 2: Add test to ensure that we don't ask a plugin to paint just because we scrolled it. r=josh 2010-10-11 13:58:21 +13:00
Ehsan Akhgari
d678ca7e0d Bug 286382 - Don't load DLLs from the current directory; r=bsmedberg a=blocking-betaN+ 2010-09-28 20:33:43 -04:00
Benjamin Smedberg
9e96779894 Bug 556698 - test_twostreams intermittent failure, reorder the test so the script always loads before the iframes which might race with it. a=test-only 2010-09-16 21:26:08 -07:00
Josh Aas
d16bd1cc51 Backed out changeset 080a38bd09c5, bug 596762, a=bustage 2010-09-16 15:40:49 -07:00
Scott Greenlay
f1225a7550 Bug 596762: Allow specification of differing IPC preferences for each architecture in a universal binary. r=josh a=blocking-b7 2010-09-16 14:05:11 -07:00
Josh Aas
526f55239a Bug 590057: Add support for loading plugins of a different architecture than the host browser on Mac OS X. r=cjones a=blocking-b7 2010-09-15 23:09:19 -07:00
Josh Aas
8be8eb73f5 Bug 596434: Don't require a PRLibrary when making a decision about whether or not to put a plugin out of process. r=jst a=blocking-b7 2010-09-15 21:57:13 -07:00
Ehsan Akhgari
573b8e92f3 Merge backout a=orange 2010-09-15 12:28:49 -04:00
Ehsan Akhgari
666a59371c Back out bug 594774 because of reftest failures and crashtest assertions 2010-09-15 12:28:29 -04:00
Oleg Romashin
27fa97f1ea Bug 556487 - Disable layers for non-ipc API. r=roc a=blocking2.0 2010-09-15 09:02:47 -07:00
Robert O'Callahan
832fbcb619 Bug 594774. Test a=blocking-beta6+ 2010-09-15 11:30:27 -04:00
Chris Jones
6b660e608b Like bug 607123, disable tests that are bogus without the test plugin. rs=roc a=test-only 2010-11-03 14:37:16 -05:00
Mounir Lamouri
abf118e3a7 Fix intermittent failures in test_cocoa_focus.html. r=jst a=tests 2010-11-03 00:48:45 +01:00
Mounir Lamouri
69515390a1 Bug 595062 - Fix Intermittent mochitest-ipcplugins failures in test_cocoa_focus.html. r=jst a=tests 2010-10-29 21:50:27 +02:00
Oleg Romashin
90150a79e4 Bug 599202 - Add support NPP_ImageDraw API for Maemo6. r=dougt a=npodb
--HG--
extra : rebase_source : 8486484c5c2bd25a1e1b63859a62bf41787e7004
2010-10-05 09:15:49 +03:00
Oleg Romashin
a02cd4afb2 Bug 599476 - windowless plugins in object elements with data (e.g. certain Flash pages) are not painted. r=karlt a=beta7 2010-10-02 09:00:45 -07:00
Robert O'Callahan
669ff953e8 Bug 602200. Share code to compute effective transforms and opacity, and snap effective transforms. r=bas,sr=vlad,a=blocker 2010-11-08 22:06:15 +13:00
Josh Aas
571458ce11 Remove Windows line endings. No bug. a=josh 2010-11-06 16:27:39 -04:00
Jacek Caban
e015e6c248 Bug 606846 - nsPluginNativeWindowWin.cpp compilation broken on mingw r=jmathies a=benjamin
--HG--
extra : rebase_source : 07b87af2bba5542e022490765c6402f749871642
2010-11-06 14:25:34 +00:00
Scott Greenlay
763efb5eb3 Bug 607444 - Quicktime plugin claims 'application/pdf' MIMEType resulting in single page image for pdf. r=josh 2010-11-06 10:38:45 +01:00
Oleg Romashin
142c1d024b Bug 595697 - nsIPluginInstance.h(30) : warning C4099: 'gfxASurface' : type name first seen using 'class' now seen using 'struct' r=benjamin a=approval2.0 2010-11-06 10:42:39 +02:00
Phil Ringnalda
6a53b136a5 Bug 608544 - Don't console-spam a totally expected warning about not getting the pref plugins.unloadASAP which has no default value, r+a=josh 2010-10-30 14:01:53 -07:00
Jim Mathies
88f27be782 Bug 596094 - Restore plugin subclass when Flash resets it in full screen mode (ipc disabled case). r=jst, a=betaN 2010-10-21 16:52:48 -05:00
Jim Mathies
70d293e34e Bug 596094 - fix a race condition w/ipc disabled in focus related event handling. r=jst, a=betaN 2010-10-21 16:52:48 -05:00
Jim Mathies
919aff5252 Bug 596094 - Do a little cleanup work on nsPluginNativeWindowWin. r=jst, a=betaN 2010-10-21 16:52:48 -05:00
Jacek Caban
f719b4c3e5 Bug 605116 - Properly declare functions without arguments in npfunctions.h r=joshmoz a=benjamin 2010-10-20 17:30:36 +00:00
Walter Meinl
5a0c2f772a bug604768 [OS/2] break - follow-up removal of argument to NS_TRY_SAFE_CALL_* macros r=daveryeo a=NPOTB 2010-10-20 17:27:27 +00:00
Josh Aas
0b42f3de72 Bug 599087: Re-enable plugin crash tests on Mac OS X. a=test 2010-10-18 16:11:49 -04:00
Josh Aas
41886b010b Bug 599267: Re-enable "test_bug479979.xul" on Mac OS X. a=test 2010-10-18 08:52:06 -04:00
Jim Mathies
c6d72f81ef Bug 603417 - Disable oopp for java on windows. r=bsmedberg, josh, a=final. 2010-10-15 11:04:39 -05:00
Ehsan Akhgari
1a982101c1 Bug 603679 - Shockwave fails to load (10-9 nightly and newer); r=bsmedberg a=blocking-beta8+
--HG--
extra : rebase_source : 5bfa6f5e1da87af2b5f4d09cb70570534a0dad70
2010-10-14 19:53:42 -04:00
Josh Aas
2a74634539 Bug 599076: Re-enable "test_crashing.html" on Mac OS X. a=test 2010-10-15 11:12:02 -04:00
Josh Aas
937da48371 Bug 599378: Re-enable "test_hanging.html" on Mac OS X. a=test 2010-10-14 22:05:48 -04:00
Jacek Caban
0456af894a Bug 603373 - Remove unused library argument of NS_TRY_SAFE_CALL_* macros r=joshmoz a=benjamin 2010-10-14 21:06:31 +00:00
Blake Kaplan
29e85b9844 Merge mozilla-central into tracemonkey 2010-10-13 17:54:54 -07:00
Johnny Stenback
ab55d2919b Bug 580128 - Make nsJSNPRuntime compartment safe (r=gal). 2010-10-10 15:50:08 -07:00
Ben Turner
d21a4b0755 Bug 580128. Fix plugin stream test to work with the new wrappers. r=jst@mozilla.org 2010-10-10 15:39:14 -07:00
Scott Greenlay
bfc806a99a Bug 478823: Fix memory leak that can result from reloading the plugin list. r=josh r=jst a=blocking2.0b8+ 2010-10-13 11:50:35 -04:00
Blake Kaplan
d8815d1675 Bug 580128 - Fix compartment warnings by entering. r=gal/peterv/jst/mrbkap/jorendorff (and written by all of us too). 2010-09-22 17:34:20 -07:00
Robert Sayre
ba8adf47b3 Merge mozilla-central to tracemonkey. 2010-10-08 21:56:00 -04:00
Robert Sayre
19a4f7ab74 Merge mozilla-central to tracemonkey. 2010-10-05 13:30:17 -07:00
Luke Wagner
5eeb7d4ff7 Bug 587914 - js::Valueify in static data constructors causes runtime initialization (r=igor)
--HG--
extra : rebase_source : 09f2d8b620985eff96468ef7875cab8751a93d18
2010-10-01 17:53:08 -07:00
Robert Sayre
4659902f34 jaegermonkey. what. a=arewefastyet 2010-09-11 15:06:33 -04:00
Robert Sayre
59773ae503 Merge mozilla-central to tracemonkey. 2010-09-10 11:47:11 -04:00
Mounir Lamouri
6d4b563809 Bug 369306 - Tests for bug 369306 and fixing broken tests. r=jst a2.0=test-only 2010-09-09 20:20:06 +02:00
L. David Baron
1771274bc6 Add workaround for bad pixel in pluginproblem reftest. (Bug 459144) a2.0=blocking2.0:beta6
--HG--
rename : modules/plugin/test/reftest/pluginproblemui-direction-ref.html => modules/plugin/test/reftest/pluginproblemui-direction-1-ref.html
rename : modules/plugin/test/reftest/pluginproblemui-direction-ref.html => modules/plugin/test/reftest/pluginproblemui-direction-2-ref.html
rename : modules/plugin/test/reftest/pluginproblemui-direction-1.html => modules/plugin/test/reftest/pluginproblemui-direction-2.html
2010-09-09 08:21:47 -07:00
Robert Sayre
edb7aca0d0 merge mozilla-central to tracemonkey. 2010-09-08 10:33:07 -04:00
Jim Mathies
f027840943 Bug 531551 - fix for crashes with older acrobat versions. r=jimm, a=blocking-final. 2010-09-07 11:12:28 -05:00
Oleg Romashin
3b53e5dd97 Bug 556487 - test should wait for paint after setColor. r=roc a=blocking2.0
--HG--
extra : rebase_source : 69ae8709316d2bdad04e7efd3cfc49a5bc8d12d4
2010-09-10 11:30:03 -07:00
Oleg Romashin
1aa4439c1d Bug 556487 - Plugin child/parent/PluginInstance API part. r=roc a=blocking2.0
--HG--
extra : rebase_source : 2c07b0dd0f24e704571f43d3e44dd4126a7b3c7d
2010-09-10 11:28:52 -07:00
Ms2ger
4185e805f1 Bug 590970 - Don't compare PL_strcasecmp's return value to nsnull; r=joshmoz approval2.0=jst 2010-09-02 22:18:04 +02:00
Luke Wagner
5e9978f911 Bug 581263 - remove slow natives (r=waldo,mrbkap) 2010-08-16 12:35:04 -07:00
David Mandelin
5eba7a1580 [JAEGER] Merge from Tracemonkey. 2010-08-31 10:36:08 -07:00
Miika Jarvinen
ff74404c78 Bug 591019 - Crash if description returned by plugin is empty. r=joshmoz a=b5 2010-08-30 17:40:13 -07:00
David Mandelin
f575742690 [JAEGER] Merge from Tracemonkey. 2010-08-30 11:38:48 -07:00
Dan Witte
c4091d7694 Back out Bug 536324 part 3. 2010-08-30 13:20:39 -07:00
David Mandelin
a21c621577 Merge from Tracemonkey. 2010-08-19 11:11:36 -07:00
David Mandelin
1d0c044032 [JAEGER] Bug 587865: demote to int when passing parameters to plugins to preserve old behavior 2010-08-17 18:40:16 -07:00
Joel Maher
b61eda4b1d Bug 586754 Xpcshell tests should use relativesrcdir instead of $MODULE (android prepartion) r=mitchell.field a=NPOTB 2010-08-26 14:47:28 -07:00
Robert Sayre
4aa91b82ce Merge merge. 2010-08-10 17:00:09 -07:00
David Mandelin
ac09edcf6c Bug 585501: innerize window before using it as a scope chain in NPN_Evaluate, r=mrbkap 2010-08-10 16:11:32 -07:00
L. David Baron
2d948cf4d9 Mark known random assertion due to bug 585394. 2010-08-07 19:21:44 -07:00
Clint Talbert
1afdc1b8df Backed out changeset 49beef9387a0 due to Xpcshell orange a=backout
--HG--
extra : rebase_source : 01307f705ab07b7784401d69a53921b200544978
2010-08-25 14:03:44 -07:00
Joel Maher
51fff79f07 Bug 586754 Change xpcshell to use $relativesrcdir instead of $module for android support a=NPOTB r=mitchell.field 2010-08-25 11:47:39 -07:00
Joel Maher
ce269022ab Bug 574189 - Fix chrome tests to work from an extension for android and e10s support a=NPOTB r=ctalbert 2010-08-24 10:29:34 -07:00
Josh Aas
80c7aced07 Bug 584143 - Crashes when streams are open and a plugin instance is closed at/under nsNPAPIPluginInstance::Stop, r=bsmedberg 2010-08-09 14:38:43 -04:00
Josh Aas
8effb77703 Fix a problem in which we fail to load an enabled plugin just because a disabled plugin is a MIME handler for the same MIME type. b=581848 r=jst 2010-08-04 15:16:12 -04:00
Dan Witte
5f4dbe5953 Bug 536324 - e10s HTTP: refactor nsHashPropertyBag. Part 3: contentLength consumers. r=jduell, a=beta5+ 2010-08-21 00:31:35 -07:00
Josh Aas
a150919962 Bug 578868: Only load plugin libraries into the main process when absolutely necessary. r=benwa sr=bsmedberg a=blocking-b5+ 2010-08-17 20:05:48 -04:00
Robert O'Callahan
7ad31bd211 Fix line endings. 2010-08-18 18:04:50 +12:00
Bas Schouten
3cbce0cdb6 Bug 587320: Use proper paint counts on D2D due to dual pass rendering. r=joedrew 2010-08-16 09:15:03 +02:00
Martin Stránský
47126da4d8 Bug 574354 - Disable OOP for plugins wrapped by nspluginwrapper. r=josh 2010-08-15 11:10:15 +02:00
Benjamin Smedberg
352f2a2dd9 Bug 583576 - Range requests on an embedded or fullpage stream causes the stream to be destroyed prematurely because we don't record the mPendingRequests on the nsPluginStreamListenerPeer, r=josh 2010-08-04 14:31:20 -04:00
Dave Townsend
e503e5893d Disable plugin crash submission tests on all Linux for bug 583591. rs=khuey 2010-08-02 18:02:20 -07:00
Josh Aas
76e341467b Bug 583506: Remove remaining support for blackwood java from plugins module. r/a=jst 2010-08-02 16:31:31 -04:00
Robert O'Callahan
91595e761f Bug 580160. Test plugin needs to invalidate itself if its size changes. r=josh 2010-08-02 15:07:07 +12:00
Robert Sayre
073bde8d2b Merge mozilla-central to tracemonkey. 2010-07-30 21:57:41 -07:00
L. David Baron
9cc2e9ec05 Switch reftest manifests to new, shorter syntax for widget toolkit tests. (Bug 570329) a2.0=tests
This patch was created by running the following sed commands:
s/MOZ_WIDGET_TOOLKIT=="\(gtk2\|cocoa\|qt\|windows\)"/\1Widget/g
s/MOZ_WIDGET_TOOLKIT!="\(gtk2\|cocoa\|qt\|windows\)"/!\1Widget/g
on all *.list files in the tree.
2010-07-30 16:48:57 -07:00
Josh Aas
ca28c175cb Bug 583019: Remove unused library management code from the plugin host. r=benwa 2010-07-29 17:53:48 -04:00
Chris Jones
4f403fa196 Bug 582486: Don't read an unused pref when unregistering from the category manager. r=josh 2010-07-29 14:15:13 -05:00
Robert Sayre
55a8586519 Merge mozilla-central to tracemonkey. 2010-07-27 13:09:04 -07:00
Igor Bukanov
6eb0fa7807 bug 552266 - - asserting that autorooters are used only under a request. r=mrbkap 2010-07-23 13:33:15 +02:00
Robert Sayre
1b744a7685 Merge mozilla-central to tracemonkey. 2010-07-20 15:07:03 -07:00
Luke Wagner
549bdba685 fatval tweaks: bump XDR version, remove spurious comment and #defines, realign JSStackFrame 2010-07-15 13:18:12 -07:00
Luke Wagner
99411cc93d Bug 549143 - fatvals 2010-07-14 23:19:36 -07:00
Robert Sayre
38029f43fa Merge mozilla-central to tracemonkey. 2010-07-12 20:42:21 -07:00
Josh Aas
f53cb167f3 Fix mStreamListeners incorrectly initialized to nsnull. Also remove a bad comment. b=577982 2010-07-12 16:22:51 -04:00
Robert Sayre
951426beed Merge mozilla-central to tracemonkey. 2010-07-11 16:23:48 -07:00
Makoto Kato
613f3559d8 Bug 574095 - crash loading test plugin on 64-bit win7 tests in /layout/generic/crashtests/505912-1.html , /tests/layout/generic/test/test_plugin_clipping.xhtml [@ _SetWindowLongPtr() | nsPluginNativeWindowWin::SubclassAndAssociateWindow]. r=joshmoz 2010-07-12 13:49:12 +09:00
Robert Sayre
70fc03b113 Merge mozilla-central to tracemonkey. 2010-07-02 17:25:52 -07:00
Josh Aas
7c2ba6e19d Bug 542971, bug 577985: Includes a number of plugin module memory mgmt fixes. Remove/replace nsPluginInstanceTag (instance tags), stop storing the plugin library and function table twice. r=jst 2010-07-19 22:11:26 -04:00
Josh Aas
4e23705cc3 Bug 579516: Patch contains a number of fixes to nsPluginStreamListenerPeer memory management. Also moves storage of the stream array for cache lookups to the plugin instance rather than the instance tag. Also stops adding streams to the cached list that shouldn't be there. r=benwa 2010-07-17 19:47:29 -04:00
Josh Aas
106040179d Improve memory mgmt and reduce COM pointer type usage in plugin stream code. b=578913 r=benwa (re-landing, did not cause Ts Shutdown regression) 2010-07-16 15:55:54 -04:00
Josh Aas
a3aefb5e98 Backed out changeset 764bb4ae886c, bug 578913, it may be at fault for a Ts Shutdown regression. 2010-07-16 13:25:01 -04:00
Josh Aas
41ff002705 Improve memory mgmt and reduce COM pointer type usage in plugin stream code. b=578913 r=benwa 2010-07-15 22:30:07 -04:00
Robert O'Callahan
7f603b4ac1 Bug 564991. Part 37: Add test plugin API to make the plugin invalidate itself during each paint. r=josh 2010-07-16 09:08:11 +12:00
Robert Sayre
4ed4f1f76a merge tracemonkey to mozilla-central. 2010-07-14 06:00:32 -07:00
Josh Aas
74d7a05a98 Move nsPluginStreamListenerPeer to its own files, clean up the plugin host. b=578447 r=benwa 2010-07-13 16:48:00 -04:00
Josh Aas
d581ec02fb Move nsNPAPIPluginStreamListener implementation to its own file. b=578383 r=jst 2010-07-13 14:42:03 -04:00
Josh Aas
1b1a81fc4a Remove nsPluginCacheListener, it is unused. b=578285 r=benwa 2010-07-13 02:58:30 -04:00
Benjamin Smedberg
5aea5bb4c0 Bug 582012 - register identifiers in the ID maps when they are created by the browser, so that a plugin never sees two identifiers for the same string/integer, r=bent 2010-07-28 13:20:33 -04:00
Steven Michaud
a54789cbe5 Bug 577967 - Crash [@ NSAddImage ] on startup on 2.0 branch. r=josh 2010-07-21 11:27:13 -05:00
Chris Jones
15db514e63 Temporarily disable plugin crash submission tests. See bug 573290 2010-07-01 20:01:09 -05:00
Benjamin Smedberg
a2833452f8 Merge mozilla-central to the bug 568691 branch.
--HG--
rename : gfx/public/nsITheme.h => gfx/src/nsITheme.h
2010-06-30 14:23:23 -04:00
Ted Mielczarek
1dc201bc7a bug 574357 followup, don't run the new test on platforms where we don't build crashreporter. Should also fix bug 574118. r=bsmedberg 2010-06-30 11:10:46 -04:00
Ted Mielczarek
17362ddaa6 bug 574357 - Plugin crash reports are submitted with Throttleable=0. r=dolske
--HG--
rename : modules/plugin/test/mochitest/test_crash_notify_no_report.xul => modules/plugin/test/mochitest/test_crash_submit.xul
2010-06-30 10:29:05 -04:00
Justin Dolske
157f21c04d Backed out changeset e112f68bc941 (bug 574357) due to test failures. 2010-06-29 22:45:30 -07:00
Ted Mielczarek
1ff7a5c880 bug 574357 - Plugin crash reports are submitted with Throttleable=0. r=dolske
--HG--
rename : modules/plugin/test/mochitest/test_crash_notify_no_report.xul => modules/plugin/test/mochitest/test_crash_submit.xul
2010-06-29 19:34:39 -04:00
Benjamin Smedberg
c71e024222 Bug 574457 - Back out the functional changes from revision 0327e126ea24, bug 569644, because of 100ms (20%) Ts regression on Linux/Mac. This leaves the nsIContentUtils helper function, but restores the plugin host category entry munging. 2010-06-29 16:56:13 -04:00
Benjamin Smedberg
63c0077443 Merge mozilla-central into the branch for bug 568691, including fixup of the new jetpack binary module. 2010-06-25 19:41:09 -04:00
Benjamin Smedberg
762def30bb Merge mozilla-central into the static-xpcom-registration branch. 2010-06-23 17:26:25 -04:00
Benjamin Smedberg
45af085fff Merge mozilla-central into the "branch" for but 568691. The omnijar XPT/component/chrome registration was removed during this merge, and will be re-added to the component manager shortly.
--HG--
rename : content/base/public/nsIChromeRegistry.idl => chrome/public/nsIChromeRegistry.idl
2010-06-21 11:41:42 -04:00
Chris Jones
bf91852da6 Bug 572295: Add X11Util.h for X11 toolkits. r=karlt,joedrew 2010-06-21 15:35:49 -05:00
Benjamin Smedberg
f13550a209 Bug 568691 part B - mechanical changes to in-tree binary modules needed to get them building and registering correctly. After this patch, xpcshell appears to work. 2010-06-10 14:11:40 -04:00
Benjamin Smedberg
80b423e0a0 Bug 569644 - Query the plugin host directly when searching for MIME types, rather than using Gecko-Content-Viewer category manager registration, r=bz 2010-06-10 12:42:16 -04:00
Josh Aas
b8977580e4 Sync NPAPI headers to npapi-headers repository r27. b=571538 r=jst r=mstange 2010-06-15 15:34:32 -04:00
Benedict Hsieh
d2e9c8e620 Bug 570980 - intermittent failure in test_fullpage.html | An error occurred - frameLoaded is not definedfixes race in plugin mochitest. r=bz 2010-06-11 12:02:44 -07:00
Josh Aas
dc18091697 Add support for Cocoa NPAPI complex text input. This patch contains a TSM-based implementation for 32-bit builds, and an NSInputContext-based implementation for 64-bit builds. b=512886 r=smichaud sr=jst 2010-06-09 20:56:17 -04:00
Mats Palmgren
1a73791960 Null-check frame (which is needed when bounds width/height is zero) and clamp negative values to zero. b=570884 r=josh 2010-06-09 21:07:41 +02:00
Josh Aas
091f1a3ee9 Merge of backout for 8e2ff18bc67e, bug 554524 2010-06-09 01:26:01 -04:00
Josh Aas
7d5bba7e58 Backed out changeset 8e2ff18bc67e 2010-06-09 01:25:11 -04:00
Benoit Girard
22930b5f78 Implement InvalidatingCoreAnimation Drawing Model. b=559211 r=josh 2010-06-09 00:11:48 -04:00
Josh Aas
1a4c1a7bba Improve nsNPAPIPluginInstance's stream management. r=jst 2010-06-08 23:28:40 -04:00
Jeff Walden
52312bac03 Bug 518663 - ES5: Object.getOwnPropertyNames. r=jorendorff 2009-09-24 14:33:14 -07:00
Robert Sayre
27b5a3b6fb Merge mozilla-central to tracemonkey.
--HG--
rename : dom/indexedDB/IDBCursorRequest.cpp => dom/indexedDB/IDBCursor.cpp
rename : dom/indexedDB/IDBCursorRequest.h => dom/indexedDB/IDBCursor.h
2010-06-30 11:54:20 -07:00
Robert Sayre
690a859635 Merge mozilla-central to tracemonkey. 2010-06-21 18:01:14 -07:00
Luke Wagner
f032df96b4 Bug 565157 - typed JS_AddRoot (r=igor) 2010-06-07 17:05:02 -07:00
Josh Aas
aaabe325da Don't build demo Linux printing plugin by default. b=573945 r=jst 2010-06-25 10:47:35 -04:00
Ms2ger@gmail.com
a4005e2fd1 Bug 538362 - rename nsIDocument::GetPrimaryShell to nsIDocument::GetShell. r=smaug 2010-06-25 15:59:57 +02:00
Josh Aas
83ec99695c Improve stream listener management for plugin instances. b=554524 r=jst 2010-07-09 11:16:47 -07:00
Brad Lassey
adeecd8bf0 bug 577347 - testplugin doesn't build for android r=joshmoz 2010-07-09 10:57:10 -07:00
Jim Mathies
2d302c9199 merge backout. 2010-06-02 17:18:04 -05:00
Jim Mathies
36d1eefef2 Bug 518915 - revert comment changes, 'clipRect' is not valid on all platforms. No bug. 2010-06-02 17:16:11 -05:00
timeless@mozdev.org
50835b5fc6 Bug 563200 fix deprecated conversion and comparison between signed and unsigned in testplugin/nptest.cpp. r=jst
--HG--
extra : rebase_source : 79958d664a02ad215198770a0c979b21ba3fca24
2010-05-23 15:32:42 -07:00
Oleg Romashin
04bd2dcac2 Bug 566845 - Make desktop flash plugin works on Fennec QT. r=dougt. 2010-05-21 13:19:57 -04:00
Ben Turner
ca2b5ab87c Bug 560974 - 'Firefox 3.6.4 Crash [@ mozilla::plugins::PluginScriptableObjectParent::GetPropertyHelper]'. r=jst. 2010-05-17 15:18:48 -07:00
Josh Aas
75eaabfc1a Disable plugin mochitest "test_crashing2.html" due to intermittent orange. b=566049 CLOSED TREE 2010-05-17 15:21:46 -04:00