Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / loader / show-only-one-beforeunload-dialog.html
blob0549739f01373a4bee04a8a128514e565873d399
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <script>
5 if (window.testRunner) {
6 testRunner.dumpAsText();
7 testRunner.waitUntilDone();
10 window.onload = function()
12 window.setTimeout("window.location.href = 'resources/notify-done.html';", 0);
15 window.onbeforeunload = function()
17 return "This is beforeunload from the top level frame.";
19 </script>
20 <body>
21 <p>This page registers a 'beforeunload' handler, and contains multiple IFrames that each do the same. Only the initial dialog from this top-level frame should display. The IFrame dialogs should be suppressed.</p>
22 <iframe src="resources/iframe-with-beforeunload.html"></iframe>
23 <iframe src="resources/iframe-with-beforeunload.html"></iframe>
24 </body>
25 </html>