Created attachment 313037[details]
Archive of layout-test-results from ews103 for mac-elcapitan
The attached test failures were seen while running run-webkit-tests on the mac-ews.
Bot: ews103 Port: mac-elcapitan Platform: Mac OS X 10.11.6
Created attachment 313038[details]
Archive of layout-test-results from ews104 for mac-elcapitan-wk2
The attached test failures were seen while running run-webkit-tests on the mac-wk2-ews.
Bot: ews104 Port: mac-elcapitan-wk2 Platform: Mac OS X 10.11.6
Comment on attachment 313029[details]
Patch
Attachment 313029[details] did not pass ios-sim-ews (ios-simulator-wk2):
Output: http://webkit-queues.webkit.org/results/3938573
New failing tests:
imported/w3c/web-platform-tests/html/dom/dynamic-markup-insertion/opening-the-input-stream/document.open-02.html
http/tests/security/isolatedWorld/document-open.html
fast/dom/frame-deleted-in-document-open.html
Created attachment 313043[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.5
Created attachment 313045[details]
Archive of layout-test-results from ews113 for mac-elcapitan
The attached test failures were seen while running run-webkit-tests on the mac-debug-ews.
Bot: ews113 Port: mac-elcapitan Platform: Mac OS X 10.11.6
Created attachment 313087[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 313088[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 313106[details]
Archive of layout-test-results from ews106 for mac-elcapitan-wk2
The attached test failures were seen while running run-webkit-tests on the mac-wk2-ews.
Bot: ews106 Port: mac-elcapitan-wk2 Platform: Mac OS X 10.11.6
Created attachment 313108[details]
Archive of layout-test-results from ews103 for mac-elcapitan
The attached test failures were seen while running run-webkit-tests on the mac-ews.
Bot: ews103 Port: mac-elcapitan Platform: Mac OS X 10.11.6
Created attachment 313109[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 313111[details]
Archive of layout-test-results from ews125 for ios-simulator-wk2
The attached test failures were seen while running run-webkit-tests on the ios-sim-ews.
Bot: ews125 Port: ios-simulator-wk2 Platform: Mac OS X 10.12.5
Comment on attachment 313128[details]
Patch
View in context: https://bugs.webkit.org/attachment.cgi?id=313128&action=review
Would be nice to line up our terminology with the specification even closer. Can we use the term "responsible document" for example?
> Source/WebCore/ChangeLog:109
> +2017-06-15 Sam Weinig <sam@webkit.org>
Double change log.
> Source/WebCore/bindings/scripts/CodeGeneratorJS.pm:5344
> + AddToImplIncludes("Document.h");
Not sure I understand why this is required.
> Source/WebCore/bindings/scripts/CodeGeneratorJS.pm:5352
> + AddToImplIncludes("Document.h");
Ditto.
> Source/WebCore/dom/Document.cpp:2663
> + return;
Should not add this. I assume it’s a leftover from refactoring.
> Source/WebCore/dom/Document.cpp:7257
> +void Document::clear()
> +{
> + // Per https://html.spec.whatwg.org/multipage/obsolete.html#dom-document-clear, this method does nothing.
> +}
> +
> +void Document::captureEvents()
> +{
> + // Per https://html.spec.whatwg.org/multipage/obsolete.html#dom-document-captureevents, this method does nothing.
> +}
> +
> +void Document::releaseEvents()
> +{
> + // Per https://html.spec.whatwg.org/multipage/obsolete.html#dom-document-releaseevents, this method does nothing.
> +}
inline?
> Source/WebCore/dom/Document.h:601
> WEBCORE_EXPORT void open(Document* ownerDocument = nullptr);
Maybe rename this at some point? Even possible at that time that we might want to rename openForBindings back to open.
> Source/WebCore/dom/Document.h:605
> WEBCORE_EXPORT void close();
Maybe rename this at some point? Even possible at that time that we might want to rename closeForBindings back to close.
> Source/WebCore/dom/Document.h:1335
> + WEBCORE_EXPORT const AtomicString& linkColorForBindings() const;
> + WEBCORE_EXPORT void setLinkColorForBindings(const String&);
Do we really need the existing linkColor and setLinkColor? Can we rename those instead?
Created attachment 313144[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 313145[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 313146[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 313147[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.5
(In reply to Darin Adler from comment #30)
> Comment on attachment 313128[details]
> Patch
>
> View in context:
> https://bugs.webkit.org/attachment.cgi?id=313128&action=review
>
> Would be nice to line up our terminology with the specification even closer.
> Can we use the term "responsible document" for example?
I renamed CallerDocument to ResponsibleDocument and added a more clear comment.
>
> > Source/WebCore/ChangeLog:109
> > +2017-06-15 Sam Weinig <sam@webkit.org>
>
> Double change log.
Fixed.
> > Source/WebCore/bindings/scripts/CodeGeneratorJS.pm:5344
> > + AddToImplIncludes("Document.h");
>
> Not sure I understand why this is required.
>
> > Source/WebCore/bindings/scripts/CodeGeneratorJS.pm:5352
> > + AddToImplIncludes("Document.h");
>
> Ditto.
They shouldn't be. Removed.
>
> > Source/WebCore/dom/Document.cpp:2663
> > + return;
>
> Should not add this. I assume it’s a leftover from refactoring.
Yup. Removed.
>
> > Source/WebCore/dom/Document.cpp:7257
> > +void Document::clear()
> > +{
> > + // Per https://html.spec.whatwg.org/multipage/obsolete.html#dom-document-clear, this method does nothing.
> > +}
> > +
> > +void Document::captureEvents()
> > +{
> > + // Per https://html.spec.whatwg.org/multipage/obsolete.html#dom-document-captureevents, this method does nothing.
> > +}
> > +
> > +void Document::releaseEvents()
> > +{
> > + // Per https://html.spec.whatwg.org/multipage/obsolete.html#dom-document-releaseevents, this method does nothing.
> > +}
>
> inline?
Inlined.
>
> > Source/WebCore/dom/Document.h:601
> > WEBCORE_EXPORT void open(Document* ownerDocument = nullptr);
>
> Maybe rename this at some point? Even possible at that time that we might
> want to rename openForBindings back to open.
>
> > Source/WebCore/dom/Document.h:605
> > WEBCORE_EXPORT void close();
>
> Maybe rename this at some point? Even possible at that time that we might
> want to rename closeForBindings back to close.
Added comments. Follow up.
>
> > Source/WebCore/dom/Document.h:1335
> > + WEBCORE_EXPORT const AtomicString& linkColorForBindings() const;
> > + WEBCORE_EXPORT void setLinkColorForBindings(const String&);
>
> Do we really need the existing linkColor and setLinkColor? Can we rename
> those instead?
I tried to think of an alternate name for the existing linkColor and came up blank. If I think of one I'll come back and fix it.
Thanks for the review!
Created attachment 313162[details]
Archive of layout-test-results from ews103 for mac-elcapitan
The attached test failures were seen while running run-webkit-tests on the mac-ews.
Bot: ews103 Port: mac-elcapitan Platform: Mac OS X 10.11.6
Created attachment 313163[details]
Archive of layout-test-results from ews106 for mac-elcapitan-wk2
The attached test failures were seen while running run-webkit-tests on the mac-wk2-ews.
Bot: ews106 Port: mac-elcapitan-wk2 Platform: Mac OS X 10.11.6
Created attachment 313165[details]
Archive of layout-test-results from ews113 for mac-elcapitan
The attached test failures were seen while running run-webkit-tests on the mac-debug-ews.
Bot: ews113 Port: mac-elcapitan Platform: Mac OS X 10.11.6
Created attachment 313166[details]
Archive of layout-test-results from ews123 for ios-simulator-wk2
The attached test failures were seen while running run-webkit-tests on the ios-sim-ews.
Bot: ews123 Port: ios-simulator-wk2 Platform: Mac OS X 10.12.5
2017-06-15 16:18 PDT, Sam Weinig
2017-06-15 16:23 PDT, Sam Weinig
2017-06-15 17:05 PDT, Sam Weinig
2017-06-15 18:12 PDT, Build Bot
2017-06-15 18:18 PDT, Build Bot
2017-06-15 18:44 PDT, Build Bot
2017-06-15 18:47 PDT, Build Bot
2017-06-16 09:37 PDT, Sam Weinig
2017-06-16 10:40 PDT, Build Bot
2017-06-16 10:44 PDT, Build Bot
2017-06-16 10:57 PDT, Sam Weinig
2017-06-16 11:32 PDT, Sam Weinig
2017-06-16 12:20 PDT, Build Bot
2017-06-16 12:28 PDT, Build Bot
2017-06-16 12:30 PDT, Build Bot
2017-06-16 12:39 PDT, Build Bot
2017-06-16 13:05 PDT, Sam Weinig
2017-06-16 13:57 PDT, Sam Weinig
2017-06-16 15:11 PDT, Build Bot
2017-06-16 15:18 PDT, Build Bot
2017-06-16 15:27 PDT, Build Bot
2017-06-16 15:35 PDT, Build Bot
2017-06-16 16:01 PDT, Sam Weinig
2017-06-16 17:11 PDT, Build Bot
2017-06-16 17:18 PDT, Build Bot
2017-06-16 17:30 PDT, Build Bot
2017-06-16 17:38 PDT, Build Bot