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

Unified Diff: Source/core/dom/CharacterData.idl

Issue 21542002: Make CharacterData::insertData() / deleteData() / replaceData() arguments mandatory (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebaseline fast/dom/characterdata-appendData-argument.html Created 7 years, 5 months 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « LayoutTests/fast/dom/script-tests/non-numeric-values-numeric-parameters.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/CharacterData.idl
diff --git a/Source/core/dom/CharacterData.idl b/Source/core/dom/CharacterData.idl
index 6b249e5764f2cd0a1bec96cc1c8e5dd25176bb0b..eb9409f407a5e47f18a0426adf13334e3775ef0f 100644
--- a/Source/core/dom/CharacterData.idl
+++ b/Source/core/dom/CharacterData.idl
@@ -26,16 +26,9 @@ interface CharacterData : Node {
[TreatReturnedNullStringAs=Null, RaisesException] DOMString substringData([IsIndex,Default=Undefined] optional unsigned long offset, [IsIndex,Default=Undefined] optional unsigned long length);
void appendData(DOMString data);
-
- [RaisesException] void insertData([IsIndex,Default=Undefined] optional unsigned long offset,
- [Default=Undefined] optional DOMString data);
-
- [RaisesException] void deleteData([IsIndex,Default=Undefined] optional unsigned long offset,
- [IsIndex,Default=Undefined] optional unsigned long length);
-
- [RaisesException] void replaceData([IsIndex,Default=Undefined] optional unsigned long offset,
- [IsIndex,Default=Undefined] optional unsigned long length,
- [Default=Undefined] optional DOMString data);
+ [RaisesException] void insertData([IsIndex] unsigned long offset, DOMString data);
+ [RaisesException] void deleteData([IsIndex] unsigned long offset, unsigned long length);
+ [RaisesException] void replaceData([IsIndex] unsigned long offset, unsigned long length, DOMString data);
};
CharacterData implements ChildNode;
« no previous file with comments | « LayoutTests/fast/dom/script-tests/non-numeric-values-numeric-parameters.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698