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

Side by Side Diff: tools/testing/dart/browser_controller.dart

Issue 1027093004: Don't report firefox crash reports (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 5 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 library browser; 4 library browser;
5 5
6 import "dart:async"; 6 import "dart:async";
7 import "dart:convert" show LineSplitter, UTF8, JSON; 7 import "dart:convert" show LineSplitter, UTF8, JSON;
8 import "dart:core"; 8 import "dart:core";
9 import "dart:io"; 9 import "dart:io";
10 10
(...skipping 726 matching lines...) Expand 10 before | Expand all | Expand 10 after
737 return new Future.value(false); 737 return new Future.value(false);
738 } 738 }
739 version = versionResult.stdout; 739 version = versionResult.stdout;
740 _logEvent("Got version: $version"); 740 _logEvent("Got version: $version");
741 741
742 return Directory.systemTemp.createTemp().then((userDir) { 742 return Directory.systemTemp.createTemp().then((userDir) {
743 _createPreferenceFile(userDir.path); 743 _createPreferenceFile(userDir.path);
744 _cleanup = () { userDir.deleteSync(recursive: true); }; 744 _cleanup = () { userDir.deleteSync(recursive: true); };
745 var args = ["-profile", "${userDir.path}", 745 var args = ["-profile", "${userDir.path}",
746 "-no-remote", "-new-instance", url]; 746 "-no-remote", "-new-instance", url];
747 return startBrowser(_binary, args); 747 var environment = new Map<String,String>.from(Platform.environment);
748 environment["MOZ_CRASHREPORTER_DISABLE"] = "1";
749 return startBrowser(_binary, args, environment: environment);
748 750
749 }); 751 });
750 }).catchError((e) { 752 }).catchError((e) {
751 _logEvent("Running $_binary --version failed with $e"); 753 _logEvent("Running $_binary --version failed with $e");
752 return false; 754 return false;
753 }); 755 });
754 } 756 }
755 757
756 String toString() => "Firefox"; 758 String toString() => "Firefox";
757 } 759 }
(...skipping 1036 matching lines...) Expand 10 before | Expand all | Expand 10 after
1794 </div> 1796 </div>
1795 <div id="embedded_iframe_div" class="test box"> 1797 <div id="embedded_iframe_div" class="test box">
1796 <iframe style="width:100%;height:100%;" id="embedded_iframe"></iframe> 1798 <iframe style="width:100%;height:100%;" id="embedded_iframe"></iframe>
1797 </div> 1799 </div>
1798 </body> 1800 </body>
1799 </html> 1801 </html>
1800 """; 1802 """;
1801 return driverContent; 1803 return driverContent;
1802 } 1804 }
1803 } 1805 }
OLDNEW
« 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