Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(61)

Side by Side Diff: third_party/WebKit/Source/core/testing/Internals.idl

Issue 1414553002: Fix out-of-memory crashes related to ArrayBuffer allocation Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase+more tweaks Created 5 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2012 Google Inc. All rights reserved. 2 * Copyright (C) 2012 Google Inc. All rights reserved.
3 * Copyright (C) 2013 Apple Inc. All rights reserved. 3 * Copyright (C) 2013 Apple Inc. All rights reserved.
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions 6 * modification, are permitted provided that the following conditions
7 * are met: 7 * are met:
8 * 8 *
9 * 1. Redistributions of source code must retain the above copyright 9 * 1. Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer. 10 * notice, this list of conditions and the following disclaimer.
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
97 // If the argument is omitted, the top-level document is used. 97 // If the argument is omitted, the top-level document is used.
98 boolean hasAutofocusRequest(optional Document document); 98 boolean hasAutofocusRequest(optional Document document);
99 [RaisesException] DOMString[] formControlStateOfHistoryItem(); 99 [RaisesException] DOMString[] formControlStateOfHistoryItem();
100 [RaisesException] void setFormControlStateOfHistoryItem(sequence<DOMString> values); 100 [RaisesException] void setFormControlStateOfHistoryItem(sequence<DOMString> values);
101 readonly attribute Window pagePopupWindow; 101 readonly attribute Window pagePopupWindow;
102 102
103 [RaisesException] ClientRect absoluteCaretBounds(); 103 [RaisesException] ClientRect absoluteCaretBounds();
104 104
105 [TypeChecking=Interface] ClientRect boundingBox(Element element); 105 [TypeChecking=Interface] ClientRect boundingBox(Element element);
106 106
107 void fakeOutOfMemoryForNextArrayBufferAllocation();
108
107 [RaisesException, TypeChecking=Interface] unsigned long markerCountForNode(N ode node, DOMString markerType); 109 [RaisesException, TypeChecking=Interface] unsigned long markerCountForNode(N ode node, DOMString markerType);
108 [TypeChecking=Interface] unsigned long activeMarkerCountForNode(Node node); 110 [TypeChecking=Interface] unsigned long activeMarkerCountForNode(Node node);
109 [RaisesException, TypeChecking=Interface] Range markerRangeForNode(Node node , DOMString markerType, unsigned long index); 111 [RaisesException, TypeChecking=Interface] Range markerRangeForNode(Node node , DOMString markerType, unsigned long index);
110 [RaisesException, TypeChecking=Interface] DOMString markerDescriptionForNode (Node node, DOMString markerType, unsigned long index); 112 [RaisesException, TypeChecking=Interface] DOMString markerDescriptionForNode (Node node, DOMString markerType, unsigned long index);
111 [TypeChecking=Interface] void addTextMatchMarker(Range range, boolean isActi ve); 113 [TypeChecking=Interface] void addTextMatchMarker(Range range, boolean isActi ve);
112 [TypeChecking=Interface] void setMarkersActive(Node node, unsigned long star tOffset, unsigned long endOffset, boolean active); 114 [TypeChecking=Interface] void setMarkersActive(Node node, unsigned long star tOffset, unsigned long endOffset, boolean active);
113 void setMarkedTextMatchesAreHighlighted(Document document, boolean highlight ); 115 void setMarkedTextMatchesAreHighlighted(Document document, boolean highlight );
114 116
115 [RaisesException, TypeChecking=Interface] void setFrameViewPosition(Document document, long x, long y); 117 [RaisesException, TypeChecking=Interface] void setFrameViewPosition(Document document, long x, long y);
116 118
(...skipping 236 matching lines...) Expand 10 before | Expand all | Expand 10 after
353 355
354 // Returns whether the scrollbar was able to be shown or hidden; not all pla tforms 356 // Returns whether the scrollbar was able to be shown or hidden; not all pla tforms
355 // support overlay scrollbars. 357 // support overlay scrollbars.
356 bool setScrollbarVisibilityInScrollableArea(Node node, boolean visible); 358 bool setScrollbarVisibilityInScrollableArea(Node node, boolean visible);
357 359
358 void forceRestrictIFramePermissions(); 360 void forceRestrictIFramePermissions();
359 [RaisesException] double monotonicTimeToZeroBasedDocumentTime(double platfor mTime); 361 [RaisesException] double monotonicTimeToZeroBasedDocumentTime(double platfor mTime);
360 362
361 [TypeChecking=Interface] void setMediaElementNetworkState(HTMLMediaElement e lement, long state); 363 [TypeChecking=Interface] void setMediaElementNetworkState(HTMLMediaElement e lement, long state);
362 }; 364 };
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/testing/Internals.cpp ('k') | third_party/WebKit/Source/core/xmlhttprequest/XMLHttpRequest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698