diff options
| author | Ben Murdoch <benm@google.com> | 2011-05-24 11:24:40 +0100 |
|---|---|---|
| committer | Ben Murdoch <benm@google.com> | 2011-06-02 09:53:15 +0100 |
| commit | 81bc750723a18f21cd17d1b173cd2a4dda9cea6e (patch) | |
| tree | 7a9e5ed86ff429fd347a25153107221543909b19 /Source/WebCore/manual-tests | |
| parent | 94088a6d336c1dd80a1e734af51e96abcbb689a7 (diff) | |
| download | external_webkit-81bc750723a18f21cd17d1b173cd2a4dda9cea6e.zip external_webkit-81bc750723a18f21cd17d1b173cd2a4dda9cea6e.tar.gz external_webkit-81bc750723a18f21cd17d1b173cd2a4dda9cea6e.tar.bz2 | |
Merge WebKit at r80534: Intial merge by Git
Change-Id: Ia7a83357124c9e1cdb1debf55d9661ec0bd09a61
Diffstat (limited to 'Source/WebCore/manual-tests')
13 files changed, 526 insertions, 5 deletions
diff --git a/Source/WebCore/manual-tests/autocorrection/autocorrection-contraction.html b/Source/WebCore/manual-tests/autocorrection/autocorrection-contraction.html index 39ad7f7..ca40d62 100644 --- a/Source/WebCore/manual-tests/autocorrection/autocorrection-contraction.html +++ b/Source/WebCore/manual-tests/autocorrection/autocorrection-contraction.html @@ -27,7 +27,7 @@ function editingTest() { </script> -<title>Delete to Dismiss Reversion Panel Test</title> +<title>Autocorrection with Contraction Test</title> </head> <body> <div><p>This test verifies that, after typing an apostrophe, if the current word is part of a contraction, previously shown autocorrection will not be applied.</p> diff --git a/Source/WebCore/manual-tests/autocorrection/autocorrection-in-iframe.html b/Source/WebCore/manual-tests/autocorrection/autocorrection-in-iframe.html new file mode 100644 index 0000000..c4ebbcf --- /dev/null +++ b/Source/WebCore/manual-tests/autocorrection/autocorrection-in-iframe.html @@ -0,0 +1,16 @@ +<html> +<head> + +<title>Test autocorreciton UI positioning in iframe</title> +</head> +<body> +<p>This test verifies that autocorrection UI is positioned correctly when the corrected word is in an iframe.</p> +<p>After typing "the manag", you should see the autocorrection UI is shown below the bounding box of the corrected word "manag".</p> +<br> +<br> +<br> +<div style="-webkit-transform: translate(100px, 100px) rotate(20deg)"> + <iframe src="document-for-iframe-test.html"></iframe> +</div> +</body> +</html> diff --git a/Source/WebCore/manual-tests/autocorrection/document-for-iframe-test.html b/Source/WebCore/manual-tests/autocorrection/document-for-iframe-test.html new file mode 100644 index 0000000..629a830 --- /dev/null +++ b/Source/WebCore/manual-tests/autocorrection/document-for-iframe-test.html @@ -0,0 +1,36 @@ +<html> +<head> +<style> +.editing { + border: 2px solid red; + padding: 12px; + font-size: 24px; +} +</style> + +<script src=../../../../LayoutTests/editing/editing.js language="JavaScript" type="text/JavaScript" ></script> + +<script> +function editingTest() { + typeCharacterCommand('t'); + typeCharacterCommand('h'); + typeCharacterCommand('e'); + typeCharacterCommand(' '); + typeCharacterCommand('m'); + typeCharacterCommand('a'); + typeCharacterCommand('n'); + typeCharacterCommand('a'); + typeCharacterCommand('g'); +} +</script> + +<div contenteditable id="root" class="editing"> +<span id="test"></span> +</div> + +<script> +runEditingTest(); +</script> + +</body> +</html> diff --git a/Source/WebCore/manual-tests/autocorrection/spellcheck-on-contraction-when-autocorrection-is-off.html b/Source/WebCore/manual-tests/autocorrection/spellcheck-on-contraction-when-autocorrection-is-off.html new file mode 100644 index 0000000..5e84078 --- /dev/null +++ b/Source/WebCore/manual-tests/autocorrection/spellcheck-on-contraction-when-autocorrection-is-off.html @@ -0,0 +1,24 @@ +<html> +<head> + +<style> +.editing { + border: 2px solid red; + padding: 12px; + font-size: 24px; +} +</style> + +<title>Undo Autocorrection Test</title> +</head> +<body> +<p>This test verifies that common contraction is not marked as misspelled when autocorrection is off.</p> +<p><b>Step 1:</b> Bring up contextual manual, and uncheck "Spelling and Grammar -> Correct Spelling Automatically" and "Substitutions -> Text Replacement".</p> +<p><b>Step 2:</b> Type "this wasn't", and verify that "wasn't" isn't marked as mispelled.</p> +<p><b>Step 3:</b> Restore the settings in contextual manual, otherwise it may affect the result of other autocorrection related tests.</p> +<div contenteditable id="root" class="editing"> +<span id="test"></span> +</div> + +</body> +</html> diff --git a/Source/WebCore/manual-tests/autocorrection/type-whitespace-to-dismiss-reversion.html b/Source/WebCore/manual-tests/autocorrection/type-whitespace-to-dismiss-reversion.html index 41191fb..8eb346a 100644 --- a/Source/WebCore/manual-tests/autocorrection/type-whitespace-to-dismiss-reversion.html +++ b/Source/WebCore/manual-tests/autocorrection/type-whitespace-to-dismiss-reversion.html @@ -31,10 +31,8 @@ function editingTest() { <title>Type Whitespace to Dismiss Reversion Panel Test</title> </head> <body> -<div><p>This test verifies that, after reversion panel is shown, typing whitespace will dismiss the reversion panel. -It also keep the existing autocorrection underline.</p> -<p>After seeing the reversion panel, type whitespace. You should see the panel being dismissed once you start typing. -However, the word "message" still has blue underline.</p> +<div><p>This test verifies that, after reversion panel is shown, typing whitespace will dismiss the reversion panel.</p> +<p>After seeing the reversion panel, type whitespace. You should see the panel being dismissed once you start typing.</p> <p style="color:green">Note, this test can fail due to user specific spell checking data. If the user has previously frequently revert 'message' to 'mesage'. To fix this, remove all files in ~/Library/Spelling, then kill AppleSpell.service process.</p> <div contenteditable id="root" class="editing"> diff --git a/Source/WebCore/manual-tests/autocorrection/undo-autocorrection.html b/Source/WebCore/manual-tests/autocorrection/undo-autocorrection.html new file mode 100644 index 0000000..972c88b --- /dev/null +++ b/Source/WebCore/manual-tests/autocorrection/undo-autocorrection.html @@ -0,0 +1,24 @@ +<html> +<head> + +<style> +.editing { + border: 2px solid red; + padding: 12px; + font-size: 24px; +} +</style> + +<title>Undo Autocorrection Test</title> +</head> +<body> +<div><p>This test verifies the behavior of undoing autocorrection.</p> +<p><b>Test 1:</b> Type "the mesage". After seeing the correction panel, type whitespace to accept the correction, then select undo. You should see the second word being reverted to "message".</p> +<p><b>Test 2:</b> Type "the ". Set font to bold, then type "me". Set font to regular, then type "sage". After seeing the correction panel, type whitespace to accept the correction, then select undo. You should see the second word being reverted to "message" with "me" in bold font.</p> +<p style="color:green">Note, this test can fail due to user specific spell checking data. If the user has previously frequently revert 'message' to 'mesage'. To fix this, remove all files in ~/Library/Spelling, then kill AppleSpell.service process.</p> +<div contenteditable id="root" class="editing"> +<span id="test"></span> +</div> + +</body> +</html> diff --git a/Source/WebCore/manual-tests/database-callback-deferred.html b/Source/WebCore/manual-tests/database-callback-deferred.html new file mode 100644 index 0000000..cf3d03a --- /dev/null +++ b/Source/WebCore/manual-tests/database-callback-deferred.html @@ -0,0 +1,17 @@ +<html> +<script> +function test() { + function transactionCallback() + { + document.getElementById("result").innerHTML = "Callback was called. Test passed"; + } + var db = openDatabase("DatabaseCallbackDeferred", "1.0", "", 1); + db.transaction(function(tx) { tx.executeSql("CREATE TABLE IF NOT EXISTS CallbackDeferredTest (randomData)", []); }, transactionCallback, transactionCallback); + + alert("Wait for a few seconds and close it"); +} +</script> +<body onload="test()"> +<p id="result">Wait...</p> +</body> +</html> diff --git a/Source/WebCore/manual-tests/input-number-localization.html b/Source/WebCore/manual-tests/input-number-localization.html new file mode 100644 index 0000000..4647aa5 --- /dev/null +++ b/Source/WebCore/manual-tests/input-number-localization.html @@ -0,0 +1,30 @@ +<!DOCTYPE html> +<html> +<head> +<title>Number type input shows and accepts localized numbers</title> +<style> +:invalid { + border-color: red; + -webkit-box-shadow: 4px 4px 8px #ff8888; +} +</style> +</head> +<body> +<div id="console"></div> + +<p>Output test: The following text field should have a localized representation for "-1234.56". +e.g. "-1,234.56" for en_US locale, "-1.234,56" for fr_FR locale.</p> +<div><input type=number value="-1234.56" step=any></div> + +<p>Input test: Type a localized representation of a number into the following text field. +You'll see an equivalent number in the standard format on the bottom of the text field.</p> +<div><input type=number id=target step=any oninput="handleInput()"></div> +<div>Standard format: <output id=output></output></div> + +<script> +function handleInput() { + document.getElementById('output').value = document.getElementById('target').value; +} +</script> +</body> +</html> diff --git a/Source/WebCore/manual-tests/media-controls.html b/Source/WebCore/manual-tests/media-controls.html new file mode 100644 index 0000000..1837e59 --- /dev/null +++ b/Source/WebCore/manual-tests/media-controls.html @@ -0,0 +1,258 @@ +<html> +<head> +<style> + +body { + display: -webkit-box; + margin: 0; + font-family: Sans-serif; + overflow: hidden; +} + +#list { + width: 200px; + padding: 10px; +} + +#list h1 { + margin: 0; + font-size: 16px; + padding: 0 0 14px 8px; + border-right: 4px solid LightGray; +} + +#list ul { + margin: 0; + padding: 2px 0 0 0; + list-style: none; +} + +#list a:target { + cursor: default; + pointer-events: none; + background-color: #eee; + border-right: 4px solid Gray; +} + +#list li { + padding-bottom: 2px; +} + +#list a { + padding: 8px 8px 8px 8px; + display: block; + border-right: 4px solid LightGray; + color: initial; + -webkit-transition-property: border-right, background-color; + -webkit-transition-duration: 0.4s; +} + +#test { + display: -webkit-box; + -webkit-box-orient: vertical; + -webkit-box-flex: 0.5; +} + +#arena { + -webkit-box-flex: 0.5; + border: none; + display: -webkit-box; +} + +#description { + height: 200px; + font-size: 12px; + padding-right: 16px; + overflow: auto; +} + +</style> +<!-- LayoutTests location is hard-coded to avoid duplication of code. --> +<script src="http://svn.webkit.org/repository/webkit/trunk/LayoutTests/media/media-file.js"></script> +<script> + +var MEDIA_FILES_LOCATION = 'http://svn.webkit.org/repository/webkit/trunk/LayoutTests/media/content'; + +var MEDIA_FILES; + +var TESTS = { + +'video': { + title: 'Typical video with controls', + description: '<p>Should have "Rewind", "Play", "Mute" buttons, timeline with time current and remaining shown.</p>' + + '<p>You may see brief resize of the video when the metadata arrives and a brief flash of the "Loading..." status.</p>' + + '<p>"Play" button should turn into "Pause" when playing, with current and remaining time should changing and the thumb ' + + 'of the timeline gliding smoothly along the track, updated every 200ms or so.</p>', + html: '<video controls src={video}></video>', +}, +'audio': { + title: 'Typical audio with controls', + description: '<p>Should have "Rewind", "Play", "Mute" buttons, timeline with time current and remaining shown.</p>' + + '<p>You may see brief resize of the video when the metadata arrives and a brief flash of the "Loading..." status.</p>' + + '<p>"Play" button should turn into "Pause" when playing, with current and remaining time should changing and the thumb ' + + 'of the timeline gliding smoothly along the track, updated every 200ms or so.</p>', + html: '<audio controls src={audio}></audio>', +}, +'video-volume': { + title: 'Video volume controls', + description: '<p>When hovering over the "Mute" button, a volume control should appear, showing its own "Mute" button and a volume slider.</p>' + + '<p>You should be able to control the volume with the slider and mute/unmute using the "Mute" button</p>' + + '<p>Moving the mouse away from the volume control should make the control disappear.</p>', + html: '<video controls src={video}></video>', +}, +'audio-volume': { + title: 'Audio volume controls', + description: '<p>When hovering over the "Mute" button, a volume control should appear, showing its own "Mute" button and a volume slider.</p>' + + '<p>You should be able to control the volume with the slider and mute/unmute using the "Mute" button</p>' + + '<p>Moving the mouse away from the volume control should make the control disappear.</p>', + html: '<audio style="padding-top: 200px;" controls src={video}></audio>', +}, +'audio-volume-neg': { + title: 'Audio volume controls (negative offset)', + description: '<p>When hovering over the "Mute" button, a volume control should appear, showing its own "Mute" button and a volume slider.</p>' + + '<p>In this particular layout, the volume control should be positioned directly under the "Mute" button, showing two "Mute" buttons --' + + 'one on the main controls and another on the volume control.</p>' + + '<p>You should be able to control the volume with the slider and mute/unmute using the "Mute" button</p>' + + '<p>Moving the mouse away from the volume control or the "Mute" button should make the control disappear.</p>', + html: '<audio controls src={video}></audio>', +}, +'video-zoomed': { + title: 'Magnified video', + description: '<p>Should have the same appearance as a typical video, except magnified 1.5 times.</p>' + + '<p>Make sure that the appearance of controls does not changed when changing the page zoom.</p>', + html: '<video controls src={video} style="zoom:150%"></video>', +}, +'controls-fade': { + title: 'Fading video controls', + description: '<p>When the video is playing, the controls should fade out when the mouse is away from the video and fade back in when the mouse is over the video.</p>' + + '<p>The controls should not fade when the video is paused.</p>', + html: '<video controls src={video} autoplay></video>', +}, +'timeline-resize': { + title: 'Timeline reacting to a resize', + description: '<p>When changing the width of the screen, the timeline should be the only one part of the controls changing its width.</p>' + + '<p>At a certain minimum point, the current and remaining time should disappear, giving up their space to the timeline.</p>' + + '<p>Conversely, when sizing the width up, the current and remaining time should come back into their places.', + html: '<video controls src={video} style="width:60%"></video>', +}, +'toggle-controls': { + title: 'Toggling video controls', + description: '<p>When clicking on "Toggle Controls" button, the controls should appear and disappear.</p>' + + '<p>The controls should have "Rewind", "Play", "Mute" buttons, timeline with time current and remaining shown.</p>', + js: function(click) { + if (!click) + return; + + var video = document.getElementsByTagName('video')[0]; + video.controls = !video.controls; + }, + html: '<video src={video}></video><br><button onclick="test(true)">Toggle Controls</button>', +}, +'toggle-controls-autoplay': { + title: 'Toggling video controls while playing', + description: '<p>When clicking on "Toggle Controls" button, the controls should appear and disappear.</p>' + + '<p>The controls should have "Rewind", "Pause", "Mute" buttons, timeline with time current and remaining shown,' + + 'with current and remaining time should changing and the thumb of the timeline gliding smoothly along the track, updated every 200ms or so.</p>' + + '<p>The controls should fade quickly if the mouse is not over the video.</p>', + js: function(click) { + if (!click) + return; + + var video = document.getElementsByTagName('video')[0]; + video.controls = !video.controls; + }, + html: '<video src={video} autoplay></video><br><button onclick="test(true)">Toggle Controls</button>', +}, +'closed-captions': { + title: 'Closed-captioned video', + description: '<p>If supported, should show a "CC" button, which should toggle display of closed captions.</p>' + + '<p>The state of the button should reflect the state of closed-captioning in the video (on at the start of the test).</p>', + js: function() { + var video = document.getElementsByTagName('video')[0]; + video.webkitClosedCaptionsVisible = true; + video.addEventListener('canplaythrough', function() + { + video.webkitClosedCaptionsVisible = true; + }, false); + }, + html: '<video controls src={video-captioned}></video>', +}, +'invalid': { + title: 'Video with invalid media', + description: 'Should have "Rewind" and "Play" buttons, and "Loading..." status ' + + 'if supported. Should blink "Loading...", but not twitch or flash other controls if reloaded', + html: '<video controls src="foobar"></video>' +}, +'video-no-source': { + title: 'Video with no source', + description: 'Should have "Rewind" and "Play" buttons. Should not blink/twitch if reloaded.', + html: '<video controls></video>' +}, +'audio-no-source': { + title: 'Audio with no source', + description: 'Should have "Rewind" and "Play" buttons. Should not blink/twitch if reloaded.', + html: '<audio controls></audio>' +} + +}; + +function configureMediaFiles() +{ + MEDIA_FILES = { + 'audio': absoluteUrl(findMediaFile('audio', MEDIA_FILES_LOCATION + '/test')), + 'video': absoluteUrl(findMediaFile('video', MEDIA_FILES_LOCATION + '/test')), + 'video-captioned': absoluteUrl(MEDIA_FILES_LOCATION + '/counting-captioned.mov') + } + + // FIXME: Add error reporting when resolving these fails. + + function absoluteUrl(url) + { + var a = document.createElement('a'); + a.href = url; + return '"' + a.href + '"'; + } +} + +function runTest() +{ + var test = TESTS[location.hash.substr(1)]; + if (!test) + return; + + var arena = document.getElementById('arena'); + document.getElementById('description').innerHTML = '<h2>' + test.title + '</h2>' + test.description; + if (test.html) { + arena.contentDocument.body.innerHTML = test.html.replace(/{([\w-]+)}/g, function(s, type) + { + return (MEDIA_FILES[type] || ''); + }); + } + + arena.contentDocument.body.appendChild(arena.contentDocument.createElement('script')).textContent = 'window.test = ' + (test.js ? String(test.js) : 'function() {}') + ';\nwindow.test()'; +} + +window.addEventListener('hashchange', runTest, false); + +window.addEventListener('DOMContentLoaded', function() +{ + configureMediaFiles(); + + var list = document.getElementById('list').appendChild(document.createElement('ul')); + for(var key in TESTS) + list.appendChild(document.createElement('li')).innerHTML = '<a href="#' + key + '" id="' + key + '">' + TESTS[key].title + '</a>'; + runTest(); +}, false); + +</script> +</head> +<body> +<div id="list"> + <h1>Manual Tests of Media Controls Appearance</h1> +</div> +<div id="test"> + <iframe id="arena"></iframe> + <div id="description"></div> +</div> +</body> +</html> diff --git a/Source/WebCore/manual-tests/navigation-during-onload-triggered-by-back.html b/Source/WebCore/manual-tests/navigation-during-onload-triggered-by-back.html new file mode 100644 index 0000000..09a5f57 --- /dev/null +++ b/Source/WebCore/manual-tests/navigation-during-onload-triggered-by-back.html @@ -0,0 +1,16 @@ +<html> +<head> +</head> +<body> +<p>Same-document navigation in onload triggered by back navigation.</p> + <ol> + <li>Start the layout test web server with Tools/Scripts/run-webkit-httpd.</li> + <li>Click <a href="resources/navigation-during-onload-container.html">here</a>.</li> + <li>Click Back.</li> + </ol> +<p>You should not crash.</p> +<p>We cannot use history.back() to test this, because it calls Page::goToItem +(which calls FrameLoader::stopAllLoaders) first. Chromium's back button does +not call stopAllLoaders first.</p> +</body> +</html> diff --git a/Source/WebCore/manual-tests/plugins/windowed-in-iframe.html b/Source/WebCore/manual-tests/plugins/windowed-in-iframe.html new file mode 100644 index 0000000..fdb937c --- /dev/null +++ b/Source/WebCore/manual-tests/plugins/windowed-in-iframe.html @@ -0,0 +1,21 @@ +<html xmlns="http://www.w3.org/1999/xhtml"> + +<head> +<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> +<title>Flash In IFrame Test File</title> +</head> + +<body> + + <b> This manual tests verifies that when a plugin is loaded as the src of an iframe + and that iframe is outside of the viewport of the page, the plugin does not appear + in the upper left of the frame. When this page loads you should not see the Flash movie. + It should be shown only after you scroll to the bottom of the page. This was a problem for + GTK+ in <a href="https://bugs.webkit.org/show_bug.cgi?id=37769">bug 37769</a></b> <br/><br/> + <div style="height:2000px;"> </div> + + <iframe width="600" height="368" src="test.swf" frameborder="0" allowfullscreen></iframe> +<br clear="all"> +</body> + +</html> diff --git a/Source/WebCore/manual-tests/popup-width-restriction-within-screen.html b/Source/WebCore/manual-tests/popup-width-restriction-within-screen.html new file mode 100644 index 0000000..1ef2567 --- /dev/null +++ b/Source/WebCore/manual-tests/popup-width-restriction-within-screen.html @@ -0,0 +1,71 @@ +<html> +<head> +<META HTTP-EQUIV="CONTENT-TYPE" CONTENT="text/html; charset=UTF-8"> +<title> +Test the popup list box's width is rectricted within screen. +</title> +</head> +<body> + +<h3>Test left to right popup list box's width is restricted within the left screen.</h3> +<ol> + <li> Setup dual screens.</li> + <li> Launch browser and maximize the browser window size in the left screen.</li> + <li> Enter a very long string into "Left to right" text input box.</li> + <li> Hit enter. </li> + <li> Go back and start to enter the same string again.</li> + <li> Make sure the popup list box's width which suggests the result doesn't exceed the left screen width. </li> +</ol> + +<H3>Test right to left popup window width is restricted within the right screen.</H3> +<ol> + <li> Setup dual screens.</li> + <li> Launch browser and maximize the browser window size in the right screen.</li> + <li> Enter a very long string into "Right to Left" text input box.</li> + <li> Hit enter.</li> + <li> Go back and start to enter the same string again.</li> + <li> Make sure the popup list box's width which suggests the result doesn't exceed the right screen width.</li> +</ol> + +<br> +<form action="form_action.asp" method="get"> + Left to right <input type="text" name="lname" /><br /> + Right to left <input type="text" name="fname" dir="rtl"/><br /> + <input type="submit" value="Submit" /> +</form> + +<H3>Test left to right select window width is restricted within the left screen.</H3> +<ol> + <li> Setup dual screens.</li> + <li> Launch browser and maximize the browser window size in the left screen.</li> + <li> Click the following <select> item.</li> + <li> Make sure the drop-down box width in the following <select> doesn't exceed the left screen width.</li> +</ol> + +<select style="width:100px"> +<option>Arabic</option> +<option>Hebrew</option> +<option>English (United States)</option> +<option>Chinese (Simplified Chiense)</option> +<option>Japanese (hogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehoge</option> +</select> + +<H3>Test right to left select window width is restricted within the right screen.</H3> +<ol> + <li> Setup dual screens.</li> + <li> Launch browser and maximize the browser window size in the right screen.</li> + <li> Click the following <select> item.</li> + <li> Make sure the drop-down box width in the following <select> doesn't exceed the right screen width.</li> +</ol> + +<select dir="rtl" style="width:100px"> +<option>Arabic</option> +<option>Hebrew</option> +<option>English (United States)</option> +<option>Chinese (Simplified Chiense)</option> +<option>Japanese (hogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehogehoge</option> +</select> + + +</body> +</html> diff --git a/Source/WebCore/manual-tests/resources/navigation-during-onload-container.html b/Source/WebCore/manual-tests/resources/navigation-during-onload-container.html new file mode 100644 index 0000000..cbeb992 --- /dev/null +++ b/Source/WebCore/manual-tests/resources/navigation-during-onload-container.html @@ -0,0 +1,10 @@ +<script> +onload = function() { + window.location.replace("#foo"); +}; +</script> +container +<iframe src="http://127.0.0.1:8000/history/resources/back-during-onload-middle.html"></iframe> +<p> +Click the back button and see if the browser crashes. +</p> |
