Open Bug 1093954 Opened 6 years ago Updated 5 years ago
Make mochitest assertions work in Content
Task .spawn functions
Bonus points for adding enough wrapping such that is/ok/isnot and other assertion functions on SimpleTest get forwarded back to the chrome process.
Does bug 1107609 do what you are asking for in this bug? I wound up using ContentTask.spawn in a test I wrote recently and it's super handy.
(In reply to Ted Mielczarek [:ted.mielczarek] from comment #2) > Does bug 1107609 do what you are asking for in this bug? I wound up using > ContentTask.spawn in a test I wrote recently and it's super handy. Yes, though I guess we can repurpose this bug to cover making assertions work in content when using it?
It's your bug, do what you want. :)
Depends on: 1107609
Summary: e10s - Add generic wrapper around addFrameScript to allow eval'ing arbitrary JS in the content process from a mochitest-browser test → Make mochitest assertions work in ContentTask.spawn functions
You need to log in before you can comment on or make changes to this bug.