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

Side by Side Diff: chrome/test/functional/ispy/client/dom.py

Issue 106523003: [I-Spy] Add support for rebaselining expectations from the web UI. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years 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 import os
6
7
8 _script = None
9
10 def GetScriptToWaitForUnchangingDOM():
11 """Returns a JavaScript script that waits for the DOM to stop changing."""
12 global _script
13 if not _script:
14 with open(
15 os.path.join(os.path.dirname(__file__), 'wait_on_ajax.js'), 'r') as f:
16 _script = f.read()
17 return _script
frankf 2013/12/11 00:40:31 just return the string
craigdh 2013/12/11 21:56:38 Done.
OLDNEW
« no previous file with comments | « chrome/test/functional/ispy/client/chrome_utils_unittest.py ('k') | chrome/test/functional/ispy/common/chrome_utils.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698