Created attachment 325812[details]
Archive of layout-test-results from ews102 for mac-elcapitan
The attached test failures were seen while running run-webkit-tests on the mac-ews.
Bot: ews102 Port: mac-elcapitan Platform: Mac OS X 10.11.6
Created attachment 325813[details]
Archive of layout-test-results from ews105 for mac-elcapitan-wk2
The attached test failures were seen while running run-webkit-tests on the mac-wk2-ews.
Bot: ews105 Port: mac-elcapitan-wk2 Platform: Mac OS X 10.11.6
Created attachment 325814[details]
Archive of layout-test-results from ews117 for mac-elcapitan
The attached test failures were seen while running run-webkit-tests on the mac-debug-ews.
Bot: ews117 Port: mac-elcapitan Platform: Mac OS X 10.11.6
Created attachment 325817[details]
Archive of layout-test-results from ews122 for ios-simulator-wk2
The attached test failures were seen while running run-webkit-tests on the ios-sim-ews.
Bot: ews122 Port: ios-simulator-wk2 Platform: Mac OS X 10.12.6
Created attachment 325828[details]
Archive of layout-test-results from ews101 for mac-elcapitan
The attached test failures were seen while running run-webkit-tests on the mac-ews.
Bot: ews101 Port: mac-elcapitan Platform: Mac OS X 10.11.6
Created attachment 325829[details]
Archive of layout-test-results from ews107 for mac-elcapitan-wk2
The attached test failures were seen while running run-webkit-tests on the mac-wk2-ews.
Bot: ews107 Port: mac-elcapitan-wk2 Platform: Mac OS X 10.11.6
Created attachment 325836[details]
Archive of layout-test-results from ews116 for mac-elcapitan
The attached test failures were seen while running run-webkit-tests on the mac-debug-ews.
Bot: ews116 Port: mac-elcapitan Platform: Mac OS X 10.11.6
Created attachment 325837[details]
Archive of layout-test-results from ews121 for ios-simulator-wk2
The attached test failures were seen while running run-webkit-tests on the ios-sim-ews.
Bot: ews121 Port: ios-simulator-wk2 Platform: Mac OS X 10.12.6
Comment on attachment 325839[details]
Patch
View in context: https://bugs.webkit.org/attachment.cgi?id=325839&action=review> Source/WebCore/accessibility/AccessibilityTable.cpp:396
> + if (RefPtr<HTMLTableCaptionElement> caption = tableElement->caption()) {
Use auto?
> Source/WebCore/accessibility/AccessibilityTable.cpp:690
> - if (HTMLTableCaptionElement* caption = downcast<HTMLTableElement>(*tableElement).caption())
> + if (RefPtr<HTMLTableCaptionElement> caption = downcast<HTMLTableElement>(*tableElement).caption())
Ditto.
> Source/WebCore/html/HTMLSummaryElement.cpp:76
> + auto parent = makeRefPtr(parentElement());
It's a bit silly to use a RefPtr here since we're just downcast'ing to another pointer type.
I think it's okay to keep parent & host raw pointers as long as the return type is a RefPtr.
> Source/WebCore/html/HTMLTableRowElement.cpp:59
> - auto* parent = row.parentNode();
> + auto parent = makeRefPtr(row.parentNode());
Again, not certain if it's worth converting these local variables to RefPtr since they're just casted to another pointer type.
Comment on attachment 325839[details]
Patch
View in context: https://bugs.webkit.org/attachment.cgi?id=325839&action=review
Thanks Ryosuke for r+ my patch. I will fix all crashes before landing the patch.
>> Source/WebCore/accessibility/AXObjectCache.cpp:1526
>> + RefPtr<HTMLElement> correspondingControl = downcast<HTMLLabelElement>(*element).control();
>
> We can't use makeRefPtr & auto here?
Fixed.
>> Source/WebCore/accessibility/AccessibilityRenderObject.cpp:2527
>> + RefPtr<HTMLElement> correspondingControl = labelElement->control();
>
> Ditto.
Fixed.
>> Source/WebCore/accessibility/AccessibilityTable.cpp:396
>> + if (RefPtr<HTMLTableCaptionElement> caption = tableElement->caption()) {
>
> Use auto?
Fixed.
>> Source/WebCore/accessibility/AccessibilityTable.cpp:690
>> + if (RefPtr<HTMLTableCaptionElement> caption = downcast<HTMLTableElement>(*tableElement).caption())
>
> Ditto.
Fixed.
>> Source/WebCore/html/HTMLSummaryElement.cpp:76
>> + auto parent = makeRefPtr(parentElement());
>
> It's a bit silly to use a RefPtr here since we're just downcast'ing to another pointer type.
> I think it's okay to keep parent & host raw pointers as long as the return type is a RefPtr.
Fixed.
>> Source/WebCore/html/HTMLTableRowElement.cpp:59
>> + auto parent = makeRefPtr(row.parentNode());
>
> Again, not certain if it's worth converting these local variables to RefPtr since they're just casted to another pointer type.
Fixed.
Created attachment 325843[details]
Archive of layout-test-results from ews105 for mac-elcapitan-wk2
The attached test failures were seen while running run-webkit-tests on the mac-wk2-ews.
Bot: ews105 Port: mac-elcapitan-wk2 Platform: Mac OS X 10.11.6
Created attachment 325845[details]
Archive of layout-test-results from ews102 for mac-elcapitan
The attached test failures were seen while running run-webkit-tests on the mac-ews.
Bot: ews102 Port: mac-elcapitan Platform: Mac OS X 10.11.6
Created attachment 325848[details]
Archive of layout-test-results from ews114 for mac-elcapitan
The attached test failures were seen while running run-webkit-tests on the mac-debug-ews.
Bot: ews114 Port: mac-elcapitan Platform: Mac OS X 10.11.6
Created attachment 325851[details]
Archive of layout-test-results from ews124 for ios-simulator-wk2
The attached test failures were seen while running run-webkit-tests on the ios-sim-ews.
Bot: ews124 Port: ios-simulator-wk2 Platform: Mac OS X 10.12.6
2017-11-02 17:40 PDT, Jiewen Tan
2017-11-02 18:25 PDT, Build Bot
2017-11-02 18:30 PDT, Build Bot
2017-11-02 18:32 PDT, Build Bot
2017-11-02 18:37 PDT, Build Bot
2017-11-02 19:29 PDT, Jiewen Tan
2017-11-02 20:12 PDT, Build Bot
2017-11-02 20:17 PDT, Build Bot
2017-11-02 20:25 PDT, Build Bot
2017-11-02 20:35 PDT, Build Bot
2017-11-02 21:02 PDT, Jiewen Tan
buildbot: commit-queue-
2017-11-02 21:47 PDT, Build Bot
2017-11-02 21:50 PDT, Build Bot
2017-11-02 21:55 PDT, Build Bot
2017-11-02 22:13 PDT, Build Bot
2017-11-03 01:11 PDT, Jiewen Tan