https://github.com/web-platform-tests/wpt
Raw File
Tip revision: e2dc266c6bd1d441938dfe828d552542a0c0b2b7 authored by Geoffrey Sneddon on 09 April 2018, 14:44:16 UTC
fixup! Fix #2669: Add alternate_hosts
Tip revision: e2dc266
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