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

Side by Side Diff: third_party/WebKit/LayoutTests/paint/invalidation/add-text-match-maker-crash.html

Issue 2706913003: FrameView can be null in addTextMatchMaker() after appendChild(iframe) (Closed)
Patch Set: Rebase Created 3 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
OLDNEW
(Empty)
1 <script src="../../resources/js-test.js"></script>
tkent 2017/02/21 23:19:44 Please do not add new test using js-test.js. IMO,
hiroshige 2017/02/21 23:29:56 Removed.
2 <script>
3 description("Tests that internals.addTextMatchMaker doesn't crash with " +
4 "range with null FrameView https://crbug.com/693848");
5
6 onload = function () {
7 var iframe = document.getElementById('iframe');
8 var range = iframe.contentWindow.document.createRange();
9 document.getElementById('parent').appendChild(iframe);
10 iframe.contentWindow.internals.addTextMatchMarker(range, false);
11 }
12 </script>
13 <div id=parent></div>
14 <iframe id=iframe></iframe>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698