Rubber-stamped by Dan Bernstein.
authorweinig@apple.com <weinig@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 21 Feb 2008 07:54:57 +0000 (07:54 +0000)
committerweinig@apple.com <weinig@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 21 Feb 2008 07:54:57 +0000 (07:54 +0000)
        Gratuitous change to this test to use the instanceof operator
        instead of the isPrototypeOf method.

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

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@30456 268f45cc-cd09-0410-ab3c-d52691b4dbfc

LayoutTests/ChangeLog
LayoutTests/fast/tokenizer/doctype-search-reset.html

index 361450741ec198b3de1c798a419865bac5ebb930..15e4450d4548b7bd88c43e2c38b3d86ab2e2710f 100644 (file)
@@ -1,3 +1,12 @@
+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.
index 1c9b389b7fd6120f56795bce6ba082f8e7761d47..494bbbdc39c738938144a6cfdbbf634d47d5bdcd 100644 (file)
@@ -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";