forked from facebook/react
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.js
28 lines (24 loc) · 941 Bytes
/
index.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
import FixtureSet from '../../FixtureSet';
import TestCase from '../../TestCase';
import AttributeStringificationTestCase from './AttributeStringificationTestCase';
const React = window.React;
function AttributeStringification() {
return (
<FixtureSet title="Attribute stringification">
<TestCase
title="Stringification in attribute setters"
description={`
Some browsers fail to stringify objects passed to Element.setAttribute(NS)
function. This test verifies that React correctly detects this and stringifies the value itself.
`}
affectedBrowsers="IE9">
<TestCase.ExpectedResult>
The Attribute value displayed below the input field is "stringified".
The value is not "[object]".
</TestCase.ExpectedResult>
<AttributeStringificationTestCase />
</TestCase>
</FixtureSet>
);
}
export default AttributeStringification;