https://github.com/web-platform-tests/wpt
Raw File
Tip revision: 6fe92079020b85d872209ab1657595d2e34f9a35 authored by Charles Vazac on 04 April 2018, 14:19:53 UTC
clean up same- and cross-origin urls
Tip revision: 6fe9207
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