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

Unified Diff: tools/testing/dart/test_options.dart

Issue 252653007: Add clear_browser_cache flag to test.dart (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tools/testing/dart/browser_controller.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/testing/dart/test_options.dart
===================================================================
--- tools/testing/dart/test_options.dart (revision 35471)
+++ tools/testing/dart/test_options.dart (working copy)
@@ -335,6 +335,13 @@
false,
type: 'bool'),
new _TestOptionSpecification(
+ 'clear_browser_cache',
+ 'Browser specific clearing of caches(i.e., delete it).',
+ ['--clear_browser_cache'],
+ [],
+ false,
+ type: 'bool'),
+ new _TestOptionSpecification(
'copy_coredumps',
'If we see a crash that we did not expect, copy the core dumps. '
'to /tmp',
@@ -676,6 +683,12 @@
// Allow suppression that is valid for all ie versions
configuration['ie'] = runtime.startsWith('ie');
+ // Temporary grace period for clear_safaci_cache
+ // See issue 18478
+ if (configuration['clear_safari_cache']) {
+ configuration['clear_browser_cache'] = true;
+ }
+
// Expand the test selectors into a suite name and a simple
// regular expressions to be used on the full path of a test file
// in that test suite. If no selectors are explicitly given use
« no previous file with comments | « tools/testing/dart/browser_controller.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698