| Index: LayoutTests/http/tests/navigation/resources/back-send-referrer-helper.php
|
| diff --git a/LayoutTests/http/tests/navigation/resources/back-send-referrer-helper.php b/LayoutTests/http/tests/navigation/resources/back-send-referrer-helper.php
|
| index cfc1f5c420d18645ed63a90f077b90661a66caa0..80116864c0564db00905fc32b8ab0b8ae45a36ab 100644
|
| --- a/LayoutTests/http/tests/navigation/resources/back-send-referrer-helper.php
|
| +++ b/LayoutTests/http/tests/navigation/resources/back-send-referrer-helper.php
|
| @@ -18,8 +18,8 @@ window.name: <script>document.write(window.name)</script>
|
|
|
| <script>
|
| if (window.name == 1) {
|
| - // Navigate once more (in a timeout) to add a history entry.
|
| - setTimeout(function() {document.loopback.submit();}, 0);
|
| + // Navigate once more (in a RAF) to add a history entry.
|
| + requestAnimationFrame(function() {document.loopback.submit();});
|
| } else if (window.name == 2) {
|
| history.go(-1);
|
| } else {
|
|
|