[webkit-dev] make-script-test-wrappers not being maintained

Maciej Stachowiak mjs at apple.com
Mon Sep 12 16:04:14 PDT 2011


On Sep 8, 2011, at 11:15 AM, Eric Seidel wrote:

> It seems the "sucessfullyParsed" question could also be answered by
> some intelligent onerror handler added to the right script tag.

The "successfullyParsed" thing was originally added to benefit JS tests running in the browser. If you get a bunch of passes and then an exception which prevents further output, you wouldn't think that everything passed solely because the output is truncated. If it's possible to achieve this with onerror, and if this technique works cross-browser (an important use case for assertion-style layout tests is to load them in other browsers), then that would be fine by me. Last I heard, Opera didn't support onerror properly, but this may have changed.

 - Maciej



More information about the webkit-dev mailing list