e.g. void func(in DOMString str); The Web IDL spec no longer supports 'in'. We'd like to remove 'in' from WebKit IDL files. timothy, thorton, Sam: This change will break Safari's internal build. Safari's internal IDL files have to be updated too (Please just remove 'in' from DOM method signatures). Please ping me once you're ready:)
Created attachment 176171 [details] Patch
Comment on attachment 176171 [details] Patch Attachment 176171 [details] did not pass qt-wk2-ews (qt): Output: http://queues.webkit.org/results/14988903
(In reply to comment #0) > timothy, thorton, Sam: This change will break Safari's internal build. Safari's internal IDL files have to be updated too (Please just remove 'in' from DOM method signatures). Please ping me once you're ready:) Why don't you make "in" support just *optional*? If it is optional, you can remove "in" in WebKit sources now.
(In reply to comment #3) > (In reply to comment #0) > > timothy, thorton, Sam: This change will break Safari's internal build. Safari's internal IDL files have to be updated too (Please just remove 'in' from DOM method signatures). Please ping me once you're ready:) > > Why don't you make "in" support just *optional*? If it is optional, you can remove "in" in WebKit sources now. That's possible. Want to hear thoughts from Apple folks. We're trying to remove old syntaxes from WebKit IDL files and Safari's internal builds in sync (c.f. bug 102670). At present, the IDL parser is full of old and optionally supported legacy syntaxes. We want to remove them at some point (c.f. bug 98980).
Removing "in" on our end will not be that simple unless there is a script you have to do it?
(In reply to comment #5) > Removing "in" on our end will not be that simple unless there is a script you have to do it? Thanks! I used the following scripts. Does it work? $ cd Source/WebCore/ $ find . -regex '.+.idl' | xargs sed -r -i 's/(\()\s*in\s+/\1/g' $ find . -regex '.+.idl' | xargs sed -r -i 's/^(\s+)in\s+/\1/g' $ find . -regex '.+.idl' | xargs sed -r -i 's/(,\s+)in\s+/\1/g'
Created attachment 176184 [details] Patch
Now bots are green. Would you review the patch so that I can land it once Safari's side gets ready?
Comment on attachment 176184 [details] Patch The change itself looks good. We should, of course, be polite and not break the internal Safari build.
*** This bug has been marked as a duplicate of bug 115418 ***