WebSocket: iframe in reload-crash.html reloads forever
authoryutak@chromium.org <yutak@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 31 Oct 2011 02:50:30 +0000 (02:50 +0000)
committeryutak@chromium.org <yutak@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 31 Oct 2011 02:50:30 +0000 (02:50 +0000)
commitb416e6d46c9a5ca50e68eb58caed6e0ab50b05f1
tree2d97c46e36de8a59cf6d5345682d5e7031d8bbe9
parentb08f1af04b4eaf8ea1223736c332a5e3a25dae8f
WebSocket: iframe in reload-crash.html reloads forever
https://bugs.webkit.org/show_bug.cgi?id=71098

Reviewed by Kent Tamura.

iframe in this test should not get reloaded more than once.

* http/tests/websocket/tests/hixie76/reload-crash.html:
Provide the value of reloadCount to the script in iframe.
* http/tests/websocket/tests/hixie76/resources/reload-crash-iframe.html:
Call location.reload() only if reloadCount is zero.
* http/tests/websocket/tests/hybi/reload-crash.html:
* http/tests/websocket/tests/hybi/resources/reload-crash-iframe.html:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@98835 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/http/tests/websocket/tests/hixie76/reload-crash.html
LayoutTests/http/tests/websocket/tests/hixie76/resources/reload-crash-iframe.html
LayoutTests/http/tests/websocket/tests/hybi/reload-crash.html
LayoutTests/http/tests/websocket/tests/hybi/resources/reload-crash-iframe.html