| Index: core/testing/Internals.idl
|
| diff --git a/core/testing/Internals.idl b/core/testing/Internals.idl
|
| index c0c80d97dabd572581c5115aa7375b84dc65465c..27232a25ed4e83a458cb9f469b3739b90057bca0 100644
|
| --- a/core/testing/Internals.idl
|
| +++ b/core/testing/Internals.idl
|
| @@ -37,6 +37,10 @@
|
|
|
| void crash();
|
|
|
| + void setStyleResolverStatsEnabled(boolean enabled);
|
| + [RaisesException] DOMString styleResolverStatsReport();
|
| + [RaisesException] DOMString styleResolverStatsTotalsReport();
|
| +
|
| [RaisesException] unsigned long numberOfScopedHTMLStyleChildren(Node scope);
|
| [RaisesException] CSSStyleDeclaration computedStyleIncludingVisitedInfo(Node node);
|
|
|
| @@ -62,6 +66,7 @@
|
| [RaisesException] boolean hasSelectorForAttributeInShadow(Element host, DOMString attributeName);
|
| [RaisesException] boolean hasSelectorForPseudoClassInShadow(Element host, DOMString pseudoClass);
|
| [RaisesException] unsigned short compareTreeScopePosition(Node treeScope1, Node treeScope2);
|
| + [RaisesException] unsigned long updateStyleAndReturnAffectedElementCount();
|
|
|
| // CSS Animation and Transition testing.
|
| unsigned long numberOfActiveAnimations();
|
| @@ -77,8 +82,8 @@
|
|
|
| void selectColorInColorChooser(Element element, DOMString colorValue);
|
|
|
| - [RaisesException] DOMString[] formControlStateOfPreviousHistoryItem();
|
| - [RaisesException] void setFormControlStateOfPreviousHistoryItem(sequence<DOMString> values);
|
| + [RaisesException] DOMString[] formControlStateOfHistoryItem();
|
| + [RaisesException] void setFormControlStateOfHistoryItem(sequence<DOMString> values);
|
| [RaisesException] void setEnableMockPagePopup(boolean enabled);
|
| readonly attribute PagePopupController pagePopupController;
|
|
|
| @@ -189,17 +194,16 @@
|
| [RaisesException] ClientRectList nonFastScrollableRects(Document document);
|
|
|
| [RaisesException] DOMString repaintRectsAsText(Document document);
|
| + [RaisesException] ClientRectList repaintRects(Element element);
|
|
|
| [RaisesException] void garbageCollectDocumentResources(Document document);
|
| void evictAllResources();
|
|
|
| void allowRoundingHacks();
|
|
|
| - void insertAuthorCSS(Document document, DOMString css);
|
| - void insertUserCSS(Document document, DOMString css);
|
| -
|
| unsigned long numberOfLiveNodes();
|
| unsigned long numberOfLiveDocuments();
|
| + DOMString dumpRefCountedInstanceCounts();
|
| sequence<DOMString> consoleMessageArgumentCounts(Document document);
|
| Window openDummyInspectorFrontend(DOMString url);
|
| void closeDummyInspectorFrontend();
|
| @@ -236,6 +240,11 @@
|
| [RaisesException] void startTrackingRepaints(Document document);
|
| [RaisesException] void stopTrackingRepaints(Document document);
|
|
|
| + // |node| should be Document, HTMLIFrameElement, or unspecified.
|
| + // If |node| is an HTMLIFrameElement, it assumes node.contentDocument is
|
| + // specified without security checks. Unspecified means this document.
|
| + [RaisesException] void updateLayoutIgnorePendingStylesheetsAndRunPostLayoutTasks(optional Node node);
|
| +
|
| // Returns a list of draggable/non-draggable regions in the document.
|
| [RaisesException] ClientRectList draggableRegions(Document document);
|
| [RaisesException] ClientRectList nonDraggableRegions(Document document);
|
| @@ -261,4 +270,6 @@
|
| boolean loseSharedGraphicsContext3D();
|
|
|
| [RaisesException] void forceCompositingUpdate(Document document);
|
| +
|
| + void setZoomFactor(float factor);
|
| };
|
|
|