Bug 172956 - [WebIDL] PutForwards is not implemented to spec as illustrated by the WPT WebIDL/ecmascript-binding/put-forwards.html
Summary: [WebIDL] PutForwards is not implemented to spec as illustrated by the WPT Web...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Sam Weinig
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-06-05 21:09 PDT by Sam Weinig
Modified: 2017-06-07 11:57 PDT (History)
3 users (show)

See Also:


Attachments
Patch (66.18 KB, patch)
2017-06-05 21:13 PDT, Sam Weinig
no flags Details | Formatted Diff | Diff
Patch (12.82 KB, patch)
2017-06-05 21:24 PDT, Sam Weinig
no flags Details | Formatted Diff | Diff
Patch (11.37 KB, patch)
2017-06-05 21:28 PDT, Sam Weinig
no flags Details | Formatted Diff | Diff
Archive of layout-test-results from ews100 for mac-elcapitan (972.66 KB, application/zip)
2017-06-05 22:34 PDT, Build Bot
no flags Details
Archive of layout-test-results from ews105 for mac-elcapitan-wk2 (1.10 MB, application/zip)
2017-06-05 22:37 PDT, Build Bot
no flags Details
Archive of layout-test-results from ews124 for ios-simulator-wk2 (1017.09 KB, application/zip)
2017-06-05 22:46 PDT, Build Bot
no flags Details
Archive of layout-test-results from ews117 for mac-elcapitan (1.74 MB, application/zip)
2017-06-05 22:58 PDT, Build Bot
no flags Details
Patch (13.03 KB, patch)
2017-06-06 15:09 PDT, Sam Weinig
cdumez: review+
cdumez: commit-queue-
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Sam Weinig 2017-06-05 21:09:58 PDT
[WebIDL] PutForwards is not implemented to spec as illustrated by the WPT WebIDL/ecmascript-binding/put-forwards.html
Comment 1 Sam Weinig 2017-06-05 21:13:56 PDT Comment hidden (obsolete)
Comment 2 Sam Weinig 2017-06-05 21:24:41 PDT Comment hidden (obsolete)
Comment 3 Sam Weinig 2017-06-05 21:28:44 PDT Comment hidden (obsolete)
Comment 4 Build Bot 2017-06-05 22:34:54 PDT Comment hidden (obsolete)
Comment 5 Build Bot 2017-06-05 22:34:55 PDT Comment hidden (obsolete)
Comment 6 Build Bot 2017-06-05 22:37:39 PDT Comment hidden (obsolete)
Comment 7 Build Bot 2017-06-05 22:37:40 PDT Comment hidden (obsolete)
Comment 8 Build Bot 2017-06-05 22:46:00 PDT Comment hidden (obsolete)
Comment 9 Build Bot 2017-06-05 22:46:01 PDT Comment hidden (obsolete)
Comment 10 Build Bot 2017-06-05 22:58:43 PDT Comment hidden (obsolete)
Comment 11 Build Bot 2017-06-05 22:58:44 PDT Comment hidden (obsolete)
Comment 12 Sam Weinig 2017-06-06 15:09:10 PDT
Created attachment 312128 [details]
Patch
Comment 13 Chris Dumez 2017-06-07 09:03:04 PDT
Comment on attachment 312128 [details]
Patch

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

r=me

> Source/WebCore/ChangeLog:7
> +

Link to the spec?

> Source/WebCore/bindings/scripts/CodeGeneratorJS.pm:4601
> +        # FIXME: What should the second value to the PutPropertySlot be?

We should probably file a bug against the WebIDL spec about the missing "Throw" argument to ES's Set():
Perform ? Set(Q, forwardId, V).

I am assuming false is the right thing to do though.

> LayoutTests/imported/w3c/ChangeLog:10
> +2017-06-05  Sam Weinig  <sam@webkit.org>

Double changelog.
Comment 14 Sam Weinig 2017-06-07 11:22:00 PDT
(In reply to Chris Dumez from comment #13)
> Comment on attachment 312128 [details]
> Patch
> 
> View in context:
> https://bugs.webkit.org/attachment.cgi?id=312128&action=review
> 
> r=me
> 
> > Source/WebCore/ChangeLog:7
> > +
> 
> Link to the spec?
> 
> > Source/WebCore/bindings/scripts/CodeGeneratorJS.pm:4601
> > +        # FIXME: What should the second value to the PutPropertySlot be?
> 
> We should probably file a bug against the WebIDL spec about the missing

https://github.com/heycam/webidl/issues/368

> "Throw" argument to ES's Set():
> Perform ? Set(Q, forwardId, V).
> 
> I am assuming false is the right thing to do though.

It might be based on strict mode or not. I'm not really sure.

> 
> > LayoutTests/imported/w3c/ChangeLog:10
> > +2017-06-05  Sam Weinig  <sam@webkit.org>
> 
> Double changelog.

:(

I should make the style checker catch this, but I hate the style checker.
Comment 15 Sam Weinig 2017-06-07 11:57:28 PDT
Committed r217895: <http://trac.webkit.org/changeset/217895>