Closed
Bug 277836
Opened 20 years ago
Closed 5 years ago
Some XBL still fires when JavaScript should be disabled
Categories
(Core :: XBL, defect)
Core
XBL
Tracking
()
RESOLVED
WONTFIX
People
(Reporter: neil, Unassigned)
References
()
Details
Steps to reproduce problem:
1. Disable JavaScript (Preferences/Advanced/Scripts)
2. Load the test case
3. Click on the text
4. Open the JavaScript console
Actual results: JS error logged in the console
Expected results: No JS, so no error
Comment 1•20 years ago
|
||
Actually, this is desirable. We want to be able to use chrome bindings from
content, even from content that's not allowed to execute script. It doesn't
completely work yet, but we have bugs on that.
So I think this is invalid...
Comment 2•20 years ago
|
||
So do chrome bindings run on the content window's nsJSContext? Must they?
/be
Comment 3•20 years ago
|
||
Ideally, they would not....
In practice, I don't know.
If the JS is executing, they probably are not, since the event handler security
checks are done agasinst the JSContext, as I recall...
Comment 4•20 years ago
|
||
So, there will always be a possibility that some xbl fires even when js is
disabled in Help (if I wanted to use xbl instead of images)?
Comment 5•20 years ago
|
||
Yes, that would be a typical use case....
Updated•15 years ago
|
QA Contact: ian → xbl
Updated•15 years ago
|
Assignee: hyatt → nobody
Comment 6•5 years ago
|
||
XBL is now disabled in Firefox (Bug 1583314) and is in the process of being removed from Gecko (Bug 1566221), so closing bugs requesting changes to its implementation as wontfix.
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•