WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
Bug 47002
Make resource identifiers unique across pages
https://bugs.webkit.org/show_bug.cgi?id=47002
Summary
Make resource identifiers unique across pages
Jenn Braithwaite
Reported
2010-10-01 11:41:57 PDT
In order to fix
bug 44713
, resource identifiers need to be unique across pages so that the resource id can be used in more than one Page/WebView. Making the ids unique is cleaner than changing the ids before using them in another object on a different page. Resource identifiers are generated from the Page's ProgressTracker. There are other uses of ProgressTracker::createUniqueIdentifier, but they are not dependent on the ids being only unique within a page, so this change should be safe.
Attachments
patch
(6.57 KB, patch)
2010-10-05 12:04 PDT
,
Jenn Braithwaite
dimich
: review-
Details
Formatted Diff
Diff
Updated patch.
(7.28 KB, patch)
2010-10-11 13:30 PDT
,
Jenn Braithwaite
no flags
Details
Formatted Diff
Diff
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
Jenn Braithwaite
Comment 1
2010-10-05 12:04:10 PDT
Created
attachment 69823
[details]
patch
Dmitry Titov
Comment 2
2010-10-06 11:20:57 PDT
Comment on
attachment 69823
[details]
patch View in context:
https://bugs.webkit.org/attachment.cgi?id=69823&action=review
Looks great, I understand the actual ASSERTS will come as a close next patch since they rely on more code, so this adds a test ahead of code, which is ok. r- since the test can be improved.
> LayoutTests/fast/frames/iframe-reparenting-id-collision.html:42 > + w1.addEventListener("load", windowLoaded, false);
It could be more reliable to make this test to wait until both windows are loaded, but at the same time to ensure that their inner iframes are still loading. It can be accomplished by making this test a http test and hitting the 'slow loading' server script from iframes, while registering onload handler for both windows. This will guarantee that the test is free from timing issues.
Jenn Braithwaite
Comment 3
2010-10-11 13:30:57 PDT
Created
attachment 70463
[details]
Updated patch. Replaced test case with an http test.
Dmitry Titov
Comment 4
2010-10-13 01:42:09 PDT
Comment on
attachment 70463
[details]
Updated patch. r=me
WebKit Commit Bot
Comment 5
2010-10-13 02:03:54 PDT
Comment on
attachment 70463
[details]
Updated patch. Clearing flags on attachment: 70463 Committed
r69643
: <
http://trac.webkit.org/changeset/69643
>
WebKit Commit Bot
Comment 6
2010-10-13 02:03:59 PDT
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