Bug 156978 - Drop [UsePointersEvenForNonNullableObjectArguments] from Node
Summary: Drop [UsePointersEvenForNonNullableObjectArguments] from Node
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebCore Misc. (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: youenn fablet
URL:
Keywords:
Depends on: 156977
Blocks: 156844
  Show dependency treegraph
 
Reported: 2016-04-25 08:03 PDT by youenn fablet
Modified: 2016-04-28 10:35 PDT (History)
7 users (show)

See Also:


Attachments
Patch (4.03 KB, patch)
2016-04-25 08:42 PDT, youenn fablet
no flags Details | Formatted Diff | Diff
Patch (4.03 KB, patch)
2016-04-26 07:48 PDT, youenn fablet
no flags Details | Formatted Diff | Diff
Archive of layout-test-results from ews103 for mac-yosemite (905.00 KB, application/zip)
2016-04-26 08:36 PDT, Build Bot
no flags Details
Archive of layout-test-results from ews105 for mac-yosemite-wk2 (1.06 MB, application/zip)
2016-04-26 08:38 PDT, Build Bot
no flags Details
Archive of layout-test-results from ews121 for ios-simulator-wk2 (766.78 KB, application/zip)
2016-04-26 08:44 PDT, Build Bot
no flags Details
Fixing compareDocumentPosition (3.99 KB, patch)
2016-04-27 01:47 PDT, youenn fablet
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description youenn fablet 2016-04-25 08:03:39 PDT
Drop [UsePointersEvenForNonNullableObjectArguments] from Node
Comment 1 youenn fablet 2016-04-25 08:42:53 PDT
Created attachment 277251 [details]
Patch
Comment 2 youenn fablet 2016-04-25 08:49:18 PDT
(In reply to comment #1)
> Created attachment 277251 [details]
> Patch

The patch is not trying to change insertBefore, replaceChild, removeChild and appendChild as the DOM methods are used in various places, including GObject bindings.
Comment 3 youenn fablet 2016-04-26 07:48:54 PDT
Created attachment 277368 [details]
Patch
Comment 4 Build Bot 2016-04-26 08:36:06 PDT
Comment on attachment 277368 [details]
Patch

Attachment 277368 [details] did not pass mac-ews (mac):
Output: http://webkit-queues.webkit.org/results/1223684

New failing tests:
imported/w3c/web-platform-tests/html/dom/interfaces.html
imported/w3c/web-platform-tests/dom/interfaces.html
Comment 5 Build Bot 2016-04-26 08:36:11 PDT
Created attachment 277371 [details]
Archive of layout-test-results from ews103 for mac-yosemite

The attached test failures were seen while running run-webkit-tests on the mac-ews.
Bot: ews103  Port: mac-yosemite  Platform: Mac OS X 10.10.5
Comment 6 Build Bot 2016-04-26 08:38:00 PDT
Comment on attachment 277368 [details]
Patch

Attachment 277368 [details] did not pass mac-wk2-ews (mac-wk2):
Output: http://webkit-queues.webkit.org/results/1223683

New failing tests:
imported/w3c/web-platform-tests/html/dom/interfaces.html
imported/w3c/web-platform-tests/dom/interfaces.html
Comment 7 Build Bot 2016-04-26 08:38:05 PDT
Created attachment 277372 [details]
Archive of layout-test-results from ews105 for mac-yosemite-wk2

The attached test failures were seen while running run-webkit-tests on the mac-wk2-ews.
Bot: ews105  Port: mac-yosemite-wk2  Platform: Mac OS X 10.10.5
Comment 8 Build Bot 2016-04-26 08:44:41 PDT
Comment on attachment 277368 [details]
Patch

Attachment 277368 [details] did not pass ios-sim-ews (ios-simulator-wk2):
Output: http://webkit-queues.webkit.org/results/1223688

New failing tests:
imported/w3c/web-platform-tests/html/dom/interfaces.html
imported/w3c/web-platform-tests/dom/interfaces.html
Comment 9 Build Bot 2016-04-26 08:44:45 PDT
Created attachment 277373 [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.11.4
Comment 10 youenn fablet 2016-04-27 01:47:21 PDT
Created attachment 277462 [details]
Fixing compareDocumentPosition
Comment 11 Chris Dumez 2016-04-27 09:26:06 PDT
Comment on attachment 277462 [details]
Fixing compareDocumentPosition

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

r=me

> Source/WebCore/dom/Node.idl:67
> +    [ObjCLegacyUnnamedParameters, Custom, RaisesException] Node insertBefore([CustomReturn] Node? newChild,

Since those are Custom, why do we need the change?

> Source/WebCore/dom/Node.idl:70
> +    [ObjCLegacyUnnamedParameters, Custom, RaisesException] Node replaceChild(Node? newChild,

Since those are Custom, why do we need the change?

> Source/WebCore/dom/Node.idl:73
> +    [Custom, RaisesException] Node removeChild([CustomReturn] Node? oldChild);

Since those are Custom, why do we need the change?

> Source/WebCore/dom/Node.idl:75
> +    [Custom, RaisesException] Node appendChild([CustomReturn] Node? newChild);

Since those are Custom, why do we need the change?
Comment 12 youenn fablet 2016-04-27 11:56:58 PDT
Thanks for the review.

> > Source/WebCore/dom/Node.idl:75
> > +    [Custom, RaisesException] Node appendChild([CustomReturn] Node? newChild);
> 
> Since those are Custom, why do we need the change?

It is breaking GObject and probably ObjC binding code.
Comment 13 WebKit Commit Bot 2016-04-28 10:35:16 PDT
Comment on attachment 277462 [details]
Fixing compareDocumentPosition

Clearing flags on attachment: 277462

Committed r200197: <http://trac.webkit.org/changeset/200197>
Comment 14 WebKit Commit Bot 2016-04-28 10:35:21 PDT
All reviewed patches have been landed.  Closing bug.