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

Unified Diff: LayoutTests/dart/security/cross-frame-access.html

Issue 10025040: Use interpolation instead of concatenation. (Closed) Base URL: svn://svn.chromium.org/multivm/trunk/webkit
Patch Set: Created 8 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 | « LayoutTests/dart/fib.html ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/dart/security/cross-frame-access.html
diff --git a/LayoutTests/dart/security/cross-frame-access.html b/LayoutTests/dart/security/cross-frame-access.html
index 42c107436fc9c8a16f84e5ae089cc179d229f397..ec21ada789b1151126236bee605804e3f6ff8401 100644
--- a/LayoutTests/dart/security/cross-frame-access.html
+++ b/LayoutTests/dart/security/cross-frame-access.html
@@ -100,7 +100,7 @@ testLocation(Location location) {
expect(e.data).equals('navigated');
window.setTimeout(callbackDone, 0);
});
- location.href = 'data:text/html, <script>parent.postMessage("navigated", "*")<' + '/script>';
+ location.href = 'data:text/html, <script>parent.postMessage("navigated", "*")<${"/script>"}';
hausner 2012/04/19 17:19:46 Am I missing something or are you simply interpola
Anton Muhin 2012/04/19 17:20:44 Almost---this code is embedded into HTML, so if I
hausner 2012/04/19 17:22:09 Ah, so I was missing something :) Thanks for the e
}
testIFrameElement(HTMLIFrameElement iframe) {
« no previous file with comments | « LayoutTests/dart/fib.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698