New issue
Advanced search Search tips

Issue 595058 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner:
Closed: Mar 2016
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: All
Pri: 2
Type: Bug

Blocking:
issue 253412



Sign in to add a comment

Cannot use extended attributes on a dictionary

Project Member Reported by hta@chromium.org, Mar 15 2016

Issue description

The following does not compile, or does not compile in all cases:

dictionary foo {
  [RuntimeEnabled=bar] boolean bar;
}

The root cause seems to be that RuntimeEnabledFeatures.h is not included when compiling dictionaries; when it's included in other files in the same compilation units, it seems to work (at least it compiles).

 
Cc: yukishiino@chromium.org
Components: Blink>Bindings
Owner: peria@chromium.org
peria-san: Do you have a bandwidth to take a look at this?

Comment 2 by peria@chromium.org, Mar 16 2016

Status: Started (was: Untriaged)
I'll take a look.
Project Member

Comment 3 by bugdroid1@chromium.org, Mar 16 2016

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

commit 6b8fd364f7c592e921fcfd3fe1783b4e5892c8c4
Author: peria <peria@chromium.org>
Date: Wed Mar 16 10:14:01 2016

Include platform/RuntimeEnabledFeature.h if a dictionary has
a runtime enabled feature.

Before this CL, recursive inclusion could resolve the reference of
RuntimeEnabledFeatures::barEnabled().

BUG= 595058 
TEST=./Tools/Scripts/run-bindings-tests

Review URL: https://codereview.chromium.org/1807843002

Cr-Commit-Position: refs/heads/master@{#381425}

[modify] https://crrev.com/6b8fd364f7c592e921fcfd3fe1783b4e5892c8c4/third_party/WebKit/Source/bindings/scripts/v8_dictionary.py
[modify] https://crrev.com/6b8fd364f7c592e921fcfd3fe1783b4e5892c8c4/third_party/WebKit/Source/bindings/tests/results/core/V8TestDictionary.cpp

Comment 4 by peria@chromium.org, Mar 18 2016

Labels: OS-All
Status: Fixed (was: Started)

Sign in to add a comment