Changeset 207081 in webkit
- Timestamp:
- Oct 11, 2016 3:40:16 AM (8 years ago)
- Location:
- releases/WebKitGTK/webkit-2.14/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
releases/WebKitGTK/webkit-2.14/Source/WebCore/ChangeLog
r207080 r207081 1 2016-09-17 David Kilzer <ddkilzer@apple.com> 2 3 MainThreadBridge needs an isolatedCopy() of SecurityOrigin 4 <https://webkit.org/b/162116> 5 <rdar://problem/27525870> 6 7 Reviewed by Carlos Garcia Campos. 8 9 Covered by existing tests. 10 11 * loader/WorkerThreadableLoader.cpp: 12 (WebCore::WorkerThreadableLoader::MainThreadBridge::MainThreadBridge): 13 Make an isolatedCopy() of SecurityOrigin here since that's the 14 correct idiom to use when the object is passed from a worker 15 thread back to the main thread. Fix suggested by Daniel Bates. 16 1 17 2016-09-16 Chris Dumez <cdumez@apple.com> 2 18 -
releases/WebKitGTK/webkit-2.14/Source/WebCore/loader/WorkerThreadableLoader.cpp
r205113 r207081 109 109 ASSERT(contentSecurityPolicy); 110 110 111 auto contentSecurityPolicyCopy = std::make_unique<ContentSecurityPolicy>( *securityOrigin);111 auto contentSecurityPolicyCopy = std::make_unique<ContentSecurityPolicy>(securityOrigin->isolatedCopy()); 112 112 contentSecurityPolicyCopy->copyStateFrom(contentSecurityPolicy); 113 113
Note: See TracChangeset
for help on using the changeset viewer.