From a99a0d39a026c3d38200d58800c0bae6d1cfad01 Mon Sep 17 00:00:00 2001 From: Simon Pieters Date: Thu, 15 Dec 2016 10:44:49 +0100 Subject: [PATCH] Test that historical HTMLElement features are not supported Also a few related things added to dom/historical.html. --- dom/historical.html | 13 +++++++++- .../elements-in-the-dom/historical.html | 24 +++++++++++++++++++ 2 files changed, 36 insertions(+), 1 deletion(-) create mode 100644 html/dom/elements/elements-in-the-dom/historical.html diff --git a/dom/historical.html b/dom/historical.html index 59ec3e2823d6a7..b43d82706e4e4d 100644 --- a/dom/historical.html +++ b/dom/historical.html @@ -49,10 +49,21 @@ "renameNode", "defaultCharset", "height", - "width" + "width", + // https://github.com/whatwg/html/commit/a64aea7fdb221bba027d95dc3cabda09e0b3e5dc + "commands", + // https://github.com/whatwg/html/commit/797b4d273955a0fe3cc2e2d0ca5d578f37c0f126 + "cssElementMap", + // https://github.com/whatwg/html/commit/e236f46820b93d6fe2e2caae0363331075c6c4fb + "async", ] documentNuked.forEach(isNukedFromDocument) +test(function() { + // https://github.com/whatwg/html/commit/e236f46820b93d6fe2e2caae0363331075c6c4fb + assert_false("load" in document); +}, "document.load"); + test(function() { assert_equals(document.implementation["getFeature"], undefined) }, "DOMImplementation.getFeature() must be nuked.") diff --git a/html/dom/elements/elements-in-the-dom/historical.html b/html/dom/elements/elements-in-the-dom/historical.html new file mode 100644 index 00000000000000..c5c88c062c3f2e --- /dev/null +++ b/html/dom/elements/elements-in-the-dom/historical.html @@ -0,0 +1,24 @@ + +Historical HTMLElement features + + + +