projects
/
platform
/
framework
/
web
/
crosswalk.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Upstream version 5.34.104.0
[platform/framework/web/crosswalk.git]
/
src
/
third_party
/
WebKit
/
LayoutTests
/
http
/
tests
/
security
/
contentSecurityPolicy
/
1.1
/
meta-outside-head.html
1
<!DOCTYPE html>
2
<html>
3
<head>
4
<script>
5
if (window.testRunner)
6
testRunner.dumpAsText();
7
</script>
8
</head>
9
<body>
10
<p>This test checks that Content Security Policy delivered via a meta element is not enforced if the element is outside the document's head.</p>
11
<meta http-equiv="Content-Security-Policy" content="script-src 'none'">
12
<script>
13
alert("PASS (1/1)");
14
</script>
15
</body>
16
</html>