WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
62227
[Qt] fast/dom/HTMLScriptElement/nested-execution.html failed
https://bugs.webkit.org/show_bug.cgi?id=62227
Summary
[Qt] fast/dom/HTMLScriptElement/nested-execution.html failed
qi
Reported
2011-06-07 13:22:04 PDT
layoutTestController.setCacheModel need implement.
Attachments
patch
(3.03 KB, patch)
2011-06-08 07:10 PDT
,
qi
no flags
Details
Formatted Diff
Diff
patch2
(3.50 KB, patch)
2011-06-14 07:27 PDT
,
qi
no flags
Details
Formatted Diff
Diff
patch3
(3.16 KB, patch)
2011-06-14 10:15 PDT
,
qi
no flags
Details
Formatted Diff
Diff
Show Obsolete
(2)
View All
Add attachment
proposed patch, testcase, etc.
qi
Comment 1
2011-06-08 07:10:15 PDT
Created
attachment 96416
[details]
patch Created an empty interface for setCacheModel since QWebSetting doesn't have matched "cacheModel". Without this empty interface, layoutTest will complain "undefined" method.
Eric Seidel (no email)
Comment 2
2011-06-13 21:18:54 PDT
Comment on
attachment 96416
[details]
patch Huh? How could this cause tests to pass? Certainly not for valid reasons.
Laszlo Gombos
Comment 3
2011-06-13 22:03:09 PDT
Comment on
attachment 96416
[details]
patch View in context:
https://bugs.webkit.org/attachment.cgi?id=96416&action=review
> Tools/ChangeLog:8 > + Created setCacheModel interface in LayoutTestController.
It seems that
http://trac.webkit.org/changeset/44591
missed the Qt implementation.
> Tools/DumpRenderTree/qt/LayoutTestControllerQt.cpp:605 > + // WEBKIT_CACHE_MODEL_DOCUMENT_VIEWER
It seems to me that the test calls this function with 0. This seems to deserve a "// FIXME: Implement" comment.
Yael
Comment 4
2011-06-14 05:52:30 PDT
Comment on
attachment 96416
[details]
patch View in context:
https://bugs.webkit.org/attachment.cgi?id=96416&action=review
I am not a reviewer, here s my comment.
> LayoutTests/platform/qt/Skipped:-1395 > -fast/dom/HTMLScriptElement/nested-execution.html
Is this test passing as-is? If so, you should unskip it separately from introducing the new cache interface.
qi
Comment 5
2011-06-14 05:58:20 PDT
(In reply to
comment #2
)
> (From update of
attachment 96416
[details]
) > Huh? How could this cause tests to pass? Certainly not for valid reasons.
The test case call setCacheModel(0), the "0" is the default value (so, even we do nothing we will pass). But for us, we didn't have the interface that will get "undefined" error in javascript.
Yael
Comment 6
2011-06-14 06:35:04 PDT
(In reply to
comment #5
)
> (In reply to
comment #2
) > > (From update of
attachment 96416
[details]
[details]) > > Huh? How could this cause tests to pass? Certainly not for valid reasons. > The test case call setCacheModel(0), the "0" is the default value (so, even we do nothing we will pass). But for us, we didn't have the interface that will get "undefined" error in javascript.
Thanks for the explanation. Please add it also to the Changelog.
qi
Comment 7
2011-06-14 07:27:03 PDT
Created
attachment 97115
[details]
patch2 Based on Laszlo and Yael's comments renew the patch.
Yael
Comment 8
2011-06-14 08:52:39 PDT
(In reply to
comment #7
)
> Created an attachment (id=97115) [details] > patch2 > Based on Laszlo and Yael's comments renew the patch.
Please remove the extra entry in the Changelog.
Laszlo Gombos
Comment 9
2011-06-14 08:54:19 PDT
Comment on
attachment 97115
[details]
patch2 View in context:
https://bugs.webkit.org/attachment.cgi?id=97115&action=review
> Tools/ChangeLog:9 > + Currently, we don't have matched cache model in qt, but without this
I would suggest better wording here... QtWebkit does not yet support different CacheModels. This change will expose setCacheModel() with a stub implementation, which is enough to pass the LayoutTest.
> Tools/DumpRenderTree/qt/LayoutTestControllerQt.cpp:609 > + // FIXME: Implement to supprt setCacheModel.
Typo - support. I think simply "FIXME: Implement." is less confusing.
qi
Comment 10
2011-06-14 10:15:06 PDT
Created
attachment 97132
[details]
patch3 Repatch.
Laszlo Gombos
Comment 11
2011-06-14 11:01:55 PDT
Comment on
attachment 97132
[details]
patch3 LGTM, r+.
WebKit Review Bot
Comment 12
2011-06-14 11:44:38 PDT
Comment on
attachment 97132
[details]
patch3 Clearing flags on attachment: 97132 Committed
r88838
: <
http://trac.webkit.org/changeset/88838
>
WebKit Review Bot
Comment 13
2011-06-14 11:44:43 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