⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 119481 in webkit


Ignore:
Timestamp:
Jun 5, 2012, 4:28:24 AM (14 years ago)
Author:
morrita@google.com
Message:

https://bugs.webkit.org/show_bug.cgi?id=88029
content-element-api.html and shadow-element.html depend on V8.

Reviewed by Kentaro Hara.

Replaced typeof checking with comparison.

  • fast/dom/shadow/content-element-api.html:
  • fast/dom/shadow/shadow-element.html:
Location:
trunk/LayoutTests
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r119479 r119481  
     12012-06-05  MORITA Hajime  <morrita@google.com>
     2
     3        https://bugs.webkit.org/show_bug.cgi?id=88029
     4        content-element-api.html and shadow-element.html depend on V8.
     5
     6        Reviewed by Kentaro Hara.
     7
     8        Replaced typeof checking with comparison.
     9
     10        * fast/dom/shadow/content-element-api.html:
     11        * fast/dom/shadow/shadow-element.html:
     12
    1132012-06-04  Kinuko Yasuda  <kinuko@chromium.org>
    214
  • trunk/LayoutTests/fast/dom/shadow/content-element-api-expected.txt

    r118902 r119481  
    88PASS contentSimplest.getAttribute('select') is 'bar'
    99PASS 0 <= contentSimplest.constructor.toString().indexOf('HTMLContentElement') is true
    10 PASS typeof window.HTMLContentElement is 'function'
     10PASS window.HTMLContentElement is contentSimplest.constructor
    1111PASS successfullyParsed is true
    1212
  • trunk/LayoutTests/fast/dom/shadow/content-element-api.html

    r118902 r119481  
    1717shouldBe("contentSimplest.getAttribute('select')", "'bar'");
    1818shouldBeTrue("0 <= contentSimplest.constructor.toString().indexOf('HTMLContentElement')");
    19 shouldBe("typeof window.HTMLContentElement", "'function'");
     19shouldBe("window.HTMLContentElement", "contentSimplest.constructor");
    2020</script>
    2121<script src="../../js/resources/js-test-post.js"></script>
  • trunk/LayoutTests/fast/dom/shadow/shadow-element-expected.txt

    r118902 r119481  
    66PASS shadow.nodeName is 'SHADOW'
    77PASS 0 <= shadow.constructor.toString().indexOf('HTMLShadowElement') is true
    8 PASS typeof window.HTMLShadowElement is 'function'
     8PASS window.HTMLShadowElement is shadow.constructor
    99PASS successfullyParsed is true
    1010
  • trunk/LayoutTests/fast/dom/shadow/shadow-element.html

    r118902 r119481  
    1313shouldBe("shadow.nodeName", "'SHADOW'");
    1414shouldBeTrue("0 <= shadow.constructor.toString().indexOf('HTMLShadowElement')");
    15 shouldBe("typeof window.HTMLShadowElement", "'function'");
     15shouldBe("window.HTMLShadowElement", "shadow.constructor");
    1616
    1717</script>
Note: See TracChangeset for help on using the changeset viewer.