Closed
Bug 376484
Opened 18 years ago
Closed 18 years ago
[FIX]Testcase from bug 33961 has regressed - javascript: pseudo url in stylesheet doesn't work
Categories
(Core :: DOM: Core & HTML, defect, P2)
Core
DOM: Core & HTML
Tracking
()
RESOLVED
FIXED
mozilla1.9alpha4
People
(Reporter: martijn.martijn, Assigned: bzbarsky)
References
()
Details
(Keywords: regression, testcase)
Attachments
(1 file)
3.85 KB,
patch
|
jst
:
review+
jst
:
superreview+
|
Details | Diff | Splinter Review |
See url, which is the Partial testcase from bug 33961, the text should be green but isn't anymore in current trunk builds.
This regressed between 2007-02-15 and 2007-02-17, I think a regression from bug 369244.
Assignee | ||
Comment 1•18 years ago
|
||
This is actually purposeful, for the time being. In the new world, we're white-listing the set of places where JS is allowed to execute, for now. Once we resolve bug 221428 we can sort out exactly what the desired behavior here is.
Sadly, I have to remove the "blocks" dep to be able to set the "depends" dep...
We could also switch to defaulting to "execute in sandbox" instead of defaulting to "do not execute". That would restore the state of things as of bug 33961.
Brendan, jst, sicking, what do you think?
I think "execute in a sandbox" is the way to go as long as we still execute them async and we're reasonably sure our sandboxes are good.
Assignee | ||
Comment 3•18 years ago
|
||
> and we're reasonably sure our sandboxes are good.
They're not great. See bug 372075. But we'll fix that.
Assignee | ||
Comment 4•18 years ago
|
||
I don't _quite_ want to change the comments to say that the default must be EXECUTE_IN_SANDBOX for all script channels... but I could be convinced. jst, what do you think?
Attachment #260771 -
Flags: superreview?(jst)
Attachment #260771 -
Flags: review?(jst)
Assignee | ||
Updated•18 years ago
|
Assignee: general → bzbarsky
OS: Windows XP → All
Priority: -- → P2
Hardware: PC → All
Summary: Testcase from bug 33961 has regressed - javascript: pseudo url in stylesheet doesn't work → [FIX]Testcase from bug 33961 has regressed - javascript: pseudo url in stylesheet doesn't work
Target Milestone: --- → mozilla1.9alpha4
Comment 5•18 years ago
|
||
Comment on attachment 260771 [details] [diff] [review]
Fix
Fine with me. I don't feel strongly about the wording in the comment about the default.
r+sr=jst
Attachment #260771 -
Flags: superreview?(jst)
Attachment #260771 -
Flags: superreview+
Attachment #260771 -
Flags: review?(jst)
Attachment #260771 -
Flags: review+
Assignee | ||
Comment 6•18 years ago
|
||
Checked in, with the tests.
Status: NEW → RESOLVED
Closed: 18 years ago
Flags: blocking1.9? → in-testsuite+
Resolution: --- → FIXED
Assignee | ||
Comment 7•18 years ago
|
||
Though.. I guess those tests only pass if you also have the patch for bug 221428 applied, since otherwise we have no owner principal on the channel and hence the script does not run.
I guess we should reopen pending that.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Assignee | ||
Comment 8•18 years ago
|
||
Fixed, and tests marked as passing.
Status: REOPENED → RESOLVED
Closed: 18 years ago → 18 years ago
Resolution: --- → FIXED
Updated•6 years ago
|
Component: DOM → DOM: Core & HTML
You need to log in
before you can comment on or make changes to this bug.
Description
•