Bug 69893

Summary: Implement a BeforeLoadEvent constructor for JSC
Product: WebKit Reporter: Kentaro Hara <haraken>
Component: DOMAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: abarth, ap, dominicc, sam, webkit.review.bot
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 67824    
Attachments:
Description Flags
Patch none

Kentaro Hara
Reported 2011-10-11 18:57:36 PDT
We have been implementing constructors of Events. BeforeLoadEvent should have a constructor. There is no spec for the BeforeLoadEvent constructor, since it is WebKit-specific. Judging from the current IDL of initBeforeLoadEvent(), the IDL of the BeforeLoadEvent constructor should be as follows. [Constructor(DOMString type, optional BeforeLoadEventInit eventInitDict)] interface BeforeLoadEvent : Event { ...; } dictionary BeforeLoadEventInit : EventInit { DOMString url; }
Attachments
Patch (14.05 KB, patch)
2011-10-11 23:35 PDT, Kentaro Hara
no flags
Kentaro Hara
Comment 1 2011-10-11 23:35:36 PDT
Adam Barth
Comment 2 2011-10-12 09:45:37 PDT
Comment on attachment 110644 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=110644&action=review > Source/WebCore/dom/BeforeLoadEvent.h:38 > + BeforeLoadEventInit() > + { > + }; You can these all on one line with a space between the { } if you want.
WebKit Review Bot
Comment 3 2011-10-12 16:39:48 PDT
Comment on attachment 110644 [details] Patch Rejecting attachment 110644 [details] from commit-queue. haraken@google.com does not have committer permissions according to http://trac.webkit.org/browser/trunk/Tools/Scripts/webkitpy/common/config/committers.py. - If you do not have committer rights please read http://webkit.org/coding/contributing.html for instructions on how to use bugzilla flags. - If you have committer rights please correct the error in Tools/Scripts/webkitpy/common/config/committers.py by adding yourself to the file (no review needed). The commit-queue restarts itself every 2 hours. After restart the commit-queue will correctly respect your committer rights.
Adam Barth
Comment 4 2011-10-12 16:40:41 PDT
Kentaro, you're not a committer?
Adam Barth
Comment 5 2011-10-12 16:41:22 PDT
Oh, maybe you have @chromium.org and @google.com account in bugzilla?
Kentaro Hara
Comment 6 2011-10-12 16:44:52 PDT
(In reply to comment #5) > Oh, maybe you have @chromium.org and @google.com account in bugzilla? Yes, sorry, I marked cq+ on @google.com by mistake... And thank you for cq+ this!
WebKit Review Bot
Comment 7 2011-10-12 17:34:25 PDT
Comment on attachment 110644 [details] Patch Clearing flags on attachment: 110644 Committed r97324: <http://trac.webkit.org/changeset/97324>
WebKit Review Bot
Comment 8 2011-10-12 17:34:30 PDT
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.