| <!DOCTYPE html> |
| <html> |
| <head> |
| <title>Tests the values that the Badge API doesn't support.</title> |
| <script src="../resources/testharness.js"></script> |
| <script src="../resources/testharnessreport.js"></script> |
| <script src="file:///gen/layout_test_data/mojo/public/js/mojo_bindings.js"></script> |
| <script src="file:///gen/third_party/blink/public/platform/modules/badging/badging.mojom.js"></script> |
| <script src="resources/mock-badge-service.js"></script> |
| </head> |
| <body> |
| <script> |
| |
| badge_test(() => { ExperimentalBadge.set(-1); }, 'setInteger', 'TypeError'); |
| |
| badge_test(() => { ExperimentalBadge.set("Foo"); }, 'setInteger', 'TypeError'); |
| |
| </script> |
| </body> |
| </html> |