Closed Bug 434137 Opened 18 years ago Closed 10 years ago

Stylesheet blocked by content policies is displayed as parsing error in XHTML

Categories

(Core :: XML, defect)

x86
Windows XP
defect
Not set
critical

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: jwkbugzilla, Unassigned)

References

Details

(Keywords: regression)

Steps to reproduce: 1. Install Adblock Plus from https://addons.mozilla.org/en-US/firefox/addon/1865 2. Press Ctrl+Shift+E to open Adblock Plus preferences, click "Add filter", enter "http://static.iwiw.net/common/css/1024.css" in the text field and press OK. 3. Go to http://iwiw.hu/pages/user/login.jsp (XHTML) With Firefox 3 (tested in Gecko/2008051506 Minefield/3.0pre) you will see a message "parsing error" pointing to the line where this stylesheet is included in the page. Note that images or scripts blocked by content policies don't trigger a parsing error. Expected result: page should be displayed despite the stylesheet being blocked (as happens in Firefox 2).
Blocks: abp
I can not test this issue due to the site "http://static.iwiw.net/common/css/1024.css" not being active. If this issue still occurs, could you provide me with other links? If not, could you please close this issue.
Flags: needinfo?(trev.moz)
I found a website where content is still being served as application/xhtml+xml - no, blocking stylesheets no longer produces parsing errors (Firefox 45).
Status: NEW → RESOLVED
Closed: 10 years ago
Flags: needinfo?(trev.moz)
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.