<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>[197322] releases/WebKitGTK/webkit-2.12</title>
</head>
<body>
<style type="text/css"><!--
#msg dl.meta { border: 1px #006 solid; background: #369; padding: 6px; color: #fff; }
#msg dl.meta dt { float: left; width: 6em; font-weight: bold; }
#msg dt:after { content:':';}
#msg dl, #msg dt, #msg ul, #msg li, #header, #footer, #logmsg { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; }
#msg dl a { font-weight: bold}
#msg dl a:link { color:#fc3; }
#msg dl a:active { color:#ff0; }
#msg dl a:visited { color:#cc6; }
h3 { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; font-weight: bold; }
#msg pre { overflow: auto; background: #ffc; border: 1px #fa0 solid; padding: 6px; }
#logmsg { background: #ffc; border: 1px #fa0 solid; padding: 1em 1em 0 1em; }
#logmsg p, #logmsg pre, #logmsg blockquote { margin: 0 0 1em 0; }
#logmsg p, #logmsg li, #logmsg dt, #logmsg dd { line-height: 14pt; }
#logmsg h1, #logmsg h2, #logmsg h3, #logmsg h4, #logmsg h5, #logmsg h6 { margin: .5em 0; }
#logmsg h1:first-child, #logmsg h2:first-child, #logmsg h3:first-child, #logmsg h4:first-child, #logmsg h5:first-child, #logmsg h6:first-child { margin-top: 0; }
#logmsg ul, #logmsg ol { padding: 0; list-style-position: inside; margin: 0 0 0 1em; }
#logmsg ul { text-indent: -1em; padding-left: 1em; }#logmsg ol { text-indent: -1.5em; padding-left: 1.5em; }
#logmsg > ul, #logmsg > ol { margin: 0 0 1em 0; }
#logmsg pre { background: #eee; padding: 1em; }
#logmsg blockquote { border: 1px solid #fa0; border-left-width: 10px; padding: 1em 1em 0 1em; background: white;}
#logmsg dl { margin: 0; }
#logmsg dt { font-weight: bold; }
#logmsg dd { margin: 0; padding: 0 0 0.5em 0; }
#logmsg dd:before { content:'\00bb';}
#logmsg table { border-spacing: 0px; border-collapse: collapse; border-top: 4px solid #fa0; border-bottom: 1px solid #fa0; background: #fff; }
#logmsg table th { text-align: left; font-weight: normal; padding: 0.2em 0.5em; border-top: 1px dotted #fa0; }
#logmsg table td { text-align: right; border-top: 1px dotted #fa0; padding: 0.2em 0.5em; }
#logmsg table thead th { text-align: center; border-bottom: 1px solid #fa0; }
#logmsg table th.Corner { text-align: left; }
#logmsg hr { border: none 0; border-top: 2px dashed #fa0; height: 1px; }
#header, #footer { color: #fff; background: #636; border: 1px #300 solid; padding: 6px; }
#patch { width: 100%; }
#patch h4 {font-family: verdana,arial,helvetica,sans-serif;font-size:10pt;padding:8px;background:#369;color:#fff;margin:0;}
#patch .propset h4, #patch .binary h4 {margin:0;}
#patch pre {padding:0;line-height:1.2em;margin:0;}
#patch .diff {width:100%;background:#eee;padding: 0 0 10px 0;overflow:auto;}
#patch .propset .diff, #patch .binary .diff {padding:10px 0;}
#patch span {display:block;padding:0 10px;}
#patch .modfile, #patch .addfile, #patch .delfile, #patch .propset, #patch .binary, #patch .copfile {border:1px solid #ccc;margin:10px 0;}
#patch ins {background:#dfd;text-decoration:none;display:block;padding:0 10px;}
#patch del {background:#fdd;text-decoration:none;display:block;padding:0 10px;}
#patch .lines, .info {color:#888;background:#fff;}
--></style>
<div id="msg">
<dl class="meta">
<dt>Revision</dt> <dd><a href="http://trac.webkit.org/projects/webkit/changeset/197322">197322</a></dd>
<dt>Author</dt> <dd>carlosgc@webkit.org</dd>
<dt>Date</dt> <dd>2016-02-29 01:45:16 -0800 (Mon, 29 Feb 2016)</dd>
</dl>
<h3>Log Message</h3>
<pre>Merge <a href="http://trac.webkit.org/projects/webkit/changeset/197142">r197142</a> - CSP: Remove SecurityPolicy script interface
https://bugs.webkit.org/show_bug.cgi?id=154694
<rdar://problem/24846482>
Reviewed by Andy Estes.
Source/WebCore:
Remove the Content Security Policy script interface, SecurityPolicy. This interface was only
enabled when building with ENABLE(CSP_NEXT) (disabled by default).
For completeness, the SecurityPolicy interface was removed from the Content Security Policy 1.1 spec.
in <https://github.com/w3c/webappsec/commit/18882953ce2d8afca25f685557fef0e0471b2c9a> (12/26/2013).
* CMakeLists.txt: Remove files to DOMSecurityPolicy.{cpp, idl}.
* DerivedSources.cpp: Remove file JSDOMSecurityPolicy.cpp.
* DerivedSources.make: Remove file DOMSecurityPolicy.idl.
* PlatformGTK.cmake: Ditto.
* PlatformMac.cmake: Ditto.
* WebCore.xcodeproj/project.pbxproj: Remove files DOMSecurityPolicy files.
* bindings/scripts/CodeGeneratorGObject.pm: Remove reference to DOMSecurityPolicy.
* dom/Document.cpp:
(WebCore::Document::securityPolicy): Deleted.
* dom/Document.h:
* dom/Document.idl: Remove attribute securityPolicy.
* page/DOMSecurityPolicy.cpp: Removed.
* page/DOMSecurityPolicy.h: Removed.
* page/DOMSecurityPolicy.idl: Removed.
LayoutTests:
Remove SecurityPolicy tests and update platform-specific expected results as needed.
* http/tests/security/contentSecurityPolicy/1.1/securitypolicy-allowconnectionto-expected.txt: Removed.
* http/tests/security/contentSecurityPolicy/1.1/securitypolicy-allowconnectionto.html: Removed.
* http/tests/security/contentSecurityPolicy/1.1/securitypolicy-alloweval-expected.txt: Removed.
* http/tests/security/contentSecurityPolicy/1.1/securitypolicy-alloweval.html: Removed.
* http/tests/security/contentSecurityPolicy/1.1/securitypolicy-allowfontfrom-expected.txt: Removed.
* http/tests/security/contentSecurityPolicy/1.1/securitypolicy-allowfontfrom.html: Removed.
* http/tests/security/contentSecurityPolicy/1.1/securitypolicy-allowformaction-expected.txt: Removed.
* http/tests/security/contentSecurityPolicy/1.1/securitypolicy-allowformaction.html: Removed.
* http/tests/security/contentSecurityPolicy/1.1/securitypolicy-allowframefrom-expected.txt: Removed.
* http/tests/security/contentSecurityPolicy/1.1/securitypolicy-allowframefrom.html: Removed.
* http/tests/security/contentSecurityPolicy/1.1/securitypolicy-allowimagefrom-expected.txt: Removed.
* http/tests/security/contentSecurityPolicy/1.1/securitypolicy-allowimagefrom.html: Removed.
* http/tests/security/contentSecurityPolicy/1.1/securitypolicy-allowinlinescript-expected.txt: Removed.
* http/tests/security/contentSecurityPolicy/1.1/securitypolicy-allowinlinescript.html: Removed.
* http/tests/security/contentSecurityPolicy/1.1/securitypolicy-allowinlinestyle-expected.txt: Removed.
* http/tests/security/contentSecurityPolicy/1.1/securitypolicy-allowinlinestyle.html: Removed.
* http/tests/security/contentSecurityPolicy/1.1/securitypolicy-allowmediafrom-expected.txt: Removed.
* http/tests/security/contentSecurityPolicy/1.1/securitypolicy-allowmediafrom.html: Removed.
* http/tests/security/contentSecurityPolicy/1.1/securitypolicy-allowobjectfrom-expected.txt: Removed.
* http/tests/security/contentSecurityPolicy/1.1/securitypolicy-allowobjectfrom.html: Removed.
* http/tests/security/contentSecurityPolicy/1.1/securitypolicy-allowplugintype-expected.txt: Removed.
* http/tests/security/contentSecurityPolicy/1.1/securitypolicy-allowplugintype.html: Removed.
* http/tests/security/contentSecurityPolicy/1.1/securitypolicy-allowscriptfrom-expected.txt: Removed.
* http/tests/security/contentSecurityPolicy/1.1/securitypolicy-allowscriptfrom.html: Removed.
* http/tests/security/contentSecurityPolicy/1.1/securitypolicy-allowstylefrom-expected.txt: Removed.
* http/tests/security/contentSecurityPolicy/1.1/securitypolicy-allowstylefrom.html: Removed.
* http/tests/security/contentSecurityPolicy/1.1/securitypolicy-isactive-expected.txt: Removed.
* http/tests/security/contentSecurityPolicy/1.1/securitypolicy-isactive.html: Removed.
* http/tests/security/contentSecurityPolicy/1.1/securitypolicy-reporturi-expected.txt: Removed.
* http/tests/security/contentSecurityPolicy/1.1/securitypolicy-reporturi.html: Removed.
* http/tests/security/contentSecurityPolicy/resources/securitypolicy-tests-base.js: Removed.
* platform/gtk/js/dom/global-constructors-attributes-expected.txt: Update expected result as needed.
* platform/win/js/dom/global-constructors-attributes-expected.txt: Ditto.</pre>
<h3>Modified Paths</h3>
<ul>
<li><a href="#releasesWebKitGTKwebkit212LayoutTestsChangeLog">releases/WebKitGTK/webkit-2.12/LayoutTests/ChangeLog</a></li>
<li><a href="#releasesWebKitGTKwebkit212LayoutTestsplatformgtkjsdomglobalconstructorsattributesexpectedtxt">releases/WebKitGTK/webkit-2.12/LayoutTests/platform/gtk/js/dom/global-constructors-attributes-expected.txt</a></li>
<li><a href="#releasesWebKitGTKwebkit212LayoutTestsplatformwinjsdomglobalconstructorsattributesexpectedtxt">releases/WebKitGTK/webkit-2.12/LayoutTests/platform/win/js/dom/global-constructors-attributes-expected.txt</a></li>
<li><a href="#releasesWebKitGTKwebkit212SourceWebCoreCMakeListstxt">releases/WebKitGTK/webkit-2.12/Source/WebCore/CMakeLists.txt</a></li>
<li><a href="#releasesWebKitGTKwebkit212SourceWebCoreChangeLog">releases/WebKitGTK/webkit-2.12/Source/WebCore/ChangeLog</a></li>
<li><a href="#releasesWebKitGTKwebkit212SourceWebCoreDerivedSourcescpp">releases/WebKitGTK/webkit-2.12/Source/WebCore/DerivedSources.cpp</a></li>
<li><a href="#releasesWebKitGTKwebkit212SourceWebCoreDerivedSourcesmake">releases/WebKitGTK/webkit-2.12/Source/WebCore/DerivedSources.make</a></li>
<li><a href="#releasesWebKitGTKwebkit212SourceWebCorePlatformGTKcmake">releases/WebKitGTK/webkit-2.12/Source/WebCore/PlatformGTK.cmake</a></li>
<li><a href="#releasesWebKitGTKwebkit212SourceWebCorePlatformMaccmake">releases/WebKitGTK/webkit-2.12/Source/WebCore/PlatformMac.cmake</a></li>
<li><a href="#releasesWebKitGTKwebkit212SourceWebCoreWebCorexcodeprojprojectpbxproj">releases/WebKitGTK/webkit-2.12/Source/WebCore/WebCore.xcodeproj/project.pbxproj</a></li>
<li><a href="#releasesWebKitGTKwebkit212SourceWebCorebindingsscriptsCodeGeneratorGObjectpm">releases/WebKitGTK/webkit-2.12/Source/WebCore/bindings/scripts/CodeGeneratorGObject.pm</a></li>
<li><a href="#releasesWebKitGTKwebkit212SourceWebCoredomDocumentcpp">releases/WebKitGTK/webkit-2.12/Source/WebCore/dom/Document.cpp</a></li>
<li><a href="#releasesWebKitGTKwebkit212SourceWebCoredomDocumenth">releases/WebKitGTK/webkit-2.12/Source/WebCore/dom/Document.h</a></li>
<li><a href="#releasesWebKitGTKwebkit212SourceWebCoredomDocumentidl">releases/WebKitGTK/webkit-2.12/Source/WebCore/dom/Document.idl</a></li>
</ul>
<h3>Removed Paths</h3>
<ul>
<li><a href="#releasesWebKitGTKwebkit212LayoutTestshttptestssecuritycontentSecurityPolicy11securitypolicyallowconnectiontoexpectedtxt">releases/WebKitGTK/webkit-2.12/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/securitypolicy-allowconnectionto-expected.txt</a></li>
<li><a href="#releasesWebKitGTKwebkit212LayoutTestshttptestssecuritycontentSecurityPolicy11securitypolicyallowconnectiontohtml">releases/WebKitGTK/webkit-2.12/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/securitypolicy-allowconnectionto.html</a></li>
<li><a href="#releasesWebKitGTKwebkit212LayoutTestshttptestssecuritycontentSecurityPolicy11securitypolicyallowevalexpectedtxt">releases/WebKitGTK/webkit-2.12/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/securitypolicy-alloweval-expected.txt</a></li>
<li><a href="#releasesWebKitGTKwebkit212LayoutTestshttptestssecuritycontentSecurityPolicy11securitypolicyallowevalhtml">releases/WebKitGTK/webkit-2.12/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/securitypolicy-alloweval.html</a></li>
<li><a href="#releasesWebKitGTKwebkit212LayoutTestshttptestssecuritycontentSecurityPolicy11securitypolicyallowfontfromexpectedtxt">releases/WebKitGTK/webkit-2.12/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/securitypolicy-allowfontfrom-expected.txt</a></li>
<li><a href="#releasesWebKitGTKwebkit212LayoutTestshttptestssecuritycontentSecurityPolicy11securitypolicyallowfontfromhtml">releases/WebKitGTK/webkit-2.12/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/securitypolicy-allowfontfrom.html</a></li>
<li><a href="#releasesWebKitGTKwebkit212LayoutTestshttptestssecuritycontentSecurityPolicy11securitypolicyallowformactionexpectedtxt">releases/WebKitGTK/webkit-2.12/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/securitypolicy-allowformaction-expected.txt</a></li>
<li><a href="#releasesWebKitGTKwebkit212LayoutTestshttptestssecuritycontentSecurityPolicy11securitypolicyallowformactionhtml">releases/WebKitGTK/webkit-2.12/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/securitypolicy-allowformaction.html</a></li>
<li><a href="#releasesWebKitGTKwebkit212LayoutTestshttptestssecuritycontentSecurityPolicy11securitypolicyallowframefromexpectedtxt">releases/WebKitGTK/webkit-2.12/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/securitypolicy-allowframefrom-expected.txt</a></li>
<li><a href="#releasesWebKitGTKwebkit212LayoutTestshttptestssecuritycontentSecurityPolicy11securitypolicyallowframefromhtml">releases/WebKitGTK/webkit-2.12/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/securitypolicy-allowframefrom.html</a></li>
<li><a href="#releasesWebKitGTKwebkit212LayoutTestshttptestssecuritycontentSecurityPolicy11securitypolicyallowimagefromexpectedtxt">releases/WebKitGTK/webkit-2.12/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/securitypolicy-allowimagefrom-expected.txt</a></li>
<li><a href="#releasesWebKitGTKwebkit212LayoutTestshttptestssecuritycontentSecurityPolicy11securitypolicyallowimagefromhtml">releases/WebKitGTK/webkit-2.12/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/securitypolicy-allowimagefrom.html</a></li>
<li><a href="#releasesWebKitGTKwebkit212LayoutTestshttptestssecuritycontentSecurityPolicy11securitypolicyallowinlinescriptexpectedtxt">releases/WebKitGTK/webkit-2.12/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/securitypolicy-allowinlinescript-expected.txt</a></li>
<li><a href="#releasesWebKitGTKwebkit212LayoutTestshttptestssecuritycontentSecurityPolicy11securitypolicyallowinlinescripthtml">releases/WebKitGTK/webkit-2.12/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/securitypolicy-allowinlinescript.html</a></li>
<li><a href="#releasesWebKitGTKwebkit212LayoutTestshttptestssecuritycontentSecurityPolicy11securitypolicyallowinlinestyleexpectedtxt">releases/WebKitGTK/webkit-2.12/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/securitypolicy-allowinlinestyle-expected.txt</a></li>
<li><a href="#releasesWebKitGTKwebkit212LayoutTestshttptestssecuritycontentSecurityPolicy11securitypolicyallowinlinestylehtml">releases/WebKitGTK/webkit-2.12/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/securitypolicy-allowinlinestyle.html</a></li>
<li><a href="#releasesWebKitGTKwebkit212LayoutTestshttptestssecuritycontentSecurityPolicy11securitypolicyallowmediafromexpectedtxt">releases/WebKitGTK/webkit-2.12/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/securitypolicy-allowmediafrom-expected.txt</a></li>
<li><a href="#releasesWebKitGTKwebkit212LayoutTestshttptestssecuritycontentSecurityPolicy11securitypolicyallowmediafromhtml">releases/WebKitGTK/webkit-2.12/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/securitypolicy-allowmediafrom.html</a></li>
<li><a href="#releasesWebKitGTKwebkit212LayoutTestshttptestssecuritycontentSecurityPolicy11securitypolicyallowobjectfromexpectedtxt">releases/WebKitGTK/webkit-2.12/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/securitypolicy-allowobjectfrom-expected.txt</a></li>
<li><a href="#releasesWebKitGTKwebkit212LayoutTestshttptestssecuritycontentSecurityPolicy11securitypolicyallowobjectfromhtml">releases/WebKitGTK/webkit-2.12/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/securitypolicy-allowobjectfrom.html</a></li>
<li><a href="#releasesWebKitGTKwebkit212LayoutTestshttptestssecuritycontentSecurityPolicy11securitypolicyallowplugintypeexpectedtxt">releases/WebKitGTK/webkit-2.12/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/securitypolicy-allowplugintype-expected.txt</a></li>
<li><a href="#releasesWebKitGTKwebkit212LayoutTestshttptestssecuritycontentSecurityPolicy11securitypolicyallowplugintypehtml">releases/WebKitGTK/webkit-2.12/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/securitypolicy-allowplugintype.html</a></li>
<li><a href="#releasesWebKitGTKwebkit212LayoutTestshttptestssecuritycontentSecurityPolicy11securitypolicyallowscriptfromexpectedtxt">releases/WebKitGTK/webkit-2.12/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/securitypolicy-allowscriptfrom-expected.txt</a></li>
<li><a href="#releasesWebKitGTKwebkit212LayoutTestshttptestssecuritycontentSecurityPolicy11securitypolicyallowscriptfromhtml">releases/WebKitGTK/webkit-2.12/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/securitypolicy-allowscriptfrom.html</a></li>
<li><a href="#releasesWebKitGTKwebkit212LayoutTestshttptestssecuritycontentSecurityPolicy11securitypolicyallowstylefromexpectedtxt">releases/WebKitGTK/webkit-2.12/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/securitypolicy-allowstylefrom-expected.txt</a></li>
<li><a href="#releasesWebKitGTKwebkit212LayoutTestshttptestssecuritycontentSecurityPolicy11securitypolicyallowstylefromhtml">releases/WebKitGTK/webkit-2.12/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/securitypolicy-allowstylefrom.html</a></li>
<li><a href="#releasesWebKitGTKwebkit212LayoutTestshttptestssecuritycontentSecurityPolicy11securitypolicyisactiveexpectedtxt">releases/WebKitGTK/webkit-2.12/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/securitypolicy-isactive-expected.txt</a></li>
<li><a href="#releasesWebKitGTKwebkit212LayoutTestshttptestssecuritycontentSecurityPolicy11securitypolicyisactivehtml">releases/WebKitGTK/webkit-2.12/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/securitypolicy-isactive.html</a></li>
<li><a href="#releasesWebKitGTKwebkit212LayoutTestshttptestssecuritycontentSecurityPolicy11securitypolicyreporturiexpectedtxt">releases/WebKitGTK/webkit-2.12/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/securitypolicy-reporturi-expected.txt</a></li>
<li><a href="#releasesWebKitGTKwebkit212LayoutTestshttptestssecuritycontentSecurityPolicy11securitypolicyreporturihtml">releases/WebKitGTK/webkit-2.12/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/securitypolicy-reporturi.html</a></li>
<li><a href="#releasesWebKitGTKwebkit212LayoutTestshttptestssecuritycontentSecurityPolicyresourcessecuritypolicytestsbasejs">releases/WebKitGTK/webkit-2.12/LayoutTests/http/tests/security/contentSecurityPolicy/resources/securitypolicy-tests-base.js</a></li>
<li><a href="#releasesWebKitGTKwebkit212SourceWebCorepageDOMSecurityPolicycpp">releases/WebKitGTK/webkit-2.12/Source/WebCore/page/DOMSecurityPolicy.cpp</a></li>
<li><a href="#releasesWebKitGTKwebkit212SourceWebCorepageDOMSecurityPolicyh">releases/WebKitGTK/webkit-2.12/Source/WebCore/page/DOMSecurityPolicy.h</a></li>
<li><a href="#releasesWebKitGTKwebkit212SourceWebCorepageDOMSecurityPolicyidl">releases/WebKitGTK/webkit-2.12/Source/WebCore/page/DOMSecurityPolicy.idl</a></li>
</ul>
</div>
<div id="patch">
<h3>Diff</h3>
<a id="releasesWebKitGTKwebkit212LayoutTestsChangeLog"></a>
<div class="modfile"><h4>Modified: releases/WebKitGTK/webkit-2.12/LayoutTests/ChangeLog (197321 => 197322)</h4>
<pre class="diff"><span>
<span class="info">--- releases/WebKitGTK/webkit-2.12/LayoutTests/ChangeLog        2016-02-29 09:27:54 UTC (rev 197321)
+++ releases/WebKitGTK/webkit-2.12/LayoutTests/ChangeLog        2016-02-29 09:45:16 UTC (rev 197322)
</span><span class="lines">@@ -1,3 +1,47 @@
</span><ins>+2016-02-25 Daniel Bates <dabates@apple.com>
+
+ CSP: Remove SecurityPolicy script interface
+ https://bugs.webkit.org/show_bug.cgi?id=154694
+ <rdar://problem/24846482>
+
+ Reviewed by Andy Estes.
+
+ Remove SecurityPolicy tests and update platform-specific expected results as needed.
+
+ * http/tests/security/contentSecurityPolicy/1.1/securitypolicy-allowconnectionto-expected.txt: Removed.
+ * http/tests/security/contentSecurityPolicy/1.1/securitypolicy-allowconnectionto.html: Removed.
+ * http/tests/security/contentSecurityPolicy/1.1/securitypolicy-alloweval-expected.txt: Removed.
+ * http/tests/security/contentSecurityPolicy/1.1/securitypolicy-alloweval.html: Removed.
+ * http/tests/security/contentSecurityPolicy/1.1/securitypolicy-allowfontfrom-expected.txt: Removed.
+ * http/tests/security/contentSecurityPolicy/1.1/securitypolicy-allowfontfrom.html: Removed.
+ * http/tests/security/contentSecurityPolicy/1.1/securitypolicy-allowformaction-expected.txt: Removed.
+ * http/tests/security/contentSecurityPolicy/1.1/securitypolicy-allowformaction.html: Removed.
+ * http/tests/security/contentSecurityPolicy/1.1/securitypolicy-allowframefrom-expected.txt: Removed.
+ * http/tests/security/contentSecurityPolicy/1.1/securitypolicy-allowframefrom.html: Removed.
+ * http/tests/security/contentSecurityPolicy/1.1/securitypolicy-allowimagefrom-expected.txt: Removed.
+ * http/tests/security/contentSecurityPolicy/1.1/securitypolicy-allowimagefrom.html: Removed.
+ * http/tests/security/contentSecurityPolicy/1.1/securitypolicy-allowinlinescript-expected.txt: Removed.
+ * http/tests/security/contentSecurityPolicy/1.1/securitypolicy-allowinlinescript.html: Removed.
+ * http/tests/security/contentSecurityPolicy/1.1/securitypolicy-allowinlinestyle-expected.txt: Removed.
+ * http/tests/security/contentSecurityPolicy/1.1/securitypolicy-allowinlinestyle.html: Removed.
+ * http/tests/security/contentSecurityPolicy/1.1/securitypolicy-allowmediafrom-expected.txt: Removed.
+ * http/tests/security/contentSecurityPolicy/1.1/securitypolicy-allowmediafrom.html: Removed.
+ * http/tests/security/contentSecurityPolicy/1.1/securitypolicy-allowobjectfrom-expected.txt: Removed.
+ * http/tests/security/contentSecurityPolicy/1.1/securitypolicy-allowobjectfrom.html: Removed.
+ * http/tests/security/contentSecurityPolicy/1.1/securitypolicy-allowplugintype-expected.txt: Removed.
+ * http/tests/security/contentSecurityPolicy/1.1/securitypolicy-allowplugintype.html: Removed.
+ * http/tests/security/contentSecurityPolicy/1.1/securitypolicy-allowscriptfrom-expected.txt: Removed.
+ * http/tests/security/contentSecurityPolicy/1.1/securitypolicy-allowscriptfrom.html: Removed.
+ * http/tests/security/contentSecurityPolicy/1.1/securitypolicy-allowstylefrom-expected.txt: Removed.
+ * http/tests/security/contentSecurityPolicy/1.1/securitypolicy-allowstylefrom.html: Removed.
+ * http/tests/security/contentSecurityPolicy/1.1/securitypolicy-isactive-expected.txt: Removed.
+ * http/tests/security/contentSecurityPolicy/1.1/securitypolicy-isactive.html: Removed.
+ * http/tests/security/contentSecurityPolicy/1.1/securitypolicy-reporturi-expected.txt: Removed.
+ * http/tests/security/contentSecurityPolicy/1.1/securitypolicy-reporturi.html: Removed.
+ * http/tests/security/contentSecurityPolicy/resources/securitypolicy-tests-base.js: Removed.
+ * platform/gtk/js/dom/global-constructors-attributes-expected.txt: Update expected result as needed.
+ * platform/win/js/dom/global-constructors-attributes-expected.txt: Ditto.
+
</ins><span class="cx"> 2016-02-25 Brady Eidson <beidson@apple.com>
</span><span class="cx">
</span><span class="cx"> Unreviewed test gardening.
</span></span></pre></div>
<a id="releasesWebKitGTKwebkit212LayoutTestshttptestssecuritycontentSecurityPolicy11securitypolicyallowconnectiontoexpectedtxt"></a>
<div class="delfile"><h4>Deleted: releases/WebKitGTK/webkit-2.12/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/securitypolicy-allowconnectionto-expected.txt (197321 => 197322)</h4>
<pre class="diff"><span>
<span class="info">--- releases/WebKitGTK/webkit-2.12/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/securitypolicy-allowconnectionto-expected.txt        2016-02-29 09:27:54 UTC (rev 197321)
+++ releases/WebKitGTK/webkit-2.12/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/securitypolicy-allowconnectionto-expected.txt        2016-02-29 09:45:16 UTC (rev 197322)
</span><span class="lines">@@ -1,3 +0,0 @@
</span><del>-PASS connection is allowed when no policy exists.
-PASS connection is not allowed when policy exists.
-
</del></span></pre></div>
<a id="releasesWebKitGTKwebkit212LayoutTestshttptestssecuritycontentSecurityPolicy11securitypolicyallowconnectiontohtml"></a>
<div class="delfile"><h4>Deleted: releases/WebKitGTK/webkit-2.12/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/securitypolicy-allowconnectionto.html (197321 => 197322)</h4>
<pre class="diff"><span>
<span class="info">--- releases/WebKitGTK/webkit-2.12/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/securitypolicy-allowconnectionto.html        2016-02-29 09:27:54 UTC (rev 197321)
+++ releases/WebKitGTK/webkit-2.12/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/securitypolicy-allowconnectionto.html        2016-02-29 09:45:16 UTC (rev 197322)
</span><span class="lines">@@ -1,20 +0,0 @@
</span><del>-<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
-<html>
- <body>
- <script src="../resources/securitypolicy-tests-base.js"></script>
- <script>
- if (document.securityPolicy.allowsConnectionTo('http://example.com/'))
- log('PASS connection is allowed when no policy exists.');
- else
- log('FAIL connection is not allowed when no policy exists.');
-
-
- injectPolicy("connect-src http://notexample.com;");
-
- if (!document.securityPolicy.allowsConnectionTo('http://example.com/'))
- log('PASS connection is not allowed when policy exists.');
- else
- log('FAIL connection is allowed when policy exists.');
- </script>
- </body>
-</html>
</del></span></pre></div>
<a id="releasesWebKitGTKwebkit212LayoutTestshttptestssecuritycontentSecurityPolicy11securitypolicyallowevalexpectedtxt"></a>
<div class="delfile"><h4>Deleted: releases/WebKitGTK/webkit-2.12/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/securitypolicy-alloweval-expected.txt (197321 => 197322)</h4>
<pre class="diff"><span>
<span class="info">--- releases/WebKitGTK/webkit-2.12/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/securitypolicy-alloweval-expected.txt        2016-02-29 09:27:54 UTC (rev 197321)
+++ releases/WebKitGTK/webkit-2.12/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/securitypolicy-alloweval-expected.txt        2016-02-29 09:45:16 UTC (rev 197322)
</span><span class="lines">@@ -1,3 +0,0 @@
</span><del>-PASS eval is allowed when no policy exists.
-PASS eval is not allowed when policy exists.
-
</del></span></pre></div>
<a id="releasesWebKitGTKwebkit212LayoutTestshttptestssecuritycontentSecurityPolicy11securitypolicyallowevalhtml"></a>
<div class="delfile"><h4>Deleted: releases/WebKitGTK/webkit-2.12/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/securitypolicy-alloweval.html (197321 => 197322)</h4>
<pre class="diff"><span>
<span class="info">--- releases/WebKitGTK/webkit-2.12/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/securitypolicy-alloweval.html        2016-02-29 09:27:54 UTC (rev 197321)
+++ releases/WebKitGTK/webkit-2.12/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/securitypolicy-alloweval.html        2016-02-29 09:45:16 UTC (rev 197322)
</span><span class="lines">@@ -1,19 +0,0 @@
</span><del>-<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
-<html>
- <body>
- <script src="../resources/securitypolicy-tests-base.js"></script>
- <script>
- if (document.securityPolicy.allowsEval)
- log('PASS eval is allowed when no policy exists.');
- else
- log('FAIL eval is not allowed when no policy exists.');
-
- injectPolicy("script-src 'unsafe-inline';");
-
- if (!document.securityPolicy.allowsEval)
- log('PASS eval is not allowed when policy exists.');
- else
- log('FAIL eval is allowed when policy exists.');
- </script>
- </body>
-</html>
</del></span></pre></div>
<a id="releasesWebKitGTKwebkit212LayoutTestshttptestssecuritycontentSecurityPolicy11securitypolicyallowfontfromexpectedtxt"></a>
<div class="delfile"><h4>Deleted: releases/WebKitGTK/webkit-2.12/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/securitypolicy-allowfontfrom-expected.txt (197321 => 197322)</h4>
<pre class="diff"><span>
<span class="info">--- releases/WebKitGTK/webkit-2.12/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/securitypolicy-allowfontfrom-expected.txt        2016-02-29 09:27:54 UTC (rev 197321)
+++ releases/WebKitGTK/webkit-2.12/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/securitypolicy-allowfontfrom-expected.txt        2016-02-29 09:45:16 UTC (rev 197322)
</span><span class="lines">@@ -1,3 +0,0 @@
</span><del>-PASS font is allowed when no policy exists.
-PASS font is not allowed when policy exists.
-
</del></span></pre></div>
<a id="releasesWebKitGTKwebkit212LayoutTestshttptestssecuritycontentSecurityPolicy11securitypolicyallowfontfromhtml"></a>
<div class="delfile"><h4>Deleted: releases/WebKitGTK/webkit-2.12/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/securitypolicy-allowfontfrom.html (197321 => 197322)</h4>
<pre class="diff"><span>
<span class="info">--- releases/WebKitGTK/webkit-2.12/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/securitypolicy-allowfontfrom.html        2016-02-29 09:27:54 UTC (rev 197321)
+++ releases/WebKitGTK/webkit-2.12/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/securitypolicy-allowfontfrom.html        2016-02-29 09:45:16 UTC (rev 197322)
</span><span class="lines">@@ -1,20 +0,0 @@
</span><del>-<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
-<html>
- <body>
- <script src="../resources/securitypolicy-tests-base.js"></script>
- <script>
- if (document.securityPolicy.allowsFontFrom('http://example.com/'))
- log('PASS font is allowed when no policy exists.');
- else
- log('FAIL font is not allowed when no policy exists.');
-
- injectPolicy("font-src http://notexample.com;");
-
- if (!document.securityPolicy.allowsFontFrom('http://example.com/'))
- log('PASS font is not allowed when policy exists.');
- else
- log('PASS font is allowed when policy exists.');
- </script>
- </body>
-</html>
-
</del></span></pre></div>
<a id="releasesWebKitGTKwebkit212LayoutTestshttptestssecuritycontentSecurityPolicy11securitypolicyallowformactionexpectedtxt"></a>
<div class="delfile"><h4>Deleted: releases/WebKitGTK/webkit-2.12/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/securitypolicy-allowformaction-expected.txt (197321 => 197322)</h4>
<pre class="diff"><span>
<span class="info">--- releases/WebKitGTK/webkit-2.12/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/securitypolicy-allowformaction-expected.txt        2016-02-29 09:27:54 UTC (rev 197321)
+++ releases/WebKitGTK/webkit-2.12/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/securitypolicy-allowformaction-expected.txt        2016-02-29 09:45:16 UTC (rev 197322)
</span><span class="lines">@@ -1,3 +0,0 @@
</span><del>-PASS form action is allowed when no policy exists.
-PASS form action is not allowed when policy exists.
-
</del></span></pre></div>
<a id="releasesWebKitGTKwebkit212LayoutTestshttptestssecuritycontentSecurityPolicy11securitypolicyallowformactionhtml"></a>
<div class="delfile"><h4>Deleted: releases/WebKitGTK/webkit-2.12/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/securitypolicy-allowformaction.html (197321 => 197322)</h4>
<pre class="diff"><span>
<span class="info">--- releases/WebKitGTK/webkit-2.12/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/securitypolicy-allowformaction.html        2016-02-29 09:27:54 UTC (rev 197321)
+++ releases/WebKitGTK/webkit-2.12/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/securitypolicy-allowformaction.html        2016-02-29 09:45:16 UTC (rev 197322)
</span><span class="lines">@@ -1,20 +0,0 @@
</span><del>-<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
-<html>
- <body>
- <script src="../resources/securitypolicy-tests-base.js"></script>
- <script>
- if (document.securityPolicy.allowsFormAction('http://example.com/'))
- log('PASS form action is allowed when no policy exists.');
- else
- log('FAIL form action is not allowed when no policy exists.');
-
-
- injectPolicy("form-action http://notexample.com;");
-
- if (!document.securityPolicy.allowsFormAction('http://example.com/'))
- log('PASS form action is not allowed when policy exists.');
- else
- log('FAIL form action is allowed when policy exists.');
- </script>
- </body>
-</html>
</del></span></pre></div>
<a id="releasesWebKitGTKwebkit212LayoutTestshttptestssecuritycontentSecurityPolicy11securitypolicyallowframefromexpectedtxt"></a>
<div class="delfile"><h4>Deleted: releases/WebKitGTK/webkit-2.12/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/securitypolicy-allowframefrom-expected.txt (197321 => 197322)</h4>
<pre class="diff"><span>
<span class="info">--- releases/WebKitGTK/webkit-2.12/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/securitypolicy-allowframefrom-expected.txt        2016-02-29 09:27:54 UTC (rev 197321)
+++ releases/WebKitGTK/webkit-2.12/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/securitypolicy-allowframefrom-expected.txt        2016-02-29 09:45:16 UTC (rev 197322)
</span><span class="lines">@@ -1,3 +0,0 @@
</span><del>-PASS frame is allowed when no policy exists.
-PASS frame is not allowed when policy exists.
-
</del></span></pre></div>
<a id="releasesWebKitGTKwebkit212LayoutTestshttptestssecuritycontentSecurityPolicy11securitypolicyallowframefromhtml"></a>
<div class="delfile"><h4>Deleted: releases/WebKitGTK/webkit-2.12/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/securitypolicy-allowframefrom.html (197321 => 197322)</h4>
<pre class="diff"><span>
<span class="info">--- releases/WebKitGTK/webkit-2.12/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/securitypolicy-allowframefrom.html        2016-02-29 09:27:54 UTC (rev 197321)
+++ releases/WebKitGTK/webkit-2.12/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/securitypolicy-allowframefrom.html        2016-02-29 09:45:16 UTC (rev 197322)
</span><span class="lines">@@ -1,20 +0,0 @@
</span><del>-<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
-<html>
- <body>
- <script src="../resources/securitypolicy-tests-base.js"></script>
- <script>
- if (document.securityPolicy.allowsFrameFrom('http://example.com/'))
- log('PASS frame is allowed when no policy exists.');
- else
- log('FAIL frame is not allowed when no policy exists.');
-
- injectPolicy("frame-src http://notexample.com;");
-
- if (!document.securityPolicy.allowsFrameFrom('http://example.com/'))
- log('PASS frame is not allowed when policy exists.');
- else
- log('FAIL frame is allowed when policy exists.');
- </script>
- </body>
-</html>
-
</del></span></pre></div>
<a id="releasesWebKitGTKwebkit212LayoutTestshttptestssecuritycontentSecurityPolicy11securitypolicyallowimagefromexpectedtxt"></a>
<div class="delfile"><h4>Deleted: releases/WebKitGTK/webkit-2.12/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/securitypolicy-allowimagefrom-expected.txt (197321 => 197322)</h4>
<pre class="diff"><span>
<span class="info">--- releases/WebKitGTK/webkit-2.12/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/securitypolicy-allowimagefrom-expected.txt        2016-02-29 09:27:54 UTC (rev 197321)
+++ releases/WebKitGTK/webkit-2.12/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/securitypolicy-allowimagefrom-expected.txt        2016-02-29 09:45:16 UTC (rev 197322)
</span><span class="lines">@@ -1,3 +0,0 @@
</span><del>-PASS image is allowed when no policy exists.
-PASS image is not allowed when policy exists.
-
</del></span></pre></div>
<a id="releasesWebKitGTKwebkit212LayoutTestshttptestssecuritycontentSecurityPolicy11securitypolicyallowimagefromhtml"></a>
<div class="delfile"><h4>Deleted: releases/WebKitGTK/webkit-2.12/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/securitypolicy-allowimagefrom.html (197321 => 197322)</h4>
<pre class="diff"><span>
<span class="info">--- releases/WebKitGTK/webkit-2.12/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/securitypolicy-allowimagefrom.html        2016-02-29 09:27:54 UTC (rev 197321)
+++ releases/WebKitGTK/webkit-2.12/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/securitypolicy-allowimagefrom.html        2016-02-29 09:45:16 UTC (rev 197322)
</span><span class="lines">@@ -1,20 +0,0 @@
</span><del>-<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
-<html>
- <body>
- <script src="../resources/securitypolicy-tests-base.js"></script>
- <script>
- if (document.securityPolicy.allowsImageFrom('http://example.com/'))
- log('PASS image is allowed when no policy exists.');
- else
- log('FAIL image is not allowed when no policy exists.');
-
- injectPolicy("img-src http://notexample.com;");
-
- if (!document.securityPolicy.allowsImageFrom('http://example.com/'))
- log('PASS image is not allowed when policy exists.');
- else
- log('FAIL image is allowed when policy exists.');
- </script>
- </body>
-</html>
-
</del></span></pre></div>
<a id="releasesWebKitGTKwebkit212LayoutTestshttptestssecuritycontentSecurityPolicy11securitypolicyallowinlinescriptexpectedtxt"></a>
<div class="delfile"><h4>Deleted: releases/WebKitGTK/webkit-2.12/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/securitypolicy-allowinlinescript-expected.txt (197321 => 197322)</h4>
<pre class="diff"><span>
<span class="info">--- releases/WebKitGTK/webkit-2.12/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/securitypolicy-allowinlinescript-expected.txt        2016-02-29 09:27:54 UTC (rev 197321)
+++ releases/WebKitGTK/webkit-2.12/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/securitypolicy-allowinlinescript-expected.txt        2016-02-29 09:45:16 UTC (rev 197322)
</span><span class="lines">@@ -1,3 +0,0 @@
</span><del>-PASS inline script is allowed when no policy exists.
-PASS inline script is not allowed when policy exists.
-
</del></span></pre></div>
<a id="releasesWebKitGTKwebkit212LayoutTestshttptestssecuritycontentSecurityPolicy11securitypolicyallowinlinescripthtml"></a>
<div class="delfile"><h4>Deleted: releases/WebKitGTK/webkit-2.12/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/securitypolicy-allowinlinescript.html (197321 => 197322)</h4>
<pre class="diff"><span>
<span class="info">--- releases/WebKitGTK/webkit-2.12/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/securitypolicy-allowinlinescript.html        2016-02-29 09:27:54 UTC (rev 197321)
+++ releases/WebKitGTK/webkit-2.12/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/securitypolicy-allowinlinescript.html        2016-02-29 09:45:16 UTC (rev 197322)
</span><span class="lines">@@ -1,19 +0,0 @@
</span><del>-<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
-<html>
- <body>
- <script src="../resources/securitypolicy-tests-base.js"></script>
- <script>
- if (document.securityPolicy.allowsInlineScript)
- log('PASS inline script is allowed when no policy exists.');
- else
- log('FAIL inline script is not allowed when no policy exists.');
-
- injectPolicy("script-src 'unsafe-eval';");
-
- if (!document.securityPolicy.allowsInlineScript)
- log('PASS inline script is not allowed when policy exists.');
- else
- log('FAIL inline script is allowed when policy exists.');
- </script>
- </body>
-</html>
</del></span></pre></div>
<a id="releasesWebKitGTKwebkit212LayoutTestshttptestssecuritycontentSecurityPolicy11securitypolicyallowinlinestyleexpectedtxt"></a>
<div class="delfile"><h4>Deleted: releases/WebKitGTK/webkit-2.12/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/securitypolicy-allowinlinestyle-expected.txt (197321 => 197322)</h4>
<pre class="diff"><span>
<span class="info">--- releases/WebKitGTK/webkit-2.12/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/securitypolicy-allowinlinestyle-expected.txt        2016-02-29 09:27:54 UTC (rev 197321)
+++ releases/WebKitGTK/webkit-2.12/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/securitypolicy-allowinlinestyle-expected.txt        2016-02-29 09:45:16 UTC (rev 197322)
</span><span class="lines">@@ -1,3 +0,0 @@
</span><del>-PASS inline style is allowed when no policy exists.
-PASS inline style is not allowed when policy exists.
-
</del></span></pre></div>
<a id="releasesWebKitGTKwebkit212LayoutTestshttptestssecuritycontentSecurityPolicy11securitypolicyallowinlinestylehtml"></a>
<div class="delfile"><h4>Deleted: releases/WebKitGTK/webkit-2.12/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/securitypolicy-allowinlinestyle.html (197321 => 197322)</h4>
<pre class="diff"><span>
<span class="info">--- releases/WebKitGTK/webkit-2.12/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/securitypolicy-allowinlinestyle.html        2016-02-29 09:27:54 UTC (rev 197321)
+++ releases/WebKitGTK/webkit-2.12/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/securitypolicy-allowinlinestyle.html        2016-02-29 09:45:16 UTC (rev 197322)
</span><span class="lines">@@ -1,19 +0,0 @@
</span><del>-<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
-<html>
- <body>
- <script src="../resources/securitypolicy-tests-base.js"></script>
- <script>
- if (document.securityPolicy.allowsInlineStyle)
- log('PASS inline style is allowed when no policy exists.');
- else
- log('FAIL inline style is not allowed when no policy exists.');
-
- injectPolicy("style-src 'none';");
-
- if (!document.securityPolicy.allowsInlineStyle)
- log('PASS inline style is not allowed when policy exists.');
- else
- log('FAIL inline style is allowed when policy exists.');
- </script>
- </body>
-</html>
</del></span></pre></div>
<a id="releasesWebKitGTKwebkit212LayoutTestshttptestssecuritycontentSecurityPolicy11securitypolicyallowmediafromexpectedtxt"></a>
<div class="delfile"><h4>Deleted: releases/WebKitGTK/webkit-2.12/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/securitypolicy-allowmediafrom-expected.txt (197321 => 197322)</h4>
<pre class="diff"><span>
<span class="info">--- releases/WebKitGTK/webkit-2.12/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/securitypolicy-allowmediafrom-expected.txt        2016-02-29 09:27:54 UTC (rev 197321)
+++ releases/WebKitGTK/webkit-2.12/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/securitypolicy-allowmediafrom-expected.txt        2016-02-29 09:45:16 UTC (rev 197322)
</span><span class="lines">@@ -1,3 +0,0 @@
</span><del>-PASS media is allowed when no policy exists.
-PASS media is not allowed when policy exists.
-
</del></span></pre></div>
<a id="releasesWebKitGTKwebkit212LayoutTestshttptestssecuritycontentSecurityPolicy11securitypolicyallowmediafromhtml"></a>
<div class="delfile"><h4>Deleted: releases/WebKitGTK/webkit-2.12/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/securitypolicy-allowmediafrom.html (197321 => 197322)</h4>
<pre class="diff"><span>
<span class="info">--- releases/WebKitGTK/webkit-2.12/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/securitypolicy-allowmediafrom.html        2016-02-29 09:27:54 UTC (rev 197321)
+++ releases/WebKitGTK/webkit-2.12/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/securitypolicy-allowmediafrom.html        2016-02-29 09:45:16 UTC (rev 197322)
</span><span class="lines">@@ -1,20 +0,0 @@
</span><del>-<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
-<html>
- <body>
- <script src="../resources/securitypolicy-tests-base.js"></script>
- <script>
- if (document.securityPolicy.allowsMediaFrom('http://example.com/'))
- log('PASS media is allowed when no policy exists.');
- else
- log('FAIL media is not allowed when no policy exists.');
-
- injectPolicy("media-src http://notexample.com;");
-
- if (!document.securityPolicy.allowsMediaFrom('http://example.com/'))
- log('PASS media is not allowed when policy exists.');
- else
- log('FAIL media is allowed when policy exists.');
- </script>
- </body>
-</html>
-
</del></span></pre></div>
<a id="releasesWebKitGTKwebkit212LayoutTestshttptestssecuritycontentSecurityPolicy11securitypolicyallowobjectfromexpectedtxt"></a>
<div class="delfile"><h4>Deleted: releases/WebKitGTK/webkit-2.12/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/securitypolicy-allowobjectfrom-expected.txt (197321 => 197322)</h4>
<pre class="diff"><span>
<span class="info">--- releases/WebKitGTK/webkit-2.12/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/securitypolicy-allowobjectfrom-expected.txt        2016-02-29 09:27:54 UTC (rev 197321)
+++ releases/WebKitGTK/webkit-2.12/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/securitypolicy-allowobjectfrom-expected.txt        2016-02-29 09:45:16 UTC (rev 197322)
</span><span class="lines">@@ -1,3 +0,0 @@
</span><del>-PASS object is allowed when no policy exists.
-PASS object is not allowed when policy exists.
-
</del></span></pre></div>
<a id="releasesWebKitGTKwebkit212LayoutTestshttptestssecuritycontentSecurityPolicy11securitypolicyallowobjectfromhtml"></a>
<div class="delfile"><h4>Deleted: releases/WebKitGTK/webkit-2.12/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/securitypolicy-allowobjectfrom.html (197321 => 197322)</h4>
<pre class="diff"><span>
<span class="info">--- releases/WebKitGTK/webkit-2.12/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/securitypolicy-allowobjectfrom.html        2016-02-29 09:27:54 UTC (rev 197321)
+++ releases/WebKitGTK/webkit-2.12/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/securitypolicy-allowobjectfrom.html        2016-02-29 09:45:16 UTC (rev 197322)
</span><span class="lines">@@ -1,20 +0,0 @@
</span><del>-<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
-<html>
- <body>
- <script src="../resources/securitypolicy-tests-base.js"></script>
- <script>
- if (document.securityPolicy.allowsObjectFrom('http://example.com/'))
- log('PASS object is allowed when no policy exists.');
- else
- log('FAIL object is not allowed when no policy exists.');
-
- injectPolicy("object-src http://notexample.com;");
-
- if (!document.securityPolicy.allowsObjectFrom('http://example.com/'))
- log('PASS object is not allowed when policy exists.');
- else
- log('FAIL object is allowed when policy exists.');
- </script>
- </body>
-</html>
-
</del></span></pre></div>
<a id="releasesWebKitGTKwebkit212LayoutTestshttptestssecuritycontentSecurityPolicy11securitypolicyallowplugintypeexpectedtxt"></a>
<div class="delfile"><h4>Deleted: releases/WebKitGTK/webkit-2.12/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/securitypolicy-allowplugintype-expected.txt (197321 => 197322)</h4>
<pre class="diff"><span>
<span class="info">--- releases/WebKitGTK/webkit-2.12/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/securitypolicy-allowplugintype-expected.txt        2016-02-29 09:27:54 UTC (rev 197321)
+++ releases/WebKitGTK/webkit-2.12/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/securitypolicy-allowplugintype-expected.txt        2016-02-29 09:45:16 UTC (rev 197322)
</span><span class="lines">@@ -1,3 +0,0 @@
</span><del>-PASS plugin type is allowed when no policy exists.
-PASS plugin type is not allowed when policy exists.
-
</del></span></pre></div>
<a id="releasesWebKitGTKwebkit212LayoutTestshttptestssecuritycontentSecurityPolicy11securitypolicyallowplugintypehtml"></a>
<div class="delfile"><h4>Deleted: releases/WebKitGTK/webkit-2.12/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/securitypolicy-allowplugintype.html (197321 => 197322)</h4>
<pre class="diff"><span>
<span class="info">--- releases/WebKitGTK/webkit-2.12/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/securitypolicy-allowplugintype.html        2016-02-29 09:27:54 UTC (rev 197321)
+++ releases/WebKitGTK/webkit-2.12/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/securitypolicy-allowplugintype.html        2016-02-29 09:45:16 UTC (rev 197322)
</span><span class="lines">@@ -1,20 +0,0 @@
</span><del>-<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
-<html>
- <body>
- <script src="../resources/securitypolicy-tests-base.js"></script>
- <script>
- if (document.securityPolicy.allowsPluginType('application/x-shockwave-flash'))
- log('PASS plugin type is allowed when no policy exists.');
- else
- log('FAIL plugin type is not allowed when no policy exists.');
-
-
- injectPolicy("plugin-types application/x-webkit-test-netscape;");
-
- if (!document.securityPolicy.allowsPluginType('application/x-shockwave-flash'))
- log('PASS plugin type is not allowed when policy exists.');
- else
- log('FAIL plugin type is allowed when policy exists.');
- </script>
- </body>
-</html>
</del></span></pre></div>
<a id="releasesWebKitGTKwebkit212LayoutTestshttptestssecuritycontentSecurityPolicy11securitypolicyallowscriptfromexpectedtxt"></a>
<div class="delfile"><h4>Deleted: releases/WebKitGTK/webkit-2.12/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/securitypolicy-allowscriptfrom-expected.txt (197321 => 197322)</h4>
<pre class="diff"><span>
<span class="info">--- releases/WebKitGTK/webkit-2.12/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/securitypolicy-allowscriptfrom-expected.txt        2016-02-29 09:27:54 UTC (rev 197321)
+++ releases/WebKitGTK/webkit-2.12/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/securitypolicy-allowscriptfrom-expected.txt        2016-02-29 09:45:16 UTC (rev 197322)
</span><span class="lines">@@ -1,3 +0,0 @@
</span><del>-PASS script is allowed when no policy exists.
-PASS script is not allowed when policy exists.
-
</del></span></pre></div>
<a id="releasesWebKitGTKwebkit212LayoutTestshttptestssecuritycontentSecurityPolicy11securitypolicyallowscriptfromhtml"></a>
<div class="delfile"><h4>Deleted: releases/WebKitGTK/webkit-2.12/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/securitypolicy-allowscriptfrom.html (197321 => 197322)</h4>
<pre class="diff"><span>
<span class="info">--- releases/WebKitGTK/webkit-2.12/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/securitypolicy-allowscriptfrom.html        2016-02-29 09:27:54 UTC (rev 197321)
+++ releases/WebKitGTK/webkit-2.12/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/securitypolicy-allowscriptfrom.html        2016-02-29 09:45:16 UTC (rev 197322)
</span><span class="lines">@@ -1,20 +0,0 @@
</span><del>-<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
-<html>
- <body>
- <script src="../resources/securitypolicy-tests-base.js"></script>
- <script>
- if (document.securityPolicy.allowsScriptFrom('http://example.com/'))
- log('PASS script is allowed when no policy exists.');
- else
- log('FAIL script is not allowed when no policy exists.');
-
- injectPolicy("script-src http://notexample.com;");
-
- if (!document.securityPolicy.allowsScriptFrom('http://example.com/'))
- log('PASS script is not allowed when policy exists.');
- else
- log('FAIL script is allowed when policy exists.');
- </script>
- </body>
-</html>
-
</del></span></pre></div>
<a id="releasesWebKitGTKwebkit212LayoutTestshttptestssecuritycontentSecurityPolicy11securitypolicyallowstylefromexpectedtxt"></a>
<div class="delfile"><h4>Deleted: releases/WebKitGTK/webkit-2.12/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/securitypolicy-allowstylefrom-expected.txt (197321 => 197322)</h4>
<pre class="diff"><span>
<span class="info">--- releases/WebKitGTK/webkit-2.12/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/securitypolicy-allowstylefrom-expected.txt        2016-02-29 09:27:54 UTC (rev 197321)
+++ releases/WebKitGTK/webkit-2.12/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/securitypolicy-allowstylefrom-expected.txt        2016-02-29 09:45:16 UTC (rev 197322)
</span><span class="lines">@@ -1,3 +0,0 @@
</span><del>-PASS style is allowed when no policy exists.
-PASS style is not allowed when policy exists.
-
</del></span></pre></div>
<a id="releasesWebKitGTKwebkit212LayoutTestshttptestssecuritycontentSecurityPolicy11securitypolicyallowstylefromhtml"></a>
<div class="delfile"><h4>Deleted: releases/WebKitGTK/webkit-2.12/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/securitypolicy-allowstylefrom.html (197321 => 197322)</h4>
<pre class="diff"><span>
<span class="info">--- releases/WebKitGTK/webkit-2.12/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/securitypolicy-allowstylefrom.html        2016-02-29 09:27:54 UTC (rev 197321)
+++ releases/WebKitGTK/webkit-2.12/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/securitypolicy-allowstylefrom.html        2016-02-29 09:45:16 UTC (rev 197322)
</span><span class="lines">@@ -1,19 +0,0 @@
</span><del>-<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
-<html>
- <body>
- <script src="../resources/securitypolicy-tests-base.js"></script>
- <script>
- if (document.securityPolicy.allowsStyleFrom('http://example.com/'))
- log('PASS style is allowed when no policy exists.');
- else
- log('FAIL style is not allowed when no policy exists.');
-
- injectPolicy("style-src http://notexample.com;");
-
- if (!document.securityPolicy.allowsStyleFrom('http://example.com/'))
- log('PASS style is not allowed when policy exists.');
- else
- log('FAIL style is allowed when policy exists.');
- </script>
- </body>
-</html>
</del></span></pre></div>
<a id="releasesWebKitGTKwebkit212LayoutTestshttptestssecuritycontentSecurityPolicy11securitypolicyisactiveexpectedtxt"></a>
<div class="delfile"><h4>Deleted: releases/WebKitGTK/webkit-2.12/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/securitypolicy-isactive-expected.txt (197321 => 197322)</h4>
<pre class="diff"><span>
<span class="info">--- releases/WebKitGTK/webkit-2.12/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/securitypolicy-isactive-expected.txt        2016-02-29 09:27:54 UTC (rev 197321)
+++ releases/WebKitGTK/webkit-2.12/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/securitypolicy-isactive-expected.txt        2016-02-29 09:45:16 UTC (rev 197322)
</span><span class="lines">@@ -1,3 +0,0 @@
</span><del>-PASS document.securityPolicy.active is false when no policy exists.
-PASS document.securityPolicy.active is true when policy exists.
-
</del></span></pre></div>
<a id="releasesWebKitGTKwebkit212LayoutTestshttptestssecuritycontentSecurityPolicy11securitypolicyisactivehtml"></a>
<div class="delfile"><h4>Deleted: releases/WebKitGTK/webkit-2.12/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/securitypolicy-isactive.html (197321 => 197322)</h4>
<pre class="diff"><span>
<span class="info">--- releases/WebKitGTK/webkit-2.12/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/securitypolicy-isactive.html        2016-02-29 09:27:54 UTC (rev 197321)
+++ releases/WebKitGTK/webkit-2.12/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/securitypolicy-isactive.html        2016-02-29 09:45:16 UTC (rev 197322)
</span><span class="lines">@@ -1,19 +0,0 @@
</span><del>-<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
-<html>
- <body>
- <script src="../resources/securitypolicy-tests-base.js"></script>
- <script>
- if (!document.securityPolicy.isActive)
- log('PASS document.securityPolicy.active is false when no policy exists.');
- else
- log('FAIL document.securityPolicy.active is truw when no policy exists.');
-
- injectPolicy("script-src 'unsafe-inline';");
-
- if (document.securityPolicy.isActive)
- log('PASS document.securityPolicy.active is true when policy exists.');
- else
- log('FAIL document.securityPolicy.active is false when policy exists.');
- </script>
- </body>
-</html>
</del></span></pre></div>
<a id="releasesWebKitGTKwebkit212LayoutTestshttptestssecuritycontentSecurityPolicy11securitypolicyreporturiexpectedtxt"></a>
<div class="delfile"><h4>Deleted: releases/WebKitGTK/webkit-2.12/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/securitypolicy-reporturi-expected.txt (197321 => 197322)</h4>
<pre class="diff"><span>
<span class="info">--- releases/WebKitGTK/webkit-2.12/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/securitypolicy-reporturi-expected.txt        2016-02-29 09:27:54 UTC (rev 197321)
+++ releases/WebKitGTK/webkit-2.12/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/securitypolicy-reporturi-expected.txt        2016-02-29 09:45:16 UTC (rev 197322)
</span><span class="lines">@@ -1,4 +0,0 @@
</span><del>-PASS document.securityPolicy.reportURIs has length 0 when no policy exists.
-PASS document.securityPolicy.reportURIs has length 1 when policy exists.
-PASS document.securityPolicy.reportURIs[0] is correct.
-
</del></span></pre></div>
<a id="releasesWebKitGTKwebkit212LayoutTestshttptestssecuritycontentSecurityPolicy11securitypolicyreporturihtml"></a>
<div class="delfile"><h4>Deleted: releases/WebKitGTK/webkit-2.12/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/securitypolicy-reporturi.html (197321 => 197322)</h4>
<pre class="diff"><span>
<span class="info">--- releases/WebKitGTK/webkit-2.12/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/securitypolicy-reporturi.html        2016-02-29 09:27:54 UTC (rev 197321)
+++ releases/WebKitGTK/webkit-2.12/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/securitypolicy-reporturi.html        2016-02-29 09:45:16 UTC (rev 197322)
</span><span class="lines">@@ -1,24 +0,0 @@
</span><del>-<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
-<html>
- <body>
- <script src="../resources/securitypolicy-tests-base.js"></script>
- <script>
- if (document.securityPolicy.reportURIs.length === 0)
- log('PASS document.securityPolicy.reportURIs has length 0 when no policy exists.');
- else
- log('FAIL document.securityPolicy.reportURIs has length ' + document.securityPolicy.reportURIs.length + ' when no policy exists.');
-
- injectPolicy('report-uri http://example.com');
-
- if (document.securityPolicy.reportURIs.length === 1)
- log('PASS document.securityPolicy.reportURIs has length 1 when policy exists.');
- else
- log('FAIL document.securityPolicy.reportURIs has length ' + document.securityPolicy.reportURIs.length + ' when policy exists.');
-
- if (document.securityPolicy.reportURIs[0] === "http://example.com/")
- log('PASS document.securityPolicy.reportURIs[0] is correct.');
- else
- log('FAIL document.securityPolicy.reportURIs[0] is ' + document.securityPolicy.reportURIs[0] + ' (should be `http://example.com/`).');
- </script>
- </body>
-</html>
</del></span></pre></div>
<a id="releasesWebKitGTKwebkit212LayoutTestshttptestssecuritycontentSecurityPolicyresourcessecuritypolicytestsbasejs"></a>
<div class="delfile"><h4>Deleted: releases/WebKitGTK/webkit-2.12/LayoutTests/http/tests/security/contentSecurityPolicy/resources/securitypolicy-tests-base.js (197321 => 197322)</h4>
<pre class="diff"><span>
<span class="info">--- releases/WebKitGTK/webkit-2.12/LayoutTests/http/tests/security/contentSecurityPolicy/resources/securitypolicy-tests-base.js        2016-02-29 09:27:54 UTC (rev 197321)
+++ releases/WebKitGTK/webkit-2.12/LayoutTests/http/tests/security/contentSecurityPolicy/resources/securitypolicy-tests-base.js        2016-02-29 09:45:16 UTC (rev 197322)
</span><span class="lines">@@ -1,19 +0,0 @@
</span><del>-if (window.testRunner)
- testRunner.dumpAsText();
-
-function log(msg) {
- var txt = document.createTextNode(msg);
- document.querySelector('body').appendChild(txt);
- document.querySelector('body').appendChild(document.createElement('br'));
-}
-
-function injectPolicy(policy) {
- var meta = document.createElement('meta');
- meta.setAttribute('http-equiv', 'X-WebKit-CSP');
- meta.setAttribute('content', policy);
- document.head.appendChild(meta);
-}
-
-if (!document.securityPolicy)
- log('FAIL document.securityPolicy is not defined.')
-
</del></span></pre></div>
<a id="releasesWebKitGTKwebkit212LayoutTestsplatformgtkjsdomglobalconstructorsattributesexpectedtxt"></a>
<div class="modfile"><h4>Modified: releases/WebKitGTK/webkit-2.12/LayoutTests/platform/gtk/js/dom/global-constructors-attributes-expected.txt (197321 => 197322)</h4>
<pre class="diff"><span>
<span class="info">--- releases/WebKitGTK/webkit-2.12/LayoutTests/platform/gtk/js/dom/global-constructors-attributes-expected.txt        2016-02-29 09:27:54 UTC (rev 197321)
+++ releases/WebKitGTK/webkit-2.12/LayoutTests/platform/gtk/js/dom/global-constructors-attributes-expected.txt        2016-02-29 09:45:16 UTC (rev 197322)
</span><span class="lines">@@ -1803,11 +1803,6 @@
</span><span class="cx"> PASS Object.getOwnPropertyDescriptor(global, 'ScriptProcessorNode').hasOwnProperty('set') is false
</span><span class="cx"> PASS Object.getOwnPropertyDescriptor(global, 'ScriptProcessorNode').enumerable is false
</span><span class="cx"> PASS Object.getOwnPropertyDescriptor(global, 'ScriptProcessorNode').configurable is true
</span><del>-PASS Object.getOwnPropertyDescriptor(global, 'SecurityPolicy').value is SecurityPolicy
-PASS Object.getOwnPropertyDescriptor(global, 'SecurityPolicy').hasOwnProperty('get') is false
-PASS Object.getOwnPropertyDescriptor(global, 'SecurityPolicy').hasOwnProperty('set') is false
-PASS Object.getOwnPropertyDescriptor(global, 'SecurityPolicy').enumerable is false
-PASS Object.getOwnPropertyDescriptor(global, 'SecurityPolicy').configurable is true
</del><span class="cx"> PASS Object.getOwnPropertyDescriptor(global, 'SecurityPolicyViolationEvent').value is SecurityPolicyViolationEvent
</span><span class="cx"> PASS Object.getOwnPropertyDescriptor(global, 'SecurityPolicyViolationEvent').hasOwnProperty('get') is false
</span><span class="cx"> PASS Object.getOwnPropertyDescriptor(global, 'SecurityPolicyViolationEvent').hasOwnProperty('set') is false
</span></span></pre></div>
<a id="releasesWebKitGTKwebkit212LayoutTestsplatformwinjsdomglobalconstructorsattributesexpectedtxt"></a>
<div class="modfile"><h4>Modified: releases/WebKitGTK/webkit-2.12/LayoutTests/platform/win/js/dom/global-constructors-attributes-expected.txt (197321 => 197322)</h4>
<pre class="diff"><span>
<span class="info">--- releases/WebKitGTK/webkit-2.12/LayoutTests/platform/win/js/dom/global-constructors-attributes-expected.txt        2016-02-29 09:27:54 UTC (rev 197321)
+++ releases/WebKitGTK/webkit-2.12/LayoutTests/platform/win/js/dom/global-constructors-attributes-expected.txt        2016-02-29 09:45:16 UTC (rev 197322)
</span><span class="lines">@@ -1628,11 +1628,6 @@
</span><span class="cx"> PASS Object.getOwnPropertyDescriptor(global, 'Screen').hasOwnProperty('set') is false
</span><span class="cx"> PASS Object.getOwnPropertyDescriptor(global, 'Screen').enumerable is false
</span><span class="cx"> PASS Object.getOwnPropertyDescriptor(global, 'Screen').configurable is true
</span><del>-PASS Object.getOwnPropertyDescriptor(global, 'SecurityPolicy').value is SecurityPolicy
-PASS Object.getOwnPropertyDescriptor(global, 'SecurityPolicy').hasOwnProperty('get') is false
-PASS Object.getOwnPropertyDescriptor(global, 'SecurityPolicy').hasOwnProperty('set') is false
-PASS Object.getOwnPropertyDescriptor(global, 'SecurityPolicy').enumerable is false
-PASS Object.getOwnPropertyDescriptor(global, 'SecurityPolicy').configurable is true
</del><span class="cx"> PASS Object.getOwnPropertyDescriptor(global, 'SecurityPolicyViolationEvent').value is SecurityPolicyViolationEvent
</span><span class="cx"> PASS Object.getOwnPropertyDescriptor(global, 'SecurityPolicyViolationEvent').hasOwnProperty('get') is false
</span><span class="cx"> PASS Object.getOwnPropertyDescriptor(global, 'SecurityPolicyViolationEvent').hasOwnProperty('set') is false
</span></span></pre></div>
<a id="releasesWebKitGTKwebkit212SourceWebCoreCMakeListstxt"></a>
<div class="modfile"><h4>Modified: releases/WebKitGTK/webkit-2.12/Source/WebCore/CMakeLists.txt (197321 => 197322)</h4>
<pre class="diff"><span>
<span class="info">--- releases/WebKitGTK/webkit-2.12/Source/WebCore/CMakeLists.txt        2016-02-29 09:27:54 UTC (rev 197321)
+++ releases/WebKitGTK/webkit-2.12/Source/WebCore/CMakeLists.txt        2016-02-29 09:45:16 UTC (rev 197322)
</span><span class="lines">@@ -592,7 +592,6 @@
</span><span class="cx"> page/AbstractView.idl
</span><span class="cx"> page/BarProp.idl
</span><span class="cx"> page/Crypto.idl
</span><del>- page/DOMSecurityPolicy.idl
</del><span class="cx"> page/DOMSelection.idl
</span><span class="cx"> page/DOMWindow.idl
</span><span class="cx"> page/EventSource.idl
</span><span class="lines">@@ -1983,7 +1982,6 @@
</span><span class="cx"> page/ContextMenuContext.cpp
</span><span class="cx"> page/ContextMenuController.cpp
</span><span class="cx"> page/Crypto.cpp
</span><del>- page/DOMSecurityPolicy.cpp
</del><span class="cx"> page/DOMSelection.cpp
</span><span class="cx"> page/DOMTimer.cpp
</span><span class="cx"> page/DOMWindow.cpp
</span></span></pre></div>
<a id="releasesWebKitGTKwebkit212SourceWebCoreChangeLog"></a>
<div class="modfile"><h4>Modified: releases/WebKitGTK/webkit-2.12/Source/WebCore/ChangeLog (197321 => 197322)</h4>
<pre class="diff"><span>
<span class="info">--- releases/WebKitGTK/webkit-2.12/Source/WebCore/ChangeLog        2016-02-29 09:27:54 UTC (rev 197321)
+++ releases/WebKitGTK/webkit-2.12/Source/WebCore/ChangeLog        2016-02-29 09:45:16 UTC (rev 197322)
</span><span class="lines">@@ -1,3 +1,32 @@
</span><ins>+2016-02-25 Daniel Bates <dabates@apple.com>
+
+ CSP: Remove SecurityPolicy script interface
+ https://bugs.webkit.org/show_bug.cgi?id=154694
+ <rdar://problem/24846482>
+
+ Reviewed by Andy Estes.
+
+ Remove the Content Security Policy script interface, SecurityPolicy. This interface was only
+ enabled when building with ENABLE(CSP_NEXT) (disabled by default).
+
+ For completeness, the SecurityPolicy interface was removed from the Content Security Policy 1.1 spec.
+ in <https://github.com/w3c/webappsec/commit/18882953ce2d8afca25f685557fef0e0471b2c9a> (12/26/2013).
+
+ * CMakeLists.txt: Remove files to DOMSecurityPolicy.{cpp, idl}.
+ * DerivedSources.cpp: Remove file JSDOMSecurityPolicy.cpp.
+ * DerivedSources.make: Remove file DOMSecurityPolicy.idl.
+ * PlatformGTK.cmake: Ditto.
+ * PlatformMac.cmake: Ditto.
+ * WebCore.xcodeproj/project.pbxproj: Remove files DOMSecurityPolicy files.
+ * bindings/scripts/CodeGeneratorGObject.pm: Remove reference to DOMSecurityPolicy.
+ * dom/Document.cpp:
+ (WebCore::Document::securityPolicy): Deleted.
+ * dom/Document.h:
+ * dom/Document.idl: Remove attribute securityPolicy.
+ * page/DOMSecurityPolicy.cpp: Removed.
+ * page/DOMSecurityPolicy.h: Removed.
+ * page/DOMSecurityPolicy.idl: Removed.
+
</ins><span class="cx"> 2016-02-25 Andreas Kling <akling@apple.com>
</span><span class="cx">
</span><span class="cx"> Don't clear the weak JSString cache on memory pressure.
</span></span></pre></div>
<a id="releasesWebKitGTKwebkit212SourceWebCoreDerivedSourcescpp"></a>
<div class="modfile"><h4>Modified: releases/WebKitGTK/webkit-2.12/Source/WebCore/DerivedSources.cpp (197321 => 197322)</h4>
<pre class="diff"><span>
<span class="info">--- releases/WebKitGTK/webkit-2.12/Source/WebCore/DerivedSources.cpp        2016-02-29 09:27:54 UTC (rev 197321)
+++ releases/WebKitGTK/webkit-2.12/Source/WebCore/DerivedSources.cpp        2016-02-29 09:45:16 UTC (rev 197322)
</span><span class="lines">@@ -140,7 +140,6 @@
</span><span class="cx"> #include "JSDOMPath.cpp"
</span><span class="cx"> #include "JSDOMPlugin.cpp"
</span><span class="cx"> #include "JSDOMPluginArray.cpp"
</span><del>-#include "JSDOMSecurityPolicy.cpp"
</del><span class="cx"> #include "JSDOMSelection.cpp"
</span><span class="cx"> #include "JSDOMStringList.cpp"
</span><span class="cx"> #include "JSDOMStringMap.cpp"
</span></span></pre></div>
<a id="releasesWebKitGTKwebkit212SourceWebCoreDerivedSourcesmake"></a>
<div class="modfile"><h4>Modified: releases/WebKitGTK/webkit-2.12/Source/WebCore/DerivedSources.make (197321 => 197322)</h4>
<pre class="diff"><span>
<span class="info">--- releases/WebKitGTK/webkit-2.12/Source/WebCore/DerivedSources.make        2016-02-29 09:27:54 UTC (rev 197321)
+++ releases/WebKitGTK/webkit-2.12/Source/WebCore/DerivedSources.make        2016-02-29 09:45:16 UTC (rev 197322)
</span><span class="lines">@@ -504,7 +504,6 @@
</span><span class="cx"> $(WebCore)/page/AbstractView.idl \
</span><span class="cx"> $(WebCore)/page/BarProp.idl \
</span><span class="cx"> $(WebCore)/page/Crypto.idl \
</span><del>- $(WebCore)/page/DOMSecurityPolicy.idl \
</del><span class="cx"> $(WebCore)/page/DOMSelection.idl \
</span><span class="cx"> $(WebCore)/page/DOMWindow.idl \
</span><span class="cx"> $(WebCore)/page/EventSource.idl \
</span></span></pre></div>
<a id="releasesWebKitGTKwebkit212SourceWebCorePlatformGTKcmake"></a>
<div class="modfile"><h4>Modified: releases/WebKitGTK/webkit-2.12/Source/WebCore/PlatformGTK.cmake (197321 => 197322)</h4>
<pre class="diff"><span>
<span class="info">--- releases/WebKitGTK/webkit-2.12/Source/WebCore/PlatformGTK.cmake        2016-02-29 09:27:54 UTC (rev 197321)
+++ releases/WebKitGTK/webkit-2.12/Source/WebCore/PlatformGTK.cmake        2016-02-29 09:45:16 UTC (rev 197322)
</span><span class="lines">@@ -557,7 +557,6 @@
</span><span class="cx"> loader/appcache/DOMApplicationCache.idl
</span><span class="cx">
</span><span class="cx"> page/BarProp.idl
</span><del>- page/DOMSecurityPolicy.idl
</del><span class="cx"> page/DOMSelection.idl
</span><span class="cx"> page/History.idl
</span><span class="cx"> page/Location.idl
</span></span></pre></div>
<a id="releasesWebKitGTKwebkit212SourceWebCorePlatformMaccmake"></a>
<div class="modfile"><h4>Modified: releases/WebKitGTK/webkit-2.12/Source/WebCore/PlatformMac.cmake (197321 => 197322)</h4>
<pre class="diff"><span>
<span class="info">--- releases/WebKitGTK/webkit-2.12/Source/WebCore/PlatformMac.cmake        2016-02-29 09:27:54 UTC (rev 197321)
+++ releases/WebKitGTK/webkit-2.12/Source/WebCore/PlatformMac.cmake        2016-02-29 09:45:16 UTC (rev 197322)
</span><span class="lines">@@ -855,7 +855,6 @@
</span><span class="cx"> html/ValidityState.idl
</span><span class="cx">
</span><span class="cx"> page/AbstractView.idl
</span><del>- page/DOMSecurityPolicy.idl
</del><span class="cx">
</span><span class="cx"> xml/XPathExpression.idl
</span><span class="cx"> xml/XPathNSResolver.idl
</span></span></pre></div>
<a id="releasesWebKitGTKwebkit212SourceWebCoreWebCorexcodeprojprojectpbxproj"></a>
<div class="modfile"><h4>Modified: releases/WebKitGTK/webkit-2.12/Source/WebCore/WebCore.xcodeproj/project.pbxproj (197321 => 197322)</h4>
<pre class="diff"><span>
<span class="info">--- releases/WebKitGTK/webkit-2.12/Source/WebCore/WebCore.xcodeproj/project.pbxproj        2016-02-29 09:27:54 UTC (rev 197321)
+++ releases/WebKitGTK/webkit-2.12/Source/WebCore/WebCore.xcodeproj/project.pbxproj        2016-02-29 09:45:16 UTC (rev 197322)
</span><span class="lines">@@ -1177,12 +1177,6 @@
</span><span class="cx">                 2D93AEE419DF5641002A86C3 /* ServicesOverlayController.mm in Sources */ = {isa = PBXBuildFile; fileRef = 2D93AEE219DF5641002A86C3 /* ServicesOverlayController.mm */; };
</span><span class="cx">                 2D97F04719DD413C001EE9C3 /* MockPageOverlayClient.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 2DAAE32C19DCAF6000E002D2 /* MockPageOverlayClient.cpp */; };
</span><span class="cx">                 2D97F04819DD4140001EE9C3 /* MockPageOverlayClient.h in Headers */ = {isa = PBXBuildFile; fileRef = 2DAAE32D19DCAF6000E002D2 /* MockPageOverlayClient.h */; };
</span><del>-                2D9A246E15B9BD0000D34527 /* DOMSecurityPolicy.h in Headers */ = {isa = PBXBuildFile; fileRef = 2D9A246B15B9BBDD00D34527 /* DOMSecurityPolicy.h */; };
-                2D9A246F15B9BD2F00D34527 /* DOMSecurityPolicy.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 2D9A246A15B9BBDD00D34527 /* DOMSecurityPolicy.cpp */; };
-                2D9A247315B9C2D100D34527 /* DOMDOMSecurityPolicy.mm in Sources */ = {isa = PBXBuildFile; fileRef = 2D9A247215B9C2C700D34527 /* DOMDOMSecurityPolicy.mm */; };
-                2D9A247415B9C2E300D34527 /* DOMDOMSecurityPolicy.h in Headers */ = {isa = PBXBuildFile; fileRef = 2D9A247015B9C29500D34527 /* DOMDOMSecurityPolicy.h */; };
-                2D9A247515B9C2E300D34527 /* DOMDOMSecurityPolicyInternal.h in Headers */ = {isa = PBXBuildFile; fileRef = 2D9A247115B9C29500D34527 /* DOMDOMSecurityPolicyInternal.h */; };
-                2D9A247615B9C2F400D34527 /* DOMDOMSecurityPolicy.h in Copy Generated Headers */ = {isa = PBXBuildFile; fileRef = 2D9A247015B9C29500D34527 /* DOMDOMSecurityPolicy.h */; };
</del><span class="cx">                 2D9F0E1314FF1CBF00BA0FF7 /* linearSRGB.icc in Resources */ = {isa = PBXBuildFile; fileRef = 2D9F0E1214FF1CBF00BA0FF7 /* linearSRGB.icc */; };
</span><span class="cx">                 2DB9C4AA1B3231F40070F27F /* NSEventSPI.h in Headers */ = {isa = PBXBuildFile; fileRef = 2DB9C4A91B3231F40070F27F /* NSEventSPI.h */; settings = {ATTRIBUTES = (Private, ); }; };
</span><span class="cx">                 2DCB837919F99BBA00A7FBE4 /* NSSharingServicePickerSPI.h in Headers */ = {isa = PBXBuildFile; fileRef = 2DCB837719F99BBA00A7FBE4 /* NSSharingServicePickerSPI.h */; settings = {ATTRIBUTES = (Private, ); }; };
</span><span class="lines">@@ -7186,7 +7180,6 @@
</span><span class="cx">                                 44311CD812E4E24B000A8D19 /* DOMDocumentPrivate.h in Copy Generated Headers */,
</span><span class="cx">                                 1C11CCC00AA6093700DADB20 /* DOMDocumentType.h in Copy Generated Headers */,
</span><span class="cx">                                 1C11CCC10AA6093700DADB20 /* DOMDOMImplementation.h in Copy Generated Headers */,
</span><del>-                                2D9A247615B9C2F400D34527 /* DOMDOMSecurityPolicy.h in Copy Generated Headers */,
</del><span class="cx">                                 1C11CCC40AA6093700DADB20 /* DOMElement.h in Copy Generated Headers */,
</span><span class="cx">                                 1CB4214B0AF2B2CA0085AD91 /* DOMElementInternal.h in Copy Generated Headers */,
</span><span class="cx">                                 1C11CCBF0AA6093700DADB20 /* DOMEntity.h in Copy Generated Headers */,
</span><span class="lines">@@ -8599,11 +8592,6 @@
</span><span class="cx">                 2D90660C0665D937006B6F1A /* DataTransferMac.mm */ = {isa = PBXFileReference; fileEncoding = 30; indentWidth = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = DataTransferMac.mm; sourceTree = "<group>"; tabWidth = 8; usesTabs = 0; };
</span><span class="cx">                 2D93AEE119DF5641002A86C3 /* ServicesOverlayController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ServicesOverlayController.h; sourceTree = "<group>"; };
</span><span class="cx">                 2D93AEE219DF5641002A86C3 /* ServicesOverlayController.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = ServicesOverlayController.mm; sourceTree = "<group>"; };
</span><del>-                2D9A246A15B9BBDD00D34527 /* DOMSecurityPolicy.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = DOMSecurityPolicy.cpp; sourceTree = "<group>"; };
-                2D9A246B15B9BBDD00D34527 /* DOMSecurityPolicy.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DOMSecurityPolicy.h; sourceTree = "<group>"; };
-                2D9A247015B9C29500D34527 /* DOMDOMSecurityPolicy.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DOMDOMSecurityPolicy.h; sourceTree = "<group>"; };
-                2D9A247115B9C29500D34527 /* DOMDOMSecurityPolicyInternal.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DOMDOMSecurityPolicyInternal.h; sourceTree = "<group>"; };
-                2D9A247215B9C2C700D34527 /* DOMDOMSecurityPolicy.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = DOMDOMSecurityPolicy.mm; sourceTree = "<group>"; };
</del><span class="cx">                 2D9F0E1214FF1CBF00BA0FF7 /* linearSRGB.icc */ = {isa = PBXFileReference; lastKnownFileType = file; path = linearSRGB.icc; sourceTree = "<group>"; };
</span><span class="cx">                 2DAAE32C19DCAF6000E002D2 /* MockPageOverlayClient.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = MockPageOverlayClient.cpp; sourceTree = "<group>"; };
</span><span class="cx">                 2DAAE32D19DCAF6000E002D2 /* MockPageOverlayClient.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MockPageOverlayClient.h; sourceTree = "<group>"; };
</span><span class="lines">@@ -17809,8 +17797,6 @@
</span><span class="cx">                                 CD37B37415C1A7E1006DC898 /* DiagnosticLoggingKeys.cpp */,
</span><span class="cx">                                 CD37B37515C1A7E1006DC898 /* DiagnosticLoggingKeys.h */,
</span><span class="cx">                                 8372DB301A6780A800C697C5 /* DiagnosticLoggingResultType.h */,
</span><del>-                                2D9A246A15B9BBDD00D34527 /* DOMSecurityPolicy.cpp */,
-                                2D9A246B15B9BBDD00D34527 /* DOMSecurityPolicy.h */,
</del><span class="cx">                                 BC5A86810C33676000EEA649 /* DOMSelection.cpp */,
</span><span class="cx">                                 BC5A86820C33676000EEA649 /* DOMSelection.h */,
</span><span class="cx">                                 BC5A86830C33676000EEA649 /* DOMSelection.idl */,
</span><span class="lines">@@ -18138,9 +18124,6 @@
</span><span class="cx">                                 52CCA9E515E3F64C0053C77F /* DOMDOMNamedFlowCollection.h */,
</span><span class="cx">                                 52CCA9E615E3F64C0053C77F /* DOMDOMNamedFlowCollection.mm */,
</span><span class="cx">                                 52CCA9E715E3F64C0053C77F /* DOMDOMNamedFlowCollectionInternal.h */,
</span><del>-                                2D9A247015B9C29500D34527 /* DOMDOMSecurityPolicy.h */,
-                                2D9A247215B9C2C700D34527 /* DOMDOMSecurityPolicy.mm */,
-                                2D9A247115B9C29500D34527 /* DOMDOMSecurityPolicyInternal.h */,
</del><span class="cx">                                 85ACA9BE0A9B5FA500671E90 /* DOMElement.h */,
</span><span class="cx">                                 85ACA9BF0A9B5FA500671E90 /* DOMElement.mm */,
</span><span class="cx">                                 85CA96B60A9621A600690CCF /* DOMEntity.h */,
</span><span class="lines">@@ -25417,8 +25400,6 @@
</span><span class="cx">                                 85E711970AC5D5350053270F /* DOMDOMImplementationInternal.h in Headers */,
</span><span class="cx">                                 52CCA9E815E3F64C0053C77F /* DOMDOMNamedFlowCollection.h in Headers */,
</span><span class="cx">                                 52CCA9EA15E3F64C0053C77F /* DOMDOMNamedFlowCollectionInternal.h in Headers */,
</span><del>-                                2D9A247415B9C2E300D34527 /* DOMDOMSecurityPolicy.h in Headers */,
-                                2D9A247515B9C2E300D34527 /* DOMDOMSecurityPolicyInternal.h in Headers */,
</del><span class="cx">                                 9B3A8872145632F9003AE8F5 /* DOMDOMSettableTokenList.h in Headers */,
</span><span class="cx">                                 7694565B1214DB630007CBAE /* DOMDOMTokenList.h in Headers */,
</span><span class="cx">                                 7AABA25A14BC613300AA9A11 /* DOMEditor.h in Headers */,
</span><span class="lines">@@ -25624,7 +25605,6 @@
</span><span class="cx">                                 8367587F1C56E99B008A1087 /* JSHTMLDataElement.h in Headers */,
</span><span class="cx">                                 855D358A0AD707310019AAC7 /* DOMRGBColor.h in Headers */,
</span><span class="cx">                                 BCD0FC4F0DBD720B00B2F630 /* DOMRGBColorInternal.h in Headers */,
</span><del>-                                2D9A246E15B9BD0000D34527 /* DOMSecurityPolicy.h in Headers */,
</del><span class="cx">                                 BC5A86850C33676000EEA649 /* DOMSelection.h in Headers */,
</span><span class="cx">                                 4ACBC0C412713CCA0094F9B2 /* DOMSettableTokenList.h in Headers */,
</span><span class="cx">                                 C544274B11A57E7A0063A749 /* DOMStringList.h in Headers */,
</span><span class="lines">@@ -29242,7 +29222,6 @@
</span><span class="cx">                                 85CA975D0A962E5400690CCF /* DOMDocumentType.mm in Sources */,
</span><span class="cx">                                 8518DCEA0A9CC80D0091B7A6 /* DOMDOMImplementation.mm in Sources */,
</span><span class="cx">                                 52CCA9E915E3F64C0053C77F /* DOMDOMNamedFlowCollection.mm in Sources */,
</span><del>-                                2D9A247315B9C2D100D34527 /* DOMDOMSecurityPolicy.mm in Sources */,
</del><span class="cx">                                 7694565C1214DB630007CBAE /* DOMDOMTokenList.mm in Sources */,
</span><span class="cx">                                 7AABA25914BC613300AA9A11 /* DOMEditor.cpp in Sources */,
</span><span class="cx">                                 85ACA9C10A9B5FA500671E90 /* DOMElement.mm in Sources */,
</span><span class="lines">@@ -29348,7 +29327,6 @@
</span><span class="cx">                                 8538F05C0AD722F1006A81D1 /* DOMRange.mm in Sources */,
</span><span class="cx">                                 858C38A80AA8F20400B187A4 /* DOMRect.mm in Sources */,
</span><span class="cx">                                 BCAEFCAE1016CE4A0040D34E /* DOMRGBColor.mm in Sources */,
</span><del>-                                2D9A246F15B9BD2F00D34527 /* DOMSecurityPolicy.cpp in Sources */,
</del><span class="cx">                                 BC5A86840C33676000EEA649 /* DOMSelection.cpp in Sources */,
</span><span class="cx">                                 C55610F111A704EB00B82D27 /* DOMStringList.cpp in Sources */,
</span><span class="cx">                                 0FF5025C102BA9010066F39A /* DOMStyleMedia.mm in Sources */,
</span></span></pre></div>
<a id="releasesWebKitGTKwebkit212SourceWebCorebindingsscriptsCodeGeneratorGObjectpm"></a>
<div class="modfile"><h4>Modified: releases/WebKitGTK/webkit-2.12/Source/WebCore/bindings/scripts/CodeGeneratorGObject.pm (197321 => 197322)</h4>
<pre class="diff"><span>
<span class="info">--- releases/WebKitGTK/webkit-2.12/Source/WebCore/bindings/scripts/CodeGeneratorGObject.pm        2016-02-29 09:27:54 UTC (rev 197321)
+++ releases/WebKitGTK/webkit-2.12/Source/WebCore/bindings/scripts/CodeGeneratorGObject.pm        2016-02-29 09:45:16 UTC (rev 197322)
</span><span class="lines">@@ -58,7 +58,7 @@
</span><span class="cx"> my %transferFullTypeHash = ("AudioTrack" => 1, "AudioTrackList" => 1, "BarProp" => 1, "BatteryManager" => 1,
</span><span class="cx"> "CSSRuleList" => 1, "CSSStyleDeclaration" => 1, "CSSStyleSheet" => 1,
</span><span class="cx"> "DOMApplicationCache" => 1, "DOMMimeType" => 1, "DOMMimeTypeArray" => 1, "DOMNamedFlowCollection" => 1,
</span><del>- "DOMPlugin" => 1, "DOMPluginArray" => 1, "DOMSecurityPolicy" => 1,
</del><ins>+ "DOMPlugin" => 1, "DOMPluginArray" => 1,
</ins><span class="cx"> "DOMSelection" => 1, "DOMSettableTokenList" => 1, "DOMStringList" => 1,
</span><span class="cx"> "DOMWindow" => 1, "DOMWindowCSS" => 1, "EventTarget" => 1,
</span><span class="cx"> "File" => 1, "FileList" => 1, "Gamepad" => 1, "GamepadList" => 1,
</span></span></pre></div>
<a id="releasesWebKitGTKwebkit212SourceWebCoredomDocumentcpp"></a>
<div class="modfile"><h4>Modified: releases/WebKitGTK/webkit-2.12/Source/WebCore/dom/Document.cpp (197321 => 197322)</h4>
<pre class="diff"><span>
<span class="info">--- releases/WebKitGTK/webkit-2.12/Source/WebCore/dom/Document.cpp        2016-02-29 09:27:54 UTC (rev 197321)
+++ releases/WebKitGTK/webkit-2.12/Source/WebCore/dom/Document.cpp        2016-02-29 09:45:16 UTC (rev 197322)
</span><span class="lines">@@ -189,10 +189,6 @@
</span><span class="cx"> #include <wtf/text/StringBuffer.h>
</span><span class="cx"> #include <yarr/RegularExpression.h>
</span><span class="cx">
</span><del>-#if ENABLE(CSP_NEXT)
-#include "DOMSecurityPolicy.h"
-#endif
-
</del><span class="cx"> #if ENABLE(DEVICE_ORIENTATION)
</span><span class="cx"> #include "DeviceMotionEvent.h"
</span><span class="cx"> #include "DeviceOrientationEvent.h"
</span><span class="lines">@@ -1684,15 +1680,6 @@
</span><span class="cx"> }
</span><span class="cx"> #endif
</span><span class="cx">
</span><del>-#if ENABLE(CSP_NEXT)
-DOMSecurityPolicy& Document::securityPolicy()
-{
- if (!m_domSecurityPolicy)
- m_domSecurityPolicy = DOMSecurityPolicy::create(this);
- return *m_domSecurityPolicy;
-}
-#endif
-
</del><span class="cx"> String Document::nodeName() const
</span><span class="cx"> {
</span><span class="cx"> return "#document";
</span></span></pre></div>
<a id="releasesWebKitGTKwebkit212SourceWebCoredomDocumenth"></a>
<div class="modfile"><h4>Modified: releases/WebKitGTK/webkit-2.12/Source/WebCore/dom/Document.h (197321 => 197322)</h4>
<pre class="diff"><span>
<span class="info">--- releases/WebKitGTK/webkit-2.12/Source/WebCore/dom/Document.h        2016-02-29 09:27:54 UTC (rev 197321)
+++ releases/WebKitGTK/webkit-2.12/Source/WebCore/dom/Document.h        2016-02-29 09:45:16 UTC (rev 197322)
</span><span class="lines">@@ -201,10 +201,6 @@
</span><span class="cx"> class TextAutosizer;
</span><span class="cx"> #endif
</span><span class="cx">
</span><del>-#if ENABLE(CSP_NEXT)
-class DOMSecurityPolicy;
-#endif
-
</del><span class="cx"> #if ENABLE(FONT_LOAD_EVENTS)
</span><span class="cx"> class FontLoader;
</span><span class="cx"> #endif
</span><span class="lines">@@ -462,10 +458,6 @@
</span><span class="cx"> void setTimerThrottlingEnabled(bool);
</span><span class="cx"> bool isTimerThrottlingEnabled() const { return m_isTimerThrottlingEnabled; }
</span><span class="cx">
</span><del>-#if ENABLE(CSP_NEXT)
- DOMSecurityPolicy& securityPolicy();
-#endif
-
</del><span class="cx"> RefPtr<Node> adoptNode(Node* source, ExceptionCode&);
</span><span class="cx">
</span><span class="cx"> Ref<HTMLCollection> images();
</span><span class="lines">@@ -1729,10 +1721,6 @@
</span><span class="cx">
</span><span class="cx"> RefPtr<NamedFlowCollection> m_namedFlows;
</span><span class="cx">
</span><del>-#if ENABLE(CSP_NEXT)
- RefPtr<DOMSecurityPolicy> m_domSecurityPolicy;
-#endif
-
</del><span class="cx"> void sharedObjectPoolClearTimerFired();
</span><span class="cx"> Timer m_sharedObjectPoolClearTimer;
</span><span class="cx">
</span></span></pre></div>
<a id="releasesWebKitGTKwebkit212SourceWebCoredomDocumentidl"></a>
<div class="modfile"><h4>Modified: releases/WebKitGTK/webkit-2.12/Source/WebCore/dom/Document.idl (197321 => 197322)</h4>
<pre class="diff"><span>
<span class="info">--- releases/WebKitGTK/webkit-2.12/Source/WebCore/dom/Document.idl        2016-02-29 09:27:54 UTC (rev 197321)
+++ releases/WebKitGTK/webkit-2.12/Source/WebCore/dom/Document.idl        2016-02-29 09:45:16 UTC (rev 197322)
</span><span class="lines">@@ -294,9 +294,6 @@
</span><span class="cx"> readonly attribute DOMString visibilityState;
</span><span class="cx"> readonly attribute boolean hidden;
</span><span class="cx">
</span><del>- // Security Policy API: http://dvcs.w3.org/hg/content-security-policy/raw-file/tip/csp-specification.dev.html#script-interfaces
- [Conditional=CSP_NEXT] readonly attribute DOMSecurityPolicy securityPolicy;
-
</del><span class="cx"> // currentscript API: http://www.whatwg.org/specs/web-apps/current-work/multipage/dom.html#dom-document-currentscript
</span><span class="cx"> readonly attribute HTMLScriptElement currentScript;
</span><span class="cx">
</span></span></pre></div>
<a id="releasesWebKitGTKwebkit212SourceWebCorepageDOMSecurityPolicycpp"></a>
<div class="delfile"><h4>Deleted: releases/WebKitGTK/webkit-2.12/Source/WebCore/page/DOMSecurityPolicy.cpp (197321 => 197322)</h4>
<pre class="diff"><span>
<span class="info">--- releases/WebKitGTK/webkit-2.12/Source/WebCore/page/DOMSecurityPolicy.cpp        2016-02-29 09:27:54 UTC (rev 197321)
+++ releases/WebKitGTK/webkit-2.12/Source/WebCore/page/DOMSecurityPolicy.cpp        2016-02-29 09:45:16 UTC (rev 197322)
</span><span class="lines">@@ -1,180 +0,0 @@
</span><del>-/*
- * Copyright (C) 2012 Google, Inc. All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- * notice, this list of conditions and the following disclaimer in the
- * documentation and/or other materials provided with the distribution.
- *
- * THIS SOFTWARE IS PROVIDED BY GOOGLE INC. ``AS IS'' AND ANY
- * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
- * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR
- * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
- * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
- * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
- * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
- * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-#include "config.h"
-#include "DOMSecurityPolicy.h"
-
-#include "ContentSecurityPolicy.h"
-#include "ContextDestructionObserver.h"
-#include "DOMStringList.h"
-#include "Frame.h"
-#include "ScriptExecutionContext.h"
-#include <wtf/text/TextPosition.h>
-#include <wtf/text/WTFString.h>
-
-namespace WebCore {
-
-namespace {
-
-bool isPolicyActiveInContext(ScriptExecutionContext* context)
-{
- // If the ScriptExecutionContext has been destroyed, there's no active policy.
- if (!context)
- return false;
-
- return context->contentSecurityPolicy()->isActive();
-}
-
-template<bool (ContentSecurityPolicy::*allowWithType)(const String&, const String&, const URL&, bool overrideContentSecurityPolicy, ContentSecurityPolicy::ReportingStatus) const>
-bool isAllowedWithType(ScriptExecutionContext* context, const String& type)
-{
- if (!isPolicyActiveInContext(context))
- return true;
-
- bool overrideContentSecurityPolicy = false;
- return (context->contentSecurityPolicy()->*allowWithType)(type, type, URL(), overrideContentSecurityPolicy, ContentSecurityPolicy::ReportingStatus::SuppressReport);
-}
-
-template<bool (ContentSecurityPolicy::*allowWithURL)(const URL&, bool overrideContentSecurityPolicy, ContentSecurityPolicy::ReportingStatus) const>
-bool isAllowedWithURL(ScriptExecutionContext* context, const String& url)
-{
- if (!isPolicyActiveInContext(context))
- return true;
-
- URL parsedURL = context->completeURL(url);
- if (!parsedURL.isValid())
- return false; // FIXME: Figure out how to throw a JavaScript error.
-
- bool overrideContentSecurityPolicy = false;
- return (context->contentSecurityPolicy()->*allowWithURL)(parsedURL, overrideContentSecurityPolicy, ContentSecurityPolicy::ReportingStatus::SuppressReport);
-}
-
-template<bool (ContentSecurityPolicy::*allowWithContext)(const String&, const WTF::OrdinalNumber&, bool overrideContentSecurityPolicy, ContentSecurityPolicy::ReportingStatus) const>
-bool isAllowed(ScriptExecutionContext* context)
-{
- if (!isPolicyActiveInContext(context))
- return true;
-
- bool overrideContentSecurityPolicy = false;
- return (context->contentSecurityPolicy()->*allowWithContext)(String(), WTF::OrdinalNumber::beforeFirst(), overrideContentSecurityPolicy, ContentSecurityPolicy::ReportingStatus::SuppressReport);
-}
-
-} // namespace
-
-DOMSecurityPolicy::DOMSecurityPolicy(ScriptExecutionContext* context)
- : ContextDestructionObserver(context)
-{
-}
-
-DOMSecurityPolicy::~DOMSecurityPolicy()
-{
-}
-
-bool DOMSecurityPolicy::isActive() const
-{
- return isPolicyActiveInContext(scriptExecutionContext());
-}
-
-PassRefPtr<DOMStringList> DOMSecurityPolicy::reportURIs() const
-{
- RefPtr<DOMStringList> result = DOMStringList::create();
-
- if (isActive())
- scriptExecutionContext()->contentSecurityPolicy()->gatherReportURIs(*result.get());
-
- return result.release();
-}
-
-bool DOMSecurityPolicy::allowsInlineScript() const
-{
- return isAllowed<&ContentSecurityPolicy::allowInlineScript>(scriptExecutionContext());
-}
-
-bool DOMSecurityPolicy::allowsInlineStyle() const
-{
- return isAllowed<&ContentSecurityPolicy::allowInlineStyle>(scriptExecutionContext());
-}
-
-bool DOMSecurityPolicy::allowsEval() const
-{
- if (!isActive())
- return true;
-
- bool overrideContentSecurityPolicy = false;
- return scriptExecutionContext()->contentSecurityPolicy()->allowEval(0, overrideContentSecurityPolicy, ContentSecurityPolicy::ReportingStatus::SuppressReport);
-}
-
-
-bool DOMSecurityPolicy::allowsConnectionTo(const String& url) const
-{
- return isAllowedWithURL<&ContentSecurityPolicy::allowConnectToSource>(scriptExecutionContext(), url);
-}
-
-bool DOMSecurityPolicy::allowsFontFrom(const String& url) const
-{
- return isAllowedWithURL<&ContentSecurityPolicy::allowFontFromSource>(scriptExecutionContext(), url);
-}
-
-bool DOMSecurityPolicy::allowsFormAction(const String& url) const
-{
- return isAllowedWithURL<&ContentSecurityPolicy::allowFormAction>(scriptExecutionContext(), url);
-}
-
-bool DOMSecurityPolicy::allowsFrameFrom(const String& url) const
-{
- return isAllowedWithURL<&ContentSecurityPolicy::allowChildFrameFromSource>(scriptExecutionContext(), url);
-}
-
-bool DOMSecurityPolicy::allowsImageFrom(const String& url) const
-{
- return isAllowedWithURL<&ContentSecurityPolicy::allowImageFromSource>(scriptExecutionContext(), url);
-}
-
-bool DOMSecurityPolicy::allowsMediaFrom(const String& url) const
-{
- return isAllowedWithURL<&ContentSecurityPolicy::allowMediaFromSource>(scriptExecutionContext(), url);
-}
-
-bool DOMSecurityPolicy::allowsObjectFrom(const String& url) const
-{
- return isAllowedWithURL<&ContentSecurityPolicy::allowObjectFromSource>(scriptExecutionContext(), url);
-}
-
-bool DOMSecurityPolicy::allowsPluginType(const String& type) const
-{
- return isAllowedWithType<&ContentSecurityPolicy::allowPluginType>(scriptExecutionContext(), type);
-}
-
-bool DOMSecurityPolicy::allowsScriptFrom(const String& url) const
-{
- return isAllowedWithURL<&ContentSecurityPolicy::allowScriptFromSource>(scriptExecutionContext(), url);
-}
-
-bool DOMSecurityPolicy::allowsStyleFrom(const String& url) const
-{
- return isAllowedWithURL<&ContentSecurityPolicy::allowStyleFromSource>(scriptExecutionContext(), url);
-}
-
-} // namespace WebCore
</del></span></pre></div>
<a id="releasesWebKitGTKwebkit212SourceWebCorepageDOMSecurityPolicyh"></a>
<div class="delfile"><h4>Deleted: releases/WebKitGTK/webkit-2.12/Source/WebCore/page/DOMSecurityPolicy.h (197321 => 197322)</h4>
<pre class="diff"><span>
<span class="info">--- releases/WebKitGTK/webkit-2.12/Source/WebCore/page/DOMSecurityPolicy.h        2016-02-29 09:27:54 UTC (rev 197321)
+++ releases/WebKitGTK/webkit-2.12/Source/WebCore/page/DOMSecurityPolicy.h        2016-02-29 09:45:16 UTC (rev 197322)
</span><span class="lines">@@ -1,72 +0,0 @@
</span><del>-/*
- * Copyright (C) 2011 Google, Inc. All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- * notice, this list of conditions and the following disclaimer in the
- * documentation and/or other materials provided with the distribution.
- *
- * THIS SOFTWARE IS PROVIDED BY GOOGLE INC. ``AS IS'' AND ANY
- * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
- * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR
- * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
- * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
- * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
- * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
- * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-#ifndef DOMSecurityPolicy_h
-#define DOMSecurityPolicy_h
-
-#include "ContextDestructionObserver.h"
-#include <wtf/RefCounted.h>
-#include <wtf/Vector.h>
-#include <wtf/text/WTFString.h>
-
-namespace WebCore {
-
-class ContentSecurityPolicy;
-class DOMStringList;
-class Frame;
-
-class DOMSecurityPolicy : public RefCounted<DOMSecurityPolicy>, public ContextDestructionObserver {
-public:
- static Ref<DOMSecurityPolicy> create(ScriptExecutionContext* context)
- {
- return adoptRef(*new DOMSecurityPolicy(context));
- }
- ~DOMSecurityPolicy();
-
- bool isActive() const;
- PassRefPtr<DOMStringList> reportURIs() const;
-
- bool allowsInlineScript() const;
- bool allowsInlineStyle() const;
- bool allowsEval() const;
-
- bool allowsConnectionTo(const String& url) const;
- bool allowsFontFrom(const String& url) const;
- bool allowsFormAction(const String& url) const;
- bool allowsFrameFrom(const String& url) const;
- bool allowsImageFrom(const String& url) const;
- bool allowsMediaFrom(const String& url) const;
- bool allowsObjectFrom(const String& url) const;
- bool allowsPluginType(const String& type) const;
- bool allowsScriptFrom(const String& url) const;
- bool allowsStyleFrom(const String& url) const;
-
-private:
- explicit DOMSecurityPolicy(ScriptExecutionContext*);
-};
-
-}
-
-#endif
</del></span></pre></div>
<a id="releasesWebKitGTKwebkit212SourceWebCorepageDOMSecurityPolicyidl"></a>
<div class="delfile"><h4>Deleted: releases/WebKitGTK/webkit-2.12/Source/WebCore/page/DOMSecurityPolicy.idl (197321 => 197322)</h4>
<pre class="diff"><span>
<span class="info">--- releases/WebKitGTK/webkit-2.12/Source/WebCore/page/DOMSecurityPolicy.idl        2016-02-29 09:27:54 UTC (rev 197321)
+++ releases/WebKitGTK/webkit-2.12/Source/WebCore/page/DOMSecurityPolicy.idl        2016-02-29 09:45:16 UTC (rev 197322)
</span><span class="lines">@@ -1,46 +0,0 @@
</span><del>-/*
- * Copyright (C) 2012 Google Inc. All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- * notice, this list of conditions and the following disclaimer in the
- * documentation and/or other materials provided with the distribution.
- *
- * THIS SOFTWARE IS PROVIDED BY APPLE INC. AND ITS CONTRIBUTORS ``AS IS'' AND ANY
- * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
- * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
- * DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR ITS CONTRIBUTORS BE LIABLE FOR ANY
- * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
- * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
- * ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
- * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-[
- Conditional=CSP_NEXT,
- InterfaceName=SecurityPolicy,
-] interface DOMSecurityPolicy {
- readonly attribute boolean allowsEval;
- readonly attribute boolean allowsInlineScript;
- readonly attribute boolean allowsInlineStyle;
- readonly attribute boolean isActive;
-
- readonly attribute DOMStringList reportURIs;
-
- boolean allowsConnectionTo(DOMString url);
- boolean allowsFontFrom(DOMString url);
- boolean allowsFormAction(DOMString url);
- boolean allowsFrameFrom(DOMString url);
- boolean allowsImageFrom(DOMString url);
- boolean allowsMediaFrom(DOMString url);
- boolean allowsObjectFrom(DOMString url);
- boolean allowsPluginType(DOMString type);
- boolean allowsScriptFrom(DOMString url);
- boolean allowsStyleFrom(DOMString url);
-};
</del></span></pre>
</div>
</div>
</body>
</html>