https://bugs.webkit.org/show_bug.cgi?id=172654
Reviewed by Mark Lam.
The test's intent is to assert that an exception has not been
thrown (as indicated by the message string), but the test was
erroneously checking for ! the right condition. This is now fixed.
* API/tests/JSExportTests.mm:
(wrapperForNSObjectisObject):
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@217517
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
context.exception = nil;
context[@"A"] = NSObject.class;
- // FIXME: https://bugs.webkit.org/show_bug.cgi?id=172654
- // checkResult(@"Should not throw an exception when wrapping NSObject and Object has been changed", [context exception]);
+ checkResult(@"Should not throw an exception when wrapping NSObject and Object has been changed", ![context exception]);
}
}
+2017-05-26 Keith Miller <keith_miller@apple.com>
+
+ REEGRESSION(r217459): testapi fails in JSExportTest's wrapperForNSObjectisObject().
+ https://bugs.webkit.org/show_bug.cgi?id=172654
+
+ Reviewed by Mark Lam.
+
+ The test's intent is to assert that an exception has not been
+ thrown (as indicated by the message string), but the test was
+ erroneously checking for ! the right condition. This is now fixed.
+
+ * API/tests/JSExportTests.mm:
+ (wrapperForNSObjectisObject):
+
2017-05-26 Joseph Pecoraro <pecoraro@apple.com>
JSContext Inspector: Improve the reliability of automatically pausing in auto-attach