Index: third_party/WebKit/LayoutTests/fast/dom/Document/document-current-script.html |
diff --git a/third_party/WebKit/LayoutTests/fast/dom/Document/document-current-script.html b/third_party/WebKit/LayoutTests/fast/dom/Document/document-current-script.html |
index e67deecb7ad05f37495f1f66912de960c724a40a..4180dc79dddf4b43b94520b0b8f4b6c36a028023 100644 |
--- a/third_party/WebKit/LayoutTests/fast/dom/Document/document-current-script.html |
+++ b/third_party/WebKit/LayoutTests/fast/dom/Document/document-current-script.html |
@@ -62,6 +62,17 @@ document.head.appendChild(script); |
logCurrentScript(); |
</script> |
+<script id="svg_in_html"> |
+logCurrentScript(); |
+ |
+var svg = document.createElementNS("htttp://www.w3.org/2000/svg", "svg"); |
+var script = document.createElementNS("http://www.w3.org/2000/svg", "script"); |
+script.id = "svg script"; |
+script.textContent = 'logCurrentScript();'; |
+svg.appendChild(script); |
+document.head.appendChild(script); |
+</script> |
+ |
<script> |
window.onload = function() { |
shouldBeNull('document.currentScript'); |