Remove return value of ExecuteScriptBlock()
This makes PrepareScript() return true (previously returning false) for a classic inline script blocked due to CSP (*). This causes |script_element_ = nullptr| only in XMLDocumentParser::EndElementNs() and thus no behavior changes, because this return value is only used in EndElementNs(), and ReadyToBeParserExecuted() and WillBeParserExecuted() are false in such (*) cases. Bug: 686281 Change-Id: If9bb3f9dc89ba46efd6c24a24fc8727a0174c403 Reviewed-on: https://chromium-review.googlesource.com/564200Reviewed-by:Kouhei Ueno <kouhei@chromium.org> Commit-Queue: Hiroshige Hayashizaki <hiroshige@chromium.org> Cr-Commit-Position: refs/heads/master@{#491495}
Showing
Please register or sign in to comment