Skip to content

Commit

Permalink
Import wpt@3ba5d5327015d8555070c2f2fc794249d58b5b93
Browse files Browse the repository at this point in the history
Using update-w3c-deps in Chromium a229e82.

Build: https://build.chromium.org/p/chromium.infra.cron/builders/w3c-test-autoroller/builds/7824

TBR=qyearsley@chromium.org
NOEXPORT=true

Review-Url: https://codereview.chromium.org/2565143003
Cr-Commit-Position: refs/heads/master@{#437770}
  • Loading branch information
chromium-wpt-export-bot authored and Commit bot committed Dec 10, 2016
1 parent ba3c4f9 commit 34f78aa
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@ PASS Historical DOM features must be removed: schemaTypeInfo
PASS Historical DOM features must be removed: setIdAttribute
PASS Historical DOM features must be removed: setIdAttributeNS
PASS Historical DOM features must be removed: setIdAttributeNode
PASS Attr member must be nuked: schemaTypeInfo
PASS Attr member must be nuked: isId
PASS DocumentType member must be nuked: entities
PASS DocumentType member must be nuked: notations
PASS DocumentType member must be nuked: internalSubset
Expand Down
12 changes: 12 additions & 0 deletions third_party/WebKit/LayoutTests/imported/wpt/dom/historical.html
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,18 @@
]
elementNuked.forEach(isNukedFromElement)

function isNukedFromAttr(name) {
test(function() {
var attr = document.createAttribute("test")
assert_equals(attr[name], undefined)
}, "Attr member must be nuked: " + name)
}
var attrNuked = [
"schemaTypeInfo",
"isId"
]
attrNuked.forEach(isNukedFromAttr)

function isNukedFromDoctype(name) {
test(function() {
var doctype = document.implementation.createDocumentType("test", "", "")
Expand Down

0 comments on commit 34f78aa

Please sign in to comment.