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

Unified Diff: tools/dom/src/native_DOMImplementation.dart

Issue 204033002: Fixes for Chrome 34 merge (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tools/dom/scripts/systemnative.py ('k') | tools/dom/templates/html/dartium/cpp_header.template » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/dom/src/native_DOMImplementation.dart
diff --git a/tools/dom/src/native_DOMImplementation.dart b/tools/dom/src/native_DOMImplementation.dart
index af81731eaf18167ec702279d4b0fa4ce7c50e0a6..f71ebae4a6ea72efeccf11f750c0824fdca8b340 100644
--- a/tools/dom/src/native_DOMImplementation.dart
+++ b/tools/dom/src/native_DOMImplementation.dart
@@ -146,8 +146,7 @@ class _Utils {
* that does not expect REPL support.
*/
static const _CONSOLE_API_SUPPORT_HEADER =
- 'with ((console && console._commandLineAPI) || {}) {\n';
-
+ 'with ((console && console._commandLineAPI) || { __proto__: null }) {\n';
static bool expectsConsoleApi(String expression) {
return expression.indexOf(_CONSOLE_API_SUPPORT_HEADER) == 0;;
}
« no previous file with comments | « tools/dom/scripts/systemnative.py ('k') | tools/dom/templates/html/dartium/cpp_header.template » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698