Created attachment 634640 [details] DOMTest.zip User Agent: Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; WOW64; Trident/5.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; .NET CLR 1.1.4322; .NET4.0C; .NET4.0E; InfoPath.3; MS-RTC LM 8) Steps to reproduce: See attached files for an example. A simple DOM request via XMLHttpRequest no longer works when checking attributes.firstChild of a returned node element. Actual results: Firefox 13 returns an object text string. Firefox 14 returns null. Expected results: Firefox 14 should do what Firefox 13 did (Firefox has done this at least since Firefox 5).
Component: Untriaged → DOM
Product: Firefox → Core
QA Contact: untriaged → general
This was a purposeful change to align with the DOM4 spec, I believe. See bug 737122. Note that use of .firstChild on attribute nodes has warned that it's deprecated since Firefox 7 (see bug 661327, which added the warnings).
Status: UNCONFIRMED → RESOLVED
Last Resolved: 6 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.