Bug 95538

Summary: The options dictionary in Notification constructor should not accept event listeners
Product: WebKit Reporter: Jon Lee <jonlee>
Component: DOMAssignee: Jon Lee <jonlee>
Status: RESOLVED FIXED    
Severity: Normal CC: ap, eoconnor, jberlin, jianli, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: 528+ (Nightly build)   
Hardware: Mac   
OS: OS X 10.8   
Attachments:
Description Flags
Patch ap: review+

Jon Lee
Reported 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
Attachments
Patch (5.41 KB, patch)
2012-08-31 14:06 PDT, Jon Lee
ap: review+
Radar WebKit Bug Importer
Comment 1 2012-08-31 01:46:52 PDT
Jon Lee
Comment 2 2012-08-31 14:06:25 PDT
Jon Lee
Comment 3 2012-09-10 11:07:55 PDT
Note You need to log in before you can comment on or make changes to this bug.