DescriptionDon't crash the browser if something tries to inject JavaScript
Instead, just trigger a report for users that have opted in, and
DCHECK() for developers.
We still don't execute the script..
Developers that hit this DCHECK should either fix their code if they didn't
intend to inject into a random page, consider using one of our many C++ APIs,
or inject into an isolated world.
There is a separate API for tests that can run on any page. For tests only.
BUG=516690
R=creis@chromium.org
Patch Set 1 #
Messages
Total messages: 3 (0 generated)
|