Bug 74190 - [MutationObservers] Add test for deliver-at-end-of-task semantics
Summary: [MutationObservers] Add test for deliver-at-end-of-task semantics
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Adam Klein
URL:
Keywords:
Depends on:
Blocks: 68729
  Show dependency treegraph
 
Reported: 2011-12-09 11:02 PST by Adam Klein
Modified: 2011-12-09 14:48 PST (History)
3 users (show)

See Also:


Attachments
Patch (2.64 KB, patch)
2011-12-09 11:06 PST, Adam Klein
no flags Details | Formatted Diff | Diff
Patch for landing (2.63 KB, patch)
2011-12-09 11:34 PST, Adam Klein
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Adam Klein 2011-12-09 11:02:37 PST
[MutationObservers] Add test for deliver-at-end-of-task semantics
Comment 1 Adam Klein 2011-12-09 11:06:07 PST
Created attachment 118597 [details]
Patch
Comment 2 Ojan Vafai 2011-12-09 11:30:12 PST
Comment on attachment 118597 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=118597&action=review

> LayoutTests/fast/mutation/end-of-task-delivery.html:14
> +    var observerRan = false;

Maybe to make this a bit more strict, make this a count of the number of times the observer ran and then in the blur function check that it only ran X (1?) times.
Comment 3 Adam Klein 2011-12-09 11:34:35 PST
Comment on attachment 118597 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=118597&action=review

>> LayoutTests/fast/mutation/end-of-task-delivery.html:14
>> +    var observerRan = false;
> 
> Maybe to make this a bit more strict, make this a count of the number of times the observer ran and then in the blur function check that it only ran X (1?) times.

Good idea, done.
Comment 4 Adam Klein 2011-12-09 11:34:53 PST
Created attachment 118599 [details]
Patch for landing
Comment 5 Adam Klein 2011-12-09 14:48:26 PST
Committed r102477: <http://trac.webkit.org/changeset/102477>