diff options
Diffstat (limited to 'Tools/TestWebKitAPI/Tests/WebKit2/should-open-external-schemes.html')
-rw-r--r-- | Tools/TestWebKitAPI/Tests/WebKit2/should-open-external-schemes.html | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/Tools/TestWebKitAPI/Tests/WebKit2/should-open-external-schemes.html b/Tools/TestWebKitAPI/Tests/WebKit2/should-open-external-schemes.html new file mode 100644 index 000000000..299e4d66a --- /dev/null +++ b/Tools/TestWebKitAPI/Tests/WebKit2/should-open-external-schemes.html @@ -0,0 +1,21 @@ +<!DOCTYPE html> +<html> +<head> +<script> +function navigateToTelURL() +{ + window.location.href = "tel:+1 (408) 996-1010"; +} + +function navigateToTelURLInZeroTimer() +{ + window.setTimeout(navigateToTelURL, 0); +} + +function navigateToTelURLInNestedZeroTimer() +{ + window.setTimeout(navigateToTelURLInZeroTimer, 0); +} +</script> +</head> +</html> |