[Webkit-unassigned] [Bug 22512] Add a test to check for crashes in attaching an event to a created document.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Nov 26 11:23:41 PST 2008


------- Comment #2 from eric at webkit.org  2008-11-26 11:23 PDT -------
(From update of attachment 25521)
This is an interesting combination of the old single-file .html style tests,
and the new .js tests which use the fast/js/resources .js files and a
TEMPLATE.html file. :)  Sadly none of this is very well documented, but what I
think in an ideal world what you would have wanted to do was to add a
fast/events/resources/create-document-crash-on-attach-event.js file with just
the <script> section of your test, and then run make-js-test-wrappers to
generate the corresponding .html file from the template (which likely already
exists as fast/events/resources/TEMPLATE.html).  make-js-test-wrappers also
automatically makes sure your .js file ends with var successfulllyParsed =
true; etc.

Also, I think it's a bad idea to check for document.implementation and
document.implementation.createDocument and allow the test to "pass" (or at
least not do anything) if they're not found.

Do you have any information as to when this last crashed?  Was this only ever a
crash for Chromium?

Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

More information about the webkit-unassigned mailing list