Changeset 234039 in webkit


Ignore:
Timestamp:
Jul 20, 2018 3:47:55 AM (6 years ago)
Author:
commit-queue@webkit.org
Message:

Import new WPT tests for custom elements
https://bugs.webkit.org/show_bug.cgi?id=187806

Patch by Frederic Wang <fwang@igalia.com> on 2018-07-20
Reviewed by Javier Fernandez.

LayoutTests/imported/w3c:

  • web-platform-tests/custom-elements/Document-createElement-expected.txt:
  • web-platform-tests/custom-elements/Document-createElement-svg.svg: Added.
  • web-platform-tests/custom-elements/Document-createElement.html:
  • web-platform-tests/custom-elements/Document-createElementNS-expected.txt: Added.
  • web-platform-tests/custom-elements/Document-createElementNS.html: Added.
  • web-platform-tests/custom-elements/HTMLElement-constructor-expected.txt:
  • web-platform-tests/custom-elements/HTMLElement-constructor.html:
  • web-platform-tests/custom-elements/META.yml: Added.
  • web-platform-tests/custom-elements/OWNERS: Removed.
  • web-platform-tests/custom-elements/builtin-coverage-expected.txt: Added.
  • web-platform-tests/custom-elements/builtin-coverage.html: Added.
  • web-platform-tests/custom-elements/connected-callbacks-html-fragment-parsing-expected.txt: Added.
  • web-platform-tests/custom-elements/connected-callbacks-html-fragment-parsing.html: Added.
  • web-platform-tests/custom-elements/custom-element-registry/upgrade-expected.txt: Added.
  • web-platform-tests/custom-elements/custom-element-registry/upgrade.html: Added.
  • web-platform-tests/custom-elements/custom-element-registry/w3c-import.log:
  • web-platform-tests/custom-elements/htmlconstructor/newtarget-expected.txt:
  • web-platform-tests/custom-elements/htmlconstructor/newtarget.html:
  • web-platform-tests/custom-elements/htmlconstructor/w3c-import.log:
  • web-platform-tests/custom-elements/parser/parser-constructs-custom-elements-with-is-expected.txt: Added.
  • web-platform-tests/custom-elements/parser/parser-constructs-custom-elements-with-is.html: Added.
  • web-platform-tests/custom-elements/parser/parser-uses-create-an-element-for-a-token-svg.svg: Added.
  • web-platform-tests/custom-elements/parser/parser-uses-registry-of-owner-document-expected.txt:
  • web-platform-tests/custom-elements/parser/serializing-html-fragments-expected.txt: Added.
  • web-platform-tests/custom-elements/parser/serializing-html-fragments.html: Added.
  • web-platform-tests/custom-elements/parser/w3c-import.log:
  • web-platform-tests/custom-elements/pseudo-class-defined-expected.txt: Added.
  • web-platform-tests/custom-elements/pseudo-class-defined.html: Added.
  • web-platform-tests/custom-elements/reactions/HTMLInputElement-expected.txt: Added.
  • web-platform-tests/custom-elements/reactions/HTMLInputElement.html: Added.
  • web-platform-tests/custom-elements/reactions/resources/w3c-import.log:
  • web-platform-tests/custom-elements/reactions/w3c-import.log:
  • web-platform-tests/custom-elements/reactions/with-exceptions.html: Added.
  • web-platform-tests/custom-elements/resources/my-custom-element-html-document.html: Added.
  • web-platform-tests/custom-elements/resources/w3c-import.log:
  • web-platform-tests/custom-elements/upgrading/Document-importNode-expected.txt: Added.
  • web-platform-tests/custom-elements/upgrading/Document-importNode.html: Added.
  • web-platform-tests/custom-elements/upgrading/w3c-import.log:
  • web-platform-tests/custom-elements/w3c-import.log:

LayoutTests:

Some tests crashing or timing out are skipped. Also, one test depending on the availability
of the @capture attribute of the HTMLInputElement element has a specific expectation on iOS.

  • TestExpectations: Skip some tests crashing or timing out.
  • platform/ios/imported/w3c/web-platform-tests/custom-elements/reactions/HTMLInputElement-expected.txt: Added.
Location:
trunk/LayoutTests
Files:
26 added
1 deleted
18 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r234017 r234039  
     12018-07-20  Frederic Wang  <fwang@igalia.com>
     2
     3        Import new WPT tests for custom elements
     4        https://bugs.webkit.org/show_bug.cgi?id=187806
     5
     6        Reviewed by Javier Fernandez.
     7
     8        Some tests crashing or timing out are skipped. Also, one test depending on the availability
     9        of the @capture attribute of the HTMLInputElement element has a specific expectation on iOS.
     10
     11        * TestExpectations: Skip some tests crashing or timing out.
     12        * platform/ios/imported/w3c/web-platform-tests/custom-elements/reactions/HTMLInputElement-expected.txt: Added.
     13
    1142018-07-19  Antoine Quint  <graouts@apple.com>
    215
  • trunk/LayoutTests/TestExpectations

    r233926 r234039  
    568568imported/w3c/web-platform-tests/html/semantics/document-metadata/the-meta-element/pragma-directives/attr-meta-http-equiv-refresh/allow-scripts-flag-changing-1.html [ Pass Failure ]
    569569imported/w3c/web-platform-tests/html/semantics/document-metadata/the-meta-element/pragma-directives/attr-meta-http-equiv-refresh/allow-scripts-flag-changing-2.html [ Pass Failure ]
     570
     571# WPT tests for custom elements
     572webkit.org/b/187800 imported/w3c/web-platform-tests/custom-elements/Document-createElement-svg.svg [ Skip ]
     573webkit.org/b/187802 imported/w3c/web-platform-tests/custom-elements/parser/parser-uses-create-an-element-for-a-token-svg.svg [ Skip ]
     574webkit.org/b/187805 imported/w3c/web-platform-tests/custom-elements/reactions/with-exceptions.html [ Skip ]
    570575
    571576# selectors
  • trunk/LayoutTests/imported/w3c/ChangeLog

    r233935 r234039  
     12018-07-20  Frederic Wang  <fwang@igalia.com>
     2
     3        Import new WPT tests for custom elements
     4        https://bugs.webkit.org/show_bug.cgi?id=187806
     5
     6        Reviewed by Javier Fernandez.
     7
     8        * web-platform-tests/custom-elements/Document-createElement-expected.txt:
     9        * web-platform-tests/custom-elements/Document-createElement-svg.svg: Added.
     10        * web-platform-tests/custom-elements/Document-createElement.html:
     11        * web-platform-tests/custom-elements/Document-createElementNS-expected.txt: Added.
     12        * web-platform-tests/custom-elements/Document-createElementNS.html: Added.
     13        * web-platform-tests/custom-elements/HTMLElement-constructor-expected.txt:
     14        * web-platform-tests/custom-elements/HTMLElement-constructor.html:
     15        * web-platform-tests/custom-elements/META.yml: Added.
     16        * web-platform-tests/custom-elements/OWNERS: Removed.
     17        * web-platform-tests/custom-elements/builtin-coverage-expected.txt: Added.
     18        * web-platform-tests/custom-elements/builtin-coverage.html: Added.
     19        * web-platform-tests/custom-elements/connected-callbacks-html-fragment-parsing-expected.txt: Added.
     20        * web-platform-tests/custom-elements/connected-callbacks-html-fragment-parsing.html: Added.
     21        * web-platform-tests/custom-elements/custom-element-registry/upgrade-expected.txt: Added.
     22        * web-platform-tests/custom-elements/custom-element-registry/upgrade.html: Added.
     23        * web-platform-tests/custom-elements/custom-element-registry/w3c-import.log:
     24        * web-platform-tests/custom-elements/htmlconstructor/newtarget-expected.txt:
     25        * web-platform-tests/custom-elements/htmlconstructor/newtarget.html:
     26        * web-platform-tests/custom-elements/htmlconstructor/w3c-import.log:
     27        * web-platform-tests/custom-elements/parser/parser-constructs-custom-elements-with-is-expected.txt: Added.
     28        * web-platform-tests/custom-elements/parser/parser-constructs-custom-elements-with-is.html: Added.
     29        * web-platform-tests/custom-elements/parser/parser-uses-create-an-element-for-a-token-svg.svg: Added.
     30        * web-platform-tests/custom-elements/parser/parser-uses-registry-of-owner-document-expected.txt:
     31        * web-platform-tests/custom-elements/parser/serializing-html-fragments-expected.txt: Added.
     32        * web-platform-tests/custom-elements/parser/serializing-html-fragments.html: Added.
     33        * web-platform-tests/custom-elements/parser/w3c-import.log:
     34        * web-platform-tests/custom-elements/pseudo-class-defined-expected.txt: Added.
     35        * web-platform-tests/custom-elements/pseudo-class-defined.html: Added.
     36        * web-platform-tests/custom-elements/reactions/HTMLInputElement-expected.txt: Added.
     37        * web-platform-tests/custom-elements/reactions/HTMLInputElement.html: Added.
     38        * web-platform-tests/custom-elements/reactions/resources/w3c-import.log:
     39        * web-platform-tests/custom-elements/reactions/w3c-import.log:
     40        * web-platform-tests/custom-elements/reactions/with-exceptions.html: Added.
     41        * web-platform-tests/custom-elements/resources/my-custom-element-html-document.html: Added.
     42        * web-platform-tests/custom-elements/resources/w3c-import.log:
     43        * web-platform-tests/custom-elements/upgrading/Document-importNode-expected.txt: Added.
     44        * web-platform-tests/custom-elements/upgrading/Document-importNode.html: Added.
     45        * web-platform-tests/custom-elements/upgrading/w3c-import.log:
     46        * web-platform-tests/custom-elements/w3c-import.log:
     47
    1482018-07-18  Antoine Quint  <graouts@apple.com>
    249
  • trunk/LayoutTests/imported/w3c/web-platform-tests/custom-elements/Document-createElement-expected.txt

    r230330 r234039  
    3737PASS document.createElement must report a NotSupportedError when the local name of the element does not match that of the custom element
    3838PASS document.createElement must report an exception thrown by a custom element constructor
     39FAIL document.createElement must report an exception thrown by a custom built-in element constructor assert_throws: function "function () { new ThrowCustomBuiltinElement; }" threw object "TypeError: function is not a constructor (evaluating 'super()')" ("TypeError") expected object "[object Object]" ("exception thrown by a custom constructor")
    3940FAIL document.createElement with unknown "is" value should create "undefined" state element assert_true: Undefined element is upgraded on connecting to a document expected true got false
     41PASS document.createElement with undefined options value should be upgraded.
    4042
  • trunk/LayoutTests/imported/w3c/web-platform-tests/custom-elements/Document-createElement.html

    r230330 r234039  
    264264
    265265    var getDocument = entry.create;
    266     var docuemntName = entry.name;
     266    var documentName = entry.name;
    267267
    268268    promise_test(function () {
     
    283283            assert_true(instance instanceof HTMLUnknownElement);
    284284        });
    285     }, 'document.createElement must report a NotSupportedError when the element is adopted into a ' + docuemntName + ' during construction');
     285    }, `document.createElement must report a NotSupportedError when the element is adopted into a ${documentName} during construction`);
    286286
    287287    promise_test(function () {
     
    302302            assert_true(instance instanceof HTMLUnknownElement);
    303303        });
    304     }, 'document.createElement must report a NotSupportedError when the element is inserted into a ' + docuemntName + ' during construction');
     304    }, `document.createElement must report a NotSupportedError when the element is inserted into a ${documentName} during construction`);
    305305
    306306    promise_test(function () {
     
    320320            assert_true(instance instanceof ElementThatGetAdoptedBack);
    321321        });
    322     }, 'document.createElement must not report a NotSupportedError when the element is adopted back from a ' + docuemntName + ' during construction');
     322    }, `document.createElement must not report a NotSupportedError when the element is adopted back from a ${documentName} during construction`);
    323323});
    324324
     
    363363
    364364}, 'document.createElement must report an exception thrown by a custom element constructor');
     365
     366test(function () {
     367    var exceptionToThrow = {name: 'exception thrown by a custom constructor'};
     368    class ThrowCustomBuiltinElement extends HTMLDivElement {
     369        constructor()
     370        {
     371            super();
     372            if (exceptionToThrow)
     373                throw exceptionToThrow;
     374        }
     375    };
     376    customElements.define('throw-custom-builtin-element', ThrowCustomBuiltinElement, { extends: 'div' });
     377
     378    assert_throws(exceptionToThrow, function () { new ThrowCustomBuiltinElement; });
     379    var instance;
     380    assert_reports(exceptionToThrow, function () { instance = document.createElement('div', { is: 'throw-custom-builtin-element' }); });
     381    assert_equals(instance.localName, 'div');
     382    assert_true(instance instanceof HTMLDivElement);
     383
     384    exceptionToThrow = false;
     385    var instance = document.createElement('div', { is: 'throw-custom-builtin-element' });
     386    assert_true(instance instanceof ThrowCustomBuiltinElement);
     387    assert_equals(instance.localName, 'div');
     388
     389}, 'document.createElement must report an exception thrown by a custom built-in element constructor');
    365390
    366391test(() => {
     
    377402  assert_true(div instanceof MyElement, 'Undefined element is upgraded on connecting to a document');
    378403}, 'document.createElement with unknown "is" value should create "undefined" state element');
     404
     405test(() => {
     406  class MyElement extends HTMLElement {
     407      constructor() {
     408          super();
     409          this.foo = true;
     410      }
     411  }
     412  customElements.define("my-element", MyElement);
     413
     414  const instance = document.createElement('my-element', undefined);
     415  assert_true(instance.foo);
     416}, 'document.createElement with undefined options value should be upgraded.');
    379417</script>
    380418</body>
  • trunk/LayoutTests/imported/w3c/web-platform-tests/custom-elements/HTMLElement-constructor-expected.txt

    r222307 r234039  
    88PASS HTMLElement constructor must allow subclassing a custom element
    99PASS HTMLElement constructor must allow subclassing an user-defined subclass of HTMLElement
     10PASS HTMLElement constructor must only get .prototype once, calling proxy constructor directly
     11PASS HTMLElement constructor must only get .prototype once, calling proxy constructor via Reflect
     12PASS HTMLElement constructor must only get .prototype once, calling proxy constructor via Reflect with no inheritance
     13FAIL HTMLElement constructor must not get .prototype until it finishes its extends sanity checks, calling proxy constructor directly assert_throws: Should not be able to construct an HTMLElement named 'button' function "function () { new countingProxy() }" did not throw
     14FAIL HTMLElement constructor must not get .prototype until it finishes its extends sanity checks, calling via Reflect assert_throws: Should not be able to construct an HTMLElement named 'button' function "function () { Reflect.construct(HTMLElement, [], countingProxy) }" did not throw
     15PASS HTMLElement constructor must not get .prototype until it finishes its registration sanity checks, calling proxy constructor directly
     16PASS HTMLElement constructor must not get .prototype until it finishes its registration  sanity checks, calling via Reflect
    1017
  • trunk/LayoutTests/imported/w3c/web-platform-tests/custom-elements/HTMLElement-constructor.html

    r222307 r234039  
    9292}, 'HTMLElement constructor must allow subclassing an user-defined subclass of HTMLElement');
    9393
     94test(function() {
     95    class SomeCustomElement extends HTMLElement {};
     96    var getCount = 0;
     97    var countingProxy = new Proxy(SomeCustomElement, {
     98        get: function(target, prop, receiver) {
     99            if (prop == "prototype") {
     100                ++getCount;
     101            }
     102            return Reflect.get(target, prop, receiver);
     103        }
     104    });
     105    customElements.define("success-counting-element-1", countingProxy);
     106    // define() gets the prototype of the constructor it's passed, so
     107    // reset the counter.
     108    getCount = 0;
     109    var instance = new countingProxy();
     110    assert_equals(getCount, 1, "Should have gotten .prototype once");
     111    assert_true(instance instanceof countingProxy);
     112    assert_true(instance instanceof HTMLElement);
     113    assert_true(instance instanceof SomeCustomElement);
     114    assert_equals(instance.localName, "success-counting-element-1");
     115    assert_equals(instance.nodeName, "SUCCESS-COUNTING-ELEMENT-1");
     116}, 'HTMLElement constructor must only get .prototype once, calling proxy constructor directly');
     117
     118test(function() {
     119    class SomeCustomElement extends HTMLElement {};
     120    var getCount = 0;
     121    var countingProxy = new Proxy(SomeCustomElement, {
     122        get: function(target, prop, receiver) {
     123            if (prop == "prototype") {
     124                ++getCount;
     125            }
     126            return Reflect.get(target, prop, receiver);
     127        }
     128    });
     129    customElements.define("success-counting-element-2", countingProxy);
     130    // define() gets the prototype of the constructor it's passed, so
     131    // reset the counter.
     132    getCount = 0;
     133    var instance = Reflect.construct(HTMLElement, [], countingProxy);
     134    assert_equals(getCount, 1, "Should have gotten .prototype once");
     135    assert_true(instance instanceof countingProxy);
     136    assert_true(instance instanceof HTMLElement);
     137    assert_true(instance instanceof SomeCustomElement);
     138    assert_equals(instance.localName, "success-counting-element-2");
     139    assert_equals(instance.nodeName, "SUCCESS-COUNTING-ELEMENT-2");
     140}, 'HTMLElement constructor must only get .prototype once, calling proxy constructor via Reflect');
     141
     142test(function() {
     143    class SomeCustomElement {};
     144    var getCount = 0;
     145    var countingProxy = new Proxy(SomeCustomElement, {
     146        get: function(target, prop, receiver) {
     147            if (prop == "prototype") {
     148                ++getCount;
     149            }
     150            return Reflect.get(target, prop, receiver);
     151        }
     152    });
     153    customElements.define("success-counting-element-3", countingProxy);
     154    // define() gets the prototype of the constructor it's passed, so
     155    // reset the counter.
     156    getCount = 0;
     157    var instance = Reflect.construct(HTMLElement, [], countingProxy);
     158    assert_equals(getCount, 1, "Should have gotten .prototype once");
     159    assert_true(instance instanceof countingProxy);
     160    assert_true(instance instanceof SomeCustomElement);
     161    assert_equals(instance.localName, undefined);
     162    assert_equals(instance.nodeName, undefined);
     163}, 'HTMLElement constructor must only get .prototype once, calling proxy constructor via Reflect with no inheritance');
     164
     165test(function() {
     166    class SomeCustomElement extends HTMLElement {};
     167    var getCount = 0;
     168    var countingProxy = new Proxy(SomeCustomElement, {
     169        get: function(target, prop, receiver) {
     170            if (prop == "prototype") {
     171                ++getCount;
     172            }
     173            return Reflect.get(target, prop, receiver);
     174        }
     175    });
     176    customElements.define("failure-counting-element-1", countingProxy,
     177                          { extends: "button" });
     178    // define() gets the prototype of the constructor it's passed, so
     179    // reset the counter.
     180    getCount = 0;
     181    assert_throws({'name': 'TypeError'},
     182                  function () { new countingProxy() },
     183                  "Should not be able to construct an HTMLElement named 'button'");
     184    assert_equals(getCount, 0, "Should never have gotten .prototype");
     185}, 'HTMLElement constructor must not get .prototype until it finishes its extends sanity checks, calling proxy constructor directly');
     186
     187test(function() {
     188    class SomeCustomElement extends HTMLElement {};
     189    var getCount = 0;
     190    var countingProxy = new Proxy(SomeCustomElement, {
     191        get: function(target, prop, receiver) {
     192            if (prop == "prototype") {
     193                ++getCount;
     194            }
     195            return Reflect.get(target, prop, receiver);
     196        }
     197    });
     198    customElements.define("failure-counting-element-2", countingProxy,
     199                          { extends: "button" });
     200    // define() gets the prototype of the constructor it's passed, so
     201    // reset the counter.
     202    getCount = 0;
     203    assert_throws({'name': 'TypeError'},
     204                  function () { Reflect.construct(HTMLElement, [], countingProxy) },
     205                  "Should not be able to construct an HTMLElement named 'button'");
     206    assert_equals(getCount, 0, "Should never have gotten .prototype");
     207}, 'HTMLElement constructor must not get .prototype until it finishes its extends sanity checks, calling via Reflect');
     208
     209test(function() {
     210    class SomeCustomElement extends HTMLElement {};
     211    var getCount = 0;
     212    var countingProxy = new Proxy(SomeCustomElement, {
     213        get: function(target, prop, receiver) {
     214            if (prop == "prototype") {
     215                ++getCount;
     216            }
     217            return Reflect.get(target, prop, receiver);
     218        }
     219    });
     220
     221    // Purposefully don't register it.
     222    assert_throws({'name': 'TypeError'},
     223                  function () { new countingProxy() },
     224                  "Should not be able to construct an HTMLElement named 'button'");
     225    assert_equals(getCount, 0, "Should never have gotten .prototype");
     226}, 'HTMLElement constructor must not get .prototype until it finishes its registration sanity checks, calling proxy constructor directly');
     227
     228test(function() {
     229    class SomeCustomElement extends HTMLElement {};
     230    var getCount = 0;
     231    var countingProxy = new Proxy(SomeCustomElement, {
     232        get: function(target, prop, receiver) {
     233            if (prop == "prototype") {
     234                ++getCount;
     235            }
     236            return Reflect.get(target, prop, receiver);
     237        }
     238    });
     239
     240    // Purposefully don't register it.
     241    assert_throws({'name': 'TypeError'},
     242                  function () { Reflect.construct(HTMLElement, [], countingProxy) },
     243                  "Should not be able to construct an HTMLElement named 'button'");
     244    assert_equals(getCount, 0, "Should never have gotten .prototype");
     245}, 'HTMLElement constructor must not get .prototype until it finishes its registration  sanity checks, calling via Reflect');
    94246</script>
    95247</body>
    96248</html>
     249
  • trunk/LayoutTests/imported/w3c/web-platform-tests/custom-elements/custom-element-registry/w3c-import.log

    r230330 r234039  
    22Do NOT modify these tests directly in WebKit.
    33Instead, create a pull request on the WPT github:
    4         https://github.com/w3c/web-platform-tests
     4        https://github.com/web-platform-tests/wpt
    55
    66Then run the Tools/Scripts/import-w3c-tests in WebKit to reimport
  • trunk/LayoutTests/imported/w3c/web-platform-tests/custom-elements/htmlconstructor/newtarget-expected.txt

    r211930 r234039  
    1010FAIL If prototype is not object (5), derives the fallback from NewTarget's realm (customized built-in elements) promise_test: Unhandled rejection with value: object "TypeError: Reflect.construct requires the first argument be a constructor"
    1111FAIL If prototype is not object (string), derives the fallback from NewTarget's realm (customized built-in elements) promise_test: Unhandled rejection with value: object "TypeError: Reflect.construct requires the first argument be a constructor"
     12PASS HTMLParagraphElement constructor must not get .prototype until it finishes its extends sanity checks, calling proxy constructor directly
     13PASS HTMLParagraphElement constructor must not get .prototype until it finishes its extends sanity checks, calling via Reflect
    1214
  • trunk/LayoutTests/imported/w3c/web-platform-tests/custom-elements/htmlconstructor/newtarget.html

    r208360 r234039  
    125125});
    126126
     127test_with_window(w => {
     128    class SomeCustomElement extends HTMLParagraphElement {};
     129    var getCount = 0;
     130    var countingProxy = new Proxy(SomeCustomElement, {
     131        get: function(target, prop, receiver) {
     132            if (prop == "prototype") {
     133                ++getCount;
     134            }
     135            return Reflect.get(target, prop, receiver);
     136        }
     137    });
     138    w.customElements.define("failure-counting-element", countingProxy);
     139    // define() gets the prototype of the constructor it's passed, so
     140    // reset the counter.
     141    getCount = 0;
     142    assert_throws({'name': 'TypeError'},
     143                  function () { new countingProxy() },
     144                  "Should not be able to construct an HTMLParagraphElement not named 'p'");
     145    assert_equals(getCount, 0, "Should never have gotten .prototype");
     146}, 'HTMLParagraphElement constructor must not get .prototype until it finishes its extends sanity checks, calling proxy constructor directly');
     147
     148test_with_window(w => {
     149    class SomeCustomElement extends HTMLParagraphElement {};
     150    var getCount = 0;
     151    var countingProxy = new Proxy(SomeCustomElement, {
     152        get: function(target, prop, receiver) {
     153            if (prop == "prototype") {
     154                ++getCount;
     155            }
     156            return Reflect.get(target, prop, receiver);
     157        }
     158    });
     159    w.customElements.define("failure-counting-element", countingProxy);
     160    // define() gets the prototype of the constructor it's passed, so
     161    // reset the counter.
     162    getCount = 0;
     163    assert_throws({'name': 'TypeError'},
     164                  function () { Reflect.construct(HTMLParagraphElement, [], countingProxy) },
     165                  "Should not be able to construct an HTMLParagraphElement not named 'p'");
     166    assert_equals(getCount, 0, "Should never have gotten .prototype");
     167}, 'HTMLParagraphElement constructor must not get .prototype until it finishes its extends sanity checks, calling via Reflect');
    127168</script>
    128169</body>
  • trunk/LayoutTests/imported/w3c/web-platform-tests/custom-elements/htmlconstructor/w3c-import.log

    r216354 r234039  
    22Do NOT modify these tests directly in WebKit.
    33Instead, create a pull request on the WPT github:
    4         https://github.com/w3c/web-platform-tests
     4        https://github.com/web-platform-tests/wpt
    55
    66Then run the Tools/Scripts/import-w3c-tests in WebKit to reimport
  • trunk/LayoutTests/imported/w3c/web-platform-tests/custom-elements/parser/parser-uses-registry-of-owner-document-expected.txt

    r230330 r234039  
    77PASS HTML parser must use the registry of window.document in a document created by document.implementation.createXHTMLDocument()
    88PASS HTML parser must use the registry of window.document in a document created by new Document
    9 FAIL HTML parser must use the registry of window.document in a document created by XMLHttpRequest promise_test: Unhandled rejection with value: object "TypeError: null is not an object (evaluating 'doc.querySelector')"
     9PASS HTML parser must use the registry of window.document in a document created by XMLHttpRequest
    1010FAIL document.write() must not instantiate a custom element without a defined insertion point assert_false: expected false got true
    1111FAIL document.writeln() must not instantiate a custom element without a defined insertion point assert_false: expected false got true
  • trunk/LayoutTests/imported/w3c/web-platform-tests/custom-elements/parser/w3c-import.log

    r230330 r234039  
    22Do NOT modify these tests directly in WebKit.
    33Instead, create a pull request on the WPT github:
    4         https://github.com/w3c/web-platform-tests
     4        https://github.com/web-platform-tests/wpt
    55
    66Then run the Tools/Scripts/import-w3c-tests in WebKit to reimport
  • trunk/LayoutTests/imported/w3c/web-platform-tests/custom-elements/reactions/resources/w3c-import.log

    r216354 r234039  
    22Do NOT modify these tests directly in WebKit.
    33Instead, create a pull request on the WPT github:
    4         https://github.com/w3c/web-platform-tests
     4        https://github.com/web-platform-tests/wpt
    55
    66Then run the Tools/Scripts/import-w3c-tests in WebKit to reimport
  • trunk/LayoutTests/imported/w3c/web-platform-tests/custom-elements/reactions/w3c-import.log

    r230330 r234039  
    22Do NOT modify these tests directly in WebKit.
    33Instead, create a pull request on the WPT github:
    4         https://github.com/w3c/web-platform-tests
     4        https://github.com/web-platform-tests/wpt
    55
    66Then run the Tools/Scripts/import-w3c-tests in WebKit to reimport
  • trunk/LayoutTests/imported/w3c/web-platform-tests/custom-elements/resources/w3c-import.log

    r230330 r234039  
    22Do NOT modify these tests directly in WebKit.
    33Instead, create a pull request on the WPT github:
    4         https://github.com/w3c/web-platform-tests
     4        https://github.com/web-platform-tests/wpt
    55
    66Then run the Tools/Scripts/import-w3c-tests in WebKit to reimport
  • trunk/LayoutTests/imported/w3c/web-platform-tests/custom-elements/upgrading/w3c-import.log

    r230330 r234039  
    22Do NOT modify these tests directly in WebKit.
    33Instead, create a pull request on the WPT github:
    4         https://github.com/w3c/web-platform-tests
     4        https://github.com/web-platform-tests/wpt
    55
    66Then run the Tools/Scripts/import-w3c-tests in WebKit to reimport
  • trunk/LayoutTests/imported/w3c/web-platform-tests/custom-elements/w3c-import.log

    r230330 r234039  
    22Do NOT modify these tests directly in WebKit.
    33Instead, create a pull request on the WPT github:
    4         https://github.com/w3c/web-platform-tests
     4        https://github.com/web-platform-tests/wpt
    55
    66Then run the Tools/Scripts/import-w3c-tests in WebKit to reimport
     
    2020/LayoutTests/imported/w3c/web-platform-tests/custom-elements/Document-createElementNS.html
    2121/LayoutTests/imported/w3c/web-platform-tests/custom-elements/HTMLElement-constructor.html
    22 /LayoutTests/imported/w3c/web-platform-tests/custom-elements/OWNERS
     22/LayoutTests/imported/w3c/web-platform-tests/custom-elements/META.yml
    2323/LayoutTests/imported/w3c/web-platform-tests/custom-elements/adopted-callback.html
    2424/LayoutTests/imported/w3c/web-platform-tests/custom-elements/attribute-changed-callback.html
    2525/LayoutTests/imported/w3c/web-platform-tests/custom-elements/builtin-coverage.html
     26/LayoutTests/imported/w3c/web-platform-tests/custom-elements/connected-callbacks-html-fragment-parsing.html
    2627/LayoutTests/imported/w3c/web-platform-tests/custom-elements/connected-callbacks.html
    2728/LayoutTests/imported/w3c/web-platform-tests/custom-elements/custom-element-reaction-queue.html
Note: See TracChangeset for help on using the changeset viewer.