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

Unified Diff: chrome/browser/ui/webui/options/options_browsertest.js

Issue 2691883002: Uprefix CSS transitions in ui/ and chrome/ styles (Closed)
Patch Set: transitions only Created 3 years, 10 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: chrome/browser/ui/webui/options/options_browsertest.js
diff --git a/chrome/browser/ui/webui/options/options_browsertest.js b/chrome/browser/ui/webui/options/options_browsertest.js
index bbb019fea0d1f2675009f26c54794cacd111358d..5e914475727ff799005d7b63c3378c6352262ef4 100644
--- a/chrome/browser/ui/webui/options/options_browsertest.js
+++ b/chrome/browser/ui/webui/options/options_browsertest.js
@@ -126,9 +126,9 @@ function waitUntilHidden(targets) {
function isHidden(el) { return el.hidden; }
function ensureTransition(el) { ensureTransitionEndEvent(el, 500); }
- document.addEventListener('webkitTransitionEnd', function f(e) {
+ document.addEventListener('transitionend', function f(e) {
if (targets.indexOf(e.target) >= 0 && targets.every(isHidden)) {
- document.removeEventListener(f, 'webkitTransitionEnd');
+ document.removeEventListener(f, 'transitionend');
testDone();
}
});
@@ -346,7 +346,7 @@ TEST_F('OptionsWebUITest', 'DISABLED_OverlayShowDoesntShift', function() {
var frozenPages = document.getElementsByClassName('frozen'); // Gets updated.
expectEquals(0, frozenPages.length);
- document.addEventListener('webkitTransitionEnd', function(e) {
+ document.addEventListener('transitionend', function(e) {
if (e.target != overlay)
return;
« no previous file with comments | « chrome/browser/resources/uber/uber_frame.css ('k') | ui/accessibility/extensions/caretbrowsing/caretbrowsing.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698