Calling document.createEvent() with non-whitelisted event class name should throw an error

Confirmed Issue #6845662 • Assigned to Travis L.

Details

Created
Mar 11, 2016
Privacy
This issue is public.
Reports
Reported by 1 person

Sign in to watch or report this issue.

Steps to reproduce

URL:

Repro Steps:

  1. Open http://w3c-test.org/dom/nodes/Document-createEvent.html in Edge
  2. Observe the test results

Expected Results:

Per https://dom.spec.whatwg.org/#dom-document-createevent , calling document.createEvent() with an event class name not included in the table in Step 2 of that algorithm should cause a NotSupportedError to be thrown, rather than returning a new event instance.

Actual Results:

Dev Channel specific:

No

Attachments

0 attachments

    Comments and activity

    • Microsoft Edge Team

      Changed Assigned To to “Mara P.”

      Changed Assigned To to “Travis L.”

      Changed Status to “Confirmed”

      Changed Assigned To from “Travis L.” to “Steven K.”

      Changed Assigned To from “Steven K.” to “Travis L.”

    You need to sign in to your Microsoft account to add a comment.

    Sign in