Index: LayoutTests/fast/notifications/notifications-rtl.html |
diff --git a/LayoutTests/fast/notifications/notifications-rtl.html b/LayoutTests/fast/notifications/notifications-rtl.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..aa67dd1a5f62b87c7e8aa9b1b4fdb5feebfe835f |
--- /dev/null |
+++ b/LayoutTests/fast/notifications/notifications-rtl.html |
@@ -0,0 +1,39 @@ |
+<!DOCTYPE html> |
+<html> |
+<head> |
+ <script type="text/javascript"> |
+ function log(message) |
+ { |
+ document.getElementById("result").innerHTML += message + "<br>"; |
+ } |
+ |
+ function runTests() |
+ { |
+ if (window.testRunner) { |
+ testRunner.grantWebNotificationPermission("file://"); |
+ testRunner.dumpAsText(); |
+ if (testRunner.dumpNotifications) |
+ testRunner.dumpNotifications(); |
+ } |
+ |
+ if (!window.webkitNotifications) { |
+ log("FAIL: No webkitNotifications interface!"); |
+ } |
+ |
+ var M = window.webkitNotifications.createNotification("", "New E-mail", "Meet me tonight at 8!"); |
+ M.dir = "rtl"; |
+ M.show(); |
+ } |
+ </script> |
+</head> |
+<body> |
+<p>Showing a notification with direction "rtl"...</p> |
+ |
+<div id="result"></div> |
+ |
+<script type="text/javascript"> |
+runTests(); |
+</script> |
+ |
+</body> |
+</html> |