Chromium browser does not honour DOM last modified

Asked by Tommy Pollák

It seems that the Chromium web browser Version 51.0.2704.79 Ubuntu 16.04 sets the JavaScript variable document.lastModified to the current date and time if the document is browsed with the file protocol, e.g. file:///media/OS/Users....

Firefox shows 2016-07-18 17:36:12 for my document whereas Chromium for the same document now shows 2016-07-18 17:46:36, a time that changes every time the page is loaded.

Exactly the same JavaScript function works perfectly well for Chromium when provided by HTTP, see http://www.osttimorkommitten.se/.

How comes?

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

I suggest you report a bug

Can you help with this problem?

Provide an answer of your own, or ask Tommy Pollák for more information if necessary.

To post a message you must log in.