Commit 9dfa7fc7 authored by weinig@apple.com's avatar weinig@apple.com

Rubber-stamped by Dan Bernstein.

        Gratuitous change to this test to use the instanceof operator
        instead of the isPrototypeOf method.

        * fast/tokenizer/doctype-search-reset.html:



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@30456 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent 3d9b2c03
2008-02-20 Sam Weinig <sam@webkit.org>
Rubber-stamped by Dan Bernstein.
Gratuitous change to this test to use the instanceof operator
instead of the isPrototypeOf method.
* fast/tokenizer/doctype-search-reset.html:
2008-02-20 Dan Bernstein <mitz@apple.com>
Reviewed by Dave Hyatt.
......@@ -5,7 +5,7 @@
layoutTestController.dumpAsText();
var target = document.getElementById("target");
var result = document.getElementById("result");
if (HTMLDivElement.prototype.isPrototypeOf(target))
if (target instanceof HTMLDivElement)
result.innerText = "PASS";
else
result.innerText = "FAIL";
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment