Skip to content

Commit

Permalink
Update Acid3 for DOM exception simplification
Browse files Browse the repository at this point in the history
  • Loading branch information
gsnedders committed Nov 24, 2017
1 parent e6f63a6 commit 3cbdbaa
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions acid/acid3/test.html
Original file line number Diff line number Diff line change
Expand Up @@ -956,8 +956,8 @@
test('di<v', "http://example.com/", 5);
test('-div', "http://example.com/", 5);
test('.div', "http://example.com/", 5);
test(':div', null, 14);
test(':div', "http://example.com/", 14);
//test(':div', null, 14);
//test(':div', "http://example.com/", 14);
test('d:iv', null, 14);
test('xml:test', "http://example.com/", 14);
test('xmlns:test', "http://example.com/", 14); // (technically a DOM3 Core test)
Expand All @@ -978,10 +978,10 @@
document.implementation.createDocumentType('a:', '', ''); /* doesn't contain an illegal character; is malformed */
message = "failed to raise exception";
} catch (e) {
if (e.code != e.NAMESPACE_ERR)
/*if (e.code != e.NAMESPACE_ERR)
message = "wrong exception";
else if (e.INVALID_ACCESS_ERR != 15)
message = "exceptions don't have all the constants";
message = "exceptions don't have all the constants";*/
}
if (message)
fail(message);
Expand Down

0 comments on commit 3cbdbaa

Please sign in to comment.