Changeset 206074 in webkit
- Timestamp:
- Sep 17, 2016 4:14:38 AM (8 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r206065 r206074 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 Yusuke Suzuki <utatane.tea@gmail.com> 2 18 -
trunk/Source/WebCore/loader/WorkerThreadableLoader.cpp
r206009 r206074 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.