Closed Bug 881256 Opened 12 years ago Closed 6 years ago

Add polyfill to global snippet JS to support new custom event API.

Categories

(Snippets Graveyard :: General, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: osmose, Unassigned)

Details

The global snippet JS currently uses document.createEvent to create a custom event, but that method is deprecated in favor of CustomEvent instead (see https://developer.mozilla.org/en-US/docs/Web/API/document.createEvent and https://developer.mozilla.org/en-US/docs/Web/API/CustomEvent). Since the global JS is intended to support Firefox 4 and up, we should add a polyfill to support both, as CustomEvent was introduced in Firefox 6.

Well it's been a long time since Firefox 6 and many things have changed. I pretty sure we can close this one.

Thanks :osmose!

Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → INVALID
Product: Snippets → Snippets Graveyard
You need to log in before you can comment on or make changes to this bug.