| Index: core/testing/Internals.idl
|
| diff --git a/core/testing/Internals.idl b/core/testing/Internals.idl
|
| index 082be3dea865158bc0a3c13cd2164056b6d4ea81..daec6fd787ccd3d3d18c942e7802e6cfc82c5fb1 100644
|
| --- a/core/testing/Internals.idl
|
| +++ b/core/testing/Internals.idl
|
| @@ -26,7 +26,7 @@
|
|
|
| [
|
| DoNotCheckConstants,
|
| - NoInterfaceObject, // testing interfaces do not appear on global objects
|
| + WillBeGarbageCollected,
|
| ] interface Internals {
|
| DOMString address(Node node);
|
|
|
| @@ -44,7 +44,6 @@
|
|
|
| [RaisesException] boolean isSharingStyle(Element element1, Element element2);
|
|
|
| - [RaisesException] unsigned long numberOfScopedHTMLStyleChildren(Node scope);
|
| [RaisesException] CSSStyleDeclaration computedStyleIncludingVisitedInfo(Node node);
|
|
|
| [RaisesException] ShadowRoot shadowRoot(Element host);
|
| @@ -96,8 +95,6 @@
|
|
|
| [RaisesException] ClientRect boundingBox(Element element);
|
|
|
| - [RaisesException] ClientRectList inspectorHighlightRects(Document document);
|
| -
|
| [RaisesException] unsigned long markerCountForNode(Node node, DOMString markerType);
|
| [RaisesException] unsigned long activeMarkerCountForNode(Node node);
|
| [RaisesException] Range markerRangeForNode(Node node, DOMString markerType, unsigned long index);
|
| @@ -139,7 +136,9 @@
|
| sequence<DOMString> userPreferredLanguages();
|
| void setUserPreferredLanguages(sequence<DOMString> languages);
|
|
|
| + [RaisesException] unsigned long activeDOMObjectCount(Document document);
|
| [RaisesException] unsigned long wheelEventHandlerCount(Document document);
|
| + [RaisesException] unsigned long scrollEventHandlerCount(Document document);
|
| [RaisesException] unsigned long touchEventHandlerCount(Document document);
|
| [RaisesException] LayerRectList touchEventTargetLayerRects(Document document);
|
|
|
| @@ -176,18 +175,8 @@
|
| [RaisesException] DOMString layerTreeAsText(Document document, optional unsigned short flags);
|
| [RaisesException] DOMString elementLayerTreeAsText(Element element, optional unsigned short flags);
|
|
|
| - [RaisesException] NodeList paintOrderListBeforePromote(Element element);
|
| - [RaisesException] NodeList paintOrderListAfterPromote(Element element);
|
| -
|
| [RaisesException] boolean scrollsWithRespectTo(Element element1, Element element2);
|
| [RaisesException] boolean isUnclippedDescendant(Element element);
|
| - [RaisesException] boolean needsCompositedScrolling(Element element);
|
| -
|
| - // The values of these constants must be kept in sync with those in RenderLayer.
|
| - const unsigned short DO_NOT_FORCE_COMPOSITED_SCROLLING = 0;
|
| - const unsigned short COMPOSITED_SCROLLING_ALWAYS_ON = 1;
|
| - const unsigned short COMPOSITED_SCROLLING_ALWAYS_OFF = 2;
|
| - [RaisesException] void setNeedsCompositedScrolling(Element element, unsigned short value);
|
|
|
| [RaisesException] DOMString scrollingStateTreeAsText(Document document);
|
| [RaisesException] DOMString mainThreadScrollingReasons(Document document);
|
| @@ -205,8 +194,6 @@
|
| unsigned long numberOfLiveDocuments();
|
| DOMString dumpRefCountedInstanceCounts();
|
| sequence<DOMString> consoleMessageArgumentCounts(Document document);
|
| - Window openDummyInspectorFrontend(DOMString url);
|
| - void closeDummyInspectorFrontend();
|
| unsigned long[] setMemoryCacheCapacities(unsigned long minDeadBytes, unsigned long maxDeadBytes, unsigned long totalBytes);
|
| [RaisesException] void setInspectorResourcesDataSizeLimits(long maximumResourcesContentSize, long maximumSingleResourceContentSize);
|
|
|
| @@ -227,6 +214,8 @@
|
| void webkitWillExitFullScreenForElement(Document document, Element element);
|
| void webkitDidExitFullScreenForElement(Document document, Element element);
|
|
|
| + void mediaPlayerRequestFullscreen(HTMLMediaElement mediaElement);
|
| +
|
| void registerURLSchemeAsBypassingContentSecurityPolicy(DOMString scheme);
|
| void removeURLSchemeRegisteredAsBypassingContentSecurityPolicy(DOMString scheme);
|
|
|
| @@ -245,6 +234,8 @@
|
| // specified without security checks. Unspecified means this document.
|
| [RaisesException] void updateLayoutIgnorePendingStylesheetsAndRunPostLayoutTasks(optional Node node);
|
|
|
| + [RaisesException] void forceFullRepaint(Document document);
|
| +
|
| // Returns a list of draggable/non-draggable regions in the document.
|
| [RaisesException] ClientRectList draggableRegions(Document document);
|
| [RaisesException] ClientRectList nonDraggableRegions(Document document);
|
| @@ -270,11 +261,26 @@
|
| boolean loseSharedGraphicsContext3D();
|
|
|
| [RaisesException] void forceCompositingUpdate(Document document);
|
| - [RaisesException] boolean isCompositorFramePending(Document document);
|
|
|
| void setZoomFactor(float factor);
|
|
|
| [RaisesException] void setShouldRevealPassword(Element element, boolean reveal);
|
|
|
| + [CallWith=ScriptState] Promise createPromise();
|
| + [CallWith=ScriptState] Promise createResolvedPromise(any value);
|
| + [CallWith=ScriptState] Promise createRejectedPromise(any reason);
|
| [CallWith=ExecutionContext] Promise addOneToPromise(Promise promise);
|
| +
|
| + void setValueForUser(Element element, DOMString value);
|
| +
|
| + DOMString textSurroundingNode(Node node, long x, long y, unsigned long maxLength);
|
| +
|
| + void setFocused(boolean focused);
|
| +
|
| + [RaisesException] boolean ignoreLayoutWithPendingStylesheets(Document document);
|
| +
|
| + // These functions are for testing NetInfo. You must call setNetworkStateNotifierTestOnly(true)
|
| + // before calling setNetworkConnectionInfo.
|
| + void setNetworkStateNotifierTestOnly(boolean testOnly);
|
| + [RaisesException] void setNetworkConnectionInfo(DOMString type);
|
| };
|
|
|