| Index: chrome/test/data/permissions/flash.html
|
| diff --git a/chrome/test/data/permissions/flash.html b/chrome/test/data/permissions/flash.html
|
| index d2da65dc516dac22637523978051f638ef49611f..c13aa6ade53a09fe9590d2dba972e47c4c11d9c5 100644
|
| --- a/chrome/test/data/permissions/flash.html
|
| +++ b/chrome/test/data/permissions/flash.html
|
| @@ -1,38 +1,6 @@
|
| <!DOCTYPE html>
|
| <html>
|
| -<script>
|
| - function triggerPrompt() {
|
| - document.getElementById('flash-link').click();
|
| - window.domAutomationController.send(true);
|
| - }
|
| -
|
| - function triggerPromptViaNewWindow() {
|
| - document.getElementById('flash-new-window-link').click();
|
| - window.domAutomationController.send(true);
|
| - }
|
| -
|
| - function flashIsEnabledForPlugin(plugin) {
|
| - plugin.addEventListener('message', function handleEvent(event) {
|
| - if (event.data.source === 'getPowerSaverStatusResponse') {
|
| - plugin.removeEventListener('message', handleEvent);
|
| - window.domAutomationController.send(true);
|
| - }
|
| - });
|
| - if (plugin.postMessage)
|
| - plugin.postMessage('getPowerSaverStatus');
|
| - else
|
| - window.domAutomationController.send(false);
|
| - }
|
| -
|
| - function flashIsEnabled() {
|
| - flashIsEnabledForPlugin(document.getElementById('flash-object'));
|
| - }
|
| -
|
| - function flashIsEnabledForPluginWithoutFallback() {
|
| - flashIsEnabledForPlugin(
|
| - document.getElementById('flash-object-no-fallback'));
|
| - }
|
| -</script>
|
| +<script src="flash.js"></script>
|
| <body>
|
| <object id="flash-object-no-fallback" data="test.swf"
|
| type="application/x-shockwave-flash" width="400" height="100">
|
|
|