Closed Bug 552140 Opened 14 years ago Closed 14 years ago

Implement Heads Up Display event handlers/observers

Categories

(DevTools :: General, defect, P1)

x86
All
defect

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: ddahl, Assigned: ddahl)

References

(Depends on 1 open bug)

Details

(Whiteboard: [Web-Console-Testday])

Event handlers and observers for window object creation, new tabs, new windows, tracking all of these objects and destruction/cleanup when things go away.

First item: Browser window creation/ replacement observer/event handling
Depends on: 549539
Currently have hudwindowobserver.js component to observe window creation and an HTTP event observer built into hudservice.js (HUDService)

Working on hudconsoleobserver.js component to surface global content script errors and messages.
It seems I need to create another observer for handling images and media that are loaded by a contentDocument. This data is loaded via an imageRequest, and perhaps other types of requests. 

It appears that each image or media channel will have a different loadGroup from the originating html document that is loaded. (sometimes the loadGroup is null)

I have been using loadgroups to tie in all network requests so far, and this is not a comprehensive solution.

 I'm not going to block on this for beta, but it would be nice to figure out how to tie all of the requests together from the originating http request.
> It appears that each image or media channel will have a different loadGroup
> from the originating html document that is loaded. (sometimes the loadGroup
> is null)

For images, the necko channel will be in a synthetic loadgroup.  The imgRequestProxy request will be in the document loadgroup.

Image loads are shared across documents, so you can't really tie them to a specific document.

I can't speak to what the media loads look like.
Depends on: 568034
OS: Linux → All
Need to figure out what additional observers and event listeners to set.
Severity: normal → blocker
Priority: -- → P1
We have implemented all of the event handlers we plan to for Firefox 4.
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Status: RESOLVED → VERIFIED
Whiteboard: [Web-Console-Testday]
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.