Commit Graph

58 Commits

Author SHA1 Message Date
Benjamin Smedberg
d0ea1dfb67 Bug 880735 test fixups:
* Add a test-only setter to the center-item XBL binding
* add a head.js function to remove plugin permissions for use in cleanup functions
* browser_pluginnotification.js - lots of fixes for the core feature tests
* Alter test_bug751809 not to assume that clicking the page overlay will directly activate the plugin
* Alter browser_CTP_plugins.js because disabled plugins now do show up in the plugin doorhanger
* remove browser_CTPScriptPlugin.js and supporting files because we no longer auto-pop based on scripting
* fix browser_CTP_drag_drop.js so that active plugins still show the doorhanger icon, and other fixup
* fix browser_bug743421.js to expect the doorhanger all the time and activate it correctly
* fix browser_bug752516.js to check for doorhanger activation instead of plugin activation
* remove browser_bug818009.js and supporting files because they are testing something that no longer exists
* alter browser_bug820497.js so that it shows the popup notification before checking .centerActions, since we populate that data lazily now
* browser_plugins_added_dynamically.js: remove the "activate all" tests which are no longer relevant and fix the rest to match the new doorhanger structure.
2013-06-24 08:51:07 -04:00
Benjamin Smedberg
5f3af2acf4 Bug 882858 - Add a "showing" notification to PopupNotifications, r=jaws sr=gavin 2013-06-19 13:29:05 -04:00
Benjamin Smedberg
167df5915e Bug 875454 - Rework handling of per-site plugin permissions in objectloadingcontent such that users can disable or enable plugins per-site no matter what their "global" permission is (currently only plugins marked click-to-activate globally honor per-site overrides). Also change the pageInfo UI such that "use default" is separate from the explicit click-to-play setting. r=jschoenick/jaws
--HG--
extra : rebase_source : e5bfba45eaa5619d695c484573b90303cc113181
2013-06-11 10:58:43 -04:00
Benjamin Smedberg
21b1ee6a24 Bug 880675 - Remove the writable nsIPluginTag.blocklisted property, which is a poorly-constructed cache of the blocklist data, r=jschoenick r=unfocused
--HG--
extra : rebase_source : 04fd347af86d9bb47493ca37455008dedcc570f4
2013-06-11 10:58:42 -04:00
Christian Sonne ext:(%2C%20Justin%20Dolske%20%3Cdolske%40mozilla.com%3E)
d1969f91c7 Bug 839206 - Replace plugin installation notification bar with door hanger r=dolske
--HG--
extra : rebase_source : 20a6d7a32805772e9435ec874c049481a863a749
2013-05-03 13:44:12 -07:00
David Keeler
13412b2b0b bug 549697 - add click-to-play plugin UI to the addon manager r=unfocused r=jaws
--HG--
rename : browser/base/content/test/test_bug787619.html => browser/base/content/test/browser_bug787619.js
rename : browser/base/content/test/test_bug787619.html => browser/base/content/test/plugin_bug787619.html
2013-04-23 16:21:22 -07:00
David Keeler
8cef92685a bug 854467 - fix nsIPluginTag enabled state API r=bsmedberg r=unfocused 2013-03-27 14:06:43 -07:00
Ryan VanderMeulen
dcda86fbdf Backed out changeset 9983874bfa63 (bug 854467) for bustage on a CLOSED TREE. 2013-04-09 13:45:39 -04:00
David Keeler
c5435bfca8 bug 854467 - fix nsIPluginTag enabled state API r=bsmedberg r=unfocused 2013-03-27 14:06:43 -07:00
Xin Zhang
30abe2210d Bug 849764 - Replace removeObserver() calls with three params with two in browser dir. r=mak 2013-04-06 14:46:35 -04:00
David Keeler
a1a41aefd4 bug 832481 - require doorhanger to activate vulnerable click-to-play plugins r=jaws 2013-03-08 15:51:34 -08:00
David Keeler
68a8a05c74 bug 809846 - CTP: activate dynamically added plugins of the same type when using popup notification r=jaws
--HG--
rename : browser/base/content/test/plugin_bug743421.html => browser/base/content/test/plugin_add_dynamically.html
2013-01-11 16:25:02 -08:00
David Keeler
ff24715913 bug 821170 - expose a reshow method in PopupNotifications and use it r=jaws 2013-01-07 16:30:35 -08:00
David Keeler
5572b3593f bug 821098 - browser_pluginnotification.js should not call Services.perms.removeAll() r=jaws 2012-12-17 14:07:53 -08:00
John Schoenick
1450280283 Bug 767633 - Part 1 - Cleanup nsObjectLoadingContent logic a bit. r=josh 2012-12-13 13:51:22 -08:00
David Keeler
c8167b14b8 bug 816059 - properly reset blocklist in browser-chrome tests r=jaws 2012-11-29 12:18:53 -08:00
David Keeler
b737ede83b bug 746374 - differentiate click-to-play plugin permissions by type and vulnerability status r=jaws r=joshmoz 2012-11-27 10:09:10 -08:00
David Keeler
cbec1edc43 bug 812562 - click-to-play: reshow notification for blocklisted plugins r=jaws 2012-11-20 16:58:22 -08:00
David Keeler
0ad645bf69 bug 811375 - decouple nsIPluginTag::clicktoplay from click-to-play blocklisting r=joshmoz 2012-11-19 14:03:24 -08:00
John Schoenick
e0389ffc53 Bug 800018 - Part 2 - Move plugin fallback event handling entirely to the front end. r=jaws 2012-11-19 11:38:04 -08:00
John Schoenick
8ea5a299b6 Bug 797043 - Better handling of plugin activated state for click-to-play. r=josh 2012-10-16 12:52:30 -07:00
Jared Wein
4317aeb5ef Bug 799396 - Use Map instead of object literal in browser-plugins.js for hash tables. r=dao 2012-10-09 23:40:53 -07:00
David Keeler
14ceb60a79 Bug 754472 - Implement multiple plugin click-to-play UI. r=jaws r=margaret r=dietrich 2012-08-28 09:23:10 -07:00
David Keeler
0403eeeff8 Bug 795397 - Click-to-play blocklisting: respect the "plugins" permission. r=josh, r=jaws 2012-10-01 09:46:05 -07:00
Yury
e2cff80fb8 Bug 776208 - Plugin preview overlay test. r=jaws 2012-08-25 17:18:44 -04:00
Benjamin Smedberg
b8603666c1 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
9ebd4239db Bug 776208 - Tests for plugin preview overlay. r=jaws 2012-08-24 16:18:17 -04:00
Benjamin Smedberg
583084b3a2 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

--HG--
extra : rebase_source : e000988677d466b4796c5b2a51968f586743e6db
2012-08-24 13:08:15 -04:00
Yury
72679e34aa Bug 776208 - Plugin preview overlay test. r=jaws
--HG--
extra : rebase_source : e92f58a5f1defdfb90067386da1f6c38f8c9268e
2012-08-23 17:12:03 -04:00
David Keeler
8c1cb54acb Bug 767636 - expose plugin fallback type to extensions. r=jaws 2012-08-21 12:40:07 -07:00
Ed Morley
2d0ee22719 Backout 2b5b8baa5816 (bug 767636) for causing bug 783836 2012-08-19 02:08:13 +01:00
David Keeler
02cf2b5342 Bug 767636 - Expose plugin fallback type to extensions. r=josh 2012-08-17 14:24:00 -07:00
David Keeler
25c92f504d Bug 741130 - Attach XBL bindings for html:objects in nsElementSH::PostCreate. r=bz, r=jwein 2012-08-10 09:19:24 -07:00
David Keeler
dfa36dbeb5 bug 779662 - click-to-play overlay click handler too restrictive. r=jaws 2012-08-06 11:33:52 -07:00
Jonas Sicking
7b45d4a7a3 Bug 769594: Make nsObjectLoadingContent use principals when calling into permission manager. r=josh 2012-07-21 00:29:40 -07:00
David Keeler
12645e6e65 bug 760625 - use the blocklist to inform click-to-play plugins. r=joshmoz,bmcbride 2012-07-11 08:56:34 -07:00
David Keeler
0342050911 Bug 764421 - poll with setInterval instead of using setTimeout in browser_bug743421.js; r=jaws 2012-06-14 16:52:49 -07:00
David Keeler
9247dc188b Bug 759703 - Poll with setInterval instead of using setTimeout for browser_pluginnotification.js tests. r=jaws 2012-06-07 13:56:04 -07:00
David Keeler
a8f237eaa9 Bug 749455 - Use mContentType for click-to-play plugins in nsObjectLoadingContent::OnStartRequest. r=josh 2012-04-27 17:01:07 -07:00
David Keeler
bd784acf77 Bug 742753 - Click-to-play: activate only the clicked plugin. r=jaws 2012-05-15 11:10:43 -07:00
Ryan VanderMeulen
37c452fa72 Backout 449229be3db1 (bug 749455) to fix reftest failures. r=TrySchmy 2012-05-14 20:32:00 -04:00
David Keeler
13e34433a6 Bug 749455 - Use mContentType for click-to-play plugins in nsObjectLoadingContent::OnStartRequest. r=josh 2012-04-27 17:01:07 -07:00
David Keeler
17b4af6713 Bug 752461 - Hide click-to-play overlays when choosing "never activate plugins..." r=jaws 2012-05-08 14:38:50 -07:00
David Keeler
2b77d52a66 Bug 739575 - Prioritize click-to-play over alternate content in nsObjectLoadingContent::GetPluginSupport. r=josh 2012-04-26 16:25:21 -07:00
Jared Wein
231fe37109 Bug 742619 - Intermittent orange in browser_pluginnotifications.js at test 11c. r=felipe a=desktop-only 2012-04-18 11:41:59 -07:00
Jared Wein
09670f08c6 Bug 711618 - Automated tests for plugin activation permissions. r=felipe a=blassey 2012-04-18 11:41:26 -07:00
Jared Wein
8e33c30908 Bug 742619 - Temporarily disable one of the tests in test11c to quiet an intermittent orange. r=felipe 2012-04-04 22:17:54 -07:00
Jared Wein
f0e9716818 Bug 711552 - Automated tests for click-to-play plugins on desktop Firefox. r=felipe 2012-04-04 15:32:54 -07:00
Justin Dolske
bd0c676d22 Bug 545070 - plugin-problem UI shouldn't say "click here". r=gavin 2011-05-22 18:46:33 -07:00
Joel Maher
3b1fb9d8ce Bug 592859 Update browser chrome tests to only use chrome paths for mochitest to prep for android support r=ctalbert a=NPOTB 2010-09-10 10:20:38 -07:00