There are a new type of tests in WPT called crash tests: http://web-platform-tests.org/writing-tests/crashtest.html They don't have any reference and they don't use testharness.js, basically they pass if there's no a crash (sometimes they use "test-wait" similar to reftests with "reftest-wait", see bug #186045). It'd be nice to have support to run those tests in run-webkit-tests as we're going to end up importing some of them. Right now they are treated as pixel tests somehow, as they dump the render tree (and we know that would be different in every platform, so we'd need to skip these tests for now if they're imported).
<rdar://problem/69332045>
*** Bug 216921 has been marked as a duplicate of this bug. ***
Ran into this in https://bugs.webkit.org/show_bug.cgi?id=235500 / https://github.com/web-platform-tests/wpt/pull/32544. Tried linking only <script src="/resources/testharnessreport.js"></script>, didn't work out. Sadly, imported/w3c/web-platform-tests/domxpath/xpath-evaluate-crash.html is now out-of-sync.
I hit this with two files from WPT FileAPI. I decided not to import them when syncing in https://github.com/WebKit/WebKit/pull/12328. (I actually got confused and thought someone upstream had committed these in error.)
This was implemented in bug 242633. *** This bug has been marked as a duplicate of bug 242633 ***