Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(112)

Side by Side Diff: third_party/WebKit/LayoutTests/fast/dom/HTMLMenuItemElement/menuitem-crash-asan.html

Issue 1962073003: Fix ASan container overflow in HTMLMenuItemElement::defaultEventHandler (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Adding tests Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/fast/dom/HTMLMenuItemElement/menuitem-crash-asan-expected.txt » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <html>
3 <body>
4 Test passes if it does not crash on Linux ASan builds.
5 <menuitem id="domfuzz" checked type="radio"><menuitem checked>
6 <script>
7 function fuzz() {
8 document.getElementById("domfuzz").addEventListener(
9 "fullscreenerror", function() {
10 var elt = document.getElementById("domfuzz");
11 elt.setAttribute("radiogroup", "G1");
12 });
13 e = document.createEvent("Event");
14 var element = document.getElementById("domfuzz");
15 e.initEvent("fullscreenerror");
16 element.dispatchEvent(e);
17 e = document.createEvent("Event");
18 e.initEvent("click");
19 element.dispatchEvent(e);
20 }
21 if (window.testRunner) {
22 testRunner.dumpAsText();
23 fuzz();
24 }
25 </script>
26 </body>
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/fast/dom/HTMLMenuItemElement/menuitem-crash-asan-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698