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

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

Issue 30693003: Test setting string properties to null on <audio>, <video>, <source> and <track> (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 years, 2 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 | 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 8029811f16ee5af93ae4a4a5e57ca5314dc2eeac..6d75e8bd2305feb53ce8e521ca71d2e37ad48fee 100644
--- a/LayoutTests/fast/dom/element-attribute-js-null.html
+++ b/LayoutTests/fast/dom/element-attribute-js-null.html
@@ -139,6 +139,15 @@
]
},
{
+ type: 'HTMLAudioElement',
+ elementToUse: document.createElement('audio'),
+ attributes: [
+ {name: 'mediaGroup', expectedNull: ''},
+ {name: 'preload', expectedNull: 'auto'},
+ {name: 'src', expectedNull: ''}
+ ]
+ },
+ {
type: 'HTMLBaseElement',
elementToUse: document.createElement('base'),
attributes: [
@@ -483,6 +492,15 @@
]
},
{
+ type: 'HTMLSourceElement',
+ elementToUse: document.createElement('source'),
+ attributes: [
+ {name: 'media', expectedNull: 'null'},
+ {name: 'src', expectedNull: ''},
+ {name: 'type', expectedNull: 'null'}
+ ]
+ },
+ {
type: 'HTMLStyleElement',
elementToUse: document.createElement('style'),
attributes: [
@@ -579,11 +597,31 @@
]
},
{
+ type: 'HTMLTrackElement',
+ elementToUse: document.createElement('track'),
+ attributes: [
+ {name: 'kind', expectedNull: 'subtitles'},
+ {name: 'label', expectedNull: 'null'},
+ {name: 'src', expectedNull: ''},
+ {name: 'srclang', expectedNull: 'null'}
+ ]
+ },
+ {
type: 'HTMLUListElement',
elementToUse: document.createElement('ul'),
attributes: [
{name: 'type', expectedNull: ''}
]
+ },
+ {
+ type: 'HTMLVideoElement',
+ elementToUse: document.createElement('video'),
+ attributes: [
+ {name: 'mediaGroup', expectedNull: ''},
+ {name: 'poster', expectedNull: ''},
+ {name: 'preload', expectedNull: 'auto'},
+ {name: 'src', expectedNull: ''}
+ ]
}
];
« 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