Bug 144825 - Introduce ParentNode.idl / NonDocumentTypeChildNode.idl
Summary: Introduce ParentNode.idl / NonDocumentTypeChildNode.idl
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: DOM (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Chris Dumez
URL:
Keywords:
Depends on: 144822
Blocks:
  Show dependency treegraph
 
Reported: 2015-05-08 22:23 PDT by Chris Dumez
Modified: 2015-05-09 20:25 PDT (History)
5 users (show)

See Also:


Attachments
Patch (20.09 KB, patch)
2015-05-08 23:18 PDT, Chris Dumez
no flags Details | Formatted Diff | Diff
Archive of layout-test-results from ews103 for mac-mavericks (570.35 KB, application/zip)
2015-05-09 01:55 PDT, Build Bot
no flags Details
Archive of layout-test-results from ews106 for mac-mavericks-wk2 (593.85 KB, application/zip)
2015-05-09 02:18 PDT, Build Bot
no flags Details
Patch (21.84 KB, patch)
2015-05-09 09:42 PDT, Chris Dumez
no flags Details | Formatted Diff | Diff
Patch (22.02 KB, patch)
2015-05-09 10:46 PDT, Chris Dumez
no flags Details | Formatted Diff | Diff
Patch (23.00 KB, patch)
2015-05-09 20:22 PDT, Chris Dumez
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Dumez 2015-05-08 22:23:24 PDT
Introduce ParentNode.idl / NonDocumentTypeChildNode.idl as per DOM spec and to avoid IDL code duplication:
https://dom.spec.whatwg.org/#interface-parentnode
https://dom.spec.whatwg.org/#interface-nondocumenttypechildnode
Comment 1 Chris Dumez 2015-05-08 23:18:38 PDT
Created attachment 252769 [details]
Patch
Comment 2 Build Bot 2015-05-09 01:54:58 PDT
Comment on attachment 252769 [details]
Patch

Attachment 252769 [details] did not pass mac-ews (mac):
Output: http://webkit-queues.appspot.com/results/6043336133574656

New failing tests:
js/dom/dom-static-property-for-in-iteration.html
Comment 3 Build Bot 2015-05-09 01:55:03 PDT
Created attachment 252771 [details]
Archive of layout-test-results from ews103 for mac-mavericks

The attached test failures were seen while running run-webkit-tests on the mac-ews.
Bot: ews103  Port: mac-mavericks  Platform: Mac OS X 10.9.5
Comment 4 Build Bot 2015-05-09 02:18:22 PDT
Comment on attachment 252769 [details]
Patch

Attachment 252769 [details] did not pass mac-wk2-ews (mac-wk2):
Output: http://webkit-queues.appspot.com/results/5107545974767616

New failing tests:
js/dom/dom-static-property-for-in-iteration.html
Comment 5 Build Bot 2015-05-09 02:18:26 PDT
Created attachment 252773 [details]
Archive of layout-test-results from ews106 for mac-mavericks-wk2

The attached test failures were seen while running run-webkit-tests on the mac-wk2-ews.
Bot: ews106  Port: mac-mavericks-wk2  Platform: Mac OS X 10.9.5
Comment 6 Chris Dumez 2015-05-09 09:42:35 PDT
Created attachment 252777 [details]
Patch
Comment 7 Chris Dumez 2015-05-09 10:46:45 PDT
Created attachment 252782 [details]
Patch
Comment 8 Sam Weinig 2015-05-09 14:56:51 PDT
Comment on attachment 252782 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=252782&action=review

Nice. I didn't realize we supported the implements syntax.

> Source/WebCore/dom/NonDocumentTypeChildNode.idl:18
> +/*
> + * Copyright (C) 2015 Apple Inc. All rights reserved.
> + *
> + * This library is free software; you can redistribute it and/or
> + * modify it under the terms of the GNU Library General Public
> + * License as published by the Free Software Foundation; either
> + * version 2 of the License, or (at your option) any later version.
> + *
> + * This library is distributed in the hope that it will be useful,
> + * but WITHOUT ANY WARRANTY; without even the implied warranty of
> + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
> + * Library General Public License for more details.
> + *
> + * You should have received a copy of the GNU Library General Public License
> + * along with this library; see the file COPYING.LIB.  If not, write to
> + * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
> + * Boston, MA 02110-1301, USA.
> + */

This should probably be the two-clause BSD license.

> Source/WebCore/dom/ParentNode.idl:18
> + * This library is free software; you can redistribute it and/or
> + * modify it under the terms of the GNU Library General Public
> + * License as published by the Free Software Foundation; either
> + * version 2 of the License, or (at your option) any later version.
> + *
> + * This library is distributed in the hope that it will be useful,
> + * but WITHOUT ANY WARRANTY; without even the implied warranty of
> + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
> + * Library General Public License for more details.
> + *
> + * You should have received a copy of the GNU Library General Public License
> + * along with this library; see the file COPYING.LIB.  If not, write to
> + * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
> + * Boston, MA 02110-1301, USA.
> + */

This should probably be the two-clause BSD license.
Comment 9 Chris Dumez 2015-05-09 20:22:13 PDT
Created attachment 252796 [details]
Patch
Comment 10 Chris Dumez 2015-05-09 20:23:44 PDT
Comment on attachment 252796 [details]
Patch

Clearing flags on attachment: 252796

Committed r184042: <http://trac.webkit.org/changeset/184042>
Comment 11 Chris Dumez 2015-05-09 20:23:51 PDT
All reviewed patches have been landed.  Closing bug.
Comment 12 Chris Dumez 2015-05-09 20:25:59 PDT
(In reply to comment #8)
> Comment on attachment 252782 [details]
> Patch
> 
> View in context:
> https://bugs.webkit.org/attachment.cgi?id=252782&action=review
> 
> Nice. I didn't realize we supported the implements syntax.

Yes, for almost 2 years: http://trac.webkit.org/changeset/151740. It was needed to get rid of IDL multiple inheritance in SVG.