mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
Update web-platform-tests to revision 4f397167b4ed552a02201c92d363cfaecfe2c7f0
This commit is contained in:
parent
73b5bf201f
commit
84b40513c3
182 changed files with 4779 additions and 1937 deletions
|
@ -10,17 +10,20 @@
|
|||
<body>
|
||||
<div id="log"></div>
|
||||
<script>
|
||||
test(function() {
|
||||
assert_false('toNativeLineEndings' in window);
|
||||
}, '"toNativeLineEndings" should not be supported');
|
||||
var removedFromWindow = [
|
||||
'toNativeLineEndings',
|
||||
'FileError',
|
||||
'FileException',
|
||||
'FileHandle',
|
||||
'FileRequest',
|
||||
'MutableFile',
|
||||
];
|
||||
|
||||
test(function() {
|
||||
assert_false('FileError' in window);
|
||||
}, '"FileError" should not be supported');
|
||||
|
||||
test(function() {
|
||||
assert_false('FileException' in window);
|
||||
}, '"FileException" should not be supported');
|
||||
removedFromWindow.forEach(function(name) {
|
||||
test(function() {
|
||||
assert_false(name in window);
|
||||
}, '"' + name + '" should not be supported');
|
||||
});
|
||||
|
||||
test(function() {
|
||||
var b = new Blob();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue