Commit 8d7cec02 authored by nbarth@chromium.org's avatar nbarth@chromium.org

Remove unnecessary [NoInterfaceObject] from testing IDL files

Testing IDL files no longer need [NoInterfaceObject],
as we now don't feed them into the list of main interface files
('main_interface_idl_files' in generated_bindings.gyp);
previously it was necessary because we didn't distinguish these files.

This removes the extended attribute, simplifying them.

TBR=haraken
BUG=341748

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

git-svn-id: svn://svn.chromium.org/blink/trunk@169629 bbb929c8-8fbe-4397-9dbb-9b2b20218538
parent 6b912ab0
......@@ -3,7 +3,6 @@
[
WillBeGarbageCollected,
NoInterfaceObject, // testing interfaces do not appear on global objects
] interface InternalRuntimeFlags {
{%- for feature in features if not feature.custom %}
{#-
......
......@@ -3,7 +3,6 @@
[
WillBeGarbageCollected,
NoInterfaceObject, // testing interfaces do not appear on global objects
] interface InternalSettingsGenerated {
{%- for setting in settings if setting.type|to_idl_type %}
void set{{setting.name|upper_first}}({{setting.type|to_idl_type}} {{setting.name}});
......
......@@ -30,11 +30,9 @@
[
WillBeGarbageCollected,
NoInterfaceObject, // testing interfaces do not appear on global objects
] interface GCObservation {
// Technically, this is true if the object was "near death"; the
// object may have been kept alive through a weak handle. Having
// been collected is the common case, though.
readonly attribute boolean wasCollected;
};
......@@ -30,7 +30,6 @@
[
WillBeGarbageCollected,
NoInterfaceObject, // testing interfaces do not appear on global objects
] interface InternalProfilers {
void startHeapProfiling(DOMString prefix);
void stopHeapProfiling();
......
......@@ -25,7 +25,6 @@
[
WillBeGarbageCollected,
NoInterfaceObject, // testing interfaces do not appear on global objects
] interface InternalSettings : InternalSettingsGenerated {
// All methods which access Page::settings() can raise an exception
// when the page cannot be accessed. (Such as during page tear-down.)
......
......@@ -25,9 +25,8 @@
*/
[
WillBeGarbageCollected,
DoNotCheckConstants,
NoInterfaceObject, // testing interfaces do not appear on global objects
WillBeGarbageCollected,
] interface Internals {
DOMString address(Node node);
......
......@@ -30,7 +30,6 @@
[
WillBeGarbageCollected,
NoInterfaceObject, // testing interfaces do not appear on global objects
] interface LayerRect {
readonly attribute Node layerRootNode;
readonly attribute DOMString layerType;
......
......@@ -30,9 +30,7 @@
[
WillBeGarbageCollected,
NoInterfaceObject, // testing interfaces do not appear on global objects
] interface LayerRectList {
readonly attribute unsigned long length;
getter LayerRect item(unsigned long index);
};
......@@ -25,7 +25,6 @@
[
WillBeGarbageCollected,
NoInterfaceObject, // testing interfaces do not appear on global objects
] interface MallocStatistics {
readonly attribute unsigned long reservedVMBytes;
readonly attribute unsigned long committedVMBytes;
......
......@@ -25,7 +25,6 @@
[
WillBeGarbageCollected,
NoInterfaceObject, // testing interfaces do not appear on global objects
] interface TypeConversions {
attribute long testLong;
[EnforceRange, ImplementedAs=testLong] attribute long testEnforceRangeLong;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment