Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: chrome/content/tests/policy.js

Issue 29333270: Issue 3459 - Added content policy tests for <picture> (Closed)
Patch Set: Created Jan. 6, 2016, 4:42 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/content/tests/policy.js
===================================================================
--- a/chrome/content/tests/policy.js
+++ b/chrome/content/tests/policy.js
@@ -100,6 +100,14 @@
"http://127.0.0.1:1234/test.gif", "image", false, false
],
[
+ "HTML picture",
+ '<picture>' +
+ '<source srcset="test.gif">' +
+ '<img>' +
+ '</picture>',
+ "http://127.0.0.1:1234/test.gif", "image", false, false
+ ],
+ [
"Dynamically inserted image button",
'<div id="insert"></div>' +
'<script>' +
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld