summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/html/browsers/the-window-object/historical.window.js
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/html/browsers/the-window-object/historical.window.js')
-rw-r--r--testing/web-platform/tests/html/browsers/the-window-object/historical.window.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/testing/web-platform/tests/html/browsers/the-window-object/historical.window.js b/testing/web-platform/tests/html/browsers/the-window-object/historical.window.js
new file mode 100644
index 0000000000..653f12b464
--- /dev/null
+++ b/testing/web-platform/tests/html/browsers/the-window-object/historical.window.js
@@ -0,0 +1,4 @@
+test(() => {
+ assert_false("showModalDialog" in window)
+ assert_false("showModalDialog" in Window.prototype)
+}, "showModalDialog() has been removed from the platform")