Issue metadata
Sign in to add a comment
|
document.lastModified using html access time vs. actual html modified time
Reported by
mariajca...@gmail.com,
Aug 17
|
||||||||||||||||||||||
Issue description
UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/68.0.3440.106 Safari/537.36
Steps to reproduce the problem:
Create the following html file and save locally. Open in both Chrome and IE to see behavior difference.
<html>
<head>
<title>test</title>
</head>
<body>
<script language="Javascript">
document.write("Last Modified on: " +document.lastModified +"");
</SCRIPT>
<p id="demo"></p>
</body>
</html>
What is the expected behavior?
I expect to see the timestamp for when the file was saved (aka, the actual last modified time of the html file).
What went wrong?
When opening in chrome it displays the CURRENT time (aka last accessed time).
Did this work before? N/A
Chrome version: 68.0.3440.106 Channel: stable
OS Version: 10.0
Flash Version:
|
|||||||||||||||||||||||
►
Sign in to add a comment |
|||||||||||||||||||||||
Comment 1 by e...@chromium.org
, Aug 18Status: Duplicate (was: Unconfirmed)