Skip to content

Instantly share code, notes, and snippets.

@darobin
Created December 11, 2014 18:42
Show Gist options
  • Save darobin/f4153bab6396ee091b48 to your computer and use it in GitHub Desktop.
Save darobin/f4153bab6396ee091b48 to your computer and use it in GitHub Desktop.
DOM test quick overview
NEEDS WORK:
- /dom/nodes/MutationObserver-attributes.html
- most implementations don't mutate when the string doesn't change. What's wanted here?
- implementations don't properly default attribute: true. Imp bug IMHO.
- /dom/traversal/NodeIterator.html
- spec is unclear (not sure what happens to function that's given for a NodeFilter)
- tests take the Gecko-friendly interpretation, other implementations not
- /dom/nodes/Node-isEqualNode.xhtml
- suspicious test, cross-origin issue
- /dom/nodes/MutationObserver-childList.html
- "This step does intentionally not pay attention to the suppress observers flag." in insert,
which runs for replace before the insertion.
- this is only respected in Gecko
- /dom/nodes/attributes.html
- the exodus away from Attr as a Node has not (yet?) happened. Still in flux.
- one of the getAttributeNS cases only works in Gecko. Needs investigation.
- /dom/lists/DOMTokenList-stringifier.html
- no one serialises as per spec. Imp or spec? Seems nice to have.
- /dom/ranges/Range-insertNode.html
- painful to debug, unsure if the problem is implementation-related or not
- looks like normalisation is happening, some times
- /dom/nodes/Element-children.html
- Gecko considers length shouldn't be enumerated, others enumerate it
- named children also sometimes get enumerated
- /dom/ranges/Range-surroundContents.html
- numerous issues, worth investigating
- /dom/nodes/Document-createElement-namespace.html
- I suspect the test is wrong, the test assumes the synthetic media types from Gecko but
others use different values
- /dom/nodes/Document-createElement.html
- some browsers don't restrict lowercasing (for localName) or uppercasing (for tagName) to
to the ASCII range
- /dom/nodes/Node-properties.html
- the namespaceURI tests are almost certainly wrong
- the rest could be implementation issues, need digging
- /dom/nodes/Document-getElementsByTagName.html
- similar issues to /dom/nodes/Element-children.html
- similar issues to /dom/nodes/Document-createElement.html
- /dom/nodes/Node-parentNode.html
- cross-origin access to data: causes the problem, test is likely wrong because of that
OKAY:
- /dom/events/Event-propagation.html
- implementations don't properly reset the stop propagation flag upon re-init. Imp.
- /dom/nodes/Document-createElementNS.html
- minor problem casting undefined to null. Imp.
- /dom/nodes/MutationObserver-characterData.html
- implementations don't properly default characterData: true. Imp bug IMHO.
- /dom/nodes/Document-constructor.html
- constructor not supported. Imp.
- /dom/nodes/Node-replaceChild.html
- wrong exception being thrown. Imp.
- undetected hierarchy problems with doctypes. Imp.
- /dom/errors/exceptions.html
- IDL stuff
- /dom/interfaces.html
- the usual WebIDL stuff
- /dom/nodes/DOMImplementation-createDocument.html
- undefined -> null issues
- wrong exception
- /dom/nodes/Element-classlist.html
- mostly white space issues. Imp.
- /dom/interface-objects.html
- IDL stuff
- /dom/nodes/case.html
- implementation variations on corner cases. Imp.
- /dom/nodes/Document-characterSet-normalization.html
- implementation alignment issues
- /dom/nodes/Document-createTreeWalker.html
- implementations haven't yet caught up to option arguments
- /dom/nodes/DOMImplementation-createHTMLDocument.html
- minor implementation difference
- /dom/nodes/MutationObserver-inner-outer.html
- actual implementation failure
- /dom/events/Event-constructors.html
- event constructor isn't implemented yet
- /dom/ranges/Range-intersectsNode.html
- the spec seems right (a document intersects any range in it), implementation issue
- /dom/nodes/Node-insertBefore.html
- some implementation issues with doctype insertion
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment