WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
157817
Improve compile-time assertions in is<>() / downcast<>()
https://bugs.webkit.org/show_bug.cgi?id=157817
Summary
Improve compile-time assertions in is<>() / downcast<>()
Chris Dumez
Reported
2016-05-17 15:38:37 PDT
Improve compile-time assertions in is<>() / downcast<>.
Attachments
Patch
(37.08 KB, patch)
2016-05-17 19:58 PDT
,
Chris Dumez
no flags
Details
Formatted Diff
Diff
Patch
(37.77 KB, patch)
2016-05-17 20:20 PDT
,
Chris Dumez
no flags
Details
Formatted Diff
Diff
Patch
(37.78 KB, patch)
2016-05-17 20:49 PDT
,
Chris Dumez
no flags
Details
Formatted Diff
Diff
Archive of layout-test-results from ews126 for ios-simulator-wk2
(702.77 KB, application/zip)
2016-05-17 21:59 PDT
,
Build Bot
no flags
Details
Patch
(37.70 KB, patch)
2016-05-17 22:12 PDT
,
Chris Dumez
no flags
Details
Formatted Diff
Diff
Patch
(37.73 KB, patch)
2016-05-19 15:44 PDT
,
Chris Dumez
no flags
Details
Formatted Diff
Diff
Patch
(37.79 KB, patch)
2016-05-19 16:23 PDT
,
Chris Dumez
no flags
Details
Formatted Diff
Diff
Patch
(39.32 KB, patch)
2016-05-19 16:48 PDT
,
Chris Dumez
no flags
Details
Formatted Diff
Diff
Patch
(39.55 KB, patch)
2016-05-19 16:54 PDT
,
Chris Dumez
no flags
Details
Formatted Diff
Diff
Archive of layout-test-results from ews101 for mac-yosemite
(1.09 MB, application/zip)
2016-05-19 18:10 PDT
,
Build Bot
no flags
Details
Show Obsolete
(8)
View All
Add attachment
proposed patch, testcase, etc.
Chris Dumez
Comment 1
2016-05-17 19:58:12 PDT
Created
attachment 279203
[details]
Patch
Chris Dumez
Comment 2
2016-05-17 20:20:12 PDT
Created
attachment 279205
[details]
Patch
Chris Dumez
Comment 3
2016-05-17 20:49:21 PDT
Created
attachment 279209
[details]
Patch
Build Bot
Comment 4
2016-05-17 21:59:31 PDT
Comment on
attachment 279209
[details]
Patch
Attachment 279209
[details]
did not pass ios-sim-ews (ios-simulator-wk2): Output:
http://webkit-queues.webkit.org/results/1340359
New failing tests: imported/w3c/web-platform-tests/html/semantics/grouping-content/the-ol-element/grouping-ol.html fast/dom/HTMLMeterElement/meter-element-form.html fast/forms/focus-with-display-block.html
Build Bot
Comment 5
2016-05-17 21:59:35 PDT
Created
attachment 279211
[details]
Archive of layout-test-results from ews126 for ios-simulator-wk2 The attached test failures were seen while running run-webkit-tests on the ios-sim-ews. Bot: ews126 Port: ios-simulator-wk2 Platform: Mac OS X 10.11.4
Chris Dumez
Comment 6
2016-05-17 22:12:15 PDT
Created
attachment 279212
[details]
Patch
Chris Dumez
Comment 7
2016-05-17 22:14:21 PDT
Comment on
attachment 279212
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=279212&action=review
> Source/WebCore/editing/TextIterator.cpp:271 > + if (is<HTMLFormControlElement>(element) || is<HTMLLegendElement>(element) || is<HTMLProgressElement>(element) || element.hasTagName(meterTag))
This is to maintain the previous behavior on iOS where METER_ELEMENT disabled.
Darin Adler
Comment 8
2016-05-19 14:22:25 PDT
Comment on
attachment 279212
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=279212&action=review
> Source/WebCore/ChangeLog:59 > + (WebCore::Style::SharingResolver::canShareStyleWithElement): Deleted.
This is a bogus comment created by the broken change log prepare script. This function wasn’t deleted.
> Source/WTF/wtf/Ref.h:197 > +// For TypeCasts.
I don’t fully understand this comment.
> Source/WTF/wtf/Ref.h:198 > +template <typename ExpectedType, typename ArgType> inline bool is(Ref<ArgType>& source)
I think our style is normally to omit the space after "template".
>> Source/WebCore/editing/TextIterator.cpp:271 >> + if (is<HTMLFormControlElement>(element) || is<HTMLLegendElement>(element) || is<HTMLProgressElement>(element) || element.hasTagName(meterTag)) > > This is to maintain the previous behavior on iOS where METER_ELEMENT disabled.
Seems unimportant to maintain that behavior. Would be nice to come back and fix this.
Chris Dumez
Comment 9
2016-05-19 15:44:32 PDT
Created
attachment 279441
[details]
Patch
WebKit Commit Bot
Comment 10
2016-05-19 16:12:12 PDT
Comment on
attachment 279441
[details]
Patch Rejecting
attachment 279441
[details]
from commit-queue. Failed to run "['/Volumes/Data/EWS/WebKit/Tools/Scripts/webkit-patch', '--status-host=webkit-queues.webkit.org', '--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: -c /Volumes/Data/EWS/WebKit/Source/WebCore/Modules/webaudio/AudioContext.cpp -o /Volumes/Data/EWS/WebKit/WebKitBuild/WebCore.build/Release/WebCore.build/Objects-normal/x86_64/AudioContext.o ** BUILD FAILED ** The following build commands failed: CompileC /Volumes/Data/EWS/WebKit/WebKitBuild/WebCore.build/Release/WebCore.build/Objects-normal/x86_64/AccessibilityRenderObject.o accessibility/AccessibilityRenderObject.cpp normal x86_64 c++ com.apple.compilers.llvm.clang.1_0.compiler (1 failure) Full output:
http://webkit-queues.webkit.org/results/1350588
Chris Dumez
Comment 11
2016-05-19 16:23:43 PDT
Created
attachment 279443
[details]
Patch
Chris Dumez
Comment 12
2016-05-19 16:48:04 PDT
Created
attachment 279450
[details]
Patch
Chris Dumez
Comment 13
2016-05-19 16:54:41 PDT
Created
attachment 279452
[details]
Patch
Build Bot
Comment 14
2016-05-19 18:10:07 PDT
Comment on
attachment 279452
[details]
Patch
Attachment 279452
[details]
did not pass mac-ews (mac): Output:
http://webkit-queues.webkit.org/results/1350982
New failing tests: http/tests/media/video-useragent.html
Build Bot
Comment 15
2016-05-19 18:10:11 PDT
Created
attachment 279461
[details]
Archive of layout-test-results from ews101 for mac-yosemite The attached test failures were seen while running run-webkit-tests on the mac-ews. Bot: ews101 Port: mac-yosemite Platform: Mac OS X 10.10.5
Chris Dumez
Comment 16
2016-05-19 18:49:53 PDT
Comment on
attachment 279452
[details]
Patch Clearing flags on attachment: 279452 Committed
r201205
: <
http://trac.webkit.org/changeset/201205
>
Chris Dumez
Comment 17
2016-05-19 18:50:03 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