Test that if HTMLIFrameElement.document exists, it is an alias for HTMLIFrameElement.contentDocument.
Created attachment 25297 [details] New test + result
Are you sure this correct? HTMLIFrameElement.document and HTMLIFrameElement.contentDocument should not point to the same thing as far as I know. HTMLIFrameElement.document should be the document the iframe is in, and HTMLIFrameElement.contentDocument should be the document in iframe.
Comment on attachment 25297 [details] New test + result r=me
(In reply to comment #2) > Are you sure this correct? No. Recent builds (3.2 and trunk) don't offer HTMLIFrameElement.document at all, and I can't find any additional documentation describing what it used to be. I'll ask the original author of the test why he thought this was the intended behavior. Removing Darin's r+ in the meantime.
LOL, sorry I blindly said review+ on this. I remember well when we removed this "document" attribute, and the terrible problems it was causing on many real world websites!
Never mind, then. This test is no longer needed.