Closed
Bug 452580
Opened 17 years ago
Closed 15 years ago
In an XSLT generated document, JavaScript command "document.lastModified" returns the Epoch
Categories
(Firefox :: General, defect)
Tracking
()
RESOLVED
INCOMPLETE
People
(Reporter: gadjetor, Unassigned)
References
()
Details
(Whiteboard: [CLOSEME 2010-11-01])
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; fr; rv:1.9.0.1) Gecko/2008070208 Firefox/3.0.1
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 6.0; fr; rv:1.9.0.1) Gecko/2008070208 Firefox/3.0.1
The web page is an XML file, with an XSLT style sheet.
The XSLT style sheet contains some HTML code. The tag "<script>" is linked with a JavaScript file.
In this web page, I want to display the XML document's last modified date, but the JavaScript attribute "document.lastModified" contains the Epoch.
I understand the document is not the XML file, but a new document created on the fly by Firefox to transform the XML file with the XSLT style sheet.
Reproducible: Always
Steps to Reproduce:
1. go to the webpage http://gadjetor.free.fr/SNCF/journees.xml
2. see in the top right corner the sentence "mis à jour le xx/xx/xx à xx:xx" (means "last updated the xx/xx/xx xx:xx")
Actual Results:
The sentence displays the Epoch (01/01/70 00:00)
Expected Results:
The sentence must display the last modified date of the XML document.
I try the same page with :
- Internet Explorer 7.0
- Safari 3.1
- Opera 9.52
And it works every time : the date is correct.
Comment 1•17 years ago
|
||
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.1) Gecko/2008070208 Firefox/3.0.1
I tried also some old Firefox builds but it has never worked.
Comment 2•15 years ago
|
||
This is a mass search for Firefox General bugs filed against version 3.0 that are UNCO and have not been changed for 200 days.
Reporter, please update to Firefox 3.6.10 or alter. Firefox 3.0 is no longer supported and is no longer receiving updates. After you update, please create a fresh profile, http://support.mozilla.com/kb/managing+profiles, and test to see if your bug still exists. If you still the bug, then please post a comment with the version you tested against, and the problem. If the issue is no longer there, please set the RESOLUTION to RESOLVED, WORKSFORME.
Whiteboard: [CLOSEME 2010-11-01]
Comment 3•15 years ago
|
||
No reply from reporter, INCOMPLETE. Please retest with Firefox 3.6.12 or later and a new profile (http://support.mozilla.com/kb/Managing+profiles). If you continue to see this issue with the newest firefox and a new profile, then please comment on this bug.
Status: UNCONFIRMED → RESOLVED
Closed: 15 years ago
Resolution: --- → INCOMPLETE
You need to log in
before you can comment on or make changes to this bug.
Description
•