Closed Bug 1397460 Opened 2 years ago Closed 2 years ago
Don't throw for a failure in cpows
59 bytes, text/x-review-board-request
test_cpows.xul runs some code in the child (which can actually be same process), via cpows_child.js. Testing in cpows_child.js is done by calling a function ok() that sends an async "cpows:fail" message if the test fails. However, after it does that, it throws an exception, which just causes the test to hang forever. I think it is okay to just not throw the exception. I tested it, and we still get a failure, but the test runs to completion.
Comment on attachment 8905255 [details] Bug 1397460 - Don't throw for a failure in cpows_child.js. https://reviewboard.mozilla.org/r/177056/#review182060
Attachment #8905255 - Flags: review?(wmccloskey) → review+
Pushed by email@example.com: https://hg.mozilla.org/integration/autoland/rev/a5aa81a626da Don't throw for a failure in cpows_child.js. r=billm
You need to log in before you can comment on or make changes to this bug.