| Summary: | ThreadableLoaderOptions::isolatedCopy() doesn't produce a copy that is safe for sending to another thread | ||||||
|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Alexey Proskuryakov <ap> | ||||
| Component: | Page Loading | Assignee: | Alexey Proskuryakov <ap> | ||||
| Status: | RESOLVED FIXED | ||||||
| Severity: | Normal | CC: | commit-queue, japhet | ||||
| Priority: | P2 | ||||||
| Version: | 528+ (Nightly build) | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| See Also: | https://bugs.webkit.org/show_bug.cgi?id=143790 | ||||||
| Attachments: |
|
||||||
|
Description
Alexey Proskuryakov
2015-05-20 11:46:52 PDT
Created attachment 253453 [details]
proposed fix
Comment on attachment 253453 [details] proposed fix View in context: https://bugs.webkit.org/attachment.cgi?id=253453&action=review > Source/WebCore/loader/ThreadableLoader.h:71 > + String initiator; // This cannot be an AtomicString, as isolatedCopy() wouldn't create an object that's safe for passing to another thread. I think this comment would be better as a ChangeLog comment - no real point in listing what types a member variable cannot be. Comment on attachment 253453 [details]
proposed fix
I'm sure someone would change this back into an AtomicString within a week from now, and there is no better way to prevent that than a header comment, unfortunately.
Comment on attachment 253453 [details] proposed fix Clearing flags on attachment: 253453 Committed r184657: <http://trac.webkit.org/changeset/184657> All reviewed patches have been landed. Closing bug. |