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

Unified Diff: third_party/WebKit/LayoutTests/imported/web-platform-tests/html/browsers/browsing-the-web/history-traversal/persisted-user-state-restoration/scroll-restoration-basic.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/html/browsers/browsing-the-web/history-traversal/persisted-user-state-restoration/scroll-restoration-basic.html
diff --git a/third_party/WebKit/LayoutTests/imported/web-platform-tests/html/browsers/browsing-the-web/history-traversal/persisted-user-state-restoration/scroll-restoration-basic.html b/third_party/WebKit/LayoutTests/imported/web-platform-tests/html/browsers/browsing-the-web/history-traversal/persisted-user-state-restoration/scroll-restoration-basic.html
deleted file mode 100644
index 4a5ea9251fa378fd2dbba1e776c191b665f87003..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/imported/web-platform-tests/html/browsers/browsing-the-web/history-traversal/persisted-user-state-restoration/scroll-restoration-basic.html
+++ /dev/null
@@ -1,34 +0,0 @@
-<!doctype html>
-<title>Verify existence and basic read/write function of history.scrollRestoration</title>
-
-<style>
- body {
- height: 2000px;
- width: 2000px;
- }
-</style>
-
-<script src="../../../../../../../resources/testharness.js"></script>
-<script src="../../../../../../../resources/testharnessreport.js"></script>
-<script type="text/javascript">
- 'use strict';
-
- test(function() {
- assert_equals(history.scrollRestoration, 'auto');
- }, 'Default value is "auto"');
-
- test(function() {
- history.scrollRestoration = 'manual';
- assert_equals(history.scrollRestoration, 'manual', 'should be able to set "manual"');
- history.scrollRestoration = 'auto';
- assert_equals(history.scrollRestoration, 'auto', 'should be able to set "auto"');
- }, 'It is writable');
-
- test(function() {
- history.scrollRestoration = 'auto';
- for (var v of [3.1415, {}, 'bogus']) {
- history.scrollRestoration = v;
- assert_equals(history.scrollRestoration, 'auto', `setting to invalid value (${v}) should be ignored`);
- }
- }, 'Invalid values are ignored');
-</script>

Powered by Google App Engine
This is Rietveld 408576698