Closed Bug 823039 Opened 12 years ago Closed 8 years ago

XML content brought into my pages via an <object> tag is not rendering using the built-in Firefox XML renderer

Categories

(Core :: Layout, defect)

17 Branch
x86
All
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME
Tracking Status
firefox17 --- wontfix
firefox18 - ---
firefox19 - ---
firefox20 - ---
firefox-esr17 --- wontfix

People

(Reporter: bradley.wagner, Assigned: johns)

References

Details

(Keywords: regression)

Attachments

(1 file)

Attached image XML as plain text.png
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_8_2) AppleWebKit/536.26.17 (KHTML, like Gecko) Version/6.0.2 Safari/536.26.17

Steps to reproduce:

Created two documents:

index.html:
<html>
<head>
<title>My Title</title>
</head>
<body>
<object standby="Please wait while the screen loads" declare="declare" name="page-render" type="text/xml" data="test.xml" id="page-render" style="height: 250px;">Content Render</object>
</body>
</html>

which loads the following content from test.xml:

<xml>my xml</xml>




Actual results:

When the HTML page loads, the XML from test.xml renders as plain text instead of using the built-in Firefox XML renderer.

When I go to the test.xml file on its own, it renders fine as XML in Firefox


Expected results:

The XML content should render as XML when coming from a test.xml file.
Regression window(m-c)
Good:
http://hg.mozilla.org/mozilla-central/rev/131799806373
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/17.0 Firefox/17.0 ID:20120815105700
Bad:
http://hg.mozilla.org/mozilla-central/rev/50e4ff05741e
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/17.0 Firefox/17.0 ID:20120815183801
Pushlog:
http://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=131799806373&tochange=50e4ff05741e


Regression window(m-i)
Good:
http://hg.mozilla.org/integration/mozilla-inbound/rev/dad98b444955
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/17.0 Firefox/17.0 ID:20120815105000
Bad:
http://hg.mozilla.org/integration/mozilla-inbound/rev/70545fbaccd7
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/17.0 Firefox/17.0 ID:20120815123559
Pushlog:
http://hg.mozilla.org/integration/mozilla-inbound/pushloghtml?fromchange=dad98b444955&tochange=70545fbaccd7

Last good: a5418205a35f
First Bad: 194bf5cfd25f
Triggered by:
194bf5cfd25f	John Schoenick   Bug 781265 - Remove old logic that double-creates frameloaders in nsObjectLoadingContent. r=josh
Blocks: 781265
Status: UNCONFIRMED → NEW
Component: Untriaged → Layout
Ever confirmed: true
Keywords: regression
OS: Mac OS X → All
Product: Firefox → Core
Until we know of a major impacted website, this feels very edge casy (loading XML as part of an HTML page).
John, it sounds like we're failing to hook up the XSLT transform for the XML viewer... or that something is causing us to drop the transform.  Something presumably timing-related.  :(

Could you take a look, please?
Assignee: nobody → jschoenick
Cannot reproduce
Version 	46.0.1
Build ID 	20160502172042
Version 	50.0a1
Build ID 	20160609064045
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: