Rename TaintsCanvas to CanAccessData and use in CSSStyleSheet
Since data URLs are same-origin, their CSSStyleSheet elements should be accessible without throwing a SecurityError. TaintsCanvas had an appropriate check for this, but was named incorrectly for this use case. Rename TaintsCanvas to CanAccessData, reversing the boolean condition, and use the new method in CSSStyleSheet::CanAccessRules. Bug: 813826 Change-Id: Ie49eecfca92af31f27a3584a64bf494083ef4742 Reviewed-on: https://chromium-review.googlesource.com/963401Reviewed-by:Tom Sepez <tsepez@chromium.org> Reviewed-by:
Mike West <mkwst@chromium.org> Reviewed-by:
Daniel Cheng <dcheng@chromium.org> Commit-Queue: Chris Nardi <cnardi@chromium.org> Cr-Commit-Position: refs/heads/master@{#543675}
Showing
Please register or sign in to comment