Closed Bug 1642303 Opened 4 years ago Closed 4 years ago

ourworldindata graph not shown

Categories

(Core :: DOM: Networking, defect, P1)

defect

Tracking

()

VERIFIED FIXED
mozilla79
Tracking Status
firefox-esr68 --- unaffected
firefox-esr78 --- disabled
firefox77 --- unaffected
firefox78 --- disabled
firefox79 --- verified

People

(Reporter: moz, Assigned: mayhemer)

References

(Regression)

Details

(Keywords: perf-alert, regression, Whiteboard: [necko-triaged])

Attachments

(2 files, 1 obsolete file)

Since a few days the current nighlties don't show the graph in
(https://ourworldindata.org/grapher/total-covid-deaths-per-million?tab=chart&time=2020-03-15..&country=ARG~AUT~BEL~BRA~CAN~CHN~DNK~FRA~DEU~IRL~ITA~JPN~LIE~LUX~NLD~PRT~RUS~KOR~ESP~SWE~CHE~GBR~USA)
isn't shown. A different profile or private browsing don't help. Chrome displays the graph correctly.

ncaught (in promise) Error: 0 
    Wt https://ourworldindata.org/assets/js/commons.js:16
    Wt https://ourworldindata.org/assets/js/commons.js:16
    Wt https://ourworldindata.org/assets/js/commons.js:16
    xt https://ourworldindata.org/assets/js/commons.js:16
    xt https://ourworldindata.org/assets/js/commons.js:16
    Wt https://ourworldindata.org/assets/js/commons.js:16
    downloadData https://ourworldindata.org/assets/js/commons.js:36
    M https://ourworldindata.org/assets/js/commons.js:36
    M https://ourworldindata.org/assets/js/commons.js:36
    downloadData https://ourworldindata.org/assets/js/commons.js:36
    ne https://ourworldindata.org/assets/js/commons.js:16
    r https://ourworldindata.org/assets/js/commons.js:16
    ne https://ourworldindata.org/assets/js/commons.js:16
    r https://ourworldindata.org/assets/js/commons.js:16
    b https://ourworldindata.org/assets/js/commons.js:16
    m https://ourworldindata.org/assets/js/commons.js:16
    runReaction https://ourworldindata.org/assets/js/commons.js:16
    We https://ourworldindata.org/assets/js/commons.js:16
    Ye https://ourworldindata.org/assets/js/commons.js:16
    Ye https://ourworldindata.org/assets/js/commons.js:16
    js https://ourworldindata.org/assets/js/commons.js:64
    Ye https://ourworldindata.org/assets/js/commons.js:16
    He https://ourworldindata.org/assets/js/commons.js:16
    schedule https://ourworldindata.org/assets/js/commons.js:16
    it https://ourworldindata.org/assets/js/commons.js:16
    P https://ourworldindata.org/assets/js/commons.js:36
    bootstrap https://ourworldindata.org/assets/js/commons.js:36
    <anonymous> https://ourworldindata.org/grapher/total-covid-deaths-per-million?tab=chart&time=2020-03-15..&country=ARG~AUT~BEL~BRA~CAN~CHN~DNK~FRA~DEU~IRL~ITA~JPN~LIE~LUX~NLD~PRT~RUS~KOR~ESP~SWE~CHE~GBR~USA:56
commons.js:16:59596

So, it looks like this is failing in an xhr request:

function Wt(e) {
return xt(this, void 0, void 0, function * () {
return new Promise((t, n) =>{
const r = new XMLHttpRequest;
r.addEventListener('load', function () {
t(JSON.parse(this.responseText))
}),
r.addEventListener('readystatechange', () =>{
4 === r.readyState && 200 !== r.status && n(new Error(`${r.status
}
 ${r.statusText
}
`))
}),
r.open('GET', e),
r.send()
})
})
}

9:09.33 INFO: Last good revision: 741feae54c0f0a339b32ba05b4f71dc50c830fc6
9:09.33 INFO: First bad revision: 2bccc3e80006f2ad27060453135b19fac2d43460
9:09.33 INFO: Pushlog:
https://hg.mozilla.org/integration/autoland/pushloghtml?fromchange=741feae54c0f0a339b32ba05b4f71dc50c830fc6&tochange=2bccc3e80006f2ad27060453135b19fac2d43460

Interesting... enabling rel=preload breaks this page. Honza, any idea why this might happen (I haven't really looked closely).

Note to the reporter: right now this change won't ship to release, but it will be broken in Nightly until we can figure it out.

Flags: needinfo?(honzab.moz)
Regressed by: 1639607
Has Regression Range: --- → yes

Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:77.0) Gecko/20100101 Firefox/77.0

Hi,

I have managed to reproduce this issue on Beta 78.0b3 and latest Nightly 79.0a1 (2020-06-05) using Windows 10 as well. I will move this over to a component, but if this is not the correct component please feel free to change it to an appropriate one.

Thanks.

Component: Untriaged → DOM: Networking
OS: Linux → All
Product: Firefox → Core
Hardware: x86_64 → All
Assignee: nobody → honzab.moz
Status: NEW → ASSIGNED
Flags: needinfo?(honzab.moz)
Severity: -- → S2
Priority: -- → P1
Whiteboard: [necko-triaged]
Attachment #9155011 - Attachment is obsolete: true
Pushed by honzab.moz@firemni.cz:
https://hg.mozilla.org/integration/autoland/rev/03baebbd4fb0
Keep channel of FetchPreloader even after the load has finished to let preload consumers use that channel early after opening, r=baku

Comment on attachment 9155023 [details]
Bug 1642303 - Keep channel of FetchPreloader even after the load has finished to let preload consumers use that channel early after opening, r=baku

Beta/Release Uplift Approval Request

  • User impact if declined: Broken high profile website.
  • Is this code covered by automated tests?: No
  • Has the fix been verified in Nightly?: Yes
  • Needs manual test from QE?: No
  • If yes, steps to reproduce:
  • List of other uplifts needed: None
  • Risk to taking this patch: Low
  • Why is the change risky/not risky? (and alternatives if risky): Low, because only thing that this could is a leak that we would likely catch on try. Try run was leak-free.
  • String changes made/needed:
Attachment #9155023 - Flags: approval-mozilla-beta?
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla79
Status: RESOLVED → VERIFIED

Reproduced the issue using an old Nightly build 79.0a1 (2020-06-05) and Beta 78.0b5.
Verified - Fixed in latest Nightly build 79.0a1 (build id: 20200612094620) using Windows 10 and Ubuntu 18.04.

Comment on attachment 9155023 [details]
Bug 1642303 - Keep channel of FetchPreloader even after the load has finished to let preload consumers use that channel early after opening, r=baku

rel=preload will be off in the next 78 beta build.

Attachment #9155023 - Flags: approval-mozilla-beta? → approval-mozilla-beta-

== Change summary for alert #26195 (as of Fri, 12 Jun 2020 14:46:59 GMT) ==

Improvements:

4% raptor-tp6-instagram-firefox-cold loadtime windows10-64-shippable-qr opt 1,227.00 -> 1,181.08

For up to date results, see: https://treeherder.mozilla.org/perf.html#/alerts?id=26195

Keywords: perf-alert
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: