Closed Bug 868321 Opened 12 years ago Closed 11 years ago

Sites with no stylesheets just show loading indicator forever

Categories

(DevTools :: Style Editor, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
Firefox 23

People

(Reporter: harth, Assigned: harth)

Details

Attachments

(1 file, 1 obsolete file)

Go to any university professor's website (like http://www.history.ucsb.edu/faculty/marcuse/). It won't have any CSS. Load the Style Editor and see that it just shows the spinning loading indicator instead of letting you know there aren't any style sheets. This is a regression from bug 816967. A testcase should be added for it as well.
This patch reverts this regression. The remote style editor was individually sending 'stylesheet-added' events with no concept of document load, in anticipation of bug 839103. It now has a 'document-load' event with all the stylesheets available on the page load, so that we can check if there are none. We can add back 'stylesheet-added' events when bug 839103 is fixed, right now it has no real use.
Assignee: nobody → fayearthur
Attachment #745716 - Flags: review?(dcamp)
Rebased after bug 740541
Attachment #745716 - Attachment is obsolete: true
Attachment #745716 - Flags: review?(dcamp)
Attachment #746651 - Flags: review?(dcamp)
Attachment #746651 - Flags: review?(dcamp) → review+
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Whiteboard: [fixed-in-fx-team]
Target Milestone: --- → Firefox 23
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: