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

Unified Diff: chrome/test/functional/ispy/client/wait_on_ajax.js

Issue 222873002: Remove pyauto tests. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: sync Created 6 years, 9 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
« no previous file with comments | « chrome/test/functional/ispy/client/dom.py ('k') | chrome/test/functional/ispy/common/cloud_bucket.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/functional/ispy/client/wait_on_ajax.js
===================================================================
--- chrome/test/functional/ispy/client/wait_on_ajax.js (revision 261231)
+++ chrome/test/functional/ispy/client/wait_on_ajax.js (working copy)
@@ -1,18 +0,0 @@
-// Copyright 2013 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-var target = document.body;
-var callback = arguments[arguments.length - 1]
-
-var timeout_id = setTimeout(function() {
- callback()
-}, 5000);
-
-var observer = new MutationObserver(function(mutations) {
- clearTimeout(timeout_id);
- timeout_id = setTimeout(function() {
- callback();
- }, 5000);
-}).observe(target, {attributes: true, childList: true,
- characterData: true, subtree: true});
« no previous file with comments | « chrome/test/functional/ispy/client/dom.py ('k') | chrome/test/functional/ispy/common/cloud_bucket.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698