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

Unified Diff: LayoutTests/fast/dom/element-attribute-js-null.html

Issue 102763002: Remove TreatNullAs=NullString for HTMLElement (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years 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 | LayoutTests/fast/dom/element-attribute-js-null-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/fast/dom/element-attribute-js-null.html
diff --git a/LayoutTests/fast/dom/element-attribute-js-null.html b/LayoutTests/fast/dom/element-attribute-js-null.html
index 832d04707d798c9f3df9653b6859e321503b4ec3..cc0fa553e452543cc7235312b5c84073a66fa13d 100644
--- a/LayoutTests/fast/dom/element-attribute-js-null.html
+++ b/LayoutTests/fast/dom/element-attribute-js-null.html
@@ -85,19 +85,25 @@
]
},
{
- type: 'HTMLElement',
- elementToUse: document.createElement('div'),
+ type: 'Element',
+ elementToUse: document.createElementNS('http://example.com/', 'example'),
attributes: [
- {name: 'title', expectedNull: ''},
{name: 'id', expectedNull: ''},
- {name: 'lang', expectedNull: ''},
- {name: 'dir', expectedNull: ''},
{name: 'className', expectedNull: ''},
{name: 'innerHTML', expectedNull: ''},
+ {name: 'outerHTML', expectedNull: 'exception'}
+ ]
+ },
+ {
+ type: 'HTMLElement',
+ elementToUse: document.createElement('abbr'),
+ attributes: [
+ {name: 'accessKey', expectedNull: 'null'},
+ {name: 'title', expectedNull: 'null'},
+ {name: 'lang', expectedNull: 'null'},
+ {name: 'dir', expectedNull: 'null'},
{name: 'innerText', expectedNull: ''},
- // FIXME: TEST THESE
- // {name: 'outerHTML', expectedNull: ''},
- // {name: 'outerText', expectedNull: ''},
+ {name: 'outerText', expectedNull: 'exception'},
{name: 'contentEditable', expectedNull: 'exception'}
]
},
@@ -105,7 +111,6 @@
type: 'HTMLAnchorElement',
elementToUse: document.createElement('a'),
attributes: [
- {name: 'accessKey', expectedNull: ''},
{name: 'charset', expectedNull: 'null'},
{name: 'coords', expectedNull: 'null'},
{name: 'download', expectedNull: 'null'},
@@ -139,7 +144,6 @@
type: 'HTMLAreaElement',
elementToUse: document.createElement('area'),
attributes: [
- {name: 'accessKey', expectedNull: ''},
{name: 'alt', expectedNull: 'null'},
{name: 'coords', expectedNull: 'null'},
{name: 'href', expectedNull: ''},
@@ -195,7 +199,6 @@
type: 'HTMLButtonElement',
elementToUse: document.createElement('button'),
attributes: [
- {name: 'accessKey', expectedNull: ''},
{name: 'formAction', expectedNull: 'null', isUrl: true},
{name: 'formEnctype', expectedNull: 'application/x-www-form-urlencoded'},
{name: 'formMethod', expectedNull: 'get'},
@@ -352,7 +355,6 @@
elementToUse: document.createElement('input'),
attributes: [
{name: 'accept', expectedNull: 'null'},
- {name: 'accessKey', expectedNull: ''},
{name: 'align', expectedNull: 'null'},
{name: 'alt', expectedNull: 'null'},
{name: 'autocomplete', expectedNull: 'null'},
@@ -398,7 +400,6 @@
type: 'HTMLLabelElement',
elementToUse: document.createElement('label'),
attributes: [
- {name: 'accessKey', expectedNull: ''},
{name: 'htmlFor', expectedNull: 'null'}
]
},
@@ -406,7 +407,6 @@
type: 'HTMLLegendElement',
elementToUse: document.createElement('legend'),
attributes: [
- {name: 'accessKey', expectedNull: ''},
{name: 'align', expectedNull: 'null'}
]
},
@@ -664,7 +664,6 @@
type: 'HTMLTextAreaElement',
elementToUse: document.createElement('textarea'),
attributes: [
- {name: 'accessKey', expectedNull: ''},
{name: 'defaultValue', expectedNull: 'null'},
{name: 'dirName', expectedNull: 'null'},
{name: 'inputMode', expectedNull: 'null'},
« no previous file with comments | « no previous file | LayoutTests/fast/dom/element-attribute-js-null-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698