Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(8)

Unified Diff: third_party/WebKit/LayoutTests/imported/web-platform-tests/FileAPI/historical.html

Issue 1984023002: Move web-platform-tests to wpt (part 1 of 2) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/imported/web-platform-tests/FileAPI/historical.html
diff --git a/third_party/WebKit/LayoutTests/imported/web-platform-tests/FileAPI/historical.html b/third_party/WebKit/LayoutTests/imported/web-platform-tests/FileAPI/historical.html
deleted file mode 100644
index cf056ac82034bf441705955002d249746a97e358..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/imported/web-platform-tests/FileAPI/historical.html
+++ /dev/null
@@ -1,48 +0,0 @@
-<!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.');
-
- test(function() {
- var reader = new FileReader();
- assert_false('readAsBinaryString' in reader, 'should not be in reader');
- assert_equals(reader.readAsBinaryString, undefined,
- 'should be undefined on getting')
- }, 'FileReader should not support readAsBinaryString');
- </script>
- </body>
-</html>

Powered by Google App Engine
This is Rietveld 408576698