WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
Bug 120584
Generate isFooElement() functions from tagname data.
https://bugs.webkit.org/show_bug.cgi?id=120584
Summary
Generate isFooElement() functions from tagname data.
Andreas Kling
Reported
2013-09-01 12:20:58 PDT
Generate isFooElement() functions from tagname data.
Attachments
Patch
(41.50 KB, patch)
2013-09-01 12:38 PDT
,
Andreas Kling
koivisto
: review+
buildbot
: commit-queue-
Details
Formatted Diff
Diff
Patch for landing?
(41.95 KB, patch)
2013-09-02 08:31 PDT
,
Andreas Kling
commit-queue
: commit-queue-
Details
Formatted Diff
Diff
No? This time?
(41.95 KB, patch)
2013-09-02 08:33 PDT
,
Andreas Kling
no flags
Details
Formatted Diff
Diff
Without kling-relative paths :|
(41.81 KB, patch)
2013-09-02 09:30 PDT
,
Andreas Kling
commit-queue
: commit-queue-
Details
Formatted Diff
Diff
With HTMLElementTypeChecks.h copied to privateheaders
(41.84 KB, patch)
2013-09-02 10:23 PDT
,
Andreas Kling
commit-queue
: commit-queue-
Details
Formatted Diff
Diff
Patch for landing...
(41.80 KB, patch)
2013-09-02 11:55 PDT
,
Andreas Kling
no flags
Details
Formatted Diff
Diff
Show Obsolete
(5)
View All
Add attachment
proposed patch, testcase, etc.
Andreas Kling
Comment 1
2013-09-01 12:38:27 PDT
Created
attachment 210253
[details]
Patch
WebKit Commit Bot
Comment 2
2013-09-01 12:40:17 PDT
Attachment 210253
[details]
did not pass style-queue: Failed to run "['Tools/Scripts/check-webkit-style', '--diff-files', u'Source/WebCore/ChangeLog', u'Source/WebCore/GNUmakefile.am', u'Source/WebCore/GNUmakefile.list.am', u'Source/WebCore/WebCore.vcxproj/WebCore.vcxproj', u'Source/WebCore/WebCore.xcodeproj/project.pbxproj', u'Source/WebCore/dom/make_names.pl', u'Source/WebCore/html/HTMLAnchorElement.h', u'Source/WebCore/html/HTMLAreaElement.h', u'Source/WebCore/html/HTMLAudioElement.h', u'Source/WebCore/html/HTMLBaseElement.h', u'Source/WebCore/html/HTMLCanvasElement.h', u'Source/WebCore/html/HTMLElement.h', u'Source/WebCore/html/HTMLFieldSetElement.h', u'Source/WebCore/html/HTMLFormElement.h', u'Source/WebCore/html/HTMLFrameSetElement.h', u'Source/WebCore/html/HTMLImageElement.h', u'Source/WebCore/html/HTMLInputElement.h', u'Source/WebCore/html/HTMLLabelElement.h', u'Source/WebCore/html/HTMLLegendElement.h', u'Source/WebCore/html/HTMLMapElement.h', u'Source/WebCore/html/HTMLMeterElement.h', u'Source/WebCore/html/HTMLOptGroupElement.h', u'Source/WebCore/html/HTMLOptionElement.h', u'Source/WebCore/html/HTMLParamElement.h', u'Source/WebCore/html/HTMLProgressElement.h', u'Source/WebCore/html/HTMLScriptElement.h', u'Source/WebCore/html/HTMLSourceElement.h', u'Source/WebCore/html/HTMLStyleElement.h', u'Source/WebCore/html/HTMLTableElement.h', u'Source/WebCore/html/HTMLTableRowElement.h', u'Source/WebCore/html/HTMLTagNames.in', u'Source/WebCore/html/HTMLTextAreaElement.h', u'Source/WebCore/html/HTMLTitleElement.h', u'Source/WebCore/html/HTMLTrackElement.h', u'Source/WebCore/svg/SVGElement.h', u'Source/WebCore/svg/SVGFontElement.h', u'Source/WebCore/svg/SVGFontFaceElement.h', u'Source/WebCore/svg/SVGForeignObjectElement.h', u'Source/WebCore/svg/SVGImageElement.h', u'Source/WebCore/svg/SVGScriptElement.h', u'Source/WebCore/svg/svgtags.in']" exit_code: 1 Source/WebCore/html/HTMLElement.h:27: Alphabetical sorting problem. [build/include_order] [4] Total errors found: 1 in 10 files If any of these errors are false positives, please file a bug against check-webkit-style.
Antti Koivisto
Comment 3
2013-09-01 12:57:51 PDT
Comment on
attachment 210253
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=210253&action=review
r=me, nice, so much red!
> Source/WebCore/dom/make_names.pl:648 > +sub printTypeChecksHeaderFile > +{ > + my ($headerPath) = shift; > + my $F; > + open F, ">$headerPath"; > + printLicenseHeader($F); > +
Could this include some information about how the file was generated on top of the header?
> Source/WebCore/html/HTMLTagNames.in:27 > body > br interfaceName=HTMLBRElement > button constructorNeedsFormElement > -canvas > +canvas generateTypeChecks > caption interfaceName=HTMLTableCaptionElement
It would nice to get these for all types where it works (either automatically or adding generateTypeChecks). It is kinda non-obvious you need to locate this file and add some magic keywords to fix the problem.
Build Bot
Comment 4
2013-09-01 13:17:11 PDT
Comment on
attachment 210253
[details]
Patch
Attachment 210253
[details]
did not pass mac-wk2-ews (mac-wk2): Output:
http://webkit-queues.appspot.com/results/1641775
Build Bot
Comment 5
2013-09-01 13:21:27 PDT
Comment on
attachment 210253
[details]
Patch
Attachment 210253
[details]
did not pass mac-ews (mac): Output:
http://webkit-queues.appspot.com/results/1657705
Andreas Kling
Comment 6
2013-09-02 08:11:37 PDT
Committed
r154955
: <
http://trac.webkit.org/changeset/154955
>
WebKit Commit Bot
Comment 7
2013-09-02 08:15:58 PDT
Re-opened since this is blocked by
bug 120605
Andreas Kling
Comment 8
2013-09-02 08:31:15 PDT
Created
attachment 210289
[details]
Patch for landing? Xcode4 on bots didn't like my xcodeproj despite it building fine locally :( Let's see if this works better.
WebKit Commit Bot
Comment 9
2013-09-02 08:32:59 PDT
Comment on
attachment 210289
[details]
Patch for landing? Rejecting
attachment 210289
[details]
from commit-queue. Failed to run "['/Volumes/Data/EWS/WebKit/Tools/Scripts/webkit-patch', '--status-host=webkit-queues.appspot.com', '--bot-id=webkit-cq-01', 'validate-changelog', '--check-oops', '--non-interactive', 210289, '--port=mac']" exit_code: 1 cwd: /Volumes/Data/EWS/WebKit ChangeLog entry in Source/WebCore/ChangeLog contains OOPS!. Full output:
http://webkit-queues.appspot.com/results/1688031
Andreas Kling
Comment 10
2013-09-02 08:33:49 PDT
Created
attachment 210290
[details]
No? This time?
WebKit Commit Bot
Comment 11
2013-09-02 08:34:54 PDT
Attachment 210290
[details]
did not pass style-queue: Failed to run "['Tools/Scripts/check-webkit-style', '--diff-files', u'Source/WebCore/ChangeLog', u'Source/WebCore/GNUmakefile.am', u'Source/WebCore/GNUmakefile.list.am', u'Source/WebCore/WebCore.vcxproj/WebCore.vcxproj', u'Source/WebCore/WebCore.xcodeproj/project.pbxproj', u'Source/WebCore/dom/make_names.pl', u'Source/WebCore/html/HTMLAnchorElement.h', u'Source/WebCore/html/HTMLAreaElement.h', u'Source/WebCore/html/HTMLAudioElement.h', u'Source/WebCore/html/HTMLBaseElement.h', u'Source/WebCore/html/HTMLCanvasElement.h', u'Source/WebCore/html/HTMLElement.h', u'Source/WebCore/html/HTMLFieldSetElement.h', u'Source/WebCore/html/HTMLFormElement.h', u'Source/WebCore/html/HTMLFrameSetElement.h', u'Source/WebCore/html/HTMLImageElement.h', u'Source/WebCore/html/HTMLInputElement.h', u'Source/WebCore/html/HTMLLabelElement.h', u'Source/WebCore/html/HTMLLegendElement.h', u'Source/WebCore/html/HTMLMapElement.h', u'Source/WebCore/html/HTMLMeterElement.h', u'Source/WebCore/html/HTMLOptGroupElement.h', u'Source/WebCore/html/HTMLOptionElement.h', u'Source/WebCore/html/HTMLParamElement.h', u'Source/WebCore/html/HTMLProgressElement.h', u'Source/WebCore/html/HTMLScriptElement.h', u'Source/WebCore/html/HTMLSourceElement.h', u'Source/WebCore/html/HTMLStyleElement.h', u'Source/WebCore/html/HTMLTableElement.h', u'Source/WebCore/html/HTMLTableRowElement.h', u'Source/WebCore/html/HTMLTagNames.in', u'Source/WebCore/html/HTMLTextAreaElement.h', u'Source/WebCore/html/HTMLTitleElement.h', u'Source/WebCore/html/HTMLTrackElement.h', u'Source/WebCore/svg/SVGElement.h', u'Source/WebCore/svg/SVGFontElement.h', u'Source/WebCore/svg/SVGFontFaceElement.h', u'Source/WebCore/svg/SVGForeignObjectElement.h', u'Source/WebCore/svg/SVGImageElement.h', u'Source/WebCore/svg/SVGScriptElement.h', u'Source/WebCore/svg/svgtags.in']" exit_code: 1 Source/WebCore/html/HTMLElement.h:28: Alphabetical sorting problem. [build/include_order] [4] Total errors found: 1 in 10 files If any of these errors are false positives, please file a bug against check-webkit-style.
Andreas Kling
Comment 12
2013-09-02 08:56:41 PDT
Oh wow I see the problem. I am an idiot.
Andreas Kling
Comment 13
2013-09-02 09:30:54 PDT
Created
attachment 210295
[details]
Without kling-relative paths :|
WebKit Commit Bot
Comment 14
2013-09-02 09:32:22 PDT
Attachment 210295
[details]
did not pass style-queue: Failed to run "['Tools/Scripts/check-webkit-style', '--diff-files', u'Source/WebCore/ChangeLog', u'Source/WebCore/GNUmakefile.am', u'Source/WebCore/GNUmakefile.list.am', u'Source/WebCore/WebCore.vcxproj/WebCore.vcxproj', u'Source/WebCore/WebCore.xcodeproj/project.pbxproj', u'Source/WebCore/dom/make_names.pl', u'Source/WebCore/html/HTMLAnchorElement.h', u'Source/WebCore/html/HTMLAreaElement.h', u'Source/WebCore/html/HTMLAudioElement.h', u'Source/WebCore/html/HTMLBaseElement.h', u'Source/WebCore/html/HTMLCanvasElement.h', u'Source/WebCore/html/HTMLElement.h', u'Source/WebCore/html/HTMLFieldSetElement.h', u'Source/WebCore/html/HTMLFormElement.h', u'Source/WebCore/html/HTMLFrameSetElement.h', u'Source/WebCore/html/HTMLImageElement.h', u'Source/WebCore/html/HTMLInputElement.h', u'Source/WebCore/html/HTMLLabelElement.h', u'Source/WebCore/html/HTMLLegendElement.h', u'Source/WebCore/html/HTMLMapElement.h', u'Source/WebCore/html/HTMLMeterElement.h', u'Source/WebCore/html/HTMLOptGroupElement.h', u'Source/WebCore/html/HTMLOptionElement.h', u'Source/WebCore/html/HTMLParamElement.h', u'Source/WebCore/html/HTMLProgressElement.h', u'Source/WebCore/html/HTMLScriptElement.h', u'Source/WebCore/html/HTMLSourceElement.h', u'Source/WebCore/html/HTMLStyleElement.h', u'Source/WebCore/html/HTMLTableElement.h', u'Source/WebCore/html/HTMLTableRowElement.h', u'Source/WebCore/html/HTMLTagNames.in', u'Source/WebCore/html/HTMLTextAreaElement.h', u'Source/WebCore/html/HTMLTitleElement.h', u'Source/WebCore/html/HTMLTrackElement.h', u'Source/WebCore/svg/SVGElement.h', u'Source/WebCore/svg/SVGFontElement.h', u'Source/WebCore/svg/SVGFontFaceElement.h', u'Source/WebCore/svg/SVGForeignObjectElement.h', u'Source/WebCore/svg/SVGImageElement.h', u'Source/WebCore/svg/SVGScriptElement.h', u'Source/WebCore/svg/svgtags.in']" exit_code: 1 Source/WebCore/html/HTMLElement.h:28: Alphabetical sorting problem. [build/include_order] [4] Total errors found: 1 in 10 files If any of these errors are false positives, please file a bug against check-webkit-style.
WebKit Commit Bot
Comment 15
2013-09-02 10:05:27 PDT
Comment on
attachment 210295
[details]
Without kling-relative paths :| Rejecting
attachment 210295
[details]
from commit-queue. Failed to run "['/Volumes/Data/EWS/WebKit/Tools/Scripts/webkit-patch', '--status-host=webkit-queues.appspot.com', '--bot-id=webkit-cq-03', 'build', '--no-clean', '--no-update', '--build-style=release', '--port=mac']" exit_code: 2 cwd: /Volumes/Data/EWS/WebKit Last 500 characters of output: mmands failed: CompileC /Volumes/Data/EWS/WebKit/WebKitBuild/WebKit.build/Release/WebKit.build/Objects-normal/x86_64/WebChromeClient.o mac/WebCoreSupport/WebChromeClient.mm normal x86_64 objective-c++ com.apple.compilers.llvm.clang.1_0.compiler CompileC /Volumes/Data/EWS/WebKit/WebKitBuild/WebKit.build/Release/WebKit.build/Objects-normal/x86_64/WebFrameLoaderClient.o mac/WebCoreSupport/WebFrameLoaderClient.mm normal x86_64 objective-c++ com.apple.compilers.llvm.clang.1_0.compiler (2 failures) Full output:
http://webkit-queues.appspot.com/results/1680520
Build Bot
Comment 16
2013-09-02 10:09:49 PDT
Comment on
attachment 210295
[details]
Without kling-relative paths :|
Attachment 210295
[details]
did not pass mac-wk2-ews (mac-wk2): Output:
http://webkit-queues.appspot.com/results/1684059
Build Bot
Comment 17
2013-09-02 10:16:50 PDT
Comment on
attachment 210295
[details]
Without kling-relative paths :|
Attachment 210295
[details]
did not pass mac-ews (mac): Output:
http://webkit-queues.appspot.com/results/1689028
Andreas Kling
Comment 18
2013-09-02 10:23:25 PDT
Created
attachment 210299
[details]
With HTMLElementTypeChecks.h copied to privateheaders
WebKit Commit Bot
Comment 19
2013-09-02 10:58:01 PDT
Comment on
attachment 210299
[details]
With HTMLElementTypeChecks.h copied to privateheaders Rejecting
attachment 210299
[details]
from commit-queue. Failed to run "['/Volumes/Data/EWS/WebKit/Tools/Scripts/webkit-patch', '--status-host=webkit-queues.appspot.com', '--bot-id=webkit-cq-03', 'build', '--no-clean', '--no-update', '--build-style=release', '--port=mac']" exit_code: 2 cwd: /Volumes/Data/EWS/WebKit Last 500 characters of output: ommands failed: CompileC /Volumes/Data/EWS/WebKit/WebKitBuild/WebKit.build/Release/WebKit.build/Objects-normal/x86_64/WebChromeClient.o mac/WebCoreSupport/WebChromeClient.mm normal x86_64 objective-c++ com.apple.compilers.llvm.clang.1_0.compiler CompileC /Volumes/Data/EWS/WebKit/WebKitBuild/WebKit.build/Release/WebKit.build/Objects-normal/x86_64/WebFullScreenController.o mac/WebView/WebFullScreenController.mm normal x86_64 objective-c++ com.apple.compilers.llvm.clang.1_0.compiler (2 failures) Full output:
http://webkit-queues.appspot.com/results/1609997
Andreas Kling
Comment 20
2013-09-02 11:55:25 PDT
Created
attachment 210304
[details]
Patch for landing... I wonder how my local environment can be this robust against mistakes.
WebKit Commit Bot
Comment 21
2013-09-02 13:09:07 PDT
Comment on
attachment 210304
[details]
Patch for landing... Clearing flags on attachment: 210304 Committed
r154965
: <
http://trac.webkit.org/changeset/154965
>
WebKit Commit Bot
Comment 22
2013-09-02 13:09:12 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.
Top of Page
Format For Printing
XML
Clone This Bug