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

Unified Diff: third_party/polymer/components/web-animations-js/test/testcases/test-player-sort.html

Issue 592603004: Revert "Polymer elements added to third_party/polymer." (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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/polymer/components/web-animations-js/test/testcases/test-player-sort.html
diff --git a/third_party/polymer/components/web-animations-js/test/testcases/test-player-sort.html b/third_party/polymer/components/web-animations-js/test/testcases/test-player-sort.html
deleted file mode 100644
index bdf596d8a3313f87560d58cdab50a3f527a36d5f..0000000000000000000000000000000000000000
--- a/third_party/polymer/components/web-animations-js/test/testcases/test-player-sort.html
+++ /dev/null
@@ -1,48 +0,0 @@
-<!--
-Copyright 2013 Google Inc. All Rights Reserved.
-
-Licensed under the Apache License, Version 2.0 (the "License");
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
--->
-
-<!DOCTYPE html><meta charset="UTF-8">
-
-<script src="../bootstrap.js"></script>
-<script>
-"use strict";
-
-var globalVar = 0;
-var incGlobalVar = function() {
- globalVar += 1;
-}
-var failed = false;
-
-for (var i = 0; i < 100; i++) {
- document.timeline.play(new Animation(null, incGlobalVar, 1));
-}
-
-document.timeline.play(new Animation(null, function() {
- if (globalVar !== 100) {
- failed = true;
- }
- globalVar = 0;
-}, 1));
-
-// ensure at least one point is sampled
-at(0, function() { });
-
-timing_test(function() {
- at(1, function() { assert_true(!failed); });
- },
- "the 101st animation should always come 101st");
-
-</script>

Powered by Google App Engine
This is Rietveld 408576698