Index: third_party/WebKit/Source/core/testing/Internals.idl |
diff --git a/third_party/WebKit/Source/core/testing/Internals.idl b/third_party/WebKit/Source/core/testing/Internals.idl |
index 5350003de5f7900ae26cc45407a867778debb6d3..fa9389c6257adfb6a2279ab8dd112ed0646c03dc 100644 |
--- a/third_party/WebKit/Source/core/testing/Internals.idl |
+++ b/third_party/WebKit/Source/core/testing/Internals.idl |
@@ -200,10 +200,10 @@ |
unsigned long[] setMemoryCacheCapacities(unsigned long minDeadBytes, unsigned long maxDeadBytes, unsigned long totalBytes); |
DOMString counterValue(Element element); |
- long pageNumber(Element element, optional float pageWidth, optional float pageHeight); |
+ [RaisesException] long pageNumber(Element element, optional float pageWidth = 800, optional float pageHeight = 600); |
DOMString[] shortcutIconURLs(Document document); |
DOMString[] allIconURLs(Document document); |
- long numberOfPages(optional double pageWidthInPixels, optional double pageHeightInPixels); |
+ [RaisesException] long numberOfPages(optional double pageWidthInPixels = 800, optional double pageHeightInPixels = 600); |
[RaisesException] DOMString pageProperty(DOMString propertyName, long pageNumber); |
[RaisesException] DOMString pageSizeAndMarginsInPixels(long pageIndex, long width, long height, long marginTop, long marginRight, long marginBottom, long marginLeft); |