Add historical test for initHashChangeEvent

Differential Revision: https://phabricator.services.mozilla.com/D206759

bugzilla-url: https://bugzilla.mozilla.org/show_bug.cgi?id=1889434
gecko-commit: e9b477f0c985ea0535aab4cc09de6f50355a2621
gecko-reviewers: smaug
diff --git a/html/dom/historical.html b/html/dom/historical.html
index 396e57a..2563810 100644
--- a/html/dom/historical.html
+++ b/html/dom/historical.html
@@ -52,4 +52,9 @@
 test(() => {
   assert_false("HTMLTableHeaderCellElement" in window);
 }, "HTMLTableHeaderCellElement interface is removed")
+
+// removed in https://github.com/whatwg/html/commit/6e4bcf5630d08e03212ad4e1a3c78beecf2a92fa
+test(() => {
+  assert_false("initHashChangeEvent" in HashChangeEvent.prototype);
+}, "HashChangeEvent's initHashChangeEvent method is removed")
 </script>