Changeset 83953 in webkit
- Timestamp:
- Apr 15, 2011 12:37:11 AM (13 years ago)
- Location:
- trunk
- Files:
-
- 2 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r83949 r83953 1 2011-04-15 Adam Barth <abarth@webkit.org> 2 3 Reviewed by Eric Seidel. 4 5 Add support for CSP's 'self' source 6 https://bugs.webkit.org/show_bug.cgi?id=58604 7 8 * http/tests/security/contentSecurityPolicy/script-src-self-expected.txt: Added. 9 * http/tests/security/contentSecurityPolicy/script-src-self.html: Added. 10 1 11 2011-04-14 Justin Novosad <junov@chromium.org> 2 12 -
trunk/Source/WebCore/ChangeLog
r83952 r83953 1 2011-04-15 Adam Barth <abarth@webkit.org> 2 3 Reviewed by Eric Seidel. 4 5 Add support for CSP's 'self' source 6 https://bugs.webkit.org/show_bug.cgi?id=58604 7 8 This change is now trivially easy. 9 10 Test: http/tests/security/contentSecurityPolicy/script-src-self.html 11 12 * page/ContentSecurityPolicy.cpp: 13 (WebCore::CSPSourceList::addSourceSelf): 14 1 15 2011-04-15 Anna Cavender <annacc@chromium.org> 2 16 -
trunk/Source/WebCore/page/ContentSecurityPolicy.cpp
r83235 r83953 391 391 void CSPSourceList::addSourceSelf() 392 392 { 393 // FIXME: Inherit the scheme, host, and port from the current URL. 394 notImplemented(); 393 m_list.append(CSPSource(m_origin->protocol(), m_origin->host(), m_origin->port(), false, false)); 395 394 } 396 395
Note: See TracChangeset
for help on using the changeset viewer.