| OLD | NEW | 
|    1 <!DOCTYPE html> |    1 <!DOCTYPE html> | 
|    2 <title>Historical DOM features must be removed</title> |    2 <title>Historical DOM features must be removed</title> | 
|    3 <script src="/resources/testharness.js"></script> |    3 <script src="/resources/testharness.js"></script> | 
|    4 <script src="/resources/testharnessreport.js"></script> |    4 <script src="/resources/testharnessreport.js"></script> | 
|    5 <div id=log></div> |    5 <div id=log></div> | 
|    6 <script> |    6 <script> | 
|    7 function isInterfaceNuked(name) { |    7 function isInterfaceNuked(name) { | 
|    8   test(function() { |    8   test(function() { | 
|    9     assert_equals(window[name], undefined) |    9     assert_equals(window[name], undefined) | 
|   10   }, "Historical DOM features must be removed: " + name) |   10   }, "Historical DOM features must be removed: " + name) | 
| (...skipping 30 matching lines...) Expand all  Loading... | 
|   41   "createEntityReference", |   41   "createEntityReference", | 
|   42   "xmlEncoding", |   42   "xmlEncoding", | 
|   43   "xmlStandalone", |   43   "xmlStandalone", | 
|   44   "xmlVersion", |   44   "xmlVersion", | 
|   45   "strictErrorChecking", |   45   "strictErrorChecking", | 
|   46   "domConfig", |   46   "domConfig", | 
|   47   "normalizeDocument", |   47   "normalizeDocument", | 
|   48   "renameNode", |   48   "renameNode", | 
|   49   "defaultCharset", |   49   "defaultCharset", | 
|   50   "height", |   50   "height", | 
|   51   "width" |   51   "width", | 
 |   52   // https://github.com/whatwg/html/commit/a64aea7fdb221bba027d95dc3cabda09e0b3e
     5dc | 
 |   53   "commands", | 
 |   54   // https://github.com/whatwg/html/commit/797b4d273955a0fe3cc2e2d0ca5d578f37c0f
     126 | 
 |   55   "cssElementMap", | 
 |   56   // https://github.com/whatwg/html/commit/e236f46820b93d6fe2e2caae0363331075c6c
     4fb | 
 |   57   "async", | 
|   52 ] |   58 ] | 
|   53 documentNuked.forEach(isNukedFromDocument) |   59 documentNuked.forEach(isNukedFromDocument) | 
|   54  |   60  | 
|   55 test(function() { |   61 test(function() { | 
 |   62   // https://github.com/whatwg/html/commit/e236f46820b93d6fe2e2caae0363331075c6c
     4fb | 
 |   63   assert_false("load" in document); | 
 |   64 }, "document.load"); | 
 |   65  | 
 |   66 test(function() { | 
|   56   assert_equals(document.implementation["getFeature"], undefined) |   67   assert_equals(document.implementation["getFeature"], undefined) | 
|   57 }, "DOMImplementation.getFeature() must be nuked.") |   68 }, "DOMImplementation.getFeature() must be nuked.") | 
|   58  |   69  | 
|   59 function isNukedFromElement(name) { |   70 function isNukedFromElement(name) { | 
|   60   test(function() { |   71   test(function() { | 
|   61     var ele = document.createElementNS("test", "test") |   72     var ele = document.createElementNS("test", "test") | 
|   62     assert_equals(document.body[name], undefined) |   73     assert_equals(document.body[name], undefined) | 
|   63     assert_equals(ele[name], undefined) |   74     assert_equals(ele[name], undefined) | 
|   64   }, "Historical DOM features must be removed: " + name) |   75   }, "Historical DOM features must be removed: " + name) | 
|   65 } |   76 } | 
| (...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  160   "KEYUP", |  171   "KEYUP", | 
|  161   "KEYPRESS", |  172   "KEYPRESS", | 
|  162   "DRAGDROP", |  173   "DRAGDROP", | 
|  163   "FOCUS", |  174   "FOCUS", | 
|  164   "BLUR", |  175   "BLUR", | 
|  165   "SELECT", |  176   "SELECT", | 
|  166   "CHANGE" |  177   "CHANGE" | 
|  167 ] |  178 ] | 
|  168 EventRemoved.forEach(isRemovedFromEvent) |  179 EventRemoved.forEach(isRemovedFromEvent) | 
|  169 </script> |  180 </script> | 
| OLD | NEW |