www.public.nm.eurocontrol.int - Drop-down buttons from "Network Headline News" section does not show content when expanded
Categories
(Web Compatibility :: Site Reports, defect, P1)
Tracking
(Webcompat Priority:P3, Webcompat Score:1, firefox-esr115 unaffected, firefox-esr140 unaffected, firefox148 wontfix, firefox149 verified, firefox150 verified, firefox151 verified)
| Tracking | Status | |
|---|---|---|
| firefox-esr115 | --- | unaffected |
| firefox-esr140 | --- | unaffected |
| firefox148 | --- | wontfix |
| firefox149 | --- | verified |
| firefox150 | --- | verified |
| firefox151 | --- | verified |
People
(Reporter: ctanase, Assigned: vhilla)
References
(Regression, )
Details
(5 keywords, Whiteboard: [webcompat-source:web-bugs])
User Story
user-impact-score:0 platform:windows,mac,linux,android impact:content-missing configuration:general affects:all branch:release diagnosis-team:dom
Attachments
(2 files, 2 external files)
Environment:
Operating system: Windows 10
Firefox version: Firefox 148.0/150
Steps to reproduce:
- Go to https://www.public.nm.eurocontrol.int/PUBPORTAL/gateway/spec/
- Click on the drop-downs located in the "Network Headline News" section.
Expected Behavior:
Gets expanded and shows content.
Actual Behavior:
Opens but doesn't show any content.
Notes:
- Reproduces regardless of the status of ETP
- Reproduces in firefox-nightly, and firefox-release
- Does not reproduce in chrome
Created from https://github.com/webcompat/web-bugs/issues/209979
| Reporter | ||
Comment 1•9 months ago
|
||
Comment 2•8 months ago
|
||
Regression window:
https://hg-edge.mozilla.org/integration/autoland/pushloghtml?fromchange=37f1c536fdb89cd69039774a87f3ad8a94b95328&tochange=86c4f03a43058ea62f76021ad5a50e6199c34567
Comment 3•8 months ago
|
||
:vhilla, since you are the author of the regressor, bug 543435, could you take a look? Also, could you set the severity field?
For more information, please visit BugBot documentation.
Comment 4•8 months ago
|
||
The clickable items are supposed to inject an about:blank iframe and fill it with content. It seems that the iframe gets injected but content doesn't get filled in.
Lots of minified code. :-(
Updated•8 months ago
|
| Assignee | ||
Comment 5•8 months ago
•
|
||
If it's a regression from bug 543435, likely they expect an async load event.
The content gets filled in if I manually dispatch a load event. I.e. Click the first "Tactical Update" dropdown, then exec document.querySelector("#eurocontrol_gwt_ext_stc_0").dispatchEvent(new Event("load")). Though the content initially expands, stays blank, then shrinks and the load doesn't trigger a resize.
If the load event comes async but quick enough, the resize works fine. The attachment is a quick snippet from ChatGPT to do this via a MutationObserver. My initial attempt that limited this to the specific iframe id didn't work, which might hint at them setting load and id after binding the iframe.
| Assignee | ||
Comment 6•8 months ago
|
||
Switching my UA to Chrome also fixes this.
Updated•8 months ago
|
| Assignee | ||
Comment 7•8 months ago
•
|
||
(In reply to Henri Sivonen (:hsivonen) from comment #4)
The clickable items are supposed to inject an about:blank iframe and fill it with content. It seems that the iframe gets injected but content doesn't get filled in.
Lots of minified code. :-(
Logging the stack trace on document.createElement("iframe") shows lots of line 9 > injectedScript stack frames, starting at some onScriptDownloaded method in MainPages.nocache.js where some element is dynamically inserted. If I try to attach a debugger on createElement("iframe"), the stack is empty. Seems like they dynamically inject some script that can't easily be debugged.
So I guess the options are
- Reach out to the site because they likely have some Firefox-specific code that expects initial
about:blankto load async. - Or ship an intervention to
- Spoof the UA
- Or have a list of (URI, iframe selector) pairs for which we dispatch an additioal, async
loadevent on bind. I expect there will be a few more such pages, like bug 2020668.
Comment 8•8 months ago
|
||
The planned Fx148 planned dot release builds on Monday, 2026-03-09 with release uplift requests due by eod Friday 2026-03-06.
:vhilla, I see in Comment 7 you don't mention a patch as a fix, but double-checking and mentioning the Fx148 dot release.
| Assignee | ||
Comment 9•8 months ago
|
||
Thanks, yes I don't think this is something we can fix in Gecko.
Comment 10•8 months ago
|
||
I think we should ship an UA spoof intervention. That's simpler than dispatching events.
| Assignee | ||
Comment 11•8 months ago
|
||
I'm unsure for which URIs to enable an intervention. I suspect we want to target this Network Operational Portal (NOP).
https://www.eurocontrol.int/network-operations links to a protected https://www.nm.eurocontrol.int/PORTAL/gateway/spec/index.html and public https://www.public.nm.eurocontrol.int/PUBPORTAL/gateway/spec/ version. I can't test whether the protected version has a similar issue.
| Assignee | ||
Comment 12•8 months ago
|
||
I've been trying to copy https://phabricator.services.mozilla.com/D249011 as it's given as example for UA overriding in https://wiki.mozilla.org/Compatibility/System_Addon/Interventions. Doing so overrides navigator.userAgent on the top level, but the following still leaks the UA:
ifr = document.createElement("iframe")
document.body.append(ifr)
ifr.contentWindow.navigator.userAgent
The page remains broken with the intervention. The following document start MAIN world content script would work:
Object.defineProperty(navigator, "userAgent", {
get: () => "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36",
configurable: true,
});
| Assignee | ||
Comment 13•8 months ago
|
||
I also don't see a simple way to add such a match_about_blank content script to the webcompat extension, because buildContentScriptRegistrations doesn't support it on intervention.content_scripts. Claude says even if it did, that uses browser.scripting.registerContentScripts which also doesn't support it.
| Assignee | ||
Comment 14•8 months ago
|
||
Updated•8 months ago
|
Comment 15•8 months ago
|
||
Bug 2021253 for a cross-site fix for the component.
Updated•8 months ago
|
Comment 16•8 months ago
|
||
Comment 17•8 months ago
|
||
Could you request an uplift to beta for this patch once it has landed? Thank you!
| Assignee | ||
Updated•8 months ago
|
Comment 18•8 months ago
|
||
| bugherder | ||
Updated•8 months ago
|
Comment 20•8 months ago
|
||
It's a safe uplift if we want it that badly, sure. We'll just have to rebase it against beta. I'll attach a separate patch for it for Vincent shortly.
Comment 21•8 months ago
|
||
Comment 22•8 months ago
|
||
firefox-beta Uplift Approval Request
- User impact if declined/Reason for urgency: The site www.public.nm.eurocontrol.int will have broken headline drop-downs.
- Code covered by automated testing?: yes
- Fix verified in Nightly?: yes
- Needs manual QE testing?: yes
- Steps to reproduce for manual QE testing: 1. Go to https://www.public.nm.eurocontrol.int/PUBPORTAL/gateway/spec/
- Click on the drop-downs located in the "Network Headline News" section.
- Confirm that the drop-downs expand to show their content.
- Risk associated with taking this patch: low
- Explanation of risk level: This only affects our built-in webcompat addon, and only on the specified site.
- String changes made/needed?: none
- Is Android affected?: yes
Updated•8 months ago
|
Updated•8 months ago
|
| Assignee | ||
Comment 23•8 months ago
|
||
Thanks, I wasn't sure if we want to uplift based on the slack messages. But of course, it's safe to do.
Updated•8 months ago
|
Updated•7 months ago
|
Comment 24•7 months ago
|
||
| uplift | ||
Updated•7 months ago
|
Comment 25•7 months ago
|
||
Verified - Fixed in the latest Nightly build 151.0a1 (2026-04-06) Beta 150.0b6 and 149.0.2(build id: 20260403140140), using Windows 10. The drop-downs located in the "Network Headline News" section are now expended and show their content correctly.
@Vincent, is there anything else to do here on your end? I ask this because I see the status of the bug and the tracking flags are not marked as resolved/fixed yet.
Thank you!
Comment 26•7 months ago
|
||
I am updating the tracking flags according to QA results, maybe the leave-open keyword interfered with automation.
Updated•7 months ago
|
| Assignee | ||
Comment 27•7 months ago
|
||
Tom said to leave bugs open while an intervention is active. There's nothing left to do from my side.
Ni? to triage owner, are the tracking flags and status correct now?
| Assignee | ||
Updated•7 months ago
|
Comment 28•5 months ago
•
|
||
Given comment 5 - comment 9, I think we can consider this diagnosed; I don't think it makes sense in the needs-diagnosis queue anymore.
As noted in comment 7, it appears the diagnosis was that the site "likely [has] some Firefox-specific code that expects initial about:blank to load async." And we're now working around that with a UA-spoof, and we don't have a good way to fix this beyond that.
Description
•