Summary: | ASan complains about plugins/snapshotting/snapshot-plugin-not-quite-blocked-by-image.html | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Alexey Proskuryakov <ap> | ||||
Component: | WebCore Misc. | Assignee: | Alexey Proskuryakov <ap> | ||||
Status: | RESOLVED FIXED | ||||||
Severity: | Normal | CC: | benjamin, bfulgham, commit-queue, esprehn+autocc, kangil.han, roger_fong | ||||
Priority: | P2 | Keywords: | InRadar | ||||
Version: | 528+ (Nightly build) | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Attachments: |
|
Description
Alexey Proskuryakov
2015-02-06 23:25:43 PST
Created attachment 246200 [details]
proposed fix
I'm going to assume that the Windows EWS failure is a random flake. The actual error is not visible in the truncated log. Comment on attachment 246200 [details] proposed fix Clearing flags on attachment: 246200 Committed r179783: <http://trac.webkit.org/changeset/179783> All reviewed patches have been landed. Closing bug. Comment on attachment 246200 [details] proposed fix View in context: https://bugs.webkit.org/attachment.cgi?id=246200&action=review > Source/WebCore/dom/Document.cpp:6274 > + jsString = String(plugInsJavaScript, sizeof(plugInsJavaScript)); It would be more efficient to call StringImpl::createWithoutCopying here instead of the String constructor. No need to copy the file. Comment on attachment 246200 [details] proposed fix View in context: https://bugs.webkit.org/attachment.cgi?id=246200&action=review >> Source/WebCore/dom/Document.cpp:6274 >> + jsString = String(plugInsJavaScript, sizeof(plugInsJavaScript)); > > It would be more efficient to call StringImpl::createWithoutCopying here instead of the String constructor. No need to copy the file. Copy the characters, I mean. |