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

Unified Diff: third_party/WebKit/LayoutTests/imported/web-platform-tests/html/browsers/browsing-the-web/history-traversal/events.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/events.html
diff --git a/third_party/WebKit/LayoutTests/imported/web-platform-tests/html/browsers/browsing-the-web/history-traversal/events.html b/third_party/WebKit/LayoutTests/imported/web-platform-tests/html/browsers/browsing-the-web/history-traversal/events.html
deleted file mode 100644
index e9ccf46f51714713aecd65e04869cb21b0e40f88..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/imported/web-platform-tests/html/browsers/browsing-the-web/history-traversal/events.html
+++ /dev/null
@@ -1,151 +0,0 @@
-<!doctype html>
-<title> PageTransitionEffect Event </title>
-<script src="../../../../../../resources/testharness.js"></script>
-<script src="../../../../../../resources/testharnessreport.js"></script>
-<div id="log"></div>
-<script>
-test(function() {
- var e = new PageTransitionEvent("pageshow", {persisted:false, cancelable:false, bubbles:false});
- assert_true(e instanceof PageTransitionEvent);
- assert_equals(e.type, "pageshow");
- assert_false(e.bubbles, "bubbles");
- assert_false(e.cancelable, "cancelable");
- assert_false(e.persisted, "persisted");
-}, "Constructing pageshow event");
-
-test(function() {
- var e = new PageTransitionEvent("pagehide", {persisted:false, cancelable:false, bubbles:false});
- assert_true(e instanceof PageTransitionEvent);
- assert_equals(e.type, "pagehide");
- assert_false(e.persisted, "persisted");
- assert_false(e.bubbles, "bubbles");
- assert_false(e.cancelable, "cancelable");
-}, "Constructing pagehide event");
-
-test(function() {
- var e = new PageTransitionEvent("pageshow", {persisted:true});
- assert_true(e instanceof PageTransitionEvent);
- assert_equals(e.type, "pageshow");
- assert_true(e.persisted, "persisted");
- assert_false(e.bubbles, "bubbles");
- assert_false(e.cancelable, "cancelable");
-}, "Constructing pageshow event, persisted true");
-
-test(function() {
- var e = new PageTransitionEvent("pagehide", {persisted:true});
- assert_true(e instanceof PageTransitionEvent);
- assert_equals(e.type, "pagehide");
- assert_true(e.persisted, "persisted");
- assert_false(e.bubbles, "bubbles");
- assert_false(e.cancelable, "cancelable");
-}, "Constructing pagehide event, persisted true");
-
-test(function() {
- var e = new PageTransitionEvent("pageshow", {});
- assert_true(e instanceof PageTransitionEvent);
- assert_equals(e.type, "pageshow");
- assert_false(e.persisted, "persisted");
- assert_false(e.bubbles, "bubbles");
- assert_false(e.cancelable, "cancelable");
-}, "Constructing pageshow event, empty options");
-
-test(function() {
- var e = new PageTransitionEvent("pagehide", {});
- assert_true(e instanceof PageTransitionEvent);
- assert_equals(e.type, "pagehide");
- assert_false(e.persisted, "persisted");
- assert_false(e.bubbles, "bubbles");
- assert_false(e.cancelable, "cancelable");
-}, "Constructing pagehide event, empty options");
-
-test(function() {
- var e = new PageTransitionEvent("pageshow");
- assert_true(e instanceof PageTransitionEvent);
- assert_equals(e.type, "pageshow");
- assert_false(e.persisted, "persisted");
- assert_false(e.bubbles, "bubbles");
- assert_false(e.cancelable, "cancelable");
-}, "Constructing pageshow event, missing options");
-
-test(function() {
- var e = new PageTransitionEvent("pagehide");
- assert_true(e instanceof PageTransitionEvent);
- assert_equals(e.type, "pagehide");
- assert_false(e.persisted, "persisted");
- assert_false(e.bubbles, "bubbles");
- assert_false(e.cancelable, "cancelable");
-}, "Constructing pagehide event, missing options");
-
-test(function() {
- var e = new PageTransitionEvent("pageshow", {persisted:null});
- assert_true(e instanceof PageTransitionEvent);
- assert_equals(e.type, "pageshow");
- assert_false(e.persisted, "persisted");
- assert_false(e.bubbles, "bubbles");
- assert_false(e.cancelable, "cancelable");
-}, "Constructing pageshow event, persisted:null");
-
-test(function() {
- var e = new PageTransitionEvent("pagehide", {persisted:null});
- assert_true(e instanceof PageTransitionEvent);
- assert_equals(e.type, "pagehide");
- assert_false(e.persisted, "persisted");
- assert_false(e.bubbles, "bubbles");
- assert_false(e.cancelable, "cancelable");
-}, "Constructing pagehide event, persisted:null");
-
-test(function() {
- var e = new PageTransitionEvent("pageshow", {persisted:undefined});
- assert_true(e instanceof PageTransitionEvent);
- assert_equals(e.type, "pageshow");
- assert_false(e.persisted, "persisted");
- assert_false(e.bubbles, "bubbles");
- assert_false(e.cancelable, "cancelable");
-}, "Constructing pageshow event, persisted:undefined");
-
-test(function() {
- var e = new PageTransitionEvent("pagehide", {persisted:undefined});
- assert_true(e instanceof PageTransitionEvent);
- assert_equals(e.type, "pagehide");
- assert_false(e.persisted, "persisted");
- assert_false(e.bubbles, "bubbles");
- assert_false(e.cancelable, "cancelable");
-}, "Constructing pagehide event, persisted:undefined");
-
-test(function() {
- var e = new PageTransitionEvent("pageshow", {bubbles:true});
- assert_true(e instanceof PageTransitionEvent);
- assert_equals(e.type, "pageshow");
- assert_false(e.persisted, "persisted");
- assert_true(e.bubbles, "bubbles");
- assert_false(e.cancelable, "cancelable");
-}, "Constructing pageshow event, bubbles:true");
-
-test(function() {
- var e = new PageTransitionEvent("pagehide", {bubbles:true});
- assert_true(e instanceof PageTransitionEvent);
- assert_equals(e.type, "pagehide");
- assert_false(e.persisted, "persisted");
- assert_true(e.bubbles, "bubbles");
- assert_false(e.cancelable, "cancelable");
-}, "Constructing pagehide event, bubbles:true");
-
-test(function() {
- var e = new PageTransitionEvent("pageshow", {cancelable:true});
- assert_true(e instanceof PageTransitionEvent);
- assert_equals(e.type, "pageshow");
- assert_false(e.persisted, "persisted");
- assert_false(e.bubbles, "bubbles");
- assert_true(e.cancelable, "cancelable");
-}, "Constructing pageshow event, cancelable:true");
-
-test(function() {
- var e = new PageTransitionEvent("pagehide", {cancelable:true});
- assert_true(e instanceof PageTransitionEvent);
- assert_equals(e.type, "pagehide");
- assert_false(e.persisted, "persisted");
- assert_false(e.bubbles, "bubbles");
- assert_true(e.cancelable, "cancelable");
-}, "Constructing pagehide event, cancelable:true");
-
-</script>

Powered by Google App Engine
This is Rietveld 408576698