Open Bug 1749116 Opened 3 years ago Updated 1 month ago

Remove the "FrameData missing for..." error message or make it a normal warning message

Categories

(WebExtensions :: General, task, P3)

task

Tracking

(Not tracked)

UNCONFIRMED

People

(Reporter: kernp25, Unassigned)

References

Details

If it's expected, that the data can be undefined, then this useless error message should be removed or should be a normal warning message like console.warn().

I'm still seeing this error messages a lot in the console.

Flags: needinfo?(rob)
Flags: needinfo?(rob)
See Also: → 1735347
Severity: -- → N/A
Priority: -- → P3

There is a TODO at https://searchfox.org/mozilla-central/rev/2f48061aef8c8976b73749ee845e7b85751f5f2f/toolkit/components/extensions/ExtensionPageChild.sys.mjs#458-459

      // TODO bug 1749116: Handle this unexpected result, because data
      // (viewType in particular) should never be void for extension documents.

Still I witnessed the error "FrameData missing for <extension ID> page moz-extension://<uuid>/popup.js". I think that this issue can therefore also happen if the <browser> hosting the extension document is quickly removed, for example in case of popups. Because we preload popups and close them on hover, the likelihood of hitting this error message seems rather high. In these cases it seems that we should just exit early, since the content load is expected to abort soon (and not even execute any JS code).

I have seen them appearing in the browser console even when the popup was not activated.

FrameData missing for ....... page moz-extension://......./popup.html

See also: Bug 1735899

You need to log in before you can comment on or make changes to this bug.