[Webkit-unassigned] [Bug 93443] Web Inspector: Protocol Extension: Add "regionLayoutUpdate" event

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Aug 21 10:20:09 PDT 2012


https://bugs.webkit.org/show_bug.cgi?id=93443





--- Comment #5 from Andrei Poenaru <poenaru at adobe.com>  2012-08-21 10:20:05 PST ---
(In reply to comment #4)

> Not sure I follow. You get a request: getNamedFlowCollection, you return collection of flows for given document and populate m_documentIdToNamedFlowSetMap. If document had no flows, m_documentIdToNamedFlowSetMap would contain empty set for that document id. What do I miss?

There are 2 situations:

1) getNamedFlowCollection is called for a given document: you dispatch all events related to all named flows from that document.

2) getFlowByName is called without calling getNamedFlowCollection: you only dispatch RegionLayoutUpdate and NamedFlowRemoved for the requested named flow.

If on getNamedFlowCollection the NamedFlowSet is just filled with named flows you will not be able to tell if those flows were requested separately or if the entire collection has been requested.
This information is used in order to decide if the front-end should be informed about a flow creation (the NamedFlowCreated event).

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list