Bug 103345

Summary: IDL attribute [SuppressToJSObject] is no longer used
Product: WebKit Reporter: Kentaro Hara <haraken>
Component: WebCore JavaScriptAssignee: Kentaro Hara <haraken>
Status: NEW    
Severity: Normal CC: abarth, d-r, fmalita, japhet, pdr, schenney, webkit.review.bot
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch
none
patch for landing
none
Patch abarth: review-, buildbot: commit-queue-

Kentaro Hara
Reported 2012-11-26 19:32:16 PST
We can remove [SuppressToJSObject] from code generators.
Attachments
Patch (3.55 KB, patch)
2012-11-26 19:34 PST, Kentaro Hara
no flags
patch for landing (4.05 KB, patch)
2012-11-26 20:47 PST, Kentaro Hara
no flags
Patch (9.43 KB, patch)
2012-11-26 21:43 PST, Kentaro Hara
abarth: review-
buildbot: commit-queue-
Kentaro Hara
Comment 1 2012-11-26 19:34:11 PST
Adam Barth
Comment 2 2012-11-26 20:42:30 PST
Kentaro Hara
Comment 3 2012-11-26 20:47:08 PST
Created attachment 176157 [details] patch for landing
Kentaro Hara
Comment 4 2012-11-26 20:47:37 PST
Comment on attachment 176157 [details] patch for landing > Should we remove it from http://trac.webkit.org/browser/trunk/Source/WebCore/bindings/scripts/IDLAttributes.txt as well? Done. Thanks!
WebKit Review Bot
Comment 5 2012-11-26 21:09:23 PST
Comment on attachment 176157 [details] patch for landing Rejecting attachment 176157 [details] from commit-queue. Failed to run "['/mnt/git/webkit-commit-queue/Tools/Scripts/webkit-patch', '--status-host=queues.webkit.org', '-..." exit_code: 2 Last 500 characters of output: TYPE=Release all ACTION Resolving [Supplemental=XXX] dependencies in all IDL files out/Release/obj/gen/supplemental_dependency.tmp IDL ATTRIBUTE CHECKER ERROR: Unknown IDL attribute [SuppressToJSObject] is found at SVGUnitTypes.idl. If you want to add a new IDL attribute, you need to add it to WebCore/bindings/scripts/IDLAttributes.txt and add explanations to the WebKit IDL document (https://trac.webkit.org/wiki/WebKitIDL). make: *** [out/Release/obj/gen/supplemental_dependency.tmp] Error 255 Full output: http://queues.webkit.org/results/14986948
Kentaro Hara
Comment 6 2012-11-26 21:15:00 PST
oh, SVG idls are using the IDL attribute. Needs more investigations.
Kentaro Hara
Comment 7 2012-11-26 21:43:57 PST
Kentaro Hara
Comment 8 2012-11-26 21:44:26 PST
abarth: review again please ?
Build Bot
Comment 9 2012-11-26 22:25:07 PST
Adam Barth
Comment 10 2012-11-26 22:57:32 PST
Comment on attachment 176167 [details] Patch Maybe its useful as an error checking so folks don't call them accidentally? Perhaps the toJS function won't work correctly since these are mixins.
Kentaro Hara
Comment 11 2012-11-26 23:04:01 PST
(In reply to comment #10) > (From update of attachment 176167 [details]) > Maybe its useful as an error checking so folks don't call them accidentally? Perhaps the toJS function won't work correctly since these are mixins. Ah, makes sense, thanks. Then I'll add the explanation to https://trac.webkit.org/wiki/WebKitIDL . I might want to rename it to [DoNotGeneratorToJSObject] though.
Adam Barth
Comment 12 2012-11-26 23:09:15 PST
The current name seems fine, but we should add the explanation to the wiki.
Kentaro Hara
Comment 13 2012-11-26 23:15:58 PST
(In reply to comment #12) > The current name seems fine, but we should add the explanation to the wiki. Done.
Note You need to log in before you can comment on or make changes to this bug.