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

Side by Side Diff: LayoutTests/http/tests/security/resources/cross-frame-iframe-for-put-test.html

Issue 711043004: Don't test CSSValue in http/tests/security tests (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: 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 unified diff | Download patch
« no previous file with comments | « LayoutTests/http/tests/security/cross-frame-access-put-expected.txt ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html> 2 <html>
3 <head> 3 <head>
4 <script type="text/javascript"> 4 <script type="text/javascript">
5 function log(s) 5 function log(s)
6 { 6 {
7 document.getElementById("console").appendChild(document.createTextNo de(s + "\n")); 7 document.getElementById("console").appendChild(document.createTextNo de(s + "\n"));
8 } 8 }
9 9
10 function shouldThrow(a) 10 function shouldThrow(a)
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 </head> 56 </head>
57 <body> 57 <body>
58 <p>This text is in an iframe.</p> 58 <p>This text is in an iframe.</p>
59 <pre id="console"></pre> 59 <pre id="console"></pre>
60 <script> 60 <script>
61 // Constructors 61 // Constructors
62 var AttrOld = window.Attr; 62 var AttrOld = window.Attr;
63 var CDATASectionOld = window.CDATASection; 63 var CDATASectionOld = window.CDATASection;
64 var CharacterDataOld = window.CharacterData; 64 var CharacterDataOld = window.CharacterData;
65 var CommentOld = window.Comment; 65 var CommentOld = window.Comment;
66 var CSSPrimitiveValueOld = window.CSSPrimitiveValue;
67 var CSSRuleOld = window.CSSRule; 66 var CSSRuleOld = window.CSSRule;
68 var CSSStyleDeclarationOld = window.CSSStyleDeclaration; 67 var CSSStyleDeclarationOld = window.CSSStyleDeclaration;
69 var CSSValueOld = window.CSSValue;
70 var DocumentFragmentOld = window.DocumentFragment; 68 var DocumentFragmentOld = window.DocumentFragment;
71 var DocumentOld = window.Document; 69 var DocumentOld = window.Document;
72 var DocumentTypeOld = window.DocumentType; 70 var DocumentTypeOld = window.DocumentType;
73 var DOMExceptionOld = window.DOMException; 71 var DOMExceptionOld = window.DOMException;
74 var DOMImplementationOld = window.DOMImplementation; 72 var DOMImplementationOld = window.DOMImplementation;
75 var DOMParserOld = window.DOMParser; 73 var DOMParserOld = window.DOMParser;
76 var ElementOld = window.Element; 74 var ElementOld = window.Element;
77 var EntityOld = window.Entity; 75 var EntityOld = window.Entity;
78 var EntityReferenceOld = window.EntityReference; 76 var EntityReferenceOld = window.EntityReference;
79 var EvalErrorOld = window.EvalError; 77 var EvalErrorOld = window.EvalError;
(...skipping 177 matching lines...) Expand 10 before | Expand all | Expand 10 after
257 var setTimeoutOld = window.setTimeout; 255 var setTimeoutOld = window.setTimeout;
258 var showModalDialogOld = window.showModalDialog; 256 var showModalDialogOld = window.showModalDialog;
259 var stopOld = window.stop; 257 var stopOld = window.stop;
260 258
261 setTimeout(function() { 259 setTimeout(function() {
262 // Constructors 260 // Constructors
263 shouldBe("window.Attr", "AttrOld"); 261 shouldBe("window.Attr", "AttrOld");
264 shouldBe("window.CDATASection", "CDATASectionOld"); 262 shouldBe("window.CDATASection", "CDATASectionOld");
265 shouldBe("window.CharacterData", "CharacterDataOld"); 263 shouldBe("window.CharacterData", "CharacterDataOld");
266 shouldBe("window.Comment", "CommentOld"); 264 shouldBe("window.Comment", "CommentOld");
267 shouldBe("window.CSSPrimitiveValue", "CSSPrimitiveValueOld");
268 shouldBe("window.CSSRule", "CSSRuleOld"); 265 shouldBe("window.CSSRule", "CSSRuleOld");
269 shouldBe("window.CSSStyleDeclaration", "CSSStyleDeclarationOld"); 266 shouldBe("window.CSSStyleDeclaration", "CSSStyleDeclarationOld");
270 shouldBe("window.CSSValue", "CSSValueOld");
271 shouldBe("window.Document", "DocumentOld"); 267 shouldBe("window.Document", "DocumentOld");
272 shouldBe("window.DocumentFragment", "DocumentFragmentOld"); 268 shouldBe("window.DocumentFragment", "DocumentFragmentOld");
273 shouldBe("window.DocumentType", "DocumentTypeOld"); 269 shouldBe("window.DocumentType", "DocumentTypeOld");
274 shouldBe("window.DOMException", "DOMExceptionOld"); 270 shouldBe("window.DOMException", "DOMExceptionOld");
275 shouldBe("window.DOMImplementation", "DOMImplementationOld"); 271 shouldBe("window.DOMImplementation", "DOMImplementationOld");
276 shouldBe("window.DOMParser", "DOMParserOld"); 272 shouldBe("window.DOMParser", "DOMParserOld");
277 shouldBe("window.Element", "ElementOld"); 273 shouldBe("window.Element", "ElementOld");
278 shouldBe("window.Entity", "EntityOld"); 274 shouldBe("window.Entity", "EntityOld");
279 shouldBe("window.EntityReference", "EntityReferenceOld"); 275 shouldBe("window.EntityReference", "EntityReferenceOld");
280 shouldBe("window.EvalError", "EvalErrorOld"); 276 shouldBe("window.EvalError", "EvalErrorOld");
(...skipping 188 matching lines...) Expand 10 before | Expand all | Expand 10 after
469 shouldBe("window.setInterval", "setIntervalOld"); 465 shouldBe("window.setInterval", "setIntervalOld");
470 shouldBe("window.setTimeout", "setTimeoutOld"); 466 shouldBe("window.setTimeout", "setTimeoutOld");
471 467
472 // showModalDialog is not implemented on all platforms for DumpRende rTree. So don't display the values. 468 // showModalDialog is not implemented on all platforms for DumpRende rTree. So don't display the values.
473 shouldBe("window.showModalDialog", "showModalDialogOld", true); 469 shouldBe("window.showModalDialog", "showModalDialogOld", true);
474 shouldBe("window.stop", "stopOld"); 470 shouldBe("window.stop", "stopOld");
475 }, 0); 471 }, 0);
476 </script> 472 </script>
477 </body> 473 </body>
478 </html> 474 </html>
OLDNEW
« no previous file with comments | « LayoutTests/http/tests/security/cross-frame-access-put-expected.txt ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698