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

Unified Diff: sky/engine/core/dom/Document.idl

Issue 1196463002: Don't crash if you call document.createText(null) (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 6 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 | « no previous file | sky/tests/raw/null_text_crash.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/core/dom/Document.idl
diff --git a/sky/engine/core/dom/Document.idl b/sky/engine/core/dom/Document.idl
index 50ee8bbd56895a7a37c78be851faeb9831f0ba97..d3058aa63da6e95cb97d29c1b4c318e0545db1f7 100644
--- a/sky/engine/core/dom/Document.idl
+++ b/sky/engine/core/dom/Document.idl
@@ -24,7 +24,7 @@ callback CustomElementConstructor = Element ();
Constructor(),
] interface Document : ParentNode {
[CustomElementCallbacks, RaisesException] Element createElement(DOMString tagName);
- Text createText(DOMString text);
+ Text createText(DOMString? text);
DocumentFragment createDocumentFragment();
« no previous file with comments | « no previous file | sky/tests/raw/null_text_crash.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698