Closed Bug 718599 Opened 14 years ago Closed 5 years ago

Lots of "element contained an inline #text child" on about:addons

Categories

(Firefox for Android Graveyard :: General, defect, P3)

ARM
Android
defect

Tracking

(Not tracked)

RESOLVED INCOMPLETE

People

(Reporter: jwkbugzilla, Unassigned)

Details

I noticed lots of warnings being sent to the console whenever I open about:addons: > Warning: XUL box for div element contained an inline #text child, forcing all its children to be wrapped in a block. This is apparently about the dynamically created <div> elements, these end up being xul:div rather than html:div. This is somewhat strange given that aboutAddons.xhtml should be an HTML document so that the default namespace would be HTML (I actually verified on the desktop that it works correctly). However, it is apparently set up as an override for a XUL document (http://hg.mozilla.org/mozilla-central/file/34572943a3e4/mobile/android/chrome/jar.mn#l29) which makes the channel use the XUL MIME type. There doesn't seem to be any major issue with that - other than the default XML namespace being the XUL namespace. The obvious solution would be changing all document.createElement() in aboutAddons.xhtml to document.createElementNS() and to specify the namespace explicitly.
Priority: -- → P3
We have completed our launch of our new Firefox on Android. The development of the new versions use GitHub for issue tracking. If the bug report still reproduces in a current version of [Firefox on Android nightly](https://play.google.com/store/apps/details?id=org.mozilla.fenix) an issue can be reported at the [Fenix GitHub project](https://github.com/mozilla-mobile/fenix/). If you want to discuss your report please use [Mozilla's chat](https://wiki.mozilla.org/Matrix#Connect_to_Matrix) server https://chat.mozilla.org and join the [#fenix](https://chat.mozilla.org/#/room/#fenix:mozilla.org) channel.
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → INCOMPLETE
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in before you can comment on or make changes to this bug.