Bug 81892 - Web Inspector: dispatch styleSheetChanged event synchronously.
Summary: Web Inspector: dispatch styleSheetChanged event synchronously.
Alias: None
Product: WebKit
Classification: Unclassified
Component: Web Inspector (Deprecated) (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Pavel Feldman
Depends on:
Reported: 2012-03-22 05:11 PDT by Pavel Feldman
Modified: 2012-03-22 05:57 PDT (History)
10 users (show)

See Also:

Patch (12.74 KB, patch)
2012-03-22 05:16 PDT, Pavel Feldman
vsevik: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Pavel Feldman 2012-03-22 05:11:40 PDT
Today, backend generates stylesheet change event synchronously from within set* command. But CSSStyleModel defers its dispatching until the stylesheet content is available. This prevents us from ignoring update events from within commands that initiated those updates. This change makes stylesheet change event dispatch synchronously and delegates stylesheet content fetching to the event client.
Comment 1 Pavel Feldman 2012-03-22 05:16:47 PDT
Created attachment 133227 [details]
Comment 2 Pavel Feldman 2012-03-22 05:57:02 PDT
Committed r111677: <http://trac.webkit.org/changeset/111677>