New issue
Advanced search Search tips

Issue 702580 link

Starred by 2 users

Issue metadata

Status: Fixed
Owner:
Closed: Mar 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 3
Type: Bug

Blocking:
issue 693513



Sign in to add a comment

app_banner: Invalid attribute type in BeforeInstallPromptEvent.idl

Project Member Reported by raphael....@intel.com, Mar 17 2017

Issue description

//third_party/WebKit/Source/modules/app_banner/BeforeInstallPromptEvent.idl contains the following declaration:

    readonly attribute sequence<DOMString> platforms;

However, https://heycam.github.io/webidl/#idl-sequence explicitly states "Sequences must not be used as the type of an attribute or constant".

We'd like to fix all occurrences of invalid attribute types in order to make the IDL compiler reject them in the future.
 
Owner: mlamouri@chromium.org
Status: Started (was: Available)
Should be a quick fix :)
Project Member

Comment 2 by bugdroid1@chromium.org, Mar 20 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/b41da6057cbf6fe719a7105881a195dcb49e297d

commit b41da6057cbf6fe719a7105881a195dcb49e297d
Author: mlamouri <mlamouri@chromium.org>
Date: Mon Mar 20 13:29:53 2017

App Banner: BeforeInstallPrompt.platforms should use a FrozenArary<>

BUG= 702580 
R=dominickn@chromium.org

Review-Url: https://codereview.chromium.org/2756933002
Cr-Commit-Position: refs/heads/master@{#458049}

[modify] https://crrev.com/b41da6057cbf6fe719a7105881a195dcb49e297d/third_party/WebKit/Source/modules/app_banner/BeforeInstallPromptEvent.idl

Thanks; is there anything else you need to do or should this issue be closed?
Status: Fixed (was: Started)
Closing sounds good :)

Sign in to add a comment