blob: 36d63dfcad94766d779c8b7ffa7d90422b128fce [file] [log] [blame]
Tests that setting document.title does not reuse title's text node child
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
PASS document.title is "aaa"
PASS oldTextNode.textContent is "aaa"
document.title = 'bbb'
PASS oldTextNode.textContent is "aaa"
PASS oldTextNode is not newTextNode
PASS document.title is "bbb"
PASS newTextNode.textContent is "bbb"
PASS successfullyParsed is true
TEST COMPLETE