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

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

Issue 15873003: Disable default browser check on firefox. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 7 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/testing/dart/browser_controller.dart
===================================================================
--- tools/testing/dart/browser_controller.dart (revision 23059)
+++ tools/testing/dart/browser_controller.dart (working copy)
@@ -284,12 +284,15 @@
const String binary = "firefox";
const String enablePopUp =
- "user_pref(\"dom.disable_open_during_load\", false);";
+ 'user_pref("dom.disable_open_during_load", false);';
+ const String disableDefaultCheck =
+ 'user_pref("browser.shell.checkDefaultBrowser", false);';
Future _createPreferenceFile(var path) {
var file = new File("${path.toString()}/user.js");
var randomFile = file.openSync(FileMode.WRITE);
randomFile.writeStringSync(enablePopUp);
+ randomFile.writeStringSync(disableDefaultCheck);
randomFile.close();
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698