Bug 95538 - The options dictionary in Notification constructor should not accept event listeners
Summary: The options dictionary in Notification constructor should not accept event li...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: DOM (show other bugs)
Version: 528+ (Nightly build)
Hardware: Macintosh OS X 10.8
: P2 Normal
Assignee: Jon Lee
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2012-08-31 01:46 PDT by Jon Lee
Modified: 2012-09-10 11:07 PDT (History)
5 users (show)

See Also:


Attachments
Patch (5.41 KB, patch)
2012-08-31 14:06 PDT, Jon Lee
ap: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jon Lee 2012-08-31 01:46:27 PDT
According to the latest spec, event listeners can only be set after the Notification has been created. A previous version allowed them to be set in the options dictionary.

http://dvcs.w3.org/hg/notifications/raw-file/tip/Overview.html#api
Comment 1 Radar WebKit Bug Importer 2012-08-31 01:46:52 PDT
<rdar://problem/12213901>
Comment 2 Jon Lee 2012-08-31 14:06:25 PDT
Created attachment 161768 [details]
Patch
Comment 3 Jon Lee 2012-09-10 11:07:55 PDT
Committed r128080: <http://trac.webkit.org/changeset/128080>