Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix arrays #52

Merged
merged 3 commits into from Jul 7, 2015
Merged

Fix arrays #52

merged 3 commits into from Jul 7, 2015

Conversation

heycam
Copy link
Collaborator

@heycam heycam commented Jun 22, 2015

@bzbarsky can you take a look at this, as a solution to https://www.w3.org/Bugs/Public/show_bug.cgi?id=23682?

@@ -4040,8 +4042,6 @@ dictionary <i>Derived</i> : <em>Base</em> {
<li>the type is a dictionary that <a class='dfnref' href='#dfn-dictionary-inherit'>inherits</a> from <var>D</var></li>
<li>the type is a <a class='dfnref' href='#dfn-nullable'>nullable type</a>
whose <a class='dfnref' href='#dfn-inner-type'>inner type</a> includes <var>D</var></li>
<li>the type is a <a href='#idl-sequence'>sequence type</a> or <a href='#idl-array'>array type</a>
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why can the sequence bits here go away? Shouldn't they stay but FrozenArray get added?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

They should indeed stay.

@heycam
Copy link
Collaborator Author

heycam commented Jul 7, 2015

Thanks for reviewing.

heycam added a commit that referenced this pull request Jul 7, 2015
Fix the array situation by removing the T[] type and adding FrozenArray<T>.

This fixes https://www.w3.org/Bugs/Public/show_bug.cgi?id=23682.
@heycam heycam merged commit 416ebfb into gh-pages Jul 7, 2015
@bzbarsky bzbarsky mentioned this pull request Nov 16, 2015
@tobie tobie deleted the arrays-2 branch October 18, 2016 13:25
MXEBot pushed a commit to mirror/chromium that referenced this pull request Aug 18, 2017
WebIDL arrays (e.g. "T[] bar") were removed from the spec back in 2015 with
whatwg/webidl#52. Previous users should use
sequences or FrozenArrays most of the time.

Now that all existing WebIDL array users have been fixed, we can finally
adapt to the change and remove support for arrays from //tools/idl_parser as
well as the bindings layer and related tests.

Bug: 740865
Change-Id: I9edfcb7b88963ea92836f7ed93945ad7edd48603
Reviewed-on: https://chromium-review.googlesource.com/616661
Reviewed-by: Yuki Shiino <yukishiino@chromium.org>
Reviewed-by: Kentaro Hara <haraken@chromium.org>
Reviewed-by: Kenichi Ishibashi <bashi@chromium.org>
Reviewed-by: Hitoshi Yoshida <peria@chromium.org>
Commit-Queue: Raphael Kubo da Costa (rakuco) <raphael.kubo.da.costa@intel.com>
Cr-Commit-Position: refs/heads/master@{#495108}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants