https://github.com/web-platform-tests/wpt
Raw File
Tip revision: 12ff58441c7624b898d1f5b509264907f7fd0e07 authored by Luke Bjerring on 23 March 2018, 17:36:39 UTC
Support partial dictionaries
Tip revision: 12ff584
filesystemdirectoryentry-getParent-manual.html
<!DOCTYPE html>
<meta charset=utf-8>
<title>Entries API: FileSystemDirectoryEntry getParent() manual test</title>
<link rel=help href="https://wicg.github.io/entries-api/#api-directoryentry">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="support.js"></script>

<script>
entry_test((t, entry) => {

  assert_idl_attribute(entry, 'getParent', 'FileSystemDirectoryEntry has getParent');
  assert_equals(typeof entry.getParent, 'function', 'getParent() is a method');

  t.done();
}, 'FileSystemDirectoryEntry - getParent()');
</script>
back to top