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

Unified Diff: tests/html/custom/document_register_type_extensions_test.dart

Issue 24084004: Exposing document.createElement (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 3 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 | « sdk/lib/svg/dartium/svg_dartium.dart ('k') | tests/html/safe_dom_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/html/custom/document_register_type_extensions_test.dart
diff --git a/tests/html/custom/document_register_type_extensions_test.dart b/tests/html/custom/document_register_type_extensions_test.dart
index 3120c8dab37c42ca70a28c86e14bb3d7ae33691f..cae07a15389b93df44ee4446bb696e949b847d53 100644
--- a/tests/html/custom/document_register_type_extensions_test.dart
+++ b/tests/html/custom/document_register_type_extensions_test.dart
@@ -211,20 +211,20 @@ main() {
test('createElementNS', () {
var fooCreatedNS =
- document.$dom_createElementNS("http://www.w3.org/1999/xhtml",
+ document.createElementNS("http://www.w3.org/1999/xhtml",
Foo.tag, null);
expect(fooCreatedNS.outerHtml, anyOf(Foo.outerHtmlStrings));
expect(fooCreatedNS is Foo, isTrue);
var barCreatedNS =
- document.$dom_createElementNS("http://www.w3.org/1999/xhtml", "input",
+ document.createElementNS("http://www.w3.org/1999/xhtml", "input",
Bar.tag);
expect(barCreatedNS.outerHtml, Bar.outerHtmlString);
expect(barCreatedNS is Bar, isTrue);
expect(isFormControl(barCreatedNS), isTrue);
expect(() =>
- document.$dom_createElementNS(
+ document.createElementNS(
'http://example.com/2013/no-such-namespace',
'xml:lang', 'x-bar'), throws);
});
« no previous file with comments | « sdk/lib/svg/dartium/svg_dartium.dart ('k') | tests/html/safe_dom_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698