WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
48368
Update ProgressTracker when moving a frame between documents
https://bugs.webkit.org/show_bug.cgi?id=48368
Summary
Update ProgressTracker when moving a frame between documents
Jenn Braithwaite
Reported
2010-10-26 12:54:03 PDT
When a live iframe is moved to a different document via adoptNode, the frame's resources are still being tracked by the former page's ProgressTracker. When a resource load is transferred to a different document/page, the ProgressTracker should treat that item as being completed. (Decrementing the progress of bytes received seems wrong.) Need more study to determine how the new page's ProgressTracker is affected by the resource load being transferred to the new page.
Attachments
patch
(6.55 KB, patch)
2010-11-02 16:54 PDT
,
Jenn Braithwaite
no flags
Details
Formatted Diff
Diff
updated patch - fix compile error
(6.56 KB, patch)
2010-11-03 11:54 PDT
,
Jenn Braithwaite
dimich
: review-
Details
Formatted Diff
Diff
updated patch - added assert
(6.60 KB, patch)
2010-11-04 15:08 PDT
,
Jenn Braithwaite
no flags
Details
Formatted Diff
Diff
Show Obsolete
(2)
View All
Add attachment
proposed patch, testcase, etc.
Jenn Braithwaite
Comment 1
2010-11-02 16:54:14 PDT
Created
attachment 72769
[details]
patch
Early Warning System Bot
Comment 2
2010-11-02 17:09:40 PDT
Attachment 72769
[details]
did not build on qt: Build output:
http://queues.webkit.org/results/5047005
Jenn Braithwaite
Comment 3
2010-11-03 11:54:44 PDT
Created
attachment 72848
[details]
updated patch - fix compile error If someone knows of a way to test this from JS, I'm all ears.
Dmitry Titov
Comment 4
2010-11-03 18:14:50 PDT
Comment on
attachment 72848
[details]
updated patch - fix compile error View in context:
https://bugs.webkit.org/attachment.cgi?id=72848&action=review
Looks good! One small iteration...
> WebCore/loader/ResourceLoadNotifier.cpp:167 > + oldPage->progress()->completeProgress(identifier);
Could we add ASSERT documenting that new page and old page are guaranteed different here? This code actually uses this assumptions (because otherwise it immediately deletes the just-transfered 'identifier' from the progress tracker).
Jenn Braithwaite
Comment 5
2010-11-04 15:08:39 PDT
Created
attachment 72987
[details]
updated patch - added assert
Dmitry Titov
Comment 6
2010-11-08 17:40:20 PST
Comment on
attachment 72987
[details]
updated patch - added assert r=me
WebKit Commit Bot
Comment 7
2010-11-08 21:48:29 PST
The commit-queue encountered the following flaky tests while processing
attachment 72987
[details]
: animations/suspend-resume-animation.html compositing/video/video-background-color.html Please file bugs against the tests. These tests were authored by
cmarrin@apple.com
and
simon.fraser@apple.com
. The commit-queue is continuing to process your patch.
WebKit Commit Bot
Comment 8
2010-11-09 05:01:30 PST
Comment on
attachment 72987
[details]
updated patch - added assert Clearing flags on attachment: 72987 Committed
r71625
: <
http://trac.webkit.org/changeset/71625
>
WebKit Commit Bot
Comment 9
2010-11-09 05:01:35 PST
All reviewed patches have been landed. Closing bug.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug