| Summary: | Script element with an empty for or event attributes should not execute | ||||||
|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Ryosuke Niwa <rniwa> | ||||
| Component: | DOM | Assignee: | Chris Dumez <cdumez> | ||||
| Status: | RESOLVED FIXED | ||||||
| Severity: | Normal | CC: | cdumez, commit-queue, esprehn+autocc, ggaren, kangil.han, rniwa, webkit-bug-importer | ||||
| Priority: | P2 | Keywords: | InRadar | ||||
| Version: | WebKit Nightly Build | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Bug Depends on: | |||||||
| Bug Blocks: | 150335 | ||||||
| Attachments: |
|
||||||
|
Description
Ryosuke Niwa
2015-09-04 17:04:00 PDT
Created attachment 263342 [details]
Patch
Comment on attachment 263342 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=263342&action=review > Source/WebCore/dom/ScriptElement.cpp:372 > forAttribute = forAttribute.stripWhiteSpace(); Looks like this uses the wrong stripping function; should be stripLeadingAndTrailingHTMLSpaces. Comment on attachment 263342 [details] Patch Clearing flags on attachment: 263342 Committed r191270: <http://trac.webkit.org/changeset/191270> All reviewed patches have been landed. Closing bug. |