mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-10 11:55:49 +00:00
Bug 1458872 [wpt PR 10821] - File API: lastModifiedDate has been obsolete for a while, a=testonly
Automatic update from web-platform-testsFile API: lastModifiedDate has been obsolete for a while -- wpt-commits: 95127fa5adb1d9953899561c152c518c552e4ed0 wpt-pr: 10821
This commit is contained in:
parent
579ba5826e
commit
0955d1dabd
@ -401641,7 +401641,7 @@
|
||||
"support"
|
||||
],
|
||||
"FileAPI/historical.https.html": [
|
||||
"e1cf63d05a0e401cc38a11d2b42efb9e8d315610",
|
||||
"8a0e866521c4cbfb010260c29777f1c93101a576",
|
||||
"testharness"
|
||||
],
|
||||
"FileAPI/idlharness-manual.html": [
|
||||
|
@ -53,9 +53,13 @@
|
||||
assert_false('isClosed' in Blob.prototype, 'isClosed in Blob.prototype');
|
||||
}, 'Blob.close() should not be supported');
|
||||
|
||||
// Only add service worker test if service workers are actually supported.
|
||||
if (navigator.serviceWorker)
|
||||
service_worker_test('support/historical-serviceworker.js', 'Service worker test setup');
|
||||
test(() => {
|
||||
const f = new File([], "");
|
||||
assert_false("lastModifiedDate" in f);
|
||||
assert_false("lastModifiedDate" in File.prototype);
|
||||
}, "File's lastModifiedDate should not be supported");
|
||||
|
||||
service_worker_test('support/historical-serviceworker.js', 'Service worker test setup');
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
|
Loading…
Reference in New Issue
Block a user