XSLT transformation fails with "onload" in FF3.6a1

RESOLVED FIXED

Status

()

Core
XSLT
P2
normal
RESOLVED FIXED
9 years ago
9 years ago

People

(Reporter: Matthew Wilson, Assigned: smaug)

Tracking

({regression, testcase})

Trunk
All
Linux
regression, testcase
Points:
---
Bug Flags:
blocking1.9.2 +

Firefox Tracking Flags

(status1.9.2 beta1-fixed)

Details

Attachments

(2 attachments)

(Reporter)

Description

9 years ago
Created attachment 395383 [details]
Test case - performs transformation, fails in FF3.6a1, passes in FF3.5

An XSLT transformation which has "onload" on "body" fails in Firefox 3.6a1, where it succeeded in Firefox 3.5.

Test case attached. I get NS_ERROR_UNEXPECTED from nsIXSLTProcessor.transformToDocument in 3.6a1, "transformed OK" in FF3.5.

Updated

9 years ago
Component: Extension Compatibility → XSLT
Product: Firefox → Core
QA Contact: extension.compatibility → xslt
Version: 3.6 Branch → 1.9.2 Branch

Updated

9 years ago
Flags: blocking1.9.2?
Keywords: regression, regressionwindow-wanted
(Reporter)

Comment 1

9 years ago
I could try and work out the regression window if someone can point out which builds I need to be trying. I looked at http://ftp.mozilla.org/pub/mozilla.org/firefox/nightly/ but I can't work out which are the appropriate builds to try.
Hello Matthew,

Glad to hear that you are willing to try to help find the regression window.  In that link you should see a "2009" folder.  Inside there will be a folder for each month (08 = August, etc).  Inside those folders will be even more folders of the form 2009-month-day-number-product.  You're interested in the builds where the product is "mozilla-central" (trunk).  Once you find the build date you're interested in it should be fairly self explanatory.  The basic strategy is to pick a date and test it, if you still see the problem move back further.  Once you've found a build where it doesn't occur, use a binary search to narrow it down. This link provides a good overview http://quality.mozilla.org/documents-home/bugs-docs/bug-triaging-guidelines/finding-regression-windows
(Reporter)

Comment 3

9 years ago
Works:
20090623 (Built from http://hg.mozilla.org/mozilla-central/rev/c575412d976a)

Fails: 
20090624 (Built from http://hg.mozilla.org/mozilla-central/rev/5fe89f2c22f0)
Thanks Matthew!

Based off of that information, I was able to determine that the problem began with http://hg.mozilla.org/mozilla-central/rev/8d5c08070a23 for bug 497178.

Adjusting bug fields appropriately and CCing Olli.
Blocks: 497178
Keywords: regressionwindow-wanted → testcase
Hardware: x86 → All
Version: 1.9.2 Branch → Trunk
(Assignee)

Updated

9 years ago
Assignee: nobody → Olli.Pettay
(Assignee)

Updated

9 years ago
Status: NEW → ASSIGNED
(Assignee)

Comment 5

9 years ago
Created attachment 395799 [details] [diff] [review]
patch

Elements in documents which don't have window may return null manager for
body. (onfoo attributes add listener to window)
Attachment #395799 - Flags: review?(peterv)
Making this regression a blocker.
Flags: blocking1.9.2? → blocking1.9.2+
Attachment #395799 - Flags: review?(peterv) → review+
(Assignee)

Comment 7

9 years ago
http://hg.mozilla.org/mozilla-central/rev/38754465ffde
Status: ASSIGNED → RESOLVED
Last Resolved: 9 years ago
Resolution: --- → FIXED
(Assignee)

Comment 8

9 years ago
http://hg.mozilla.org/releases/mozilla-1.9.2/rev/568b55312fd6
status1.9.2: --- → beta1-fixed
You need to log in before you can comment on or make changes to this bug.