Closed Bug 1048356 Opened 10 years ago Closed 10 years ago

Add missing <script src="enableTestPlugin.js"> tag to {file_fullscreen-,test_iframe_sandbox_}plugins.html

Categories

(Core :: DOM: Core & HTML, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla34

People

(Reporter: poiru, Assigned: poiru)

Details

Attachments

(1 file)

The following failures occured on try when testing moving content/html to dom/html (bug 946065):

 4194 INFO TEST-UNEXPECTED-FAIL | /tests/dom/html/test/test_fullscreen-api.html | Test timed out.
 6352 INFO TEST-UNEXPECTED-FAIL | /tests/dom/html/test/test_iframe_sandbox_plugins.html | uncaught exception - TypeError: p.startWatchingInstanceCount is not a function at http://mochi.test:8888/tests/dom/html/test/test_iframe_sandbox_plugins.html:38
Could you explain why it was broken, and how this fixes it?
(In reply to :Ms2ger from comment #2)
> Could you explain why it was broken, and how this fixes it?

Both tests contain <embed type="application/x-test" ...>, which does not work unless "Test Plug-in" is enabled. In the old location, the plugin was apparently already enabled for some reason. The patch adds the missing <script> tag (test_object_plugin_nav.html[0] already does this), which fixes the issue in the new location.

[0]: http://mxr.mozilla.org/mozilla-central/source/content/html/content/test/test_object_plugin_nav.html#11
Attachment #8467135 - Flags: review?(Ms2ger) → review+
https://hg.mozilla.org/mozilla-central/rev/da0ef2bd67b4
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla34
QA Whiteboard: [qa-]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: