Index: core/testing/GCObservation.idl |
diff --git a/core/testing/LayerRectList.idl b/core/testing/GCObservation.idl |
similarity index 85% |
copy from core/testing/LayerRectList.idl |
copy to core/testing/GCObservation.idl |
index ee608cfdca956b7df997e667d48c0e1405cc0477..6c2d8e8b7cf3ec15182a06b35668543bda7035b5 100644 |
--- a/core/testing/LayerRectList.idl |
+++ b/core/testing/GCObservation.idl |
@@ -28,9 +28,10 @@ |
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
-[ |
-] interface LayerRectList { |
- readonly attribute unsigned long length; |
- getter LayerRect item([IsIndex,Default=Undefined] optional unsigned long index); |
+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; |
}; |