Closed Bug 473935 Opened 15 years ago Closed 15 years ago

add sandbox property indicating whether test plugin is present

Categories

(Testing :: Reftest, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
mozilla1.9.2a1

People

(Reporter: ted, Unassigned)

References

Details

Attachments

(1 file)

In bug 473577 I'm making Josh's new test plugin usable for reftests, and I have some basic reftests to go along with it. I'd like them to be conditional on the test plugin being available. dbaron suggested I could check MOZ_PLUGINS=="1", but I think we can be even cleverer and add a sandbox property that says specifically that our test plugin is present, since the tests don't just require plugins, they require this specific plugin.
Attachment #357341 - Flags: review?(dbaron)
Comment on attachment 357341 [details] [diff] [review]
add haveTestPlugin property to sandbox

>+    sandbox.haveTestPlugin = 0;

>+            sandbox.haveTestPlugin = 1;

r=dbaron if you use false/true rather than 0/1.
Pushed to m-c:
http://hg.mozilla.org/mozilla-central/rev/2de42ef0e5a9
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Is there any reason not to land this on m-1.9.1?
Target Milestone: --- → mozilla1.9.2a1
Version: unspecified → Trunk
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: