https://github.com/web-platform-tests/wpt
Raw File
Tip revision: 1497ab6830d6bb9bd5fc1be8623adb8a08ca81a5 authored by Dong-hee Na on 26 October 2018, 10:12:54 UTC
wpt: move tests for value/min/max/low/high/optimum IDL attributes of METER
Tip revision: 1497ab6
filesystemfileentry-getParent-manual.html
<!DOCTYPE html>
<meta charset=utf-8>
<title>Entries API: FileSystemFileEntry getParent() manual test</title>
<link rel=help href="https://wicg.github.io/entries-api/#api-entry">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="support.js"></script>

<script>

file_entry_test('file.txt', (t, entry) => {
  assert_idl_attribute(entry, 'getParent', 'FileSystemFileEntry has a getParent method');
  assert_equals(typeof entry.getParent, 'function', 'FileSystemFileEntry has a getParent() method');
  t.done();
}, 'FileSystemFileEntry - getParent() method');

</script>
back to top