Closed
Bug 451037
Opened 17 years ago
Closed 17 years ago
document.loadBindingDocument() returns a document that does not have a script handling object
Categories
(Core :: Security, defect)
Tracking
()
VERIFIED
FIXED
People
(Reporter: moz_bug_r_a4, Assigned: smaug)
References
Details
(Keywords: fixed1.9.0.2, verified1.8.1.17, Whiteboard: [sg:critical])
Attachments
(4 files, 3 obsolete files)
1011 bytes,
patch
|
Details | Diff | Splinter Review | |
4.39 KB,
patch
|
sicking
:
review+
sicking
:
superreview+
|
Details | Diff | Splinter Review |
3.59 KB,
patch
|
sicking
:
review+
sicking
:
superreview+
dveditz
:
approval1.9.0.2+
|
Details | Diff | Splinter Review |
3.65 KB,
patch
|
sicking
:
review+
sicking
:
superreview+
dveditz
:
approval1.8.1.17+
asac
:
approval1.8.0.next+
|
Details | Diff | Splinter Review |
This is similar to bug 448548.
This is fx2-only. On fx2, document.loadBindingDocument() returns a document
that does not have a script handling object. (On trunk and fx3.0.x, it does
not return anything.)
Updated•17 years ago
|
Flags: wanted1.8.1.x+
Flags: blocking1.8.1.17?
Updated•17 years ago
|
Flags: blocking1.8.1.17? → blocking1.8.1.17+
Whiteboard: [sg:critical]
There are possibly ways to get this to work in FF3 as well. It's harder to get a reference to the binding document, but it might still be possible. I don't think we intentionally try to prevent it.
Assignee | ||
Comment 4•17 years ago
|
||
This is ugly, but the whole method is.
Fortunately the API has changed on 1.9.
Assignee | ||
Comment 5•17 years ago
|
||
Perhaps for non-chrome (non-cached) xbl documents, the scripthandlingobject could be the same as what the bound document has.
Assignee | ||
Comment 6•17 years ago
|
||
(In reply to comment #3)
> There are possibly ways to get this to work in FF3 as well. It's harder to get
> a reference to the binding document, but it might still be possible. I don't
> think we intentionally try to prevent it.
Perhaps disabling event handling on all loaded xbl documents would make sense.
Assignee | ||
Comment 9•17 years ago
|
||
Assignee | ||
Comment 10•17 years ago
|
||
Assignee | ||
Comment 11•17 years ago
|
||
Assignee | ||
Comment 12•17 years ago
|
||
I'm not sure if DisableEventHandling is the right name for the method, since
it doesn't prevent running those deprecated event type specific listeners
(nsIFocusListener etc.). Such listeners can be implemented only in C++.
Assignee | ||
Comment 13•17 years ago
|
||
Attachment #334558 -
Attachment is obsolete: true
Attachment #335026 -
Flags: superreview?(jonas)
Attachment #335026 -
Flags: review?(jonas)
Assignee | ||
Comment 14•17 years ago
|
||
Attachment #334561 -
Attachment is obsolete: true
Attachment #335027 -
Flags: superreview?(jonas)
Attachment #335027 -
Flags: review?(jonas)
Assignee | ||
Comment 15•17 years ago
|
||
Attachment #334556 -
Attachment is obsolete: true
Attachment #335028 -
Flags: superreview?(jonas)
Attachment #335028 -
Flags: review?(jonas)
Attachment #335026 -
Flags: superreview?(jonas)
Attachment #335026 -
Flags: superreview+
Attachment #335026 -
Flags: review?(jonas)
Attachment #335026 -
Flags: review+
Attachment #335027 -
Flags: superreview?(jonas)
Attachment #335027 -
Flags: superreview+
Attachment #335027 -
Flags: review?(jonas)
Attachment #335027 -
Flags: review+
Attachment #335028 -
Flags: superreview?(jonas)
Attachment #335028 -
Flags: superreview+
Attachment #335028 -
Flags: review?(jonas)
Attachment #335028 -
Flags: review+
Comment 16•17 years ago
|
||
Comment on attachment 335027 [details] [diff] [review]
for 1.9.0
Approved for 1.9.0.2, a=dveditz for release-drivers.
Attachment #335027 -
Flags: approval1.9.0.2+
Comment 17•17 years ago
|
||
Comment on attachment 335028 [details] [diff] [review]
for 1.8
Approved for 1.8.1.17, a=dveditz for release-drivers.
Attachment #335028 -
Flags: approval1.8.1.17+
Assignee | ||
Updated•17 years ago
|
Keywords: fixed1.8.1.17,
fixed1.9.0.2
Assignee | ||
Updated•17 years ago
|
Keywords: checkin-needed
Assignee | ||
Updated•17 years ago
|
Verified FIXED; I can reproduce using Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.8.1.16) Gecko/20080702 Firefox/2.0.0.16, but not Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.17) Gecko/20080829 Firefox/2.0.0.17, with the testcase in comment 1.
Replacing fixed1.8.1.17 with verified1.8.1.17.
Status: RESOLVED → VERIFIED
Keywords: fixed1.8.1.17 → verified1.8.1.17
Updated•17 years ago
|
Flags: blocking1.8.0.15+
Updated•17 years ago
|
Attachment #335028 -
Flags: approval1.8.0.15+
Comment 19•17 years ago
|
||
Comment on attachment 335028 [details] [diff] [review]
for 1.8
a=asac for 1.8.0.15
Updated•17 years ago
|
Group: core-security
You need to log in
before you can comment on or make changes to this bug.
Description
•