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 @@ ...@@ -3,7 +3,6 @@
[ [
WillBeGarbageCollected, WillBeGarbageCollected,
NoInterfaceObject, // testing interfaces do not appear on global objects
] interface InternalRuntimeFlags { ] interface InternalRuntimeFlags {
{%- for feature in features if not feature.custom %} {%- for feature in features if not feature.custom %}
{#- {#-
......
...@@ -3,7 +3,6 @@ ...@@ -3,7 +3,6 @@
[ [
WillBeGarbageCollected, WillBeGarbageCollected,
NoInterfaceObject, // testing interfaces do not appear on global objects
] interface InternalSettingsGenerated { ] interface InternalSettingsGenerated {
{%- for setting in settings if setting.type|to_idl_type %} {%- for setting in settings if setting.type|to_idl_type %}
void set{{setting.name|upper_first}}({{setting.type|to_idl_type}} {{setting.name}}); void set{{setting.name|upper_first}}({{setting.type|to_idl_type}} {{setting.name}});
......
...@@ -30,11 +30,9 @@ ...@@ -30,11 +30,9 @@
[ [
WillBeGarbageCollected, WillBeGarbageCollected,
NoInterfaceObject, // testing interfaces do not appear on global objects
] interface GCObservation { ] interface GCObservation {
// Technically, this is true if the object was "near death"; the // Technically, this is true if the object was "near death"; the
// object may have been kept alive through a weak handle. Having // object may have been kept alive through a weak handle. Having
// been collected is the common case, though. // been collected is the common case, though.
readonly attribute boolean wasCollected; readonly attribute boolean wasCollected;
}; };
...@@ -30,7 +30,6 @@ ...@@ -30,7 +30,6 @@
[ [
WillBeGarbageCollected, WillBeGarbageCollected,
NoInterfaceObject, // testing interfaces do not appear on global objects
] interface InternalProfilers { ] interface InternalProfilers {
void startHeapProfiling(DOMString prefix); void startHeapProfiling(DOMString prefix);
void stopHeapProfiling(); void stopHeapProfiling();
......
...@@ -25,7 +25,6 @@ ...@@ -25,7 +25,6 @@
[ [
WillBeGarbageCollected, WillBeGarbageCollected,
NoInterfaceObject, // testing interfaces do not appear on global objects
] interface InternalSettings : InternalSettingsGenerated { ] interface InternalSettings : InternalSettingsGenerated {
// All methods which access Page::settings() can raise an exception // All methods which access Page::settings() can raise an exception
// when the page cannot be accessed. (Such as during page tear-down.) // when the page cannot be accessed. (Such as during page tear-down.)
......
...@@ -25,9 +25,8 @@ ...@@ -25,9 +25,8 @@
*/ */
[ [
WillBeGarbageCollected,
DoNotCheckConstants, DoNotCheckConstants,
NoInterfaceObject, // testing interfaces do not appear on global objects WillBeGarbageCollected,
] interface Internals { ] interface Internals {
DOMString address(Node node); DOMString address(Node node);
......
...@@ -30,7 +30,6 @@ ...@@ -30,7 +30,6 @@
[ [
WillBeGarbageCollected, WillBeGarbageCollected,
NoInterfaceObject, // testing interfaces do not appear on global objects
] interface LayerRect { ] interface LayerRect {
readonly attribute Node layerRootNode; readonly attribute Node layerRootNode;
readonly attribute DOMString layerType; readonly attribute DOMString layerType;
......
...@@ -30,9 +30,7 @@ ...@@ -30,9 +30,7 @@
[ [
WillBeGarbageCollected, WillBeGarbageCollected,
NoInterfaceObject, // testing interfaces do not appear on global objects
] interface LayerRectList { ] interface LayerRectList {
readonly attribute unsigned long length; readonly attribute unsigned long length;
getter LayerRect item(unsigned long index); getter LayerRect item(unsigned long index);
}; };
...@@ -25,7 +25,6 @@ ...@@ -25,7 +25,6 @@
[ [
WillBeGarbageCollected, WillBeGarbageCollected,
NoInterfaceObject, // testing interfaces do not appear on global objects
] interface MallocStatistics { ] interface MallocStatistics {
readonly attribute unsigned long reservedVMBytes; readonly attribute unsigned long reservedVMBytes;
readonly attribute unsigned long committedVMBytes; readonly attribute unsigned long committedVMBytes;
......
...@@ -25,7 +25,6 @@ ...@@ -25,7 +25,6 @@
[ [
WillBeGarbageCollected, WillBeGarbageCollected,
NoInterfaceObject, // testing interfaces do not appear on global objects
] interface TypeConversions { ] interface TypeConversions {
attribute long testLong; attribute long testLong;
[EnforceRange, ImplementedAs=testLong] attribute long testEnforceRangeLong; [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