DescriptionRobustify Internals entry points against detached uses.
Fuzzers generate pointless overhead using these test-only methods from
frame-detached contexts. Add required nullchecks throughout.
Simple test case for each of these entry points (w/ --run-layout-test):
<a href="javascript:'replaced'" id=anchor>click</a>
<script>
anchor.click();
internals.someMethod();
console.log('no crash');
</script>
R=
BUG=624549
Committed: https://crrev.com/7cbd7fb7916064d9a72b099c7ea6d1d5c9e769a1
Cr-Commit-Position: refs/heads/master@{#403421}
Patch Set 1 #
Messages
Total messages: 9 (3 generated)
|