Closed
Bug 1504657
Opened 7 years ago
Closed 4 years ago
Site keeps loading in firefox.
Categories
(Web Compatibility :: Site Reports, defect, P1)
Tracking
(firefox63 wontfix, firefox64 wontfix, firefox65 affected)
RESOLVED
FIXED
People
(Reporter: martin84a, Unassigned)
References
Details
(Keywords: webcompat:site-wait, Whiteboard: [sitewait])
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:64.0) Gecko/20100101 Firefox/64.0
Steps to reproduce:
1) Go to www.jp.dk (A website for a major Danish newspaper)
2) Select an article and wait for the page to finish loading
3) Try to browse back
Actual results:
When trying to browse back, the page loads forever. On Chrome I have no issue.
Comment 1•7 years ago
|
||
Hi Martin,
Environment:
Device: Samsung Galaxy Note 8 (Android 8.0)
Build: Firefox Nightly 65.0a1 (2018-11-04)
I could reproduce the issue following your steps. Also reproducible on Beta 64.0b6 and Release 62.0.3.
Thank you for the report!
Status: UNCONFIRMED → NEW
status-firefox64:
--- → affected
status-firefox65:
--- → affected
Ever confirmed: true
OS: Unspecified → Android
Hardware: Unspecified → ARM
Comment 3•7 years ago
|
||
I can reproduce in Desktop with Responsive Design Mode, if I sent a Firefox for Android UA string.
Tom, can you sniff it out? Seems scripty -- I don't see anything weird at the HTTP level.
Flags: needinfo?(miket) → needinfo?(twisniewski)
Updated•7 years ago
|
Comment 4•7 years ago
|
||
It's this fragment of code in their markup (https://jyllands-posten.dk/?device=mobil):
><input type="hidden" id="cacheTest"/>
><script>
> (function () {
> var input = document.querySelector('#cacheTest');
> if (input.value !== '') {
> window.location.reload();
> }
> input.value = "cached";
> }());
></script>
This would be site error, because they aren't telling the reload() method to actually ignore the browser cache (so the input always has the value "cached" no matter how many times they call reload).
Changing it to pass true fixes the issue in local tests:
> if (input.value !== '') {
> window.location.reload(true);
> }
Flags: needinfo?(twisniewski)
Comment 5•7 years ago
|
||
Thanks Tom.
Adam, can we try to reach out to the site about Comment #4?
Component: General → Mobile
Flags: needinfo?(astevenson)
Priority: P3 → P1
Product: Firefox for Android → Tech Evangelism
Whiteboard: [needscontact]
Comment 6•7 years ago
|
||
Reaching out to customer support:
http://abonnement.jyllands-posten.dk/kundecenter
Flags: needinfo?(astevenson)
Whiteboard: [needscontact] → [sitewait]
| Assignee | ||
Updated•7 years ago
|
Product: Tech Evangelism → Web Compatibility
Updated•7 years ago
|
See Also: → https://webcompat.com/issues/25812
Is this a case of Chrome not following proper web-standards since the script doesn't act the same with Chrome? If so I'm getting flashback to IE6 where developers just made sure that it worked in IE6 no matter how poor that browser was at following web-standards.
Comment 8•7 years ago
|
||
See bug 1547409. Moving webcompat whiteboard tags to keywords.
Keywords: webcompat:site-wait
Comment 9•4 years ago
|
||
The offending code is no longer present.
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
| Assignee | ||
Updated•2 years ago
|
Component: Mobile → Site Reports
You need to log in
before you can comment on or make changes to this bug.
Description
•