Closed Bug 760088 Opened 13 years ago Closed 13 years ago

content/chrome/dom/plugins/test/test_clear_site_data.html ran additional tests after finish() was called

Categories

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

defect
Not set
minor

Tracking

()

RESOLVED FIXED
mozilla16

People

(Reporter: MatsPalmgren_bugz, Assigned: MatsPalmgren_bugz)

Details

Attachments

(1 file)

Fallout from the diagnostic patch in bug 677964.
Comment on attachment 628708 [details] [diff] [review] Move the SimpleTest.finish() after the final test is done. I'm not sure who the right reviewer is, but since this is the first time I've ever seen PluginUtils, I'm pretty sure it's not me.
Attachment #628708 - Flags: review?(philringnalda) → review?(joshmoz)
Which exact test (line #) was running after finish, and what were the conditions? I don't understand why this helps.
It's the ok() test on line 22: ok(PluginUtils.withTestPlugin(runTest), "Test plugin found"); SimpleTest.finish() currently runs inside the 'runTest' callback so the final ok() runs after it.
correction: line 23.
Attachment #628708 - Flags: review?(joshmoz) → review+
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: