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

Side by Side Diff: LayoutTests/editing/execCommand/window-open-insert-list-crash.html

Issue 176863002: Fix null pointer dereference in CompositeEditCommand::moveParagraphs(). (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rename test. Created 6 years, 10 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
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <title>Crash issue 338542</title>
5 <script src="../../resources/js-test.js"></script>
6 </head>
7 <body>
8 <script>
9 description('Should not crash if we load a test case from crbug.com/338542.');
10
11 window.jsTestIsAsync = true;
12
13 window.addEventListener('message', didReceiveMessage, false);
14
15 var iframe = document.createElement('iframe');
16 iframe.src = 'resources/window-open-insert-list-crash-iframe.html';
17 document.body.appendChild(iframe);
18
19 function didReceiveMessage(event)
20 {
21 shouldBeEqualToString('event.data', 'FINISH');
22 document.body.removeChild(iframe);
23 testPassed('Did not crash.');
24 window.finishJSTest();
25 }
26 </script>
27 </body>
28 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698