WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
81945
fast/events/suspend-timers.html is failing in Mac WebKit2, even though LayoutTestController.overridePreference is implemented in WebKitTestRunner
https://bugs.webkit.org/show_bug.cgi?id=81945
Summary
fast/events/suspend-timers.html is failing in Mac WebKit2, even though Layout...
mitz
Reported
2012-03-22 12:01:40 PDT
fast/events/suspend-timers.html is failing in Mac WebKit2, but passes in Safari. The test relies on enabling the page cache using layoutTestController.overridePreference('WebKitUsesPageCachePreferenceKey', 1). Even though this function is implemented in WebKitTestRunner, it may not be achieving the desired effect.
Attachments
Patch
(3.15 KB, patch)
2012-04-14 05:21 PDT
,
zalan
no flags
Details
Formatted Diff
Diff
Patch
(3.16 KB, patch)
2012-04-14 10:36 PDT
,
zalan
no flags
Details
Formatted Diff
Diff
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2012-03-22 12:02:04 PDT
<
rdar://problem/11101498
>
mitz
Comment 2
2012-03-22 12:04:49 PDT
Added the current incorrect results as Mac WebKit2 expected results in <
http://trac.webkit.org/r111741
>.
mitz
Comment 3
2012-03-22 14:08:39 PDT
The failing results are inconsistent, so I am going to skip the test in Mac WebKit2.
mitz
Comment 4
2012-03-22 14:11:34 PDT
Added to the Mac WebKit2 skip list in <
http://trac.webkit.org/r111761
>.
zalan
Comment 5
2012-04-14 05:21:47 PDT
Created
attachment 137208
[details]
Patch
zalan
Comment 6
2012-04-14 05:24:44 PDT
Alternatively, CacheModel can be set to PrimaryWebBrowser, only when the PageCache's preference key is also set to enabled. Though, I believe it's better to run WebKitTestRunner with PrimaryWebBrowser setting instead of that DocumentViewer.
zalan
Comment 7
2012-04-14 05:25:57 PDT
***
Bug 81637
has been marked as a duplicate of this bug. ***
mitz
Comment 8
2012-04-14 09:52:47 PDT
Comment on
attachment 137208
[details]
Patch It looks like DumpRenderTree (on Mac, at least) uses WebCacheModelDocumentBrowser. Shouldn’t WebKitTestRunner use the same by default?
zalan
Comment 9
2012-04-14 10:18:44 PDT
(In reply to
comment #8
)
> (From update of
attachment 137208
[details]
) > It looks like DumpRenderTree (on Mac, at least) uses WebCacheModelDocumentBrowser. Shouldn’t WebKitTestRunner use the same by default?
The only reason I picked PrimaryWebBrowser was because it guarantees capacity > 0. However for compatibility reasons, i guess DocumentBrowser is a better pick.
zalan
Comment 10
2012-04-14 10:36:09 PDT
Created
attachment 137213
[details]
Patch
WebKit Review Bot
Comment 11
2012-04-14 11:29:35 PDT
Comment on
attachment 137213
[details]
Patch Clearing flags on attachment: 137213 Committed
r114206
: <
http://trac.webkit.org/changeset/114206
>
WebKit Review Bot
Comment 12
2012-04-14 11:29:41 PDT
All reviewed patches have been landed. Closing bug.
Jer Noble
Comment 13
2012-04-17 16:02:11 PDT
This commit broke the LayoutTests/fast/harness/use-page-cache.html test on Lion and Snow Leopard. See:
http://build.webkit.org/results/Lion%20Debug%20(WebKit2%20Tests)/r114298%20(6058)/results.html
Jer Noble
Comment 14
2012-04-17 16:08:58 PDT
Filed <
https://bugs.webkit.org/show_bug.cgi?id=84206
> to track the test failure.
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