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

Side by Side Diff: LayoutTests/fast/events/event-fire-disconnected-shadow-dom-crash.html

Issue 1265573003: Fix crash on null ptr dereference in EventPath propagation (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: add another comment Created 5 years, 4 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | LayoutTests/fast/events/event-fire-disconnected-shadow-dom-crash-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>
hayato 2015/08/03 05:49:24 Could we minimize this test further? I can't read
2 <script src="../../resources/js-test.js"></script>
3
4 <div id="root">
5 <span id="div1"></span>
6 </div>
7
8 <!-- This is a minified version of the clusterfuzz test case at https://code.goo gle.com/p/chromium/issues/detail?id=507413 -->
9 <script>
10
11 description("Generated by cluster-fuzz. This test passes if it doesn't crash.");
12
13 document.addEventListener("selectstart", function() {
14 var oElement = event.srcElement;
15 oElement.innerHTML = "<option>A<a>B<option>C</option></a></option>";
16 function scopedCall(aElement) {
17 aElement.innerHTML = "ABCD";
18 }(oElement);
19 }
20 );
21
22 document.addEventListener("DOMNodeInserted", function() {
23 var oElement = event.srcElement;
24 oElement.innerHTML = "ABC";
25 oElement = document.importNode(oElement, true)
26 });
27
28 document.execCommand("SelectAll")
29
30 </script>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/fast/events/event-fire-disconnected-shadow-dom-crash-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698