Re: [dom-tests] [DOM] Fix null namespace handling in Node.isDefaultNamespace(). (#5110)

 [View the complete job log.](https://travis-ci.org/w3c/web-platform-tests/jobs/209629050)

# Firefox (nightly channel) #
Testing web-platform-tests at revision 72ed06194edf967fe9a88c8540e7ace0de33b9fb
Using browser at version BuildID 20170306110339; SourceStamp 966464a68a2cb3ca1125808e34abb5c1d34e3797
Starting 10 test iterations
All results were stable
## All results ##
<details>
<summary>1 test ran</summary>
<details>
<summary><a href="http://w3c-test.org/submissions/5110/dom/nodes/Node-lookupNamespaceURI.html">/dom/nodes/Node-lookupNamespaceURI.html</a></summary>


|                                   Subtest                                   | Results |                                         Messages                                         |
|-----------------------------------------------------------------------------|---------|------------------------------------------------------------------------------------------|
|                                                                             | OK      |                                                                                          |
| `DocumentFragment should have null namespace, prefix null`                  | PASS    |                                                                                          |
| `DocumentFragment should have null namespace, prefix ""`                    | PASS    |                                                                                          |
| `DocumentFragment should have null namespace, prefix "foo"`                 | PASS    |                                                                                          |
| `DocumentFragment should have null namespace, prefix "xmlns"`               | PASS    |                                                                                          |
| `DocumentFragment is in default namespace, prefix null`                     | PASS    |                                                                                          |
| `DocumentFragment is in default namespace, prefix ""`                       | PASS    |                                                                                          |
| `DocumentFragment is in default namespace, prefix "foo"`                    | PASS    |                                                                                          |
| `DocumentFragment is in default namespace, prefix "xmlns"`                  | PASS    |                                                                                          |
| `DocumentType should have null nemspace, prefix null`                       | PASS    |                                                                                          |
| `DocumentType should have null namespace, prefix ""`                        | PASS    |                                                                                          |
| `DocumentType should have null namespace, prefix "foo"`                     | PASS    |                                                                                          |
| `DocumentType should have null namespace, prefix "xmlns"`                   | PASS    |                                                                                          |
| `DocumentType is in default namespace, prefix null`                         | PASS    |                                                                                          |
| `DocumentType is in default namespace, prefix ""`                           | PASS    |                                                                                          |
| `DocumentType is in default namespace, prefix "foo"`                        | PASS    |                                                                                          |
| `DocumentType is in default namespace, prefix "xmlns"`                      | PASS    |                                                                                          |
| `Element should have null namespace, prefix null`                           | PASS    |                                                                                          |
| `Element should have null namespace, prefix ""`                             | PASS    |                                                                                          |
| `Element should not have namespace matching prefix with namespaceURI value` | PASS    |                                                                                          |
| `Element should not have XMLNS namespace`                                   | FAIL    | `assert_equals: expected (object) null but got (string) "http://www.w3.org/2000/xmlns/"` |
| `Element has namespace URI matching prefix`                                 | FAIL    | `assert_equals: expected (string) "fooNamespace" but got (object) null`                  |
| `Empty namespace is not default, prefix null`                               | PASS    |                                                                                          |
| `Empty namespace is not default, prefix ""`                                 | PASS    |                                                                                          |
| `fooNamespace is not default`                                               | PASS    |                                                                                          |
| `xmlns namespace is not default`                                            | PASS    |                                                                                          |
| `Element should have baz namespace, prefix null`                            | PASS    |                                                                                          |
| `Element should have baz namespace, prefix ""`                              | PASS    |                                                                                          |
| `Element does not has namespace with xlmns prefix`                          | FAIL    | `assert_equals: expected (object) null but got (string) "http://www.w3.org/2000/xmlns/"` |
| `Element has bar namespace`                                                 | PASS    |                                                                                          |
| `Empty namespace is not default on fooElem, prefix null`                    | PASS    |                                                                                          |
| `Empty namespace is not default on fooElem, prefix ""`                      | PASS    |                                                                                          |
| `bar namespace is not default`                                              | PASS    |                                                                                          |
| `baz namespace is default`                                                  | PASS    |                                                                                          |
| `Comment should inherit baz namespace`                                      | PASS    |                                                                                          |
| `Comment should inherit  baz namespace`                                     | PASS    |                                                                                          |
| `Comment should inherit namespace URI matching prefix`                      | FAIL    | `assert_equals: expected (string) "fooNamespace" but got (object) null`                  |
| `Comment should inherit bar namespace`                                      | PASS    |                                                                                          |
| `For comment, empty namespace is not default, prefix null`                  | PASS    |                                                                                          |
| `For comment, empty namespace is not default, prefix ""`                    | PASS    |                                                                                          |
| `For comment, fooNamespace is not default`                                  | PASS    |                                                                                          |
| `For comment, xmlns namespace is not default`                               | PASS    |                                                                                          |
| `For comment, inherited bar namespace is not default`                       | PASS    |                                                                                          |
| `For comment, inherited baz namespace is default`                           | PASS    |                                                                                          |
| `Child element should inherit baz namespace`                                | FAIL    | `assert_equals: expected "childNamespace" but got "bazURI"`                              |
| `Child element should have null namespace`                                  | FAIL    | `assert_equals: expected "childNamespace" but got "bazURI"`                              |
| `Child element should not have XMLNS namespace`                             | FAIL    | `assert_equals: expected (object) null but got (string) "http://www.w3.org/2000/xmlns/"` |
| `Child element has namespace URI matching prefix`                           | FAIL    | `assert_equals: expected (string) "fooNamespace" but got (object) null`                  |
| `Empty namespace is not default for child, prefix null`                     | PASS    |                                                                                          |
| `Empty namespace is not default for child, prefix ""`                       | PASS    |                                                                                          |
| `fooNamespace is not default for child`                                     | PASS    |                                                                                          |
| `xmlns namespace is not default for child`                                  | PASS    |                                                                                          |
| `bar namespace is not default for child`                                    | PASS    |                                                                                          |
| `baz namespace is default for child`                                        | FAIL    | `assert_equals: expected false but got true`                                             |
| `childNamespace is default for child`                                       | FAIL    | `assert_equals: expected true but got false`                                             |
| `Document should have xhtml namespace, prefix null`                         | FAIL    | `assert_equals: expected "http://www.w3.org/1999/xhtml" but got "bazURI"`                |
| `Document should have xhtml namespace, prefix ""`                           | FAIL    | `assert_equals: expected "http://www.w3.org/1999/xhtml" but got "bazURI"`                |
| `Document has no namespace URI matching prefix`                             | PASS    |                                                                                          |
| `Document has bar namespace`                                                | PASS    |                                                                                          |
| `For document, empty namespace is not default, prefix null`                 | PASS    |                                                                                          |
| `For document, empty namespace is not default, prefix ""`                   | PASS    |                                                                                          |
| `For document, fooNamespace is not default`                                 | PASS    |                                                                                          |
| `For document, xmlns namespace is not default`                              | PASS    |                                                                                          |
| `For document, bar namespace is not default`                                | PASS    |                                                                                          |
| `For document, baz namespace is not default`                                | FAIL    | `assert_equals: expected false but got true`                                             |
| `For document, xhtml namespace is default`                                  | FAIL    | `assert_equals: expected true but got false`                                             |
| `Comment does not have bar namespace`                                       | PASS    |                                                                                          |

</details>
</details>

View on GitHub: https://github.com/w3c/web-platform-tests/pull/5110#issuecomment-285583650

Received on Friday, 10 March 2017 05:44:10 UTC