Closed Bug 1428882 Opened 8 years ago Closed 7 years ago

Add driver code to moz-central to trigger Tripwire to run a web test.

Categories

(Web Compatibility :: Tooling & Investigations, enhancement)

enhancement
Not set
normal

Tracking

(Not tracked)

RESOLVED INACTIVE

People

(Reporter: wisniewskit, Assigned: wisniewskit)

References

Details

Attachments

(1 file)

Create a basic test-driver which loads the Tripwire extension and has it run a web test file (with the test results to be parsed out in a subsequent bug). Tripwire itself may be stored in m-c along with the driver, but the web test files should be possible to fetch from a remote server configured in the driver.
Blocks: 1428883
Comment on attachment 8962500 [details] Bug 1428882 - Add Tripwire as a marionette test. https://reviewboard.mozilla.org/r/231316/#review236782 Code analysis found 1 defect in this patch: - 1 defect found by mozlint You can run this analysis locally with: - `./mach lint path/to/file` (JS/Python) If you see a problem in this automated review, please report it here: http://bit.ly/2y9N9Vx ::: toolkit/components/tripwire/tests/marionette/tripwire/content.js:171 (Diff revision 1) > +// return the same sequence of values as the various scripts request them. > +// > +// Note we make these changes with an eval(), since any cross-window closures > +// will break when the addon reloads, leaving behind a slew of mysterious > +// "cannot access dead object" messages in the browser console. > +window.eval(`(function() { Error: Eval can be harmful. [eslint: no-eval]

We're not currently working on this.

Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → INACTIVE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: