Thu, 15 Jan 2015 15:55:04 +0100
Back out 97036ab72558 which inappropriately compared turds to third parties.
michael@0 | 1 | <!-- |
michael@0 | 2 | Any copyright is dedicated to the Public Domain. |
michael@0 | 3 | http://creativecommons.org/publicdomain/zero/1.0/ |
michael@0 | 4 | --> |
michael@0 | 5 | <html> |
michael@0 | 6 | <head> |
michael@0 | 7 | <title>Bug 931307</title> |
michael@0 | 8 | <script type="application/javascript" src="/tests/SimpleTest/SimpleTest.js"></script> |
michael@0 | 9 | <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css"/> |
michael@0 | 10 | </head> |
michael@0 | 11 | <body> |
michael@0 | 12 | <pre id="test"> |
michael@0 | 13 | <script type="application/javascript"><!-- |
michael@0 | 14 | |
michael@0 | 15 | SimpleTest.waitForExplicitFinish(); |
michael@0 | 16 | new Notification(""); |
michael@0 | 17 | var promise = Notification.get(); |
michael@0 | 18 | promise.then( |
michael@0 | 19 | function onSuccess() { |
michael@0 | 20 | ok(true, "No crash!"); |
michael@0 | 21 | SimpleTest.finish(); |
michael@0 | 22 | }, |
michael@0 | 23 | function onFailure() { |
michael@0 | 24 | ok(false, "Should not get an error in promise callback"); |
michael@0 | 25 | } |
michael@0 | 26 | ); |
michael@0 | 27 | |
michael@0 | 28 | </script> |
michael@0 | 29 | </pre> |
michael@0 | 30 | </body> |
michael@0 | 31 | </html> |