Commit Graph

59 Commits

Author SHA1 Message Date
Ehsan Akhgari
aa2472bdb8 Bug 1208925 - Use delete to free instanceData since it has been allocated using new; r=baku
Found by Viva64.
2015-09-28 09:08:41 -04:00
Jim Mathies
35a3c3a7b8 Bug 1196834 - Add a test that confirms plugin windows are hidden after switching from a remote to local tab. r=roc 2015-08-24 16:45:39 -05:00
Ryan VanderMeulen
8dfa3d7d88 Backed out changeset 8d5db16d7f39 (bug 1196834) for e10s browser_bug1163570.js failures.
CLOSED TREE
2015-08-24 15:42:15 -04:00
Jim Mathies
43354231e3 Bug 1196834 - Add a test that confirms plugin windows are hidden after switching from a remote to local tab. r=roc 2015-08-24 10:56:05 -05:00
Ehsan Akhgari
82e50c11f5 Bug 1167690 - Part 4: Add support for testing plugin audio channel integration to the test plugin; r=josh 2015-07-29 08:26:46 -04:00
Ehsan Akhgari
6d097a46ce Bug 1157046 - Remove ARRAY_LENGTH in favor of MOZ_ARRAY_LENGTH; r=Waldo 2015-04-23 08:30:41 -04:00
Ehsan Akhgari
d9acf29164 Bug 1156030 - Remove some obsolete static assertion macros from the tree; r=Waldo 2015-04-21 14:22:43 -04:00
Masatoshi Kimura
bae0a32948 Bug 1120062 - Part 1: Remove most Nullptr.h includes. r=waldo 2015-01-11 11:34:52 +09:00
Georg Fritzsche
a54f18a35b Bug 1106552 - Fix invalid conversions of string to NPVariant in plugin code. r=bsmedberg 2014-12-11 15:05:13 +01:00
Josh Aas
974e19a35e Bug 1092630: Get rid of native widgets for OS X NPAPI plugins, make things work much better under e10s. Patch by Josh Aas, Markus Stange, Steven Michaud, David Parks. r=smichaud/jst/josh (more reviews pending) 2014-12-11 08:44:07 -06:00
Bill McCloskey
ea4cd2e4e8 Bug 641685 - Make plugin object map a singleton in the plugin process (r=bsmedberg)
This patches moves the object map (which tracks the PluginScriptableObjectChild
and PluginInstanceChild for a given NPObject) from the PluginModuleChild to
a global variable. This change prepares the way for having multiple PluginModuleChild
instances in a given plugin process.
2014-10-29 08:04:51 -07:00
Robert O'Callahan
864665b3b1 Bug 1072528. Part 1: Remove plugin-related code. r=bsmedberg 2014-09-24 16:35:00 -04:00
Benoit Girard
d47b7d4acc No bug - Remove printf in test plugin. r=jgriffin 2014-07-31 15:47:33 -04:00
James King
ec2f80f3a3 Bug 1022042 - Fix identifier leak in compareVariants. r=bsmedberg 2014-06-24 19:08:17 +02:00
Sébastien Blin
a3df37f9f7 Bug 1005652 - Replace a free with a delete in nptest.cpp to fix a minor warning found by scan-build, the LLVM/Clang static analyzer. r=bsmedberg 2014-05-01 16:59:16 +02:00
Aaron Klotz
a5e8596100 Bug 826851: Unit tests for Plugin Hang UI. r=bsmedberg 2014-04-19 12:06:35 -06:00
Bobby Holley
96d8ad4b1e Bug 986730 - Prevent a NAC-parented plugin from trying to touch its reflector. r=johns
jwatt indicated that he thinks we shouldn't support this use case, and thinks
this is the right approach.
2014-04-06 12:32:38 -07:00
John Schoenick
6e6243ed70 Bug 980625 - Fix more test plugin leaks found by LSAN. r=josh 2014-03-12 11:47:47 -07:00
John Schoenick
965fd53770 Bug 980625 - Fix minor leak in nptest found by LSAN. r=josh 2014-03-12 11:47:46 -07:00
John Schoenick
187123a87b Bug 980625 - Strip trailing whitespace plague from nptest.cpp. r=josh 2014-03-12 11:47:46 -07:00
John Schoenick
b5976bafab Bug 971279 - Add nptest java plugin. r=bsmedberg 2014-02-25 13:30:04 -08:00
Wes Kocher
f70c24d970 Backed out 7 changesets (bug 406541, bug 738396, bug 852315, bug 971273, bug 971279) for various java/plugin-related failures on a CLOSED TREE
Backed out changeset 13cc8a7ee925 (bug 852315)
Backed out changeset 23dfc36f99d4 (bug 852315)
Backed out changeset fb56bd7c0feb (bug 406541)
Backed out changeset b24d1437c6f3 (bug 738396)
Backed out changeset 5028e1290b45 (bug 971279)
Backed out changeset 34ecdab0cfc2 (bug 971279)
Backed out changeset 95b4aa01923d (bug 971273)
2014-02-20 16:19:30 -08:00
John Schoenick
8de4c6b868 Bug 971279 - Add nptest java plugin. r=bsmedberg 2014-02-20 14:38:02 -08:00
Ehsan Akhgari
860f2c1f29 Bug 969757 - Remove the dead code in our tree which pretends to support OS/2; r=roc,mcmanus,gps,jorendorf,bsmedberg sr=bsmedberg 2014-02-10 17:57:01 -05:00
Birunthan Mohanathas
f308a7c53f Bug 784739 - Switch from NULL to nullptr in dom/plugins/test/; r=ehsan 2013-10-23 16:35:10 -04:00
Steven Michaud
70d1010234 Bug 833936 - Mochitest that queries NPNVcontentsScaleFactor. r=bsmedberg 2013-03-21 15:23:46 -05:00
Georg Fritzsche
106cbc0a7e Bug 842687 - Test for uint32_t plug-in value; r=bsmedberg 2013-02-20 20:17:21 +01:00
Georg Fritzsche
c7cedb3ed0 Bug 813906 - Mochitest for unified base URI usage. r=bsmedberg 2012-11-23 20:35:49 +01:00
Ed Morley
882f8cc82a Backed out changeset fba52fc5161a (bug 813906) 2013-02-13 12:05:39 +00:00
Ed Morley
9ec0e77513 Backed out changeset 230f42e5e26d (bug 813906) 2013-02-13 12:05:36 +00:00
Georg Fritzsche
29ead96249 Fix fba52fc5161a, bug 813906, test bustage. 2013-02-13 12:34:22 +01:00
Georg Fritzsche
f2e8d05e8a Bug 813906 - Mochitest for unified base URI usage. r=bsmedberg 2012-11-23 20:35:49 +01:00
Daniel Holbert
0b93d6c4d1 Bug 836455: Sanity-check the result of 'fread()' in nptest.cpp to fix opt build warning. r=bsmedberg 2013-02-11 10:16:51 -08:00
Nathan Froyd
c11e06ccd7 Bug 798573 - remove prtypes.h #includes in dom/; r=ehsan 2012-10-05 17:28:24 -04:00
Karl Tomlinson
22a3dc7e67 reftest for bug 777946 r=roc 2012-09-18 10:15:35 +12:00
Ed Morley
bc7eac1c76 Backout 7f86b28171a2 (bug 787853) & e18fdb9a8e12, ba47dac3cf97, e3fdcf7ed7f2, 992ee4c72c87 (bug 777946) for intermittent linux M4 ABORTs 2012-09-17 14:17:02 +01:00
Karl Tomlinson
83a5f01939 reftest for bug 777946 r=roc 2012-09-06 16:57:21 +12:00
SADINENI RAVI CHANDRA
789b1ee8af Bug 654618: Fix signed/unsigned comparison warnings in nptest.cpp. r=bsmedberg 2012-09-10 23:53:04 -07:00
Jan Beich
ae60835f37 Bug 787730 - Don't assume NULL to be a character; r=ehsan 2012-09-06 12:53:00 -04:00
Georg Fritzsche
20f486dc62 Bug 751809 - Fix OSX focus issue with click-to-play. r=josh 2012-08-10 20:28:34 +02:00
Ehsan Akhgari
243c878d26 Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg
This patch was generated by a script.  Here's the source of the script for
future reference:

function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
       ! -wholename "*security/nss*" \
       ! -wholename "*/.hg*" \
       ! -wholename "obj-ff-dbg*" \
       ! -name nsXPCOMCID.h \
       ! -name prtypes.h \
         -type f \
      \( -iname "*.cpp" \
         -o -iname "*.h" \
         -o -iname "*.c" \
         -o -iname "*.cc" \
         -o -iname "*.idl" \
         -o -iname "*.ipdl" \
         -o -iname "*.ipdlh" \
         -o -iname "*.mm" \) | \
    xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}

convert PRInt8 int8_t
convert PRUint8 uint8_t
convert PRInt16 int16_t
convert PRUint16 uint16_t
convert PRInt32 int32_t
convert PRUint32 uint32_t
convert PRInt64 int64_t
convert PRUint64 uint64_t

convert PRIntn int
convert PRUintn unsigned

convert PRSize size_t

convert PROffset32 int32_t
convert PROffset64 int64_t

convert PRPtrdiff ptrdiff_t

convert PRFloat64 double
2012-08-22 11:56:38 -04:00
Ed Morley
8aed6b1aff Backout 6943b37c68cc (bug 751809) for bug 783723 2012-08-18 14:11:13 +01:00
Georg Fritzsche
1b121ef207 Bug 751809 - Fix OSX focus issue with click-to-play. r=josh 2012-08-10 20:28:34 +02:00
David Keeler
aacc173704 Bug 749257 - Improve test plugin. r=josh, r=bsmedberg 2012-08-13 10:40:15 -07:00
Georg Fritzsche
7f06e87d73 Bug 764660 - Collect and report on CPU utilization of a hung plugin process. r=bbondy 2012-07-25 14:38:43 +02:00
Martin Stransky
9f24c66177 Bug 627699 - Port GTK2 to GTK3, dom patch. r=karlt 2012-06-27 20:15:32 -04:00
Ryan VanderMeulen
183a1466e1 Backout a07e9d98a7c6 (Bug 627699) due to build bustage. 2012-06-21 20:56:10 -04:00
Martin Stransky
a378b97cdb Bug 627699 - Port GTK2 to GTK3, dom patch. r=karlt 2012-06-21 20:44:38 -04:00
Bas Schouten
c840736b6c Bug 734404 - Part 3: Add code to test plugin to support DXGI async drawing. r=roc 2012-05-30 07:14:30 +02:00
Matt Brubeck
a652a86ab9 Back out c209fea124e1 (bug 754198) because of Win64 build failure 2012-05-11 13:23:49 -07:00