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 53797
[GTK] WebKitWebFrame can return a stale frame name when calling webkit_web_frame_get_name
https://bugs.webkit.org/show_bug.cgi?id=53797
Summary
[GTK] WebKitWebFrame can return a stale frame name when calling webkit_web_fr...
Martin Robinson
Reported
2011-02-04 12:20:14 PST
If you call webkit_web_frame_get_name more than once with the same WebKitWebFrame*, it can return a stale frame name if the name changes between the calls. This can be observed by the failure of fast/history/history-subframe-with-name.html.
Attachments
Patch for this issue
(3.98 KB, patch)
2011-02-04 12:28 PST
,
Martin Robinson
no flags
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Martin Robinson
Comment 1
2011-02-04 12:23:11 PST
Sorry, the failing test should be: fast/events/pageshow-pagehide-on-back-uncached.html. The previously mentioned test is failing for some other reason and that failure is tracked in 44784.
Martin Robinson
Comment 2
2011-02-04 12:28:05 PST
Created
attachment 81265
[details]
Patch for this issue
Martin Robinson
Comment 3
2011-02-04 12:28:51 PST
I have attached a patch fixing this issue.
Martin Robinson
Comment 4
2011-02-04 17:14:37 PST
Comment on
attachment 81265
[details]
Patch for this issue View in context:
https://bugs.webkit.org/attachment.cgi?id=81265&action=review
> LayoutTests/platform/gtk/Skipped:4728 > -fast/events/pagehide-timeout.html > \ No newline at end of file > +fast/events/pagehide-timeout.html
This change is an accent from my editing, I think. I'll omit it when landing.
Xan Lopez
Comment 5
2011-02-04 17:27:16 PST
Comment on
attachment 81265
[details]
Patch for this issue View in context:
https://bugs.webkit.org/attachment.cgi?id=81265&action=review
> Source/WebKit/gtk/webkit/webkitwebframe.cpp:487 >
I guess we should return "" here to not break the API subtly. It does not make much sense, though...
Martin Robinson
Comment 6
2011-02-04 18:13:17 PST
Committed
r77714
: <
http://trac.webkit.org/changeset/77714
>
Martin Robinson
Comment 7
2011-02-04 18:14:00 PST
Comment on
attachment 81265
[details]
Patch for this issue Landed with Xan's suggestions.
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