Changeset 206838 in webkit


Ignore:
Timestamp:
Oct 5, 2016 5:35:23 PM (8 years ago)
Author:
rniwa@webkit.org
Message:

Import v1 custom elements tests from W3C
https://bugs.webkit.org/show_bug.cgi?id=162987

Reviewed by Chris Dumez.

LayoutTests/imported/w3c:

Import tests in https://github.com/w3c/web-platform-tests/tree/master/custom-elements except v1 tests
as of eae188126a21a593715ba2626cc059144d6f0978.

  • web-platform-tests/custom-elements/CustomElementRegistry-expected.txt: Added.
  • web-platform-tests/custom-elements/CustomElementRegistry.html: Added.
  • web-platform-tests/custom-elements/HTMLElement-constructor-expected.txt: Added.
  • web-platform-tests/custom-elements/HTMLElement-constructor.html: Added.
  • web-platform-tests/custom-elements/OWNERS: Added.
  • web-platform-tests/custom-elements/adopted-callback-expected.txt: Added.
  • web-platform-tests/custom-elements/adopted-callback.html: Added.
  • web-platform-tests/custom-elements/attribute-changed-callback-expected.txt: Added.
  • web-platform-tests/custom-elements/attribute-changed-callback.html: Added.
  • web-platform-tests/custom-elements/connected-callbacks-expected.txt: Added.
  • web-platform-tests/custom-elements/connected-callbacks.html: Added.
  • web-platform-tests/custom-elements/custom-element-registry/define-expected.txt: Added.
  • web-platform-tests/custom-elements/custom-element-registry/define.html: Added.
  • web-platform-tests/custom-elements/custom-element-registry/w3c-import.log: Added.
  • web-platform-tests/custom-elements/disconnected-callbacks-expected.txt: Added.
  • web-platform-tests/custom-elements/disconnected-callbacks.html: Added.
  • web-platform-tests/custom-elements/htmlconstructor/newtarget-expected.txt: Added.
  • web-platform-tests/custom-elements/htmlconstructor/newtarget.html: Added.
  • web-platform-tests/custom-elements/htmlconstructor/w3c-import.log: Added.
  • web-platform-tests/custom-elements/reaction-timing-expected.txt: Added.
  • web-platform-tests/custom-elements/reaction-timing.html: Added.
  • web-platform-tests/custom-elements/reactions/Attr-expected.txt: Added.
  • web-platform-tests/custom-elements/reactions/Attr.html: Added.
  • web-platform-tests/custom-elements/reactions/ChildNode-expected.txt: Added.
  • web-platform-tests/custom-elements/reactions/ChildNode.html: Added.
  • web-platform-tests/custom-elements/reactions/DOMTokenList-expected.txt: Added.
  • web-platform-tests/custom-elements/reactions/DOMTokenList.html: Added.
  • web-platform-tests/custom-elements/reactions/Document-expected.txt: Added.
  • web-platform-tests/custom-elements/reactions/Document.html: Added.
  • web-platform-tests/custom-elements/reactions/Element-expected.txt: Added.
  • web-platform-tests/custom-elements/reactions/Element.html: Added.
  • web-platform-tests/custom-elements/reactions/NamedNodeMap-expected.txt: Added.
  • web-platform-tests/custom-elements/reactions/NamedNodeMap.html: Added.
  • web-platform-tests/custom-elements/reactions/Node-expected.txt: Added.
  • web-platform-tests/custom-elements/reactions/Node.html: Added.
  • web-platform-tests/custom-elements/reactions/ParentNode-expected.txt: Added.
  • web-platform-tests/custom-elements/reactions/ParentNode.html: Added.
  • web-platform-tests/custom-elements/reactions/Range-expected.txt: Added.
  • web-platform-tests/custom-elements/reactions/Range.html: Added.
  • web-platform-tests/custom-elements/reactions/resources/reactions.js: Added.
  • web-platform-tests/custom-elements/reactions/resources/w3c-import.log: Added.
  • web-platform-tests/custom-elements/reactions/w3c-import.log: Added.
  • web-platform-tests/custom-elements/resources/custom-elements-helpers.js: Added.
  • web-platform-tests/custom-elements/resources/document-types.js: Added.
  • web-platform-tests/custom-elements/resources/empty-html-document.html: Added.
  • web-platform-tests/custom-elements/resources/w3c-import.log: Added.
  • web-platform-tests/custom-elements/w3c-import.log: Added.

LayoutTests:

Removed custom elements tests that have been upstreamed to and reimported from web-platform-tests.

  • fast/custom-elements/CustomElementRegistry-expected.txt: Removed.
  • fast/custom-elements/CustomElementRegistry.html: Removed.
  • fast/custom-elements/HTMLElement-constructor-expected.txt: Removed.
  • fast/custom-elements/HTMLElement-constructor.html: Removed.
  • fast/custom-elements/adopted-callback-expected.txt: Removed.
  • fast/custom-elements/adopted-callback.html: Removed.
  • fast/custom-elements/attribute-changed-callback-expected.txt: Removed.
  • fast/custom-elements/attribute-changed-callback.html: Removed.
  • fast/custom-elements/connected-callbacks-expected.txt: Removed.
  • fast/custom-elements/connected-callbacks.html: Removed.
  • fast/custom-elements/disconnected-callbacks-expected.txt: Removed.
  • fast/custom-elements/disconnected-callbacks.html: Removed.
Location:
trunk/LayoutTests
Files:
41 added
2 edited
12 moved

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r206837 r206838  
     12016-10-05  Ryosuke Niwa  <rniwa@webkit.org>
     2
     3        Import v1 custom elements tests from W3C
     4        https://bugs.webkit.org/show_bug.cgi?id=162987
     5
     6        Reviewed by Chris Dumez.
     7
     8        Removed custom elements tests that have been upstreamed to and reimported from web-platform-tests.
     9
     10        * fast/custom-elements/CustomElementRegistry-expected.txt: Removed.
     11        * fast/custom-elements/CustomElementRegistry.html: Removed.
     12        * fast/custom-elements/HTMLElement-constructor-expected.txt: Removed.
     13        * fast/custom-elements/HTMLElement-constructor.html: Removed.
     14        * fast/custom-elements/adopted-callback-expected.txt: Removed.
     15        * fast/custom-elements/adopted-callback.html: Removed.
     16        * fast/custom-elements/attribute-changed-callback-expected.txt: Removed.
     17        * fast/custom-elements/attribute-changed-callback.html: Removed.
     18        * fast/custom-elements/connected-callbacks-expected.txt: Removed.
     19        * fast/custom-elements/connected-callbacks.html: Removed.
     20        * fast/custom-elements/disconnected-callbacks-expected.txt: Removed.
     21        * fast/custom-elements/disconnected-callbacks.html: Removed.
     22
    1232016-10-05  Andy VanWagoner  <thetalecrafter@gmail.com>
    224
  • trunk/LayoutTests/imported/w3c/ChangeLog

    r206803 r206838  
     12016-10-05  Ryosuke Niwa  <rniwa@webkit.org>
     2
     3        Import v1 custom elements tests from W3C
     4        https://bugs.webkit.org/show_bug.cgi?id=162987
     5
     6        Reviewed by Chris Dumez.
     7
     8        Import tests in https://github.com/w3c/web-platform-tests/tree/master/custom-elements except v1 tests
     9        as of eae188126a21a593715ba2626cc059144d6f0978.
     10
     11        * web-platform-tests/custom-elements/CustomElementRegistry-expected.txt: Added.
     12        * web-platform-tests/custom-elements/CustomElementRegistry.html: Added.
     13        * web-platform-tests/custom-elements/HTMLElement-constructor-expected.txt: Added.
     14        * web-platform-tests/custom-elements/HTMLElement-constructor.html: Added.
     15        * web-platform-tests/custom-elements/OWNERS: Added.
     16        * web-platform-tests/custom-elements/adopted-callback-expected.txt: Added.
     17        * web-platform-tests/custom-elements/adopted-callback.html: Added.
     18        * web-platform-tests/custom-elements/attribute-changed-callback-expected.txt: Added.
     19        * web-platform-tests/custom-elements/attribute-changed-callback.html: Added.
     20        * web-platform-tests/custom-elements/connected-callbacks-expected.txt: Added.
     21        * web-platform-tests/custom-elements/connected-callbacks.html: Added.
     22        * web-platform-tests/custom-elements/custom-element-registry/define-expected.txt: Added.
     23        * web-platform-tests/custom-elements/custom-element-registry/define.html: Added.
     24        * web-platform-tests/custom-elements/custom-element-registry/w3c-import.log: Added.
     25        * web-platform-tests/custom-elements/disconnected-callbacks-expected.txt: Added.
     26        * web-platform-tests/custom-elements/disconnected-callbacks.html: Added.
     27        * web-platform-tests/custom-elements/htmlconstructor/newtarget-expected.txt: Added.
     28        * web-platform-tests/custom-elements/htmlconstructor/newtarget.html: Added.
     29        * web-platform-tests/custom-elements/htmlconstructor/w3c-import.log: Added.
     30        * web-platform-tests/custom-elements/reaction-timing-expected.txt: Added.
     31        * web-platform-tests/custom-elements/reaction-timing.html: Added.
     32        * web-platform-tests/custom-elements/reactions/Attr-expected.txt: Added.
     33        * web-platform-tests/custom-elements/reactions/Attr.html: Added.
     34        * web-platform-tests/custom-elements/reactions/ChildNode-expected.txt: Added.
     35        * web-platform-tests/custom-elements/reactions/ChildNode.html: Added.
     36        * web-platform-tests/custom-elements/reactions/DOMTokenList-expected.txt: Added.
     37        * web-platform-tests/custom-elements/reactions/DOMTokenList.html: Added.
     38        * web-platform-tests/custom-elements/reactions/Document-expected.txt: Added.
     39        * web-platform-tests/custom-elements/reactions/Document.html: Added.
     40        * web-platform-tests/custom-elements/reactions/Element-expected.txt: Added.
     41        * web-platform-tests/custom-elements/reactions/Element.html: Added.
     42        * web-platform-tests/custom-elements/reactions/NamedNodeMap-expected.txt: Added.
     43        * web-platform-tests/custom-elements/reactions/NamedNodeMap.html: Added.
     44        * web-platform-tests/custom-elements/reactions/Node-expected.txt: Added.
     45        * web-platform-tests/custom-elements/reactions/Node.html: Added.
     46        * web-platform-tests/custom-elements/reactions/ParentNode-expected.txt: Added.
     47        * web-platform-tests/custom-elements/reactions/ParentNode.html: Added.
     48        * web-platform-tests/custom-elements/reactions/Range-expected.txt: Added.
     49        * web-platform-tests/custom-elements/reactions/Range.html: Added.
     50        * web-platform-tests/custom-elements/reactions/resources/reactions.js: Added.
     51        * web-platform-tests/custom-elements/reactions/resources/w3c-import.log: Added.
     52        * web-platform-tests/custom-elements/reactions/w3c-import.log: Added.
     53        * web-platform-tests/custom-elements/resources/custom-elements-helpers.js: Added.
     54        * web-platform-tests/custom-elements/resources/document-types.js: Added.
     55        * web-platform-tests/custom-elements/resources/empty-html-document.html: Added.
     56        * web-platform-tests/custom-elements/resources/w3c-import.log: Added.
     57        * web-platform-tests/custom-elements/w3c-import.log: Added.
     58
    1592016-10-04  Chris Dumez  <cdumez@apple.com>
    260
  • trunk/LayoutTests/imported/w3c/web-platform-tests/custom-elements/CustomElementRegistry.html

    r206837 r206838  
    55<meta name="author" title="Ryosuke Niwa" href="mailto:rniwa@webkit.org">
    66<meta name="assert" content="CustomElementRegistry interface must exist">
    7 <script src="../../resources/testharness.js"></script>
    8 <script src="../../resources/testharnessreport.js"></script>
    9 <link rel='stylesheet' href='../../resources/testharness.css'>
     7<script src="../../../../resources/testharness.js"></script>
     8<script src="../../../../resources/testharnessreport.js"></script>
    109</head>
    1110<body>
  • trunk/LayoutTests/imported/w3c/web-platform-tests/custom-elements/HTMLElement-constructor.html

    r206837 r206838  
    66<meta name="assert" content="HTMLElement must allow subclassing">
    77<link rel="help" href="https://html.spec.whatwg.org/#html-element-constructors">
    8 <script src="../../resources/testharness.js"></script>
    9 <script src="../../resources/testharnessreport.js"></script>
    10 <link rel='stylesheet' href='../../resources/testharness.css'>
     8<script src="../../../../resources/testharness.js"></script>
     9<script src="../../../../resources/testharnessreport.js"></script>
    1110</head>
    1211<body>
  • trunk/LayoutTests/imported/w3c/web-platform-tests/custom-elements/adopted-callback.html

    r206837 r206838  
    66<meta name="assert" content="adoptedCallback must be enqueued whenever custom element is adopted into a new document">
    77<link rel="help" href="https://w3c.github.io/webcomponents/spec/custom/#dfn-connected-callback">
    8 <script src="../../resources/testharness.js"></script>
    9 <script src="../../resources/testharnessreport.js"></script>
     8<script src="../../../../resources/testharness.js"></script>
     9<script src="../../../../resources/testharnessreport.js"></script>
    1010<script src="./resources/document-types.js"></script>
    11 <link rel='stylesheet' href='../../resources/testharness.css'>
    1211</head>
    1312<body>
  • trunk/LayoutTests/imported/w3c/web-platform-tests/custom-elements/attribute-changed-callback.html

    r206837 r206838  
    66<meta name="assert" content="attributeChangedCallback must be enqueued whenever custom element's attribute is added, changed or removed">
    77<link rel="help" href="https://w3c.github.io/webcomponents/spec/custom/#dfn-attribute-changed-callback">
    8 <script src="../../resources/testharness.js"></script>
    9 <script src="../../resources/testharnessreport.js"></script>
    10 <link rel='stylesheet' href='../../resources/testharness.css'>
     8<script src="../../../../resources/testharness.js"></script>
     9<script src="../../../../resources/testharnessreport.js"></script>
    1110</head>
    1211<body>
  • trunk/LayoutTests/imported/w3c/web-platform-tests/custom-elements/connected-callbacks.html

    r206837 r206838  
    66<meta name="assert" content="connectedCallback must be enqueued whenever custom element is inserted into a document">
    77<link rel="help" href="https://w3c.github.io/webcomponents/spec/custom/#dfn-connected-callback">
    8 <script src="../../resources/testharness.js"></script>
    9 <script src="../../resources/testharnessreport.js"></script>
    10 <script src="./resources/document-types.js"></script>
    11 <link rel='stylesheet' href='../../resources/testharness.css'>
     8<script src="../../../../resources/testharness.js"></script>
     9<script src="../../../../resources/testharnessreport.js"></script>
     10<script src="resources/document-types.js"></script>
    1211</head>
    1312<body>
  • trunk/LayoutTests/imported/w3c/web-platform-tests/custom-elements/disconnected-callbacks.html

    r206837 r206838  
    66<meta name="assert" content="disconnectedCallback must be enqueued whenever custom element is removed from a document">
    77<link rel="help" href="https://w3c.github.io/webcomponents/spec/custom/#dfn-connected-callback">
    8 <script src="../../resources/testharness.js"></script>
    9 <script src="../../resources/testharnessreport.js"></script>
    10 <script src="./resources/document-types.js"></script>
    11 <link rel='stylesheet' href='../../resources/testharness.css'>
     8<script src="../../../../resources/testharness.js"></script>
     9<script src="../../../../resources/testharnessreport.js"></script>
     10<script src="resources/document-types.js"></script>
    1211</head>
    1312<body>
Note: See TracChangeset for help on using the changeset viewer.