Skip to content

Commit 3cbdbaa

Browse files
committed
Update Acid3 for DOM exception simplification
See http://www.w3.org/mid/CADnb78js2FtmdMBGtOEo=i+YMNa7OzWYiJc96qTM2YpQvG99MQ@mail.gmail.com Change comes from whatwg/dom#319
1 parent e6f63a6 commit 3cbdbaa

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

‎acid/acid3/test.html‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -956,8 +956,8 @@
956956
test('di<v', "http://example.com/", 5);
957957
test('-div', "http://example.com/", 5);
958958
test('.div', "http://example.com/", 5);
959-
test(':div', null, 14);
960-
test(':div', "http://example.com/", 14);
959+
//test(':div', null, 14);
960+
//test(':div', "http://example.com/", 14);
961961
test('d:iv', null, 14);
962962
test('xml:test', "http://example.com/", 14);
963963
test('xmlns:test', "http://example.com/", 14); // (technically a DOM3 Core test)
@@ -978,10 +978,10 @@
978978
document.implementation.createDocumentType('a:', '', ''); /* doesn't contain an illegal character; is malformed */
979979
message = "failed to raise exception";
980980
} catch (e) {
981-
if (e.code != e.NAMESPACE_ERR)
981+
/*if (e.code != e.NAMESPACE_ERR)
982982
message = "wrong exception";
983983
else if (e.INVALID_ACCESS_ERR != 15)
984-
message = "exceptions don't have all the constants";
984+
message = "exceptions don't have all the constants";*/
985985
}
986986
if (message)
987987
fail(message);

0 commit comments

Comments
 (0)