Commit Graph

102 Commits

Author SHA1 Message Date
Benjamin Smedberg
25966491eb Bug 418615 - Neuter the code which tries to reframe existing plugin instances when navigator.plugins.refresh(true) is called. Instead, only scan for new plugins, unload unused plugins. The DOM code will continue to refresh the current page which calls navigator.plugins.refresh(true). r=jschoenick sr=bz 2013-04-23 16:02:12 -04:00
Joshua Cranmer
747c2be2bc Bug 856108 - Port static analyses to clang, part 2b: use MOZ_STACK_CLASS in dom. r=Ms2ger 2013-04-11 22:20:18 -05:00
Georg Fritzsche
5ac94cb469 Bug 830267 - Persist plugin preferences outside of pluginreg.dat. r=bsmedberg 2013-02-15 22:00:25 +01:00
Johnny Stenback
e41a6bd869 Fixing bug 781310. Change nsPluginHost::GetInst() to return already_AddRefed<nsPluginHost> to make it harder to write leaky code. r=jschoenick@mozilla.com 2013-03-20 11:29:00 -07:00
Yury Delendik
0c75a13b9f Bug 839714 - Extend PlayPreview API. r=jschoenick, r=jwein 2013-02-14 15:38:41 -06:00
Masatoshi Kimura
9404161458 Bug 839731 - Kill try-safe stuff. r=benjamin 2013-02-12 01:28:08 +09:00
Trevor Saunders
8f8b9e634e bug 825281 - remove nsISupportsArray from plugins r=bsmedberg 2012-12-12 02:56:25 -05:00
John Schoenick
ec7e2509d4 Bug 767638 - Rename InitializeEmbedded* plugin functions to just Initialize*. r=josh 2012-12-13 13:51:28 -08:00
John Schoenick
4624fd8455 Bug 767638 - Greatly simplify loading full-page plugins. r=josh 2012-12-13 13:51:27 -08:00
John Schoenick
3007d0a63b Bug 767633 - Part 3 - Remove a ton of obsolete nsPluginHost code. r=josh 2012-12-13 13:51:23 -08:00
John Schoenick
0b0c5b209a Bug 767633 - Part 2 - nsObjectLoadingContent should handle all initial streams for plugins. r=josh 2012-12-13 13:51:23 -08:00
Boris Zbarsky
4936ee0cbb Bug 815671 part 5. Various miscellaneous fixups in dom/ and hal/ code to copy arrays only when we explicitly want to. r=jlebar 2012-11-29 11:14:14 -05:00
David Keeler
97b94d74c8 bug 811375 - decouple nsIPluginTag::clicktoplay from click-to-play blocklisting r=joshmoz 2012-11-19 14:03:24 -08:00
Josh Aas
9198e7804c Bug 598397: Remove support for Carbon NPAPI. r=smichaud 2012-10-15 08:38:34 -04:00
Josh Aas
677edac3b7 Bug 797100: Replace internal usage of nsIPluginInstanceOwner with nsPluginInstanceOwner. r=jst 2012-10-02 22:43:18 -04:00
Yury
8dca0cb6e6 Bug 776208 - Plugin preview overlay. r=johns,jaws,margaret, sr=joshmoz 2012-08-25 17:18:44 -04:00
Benjamin Smedberg
4b48693cbf Revert bug 776208 for semi-consistent failures:
TEST-UNEXPECTED-FAIL | chrome://mochitests/content/browser/browser/base/content/test/browser_pluginplaypreview.js | Test 1a, the overlay about: content is expected
TEST-UNEXPECTED-FAIL | chrome://mochitests/content/browser/browser/base/content/test/browser_pluginplaypreview.js | an unexpected uncaught JS exception reported through window.onerror - TypeError: Components.classes is undefined at jar:file:///c:/talos-slave/test/build/firefox/omni.ja!/chrome/toolkit/content/global/about.xhtml:38
TEST-UNEXPECTED-FAIL | chrome://mochitests/content/browser/browser/base/content/test/browser_pluginplaypreview.js | an unexpected uncaught JS exception reported through window.onerror - TypeError: Components.classes is undefined at jar:file:///c:/talos-slave/test/build/firefox/omni.ja!/chrome/toolkit/content/global/about.xhtml:38
TEST-UNEXPECTED-FAIL | chrome://mochitests/content/browser/browser/base/content/test/browser_pluginplaypreview.js | Found an unexpected tab at the end of test run: jar:file:///c:/talos-slave/test/build/firefox/omni.ja!/chrome/toolkit/content/global/about.xhtml
TEST-UNEXPECTED-FAIL | chrome://mochitests/content/browser/browser/base/content/test/browser_pluginplaypreview.js | Found an unexpected tab at the end of test run: chrome://mochitests/content/browser/browser/base/content/test/plugin_test.html

CLOSED TREE
2012-08-24 13:08:15 -04:00
Yury
84fe6f7890 Bug 776208 - Plugin preview overlay. r=johns,jaws,margaret, sr=joshmoz 2012-08-24 16:18:16 -04:00
Benjamin Smedberg
cbdfb71fb3 Revert bug 776208 for semi-consistent failures:
TEST-UNEXPECTED-FAIL | chrome://mochitests/content/browser/browser/base/content/test/browser_pluginplaypreview.js | Test 1a, the overlay about: content is expected
TEST-UNEXPECTED-FAIL | chrome://mochitests/content/browser/browser/base/content/test/browser_pluginplaypreview.js | an unexpected uncaught JS exception reported through window.onerror - TypeError: Components.classes is undefined at jar:file:///c:/talos-slave/test/build/firefox/omni.ja!/chrome/toolkit/content/global/about.xhtml:38
TEST-UNEXPECTED-FAIL | chrome://mochitests/content/browser/browser/base/content/test/browser_pluginplaypreview.js | an unexpected uncaught JS exception reported through window.onerror - TypeError: Components.classes is undefined at jar:file:///c:/talos-slave/test/build/firefox/omni.ja!/chrome/toolkit/content/global/about.xhtml:38
TEST-UNEXPECTED-FAIL | chrome://mochitests/content/browser/browser/base/content/test/browser_pluginplaypreview.js | Found an unexpected tab at the end of test run: jar:file:///c:/talos-slave/test/build/firefox/omni.ja!/chrome/toolkit/content/global/about.xhtml
TEST-UNEXPECTED-FAIL | chrome://mochitests/content/browser/browser/base/content/test/browser_pluginplaypreview.js | Found an unexpected tab at the end of test run: chrome://mochitests/content/browser/browser/base/content/test/plugin_test.html
2012-08-24 13:08:15 -04:00
Yury
7aa3bfe5ac Bug 776208 - Plugin preview overlay. r=johns,jaws,margaret sr=joshmoz 2012-08-23 17:11:51 -04: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
Aryeh Gregor
8b4a23fc4c Bug 777292 part 2 - Change all nsnull to nullptr 2012-07-30 17:20:58 +03:00
Georg Fritzsche
5414c6c2d6 Bug 776923 - Fix tag management by (1) not loading duplicate plugins if they are in-process and (2) not repeatedly adding plugin tags that haven't changed. r=josh 2012-07-23 19:52:51 +02:00
David Keeler
61fda60518 bug 760625 - use the blocklist to inform click-to-play plugins. r=joshmoz,bmcbride 2012-07-11 08:56:34 -07:00
John Schoenick
0842f63699 Bug 772590 - The plugin category manager registration should account for multiple plugins per MIME, r=josh 2012-07-10 17:06:17 -07:00
John Schoenick
3edf447046 Bug 755551 - Implement plugin.allowed_types whitelist 2012-07-06 17:20:15 -07:00
Josh Aas
6ca061ab8e Bug 686335: Allow plugins that we previously considered duplicates to be loaded/registered. Prefer plugins with higher version numbers when picking a handler for content. r=bsmedberg 2012-06-13 22:51:21 -04:00
Gervase Markham
cb6a072c2a Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Josh Aas
19b2d04e7b Bug 755961: Plugin stream decomtamination (nsIPluginStreamListener). r=bsmedberg 2012-05-17 19:54:26 -04:00
Josh Aas
857ffa303c Bug 748343: Remove support for "java" and "packages" objects from the DOM. r=jst sr=smaug a=ehsan CLOSED TREE 2012-05-01 16:47:35 -04:00
Josh Aas
c512480d9e Bug 745842: Clean up plugin stream listener creation. r=jst 2012-04-24 16:25:21 -04:00
Brian Nicholson
ac86840602 Bug 712975 - Observe plugin pref changes. r=josh a=blocking-fennec 2012-01-05 16:02:51 -08:00
Josh Aas
1b41ed3e54 Bug 745241: Clean up some plugin stream functions. r=bsmedberg 2012-04-15 17:34:01 -04:00
Masayuki Nakano
60594b183f Bug 668157 part.2 mozilla/dom should use mozilla::Preferences r=jst 2012-04-04 13:09:20 +09:00
Josh Aas
4b93b7021a Bug 741726: Rename nsPluginTag::mEntryPoint to nsPluginTag::mPlugin. r=jst 2012-04-03 18:08:07 -04:00
Josh Aas
2f2dba91db Bug 729673: Fix cases in which plugin instance src data stream is not delivered properly. r=bsmedberg 2012-02-27 15:36:46 -05:00
Josh Aas
2601df7a1a Bug 723217: Fix click-to-play support for plugins on Android. r=snorp 2012-02-10 08:39:40 -05:00
Josh Aas
751621897d Bug 90268: Change plugin instance ownership from layout to content. r=roc r=bsmedberg 2012-01-31 16:55:54 -05:00
Margaret Leibovic
f31c181b2b Bug 707886 - Platform support for non-e10s click-to-play plugins. r=jst,blassey 2011-12-10 09:23:05 -08:00
Margaret Leibovic
3df3e72f1d backout f9b9d90ff8e1 due to bustage 2011-12-09 14:56:20 -08:00
Margaret Leibovic
58746392be Bug 707886 - Platform support for non-e10s click-to-play plugins. r=jst 2011-12-09 14:04:15 -08:00
Steven Michaud
5969b9c010 Bug 700835 - Restore plugin caching to work around bad crash bug in latest Apple Java updates. r=josh 2011-11-11 19:10:31 -06:00
Josh Aas
bbe816bfa8 Bug 690459: Remove usage of PR_TRUE and PR_FALSE from base plugin code. r=jst 2011-09-30 02:02:59 -04:00
Michael Wu
0fe7772ece Bug 675553 - Switch from PRBool to bool on a CLOSED TREE , r=bsmedberg,khuey,bz,cjones 2011-09-28 23:19:26 -07:00
Josh Aas
6f3b538ef0 Backed out changeset 33031c875984. Bug 90268. r=josh 2011-08-30 02:09:56 -04:00
Josh Aas
408bab982e Bug 90268: Make content own plugin instances instead of frames. Allows display:none instances and re-parenting instances without stopping them. r=roc 2011-08-29 03:09:22 -04:00
Josh Aas
09091a7ba6 Bug 670079: Stop caching plugin instances. We don't ever want to restart instances. r=jst 2011-07-08 12:39:22 -04:00
Josh Aas
32a8627777 Bug 606641: When creating a plugin from a stream, use the same creation path for both embedded and full screen plugins. r=jst 2011-05-26 21:49:56 -04:00
Josh Aas
60c0c9ea43 Bug 657952: Minimize methods in nsIPluginHost. r=jst 2011-05-21 09:28:54 -04:00
Josh Aas
fdde0fa13b Bug 637253: Remove nsIPluginInstance interface. r=bsmedberg 2011-05-17 21:48:34 -04:00