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

Unified Diff: tool/input_sdk/lib/html/html_common/device.dart

Issue 1583943002: Fix for html_common (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: Created 4 years, 11 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 | « lib/runtime/dart/html_common.js ('k') | tool/sdk_expected_errors.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tool/input_sdk/lib/html/html_common/device.dart
diff --git a/tool/input_sdk/lib/html/html_common/device.dart b/tool/input_sdk/lib/html/html_common/device.dart
index d36339bd521e0ed2cd6dc448290cf3e353a46613..f3245fb62ce2a5b437d902c63f924a5ed6a13fad 100644
--- a/tool/input_sdk/lib/html/html_common/device.dart
+++ b/tool/input_sdk/lib/html/html_common/device.dart
@@ -20,7 +20,7 @@ class Device {
* the user agent.
* Returns the user agent.
*/
- static String get userAgent => window.navigator.userAgent;
+ static String get userAgent => window.navigator.raw.userAgent;
/**
* Determines if the current device is running Opera.
« no previous file with comments | « lib/runtime/dart/html_common.js ('k') | tool/sdk_expected_errors.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698