mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-07 00:08:39 +09:00
import FIREFOX_52_6_0esr_RELEASE from mozilla-esr52 hg repo
This commit is contained in:
commit
dcd9973243
150858 changed files with 23884658 additions and 0 deletions
41
testing/web-platform/tests/FileAPI/historical.html
Normal file
41
testing/web-platform/tests/FileAPI/historical.html
Normal file
|
|
@ -0,0 +1,41 @@
|
|||
<!doctype html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>Historical features</title>
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<div id="log"></div>
|
||||
<script>
|
||||
test(function() {
|
||||
assert_false('toNativeLineEndings' in window);
|
||||
}, '"toNativeLineEndings" should not be supported');
|
||||
|
||||
test(function() {
|
||||
assert_false('FileError' in window);
|
||||
}, '"FileError" should not be supported');
|
||||
|
||||
test(function() {
|
||||
assert_false('FileException' in window);
|
||||
}, '"FileException" should not be supported');
|
||||
|
||||
test(function() {
|
||||
var b = new Blob();
|
||||
var prefixes = ['op', 'moz', 'webkit', 'ms'];
|
||||
for (var i = 0; i < prefixes.length; ++i) {
|
||||
assert_false(prefixes[i]+'Slice' in b, "'"+prefixes[i]+"Slice' in b");
|
||||
assert_false(prefixes[i]+'Slice' in Blob.prototype, "'"+prefixes[i]+"Slice in Blob.prototype");
|
||||
}
|
||||
}, 'Blob should not support slice prefixed');
|
||||
|
||||
test(function() {
|
||||
var prefixes = ['', 'O', 'Moz', 'WebKit', 'MS'];
|
||||
for (var i = 0; i < prefixes.length; ++i) {
|
||||
assert_false(prefixes[i]+'BlobBuilder' in window, prefixes[i]+'BlobBuilder');
|
||||
}
|
||||
}, 'BlobBuilder should not be supported.');
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
Loading…
Add table
Add a link
Reference in a new issue