Revision 13aba116f5464e57a1052c92b553b170022e6825 authored by Chromium WPT Sync on 24 February 2017, 16:50:26 UTC, committed by GitHub on 24 February 2017, 16:50:26 UTC
Unskip mediastream-capture WPT tests
2 parent s a7e9c2a + 55f035b
Raw File
historical.html
<!DOCTYPE html>
<title>Historical features</title>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<div id=log></div>
<script>
[
  "selectedStyleSheetSet",
  "lastStyleSheetSet",
  "preferredStyleSheetSet",
  "styleSheetSets",
  "enableStyleSheetsForSet",
].forEach(function(name) {
  test(function() {
    assert_false(name in document);

    var doc = document.implementation.createDocument(null, null, null);
    assert_false(name in doc);
  }, "Historical Document member: " + name);
});

[
  "cascadedStyle",
  "defaultStyle",
  "rawComputedStyle",
  "usedStyle",
].forEach(function(name) {
  test(function() {
    assert_false(name in document.body);
    assert_false(name in document.createElement("test"));
  }, "Historical Element member: " + name);
});
</script>
back to top