Closed Bug 277836 Opened 20 years ago Closed 5 years ago

Some XBL still fires when JavaScript should be disabled

Categories

(Core :: XBL, defect)

defect
Not set
normal

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
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...
So do chrome bindings run on the content window's nsJSContext? Must they? /be
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...
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)?
Yes, that would be a typical use case....
Depends on: 292591
QA Contact: ian → xbl
Assignee: hyatt → nobody

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.