Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test that historical HTMLElement features are not supported #4331

Merged
merged 2 commits into from
Jan 2, 2017

Conversation

zcorpan
Copy link
Member

@zcorpan zcorpan commented Dec 15, 2016

Also a few related things added to dom/historical.html.


This change is Reviewable

@zcorpan zcorpan requested a review from Ms2ger December 15, 2016 09:46
@wpt-pr-bot
Copy link
Collaborator

@wpt-stability-bot
Copy link

wpt-stability-bot commented Dec 15, 2016

Firefox

Testing revision 3dd6724
Starting 10 test iterations
All results were stable

All results

/html/dom/elements/elements-in-the-dom/historical.html
Subtest Results
OK
HTMLElement member must be nuked: commandChecked PASS
HTMLElement member must be nuked: commandType PASS
HTMLElement member must be nuked: commandTriggers PASS
HTMLElement member must be nuked: commandHidden PASS
HTMLElement member must be nuked: commandIcon PASS
HTMLElement member must be nuked: commandDisabled PASS
HTMLElement member must be nuked: commandLabel PASS
HTMLElement member must be nuked: inert PASS
/dom/historical.html
Subtest Results
OK
Event should not have this constant: DRAGDROP PASS
Historical DOM features must be removed: Entity PASS
Historical DOM features must be removed: schemaTypeInfo PASS
Node member must be nuked: attributes PASS
Node member must be nuked: getUserData PASS
Historical DOM features must be removed: xmlVersion PASS
Historical DOM features must be removed: setIdAttributeNS PASS
Historical DOM features must be removed: DOMUserData PASS
Historical DOM features must be removed: width PASS
Historical DOM features must be removed: setIdAttributeNode PASS
Event should not have this constant: BLUR PASS
Historical DOM features must be removed: DOMError FAIL
Event should not have this constant: CLICK PASS
DocumentType member must be nuked: notations PASS
document.load PASS
Historical DOM features must be removed: async FAIL
Historical DOM features must be removed: DOMImplementationSource PASS
Historical DOM features must be removed: DOMSettableTokenList PASS
Event should not have this constant: MOUSEUP PASS
Event should not have this constant: DBLCLICK PASS
Event should not have this constant: MOUSEMOVE PASS
Historical DOM features must be removed: EventException PASS
Node member must be nuked: setUserData PASS
DOMImplementation.getFeature() must be nuked. PASS
Historical DOM features must be removed: RangeException PASS
Event should not have this constant: CHANGE PASS
Historical DOM features must be removed: renameNode PASS
Event should not have this constant: MOUSEDOWN PASS
Historical DOM features must be removed: normalizeDocument PASS
Historical DOM features must be removed: DOMConfiguration PASS
Event should not have this constant: MOUSEDRAG PASS
Historical DOM features must be removed: DOMObject PASS
Historical DOM features must be removed: NameList PASS
Historical DOM features must be removed: xmlEncoding PASS
Historical DOM features must be removed: UserDataHandler PASS
Node member must be nuked: hasAttributes PASS
Attr member must be nuked: schemaTypeInfo PASS
Historical DOM features must be removed: domConfig PASS
Historical DOM features must be removed: DOMImplementationList PASS
Window member must be nuked: attachEvent PASS
Historical DOM features must be removed: DOMErrorHandler PASS
Historical DOM features must be removed: strictErrorChecking PASS
Historical DOM features must be removed: Notation PASS
Node member must be nuked: getFeature PASS
Historical DOM features must be removed: DOMLocator PASS
Event should not have this constant: KEYUP PASS
Event should not have this constant: MOUSEOVER PASS
Event should not have this constant: FOCUS PASS
Node member must be nuked: namespaceURI PASS
Event should not have this constant: KEYPRESS PASS
Historical DOM features must be removed: commands PASS
Historical DOM features must be removed: xmlStandalone PASS
Attr member must be nuked: isId PASS
Node member must be nuked: prefix PASS
Node member must be nuked: rootNode FAIL
Event should not have this constant: MOUSEOUT PASS
Historical DOM features must be removed: setIdAttribute PASS
Event should not have this constant: SELECT PASS
Historical DOM features must be removed: TypeInfo PASS
Historical DOM features must be removed: createEntityReference PASS
Text member must be nuked: replaceWholeText PASS
Historical DOM features must be removed: height PASS
DocumentType member must be nuked: entities PASS
Node member must be nuked: isSupported PASS
Node member must be nuked: localName PASS
DocumentType member must be nuked: internalSubset PASS
Historical DOM features must be removed: EntityReference PASS
Event should not have this constant: KEYDOWN PASS
Text member must be nuked: isElementContentWhitespace PASS
Historical DOM features must be removed: cssElementMap PASS
Historical DOM features must be removed: defaultCharset PASS

@wpt-stability-bot
Copy link

wpt-stability-bot commented Dec 15, 2016

Chrome

Testing revision 3dd6724
Starting 10 test iterations
All results were stable

All results

/html/dom/elements/elements-in-the-dom/historical.html
Subtest Results
OK
HTMLElement member must be nuked: commandChecked PASS
HTMLElement member must be nuked: commandType PASS
HTMLElement member must be nuked: commandTriggers PASS
HTMLElement member must be nuked: commandHidden PASS
HTMLElement member must be nuked: commandIcon PASS
HTMLElement member must be nuked: commandDisabled PASS
HTMLElement member must be nuked: commandLabel PASS
HTMLElement member must be nuked: inert PASS
/dom/historical.html
Subtest Results
OK
Event should not have this constant: DRAGDROP FAIL
Historical DOM features must be removed: Entity PASS
Historical DOM features must be removed: schemaTypeInfo PASS
Node member must be nuked: attributes PASS
Node member must be nuked: getUserData PASS
Historical DOM features must be removed: xmlVersion FAIL
Historical DOM features must be removed: setIdAttributeNS PASS
Historical DOM features must be removed: DOMUserData PASS
Historical DOM features must be removed: width PASS
Historical DOM features must be removed: setIdAttributeNode PASS
Event should not have this constant: BLUR FAIL
Historical DOM features must be removed: DOMError FAIL
Event should not have this constant: CLICK FAIL
DocumentType member must be nuked: notations PASS
document.load PASS
Historical DOM features must be removed: async PASS
Historical DOM features must be removed: DOMImplementationSource PASS
Historical DOM features must be removed: DOMSettableTokenList PASS
Event should not have this constant: MOUSEUP FAIL
Event should not have this constant: DBLCLICK FAIL
Event should not have this constant: MOUSEMOVE FAIL
Historical DOM features must be removed: EventException PASS
Node member must be nuked: setUserData PASS
DOMImplementation.getFeature() must be nuked. PASS
Historical DOM features must be removed: RangeException PASS
Event should not have this constant: CHANGE FAIL
Historical DOM features must be removed: renameNode PASS
Event should not have this constant: MOUSEDOWN FAIL
Historical DOM features must be removed: normalizeDocument PASS
Historical DOM features must be removed: DOMConfiguration PASS
Event should not have this constant: MOUSEDRAG FAIL
Historical DOM features must be removed: DOMObject PASS
Historical DOM features must be removed: NameList PASS
Historical DOM features must be removed: xmlEncoding FAIL
Historical DOM features must be removed: UserDataHandler PASS
Node member must be nuked: hasAttributes PASS
Attr member must be nuked: schemaTypeInfo PASS
Historical DOM features must be removed: domConfig PASS
Historical DOM features must be removed: DOMImplementationList PASS
Window member must be nuked: attachEvent PASS
Historical DOM features must be removed: DOMErrorHandler PASS
Historical DOM features must be removed: strictErrorChecking PASS
Historical DOM features must be removed: Notation PASS
Node member must be nuked: getFeature PASS
Historical DOM features must be removed: DOMLocator PASS
Event should not have this constant: KEYUP FAIL
Event should not have this constant: MOUSEOVER FAIL
Event should not have this constant: FOCUS FAIL
Node member must be nuked: namespaceURI PASS
Event should not have this constant: KEYPRESS FAIL
Historical DOM features must be removed: commands PASS
Historical DOM features must be removed: xmlStandalone FAIL
Attr member must be nuked: isId PASS
Node member must be nuked: prefix PASS
Node member must be nuked: rootNode PASS
Event should not have this constant: MOUSEOUT FAIL
Historical DOM features must be removed: setIdAttribute PASS
Event should not have this constant: SELECT FAIL
Historical DOM features must be removed: TypeInfo PASS
Historical DOM features must be removed: createEntityReference PASS
Text member must be nuked: replaceWholeText PASS
Historical DOM features must be removed: height PASS
DocumentType member must be nuked: entities PASS
Node member must be nuked: isSupported PASS
Node member must be nuked: localName PASS
DocumentType member must be nuked: internalSubset PASS
Historical DOM features must be removed: EntityReference PASS
Event should not have this constant: KEYDOWN FAIL
Text member must be nuked: isElementContentWhitespace PASS
Historical DOM features must be removed: cssElementMap PASS
Historical DOM features must be removed: defaultCharset PASS

Also a few related things added to dom/historical.html.
@sideshowbarker
Copy link
Contributor

Rebased to get the stability checker to update the comments using details+summary

"inert",
].forEach(function(member) {
test(function() {
assert_false(member in document.body);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fix the indentation and r=me

@Ms2ger Ms2ger merged commit f729d72 into master Jan 2, 2017
@Ms2ger Ms2ger deleted the zcorpan/htmlelement-historical branch January 2, 2017 13:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants