commit | 748875b36e91d5cd25bd8d653677fb5192203c97 | [log] [tgz] |
---|---|---|
author | Hiroshige Hayashizaki <hiroshige@chromium.org> | Thu Dec 06 05:46:57 2018 |
committer | Commit Bot <commit-bot@chromium.org> | Thu Dec 06 05:46:57 2018 |
tree | f42304aa15084104d230bae5ed9e21e38a112769 | |
parent | ec34e18cd852699fe8a2b2df2825d6e1d41a8e03 [diff] |
Revert unintentional switching to element document in an AllowedByNosniff call In classic_pending_script.cc, [1] uses GetElement()->GetDocument().Fetcher()->Context() which corresponds to the element document, while before [1] it was GetElement()->GetDocument().ContextDocument() which corresponds to the context document. This CL reverts this change and uses the context document, and adds a regression test derived from a clusterfuzz test case. [1] https://chromium-review.googlesource.com/1351873 Bug: 912046, 880027 Change-Id: I92ca9723c3fdd1c5d9c304e4e196aeb77c75ee88 Reviewed-on: https://chromium-review.googlesource.com/c/1364050 Reviewed-by: Hiroki Nakagawa <nhiroki@chromium.org> Commit-Queue: Hiroshige Hayashizaki <hiroshige@chromium.org> Cr-Commit-Position: refs/heads/master@{#614279}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .