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

Side by Side 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, 8 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 var target = document.body;
6 var callback = arguments[arguments.length - 1]
7
8 var timeout_id = setTimeout(function() {
9 callback()
10 }, 5000);
11
12 var observer = new MutationObserver(function(mutations) {
13 clearTimeout(timeout_id);
14 timeout_id = setTimeout(function() {
15 callback();
16 }, 5000);
17 }).observe(target, {attributes: true, childList: true,
18 characterData: true, subtree: true});
OLDNEW
« 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