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

Unified Diff: LayoutTests/http/tests/security/xss-DENIED-iframe-src-alias.html

Issue 740223003: Revive tests for Document.createAttributeNS() and Element.setAttributeNodeNS() (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: deprecation messages Created 6 years, 1 month 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
Index: LayoutTests/http/tests/security/xss-DENIED-iframe-src-alias.html
diff --git a/LayoutTests/http/tests/security/xss-DENIED-iframe-src-alias.html b/LayoutTests/http/tests/security/xss-DENIED-iframe-src-alias.html
index c87307ebe1aaa320781ca209e4fd7724e51d5b20..71f0f7b768a6af1017485f13c6d4a6881cec9f8d 100644
--- a/LayoutTests/http/tests/security/xss-DENIED-iframe-src-alias.html
+++ b/LayoutTests/http/tests/security/xss-DENIED-iframe-src-alias.html
@@ -27,6 +27,11 @@ window.onload = function()
a.value = alertMsg("setAttributeNode");
iFrame.setAttributeNode(a);
},
+ function(iFrame) {
+ var a = document.createAttribute('src');
+ a.nodeValue = alertMsg("setAttributeNodeNS");
+ iFrame.setAttributeNodeNS(a);
+ },
// Child manipulation methods
function(iFrame) {
var src = iFrame.attributes['src'];
« no previous file with comments | « LayoutTests/fast/dom/serialize-nodes.xhtml ('k') | LayoutTests/http/tests/security/xss-DENIED-iframe-src-alias-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698