WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED INVALID
88952
Move setDefersLoading to Internals interface
https://bugs.webkit.org/show_bug.cgi?id=88952
Summary
Move setDefersLoading to Internals interface
Gyuyoung Kim
Reported
2012-06-12 20:34:19 PDT
Adjust setDefersLoading tests to use Internals instead of LayoutTestController interface. In my humble opinion, setDefersLoading() is able to be supported by Internals because it looks this function is implemented by WebCore layer, not WebKit layer. If reviewers think this test function is able to be dealt with by WebKit layer, I will remove this patch.
Attachments
Patch
(26.68 KB, patch)
2012-06-12 20:38 PDT
,
Gyuyoung Kim
no flags
Details
Formatted Diff
Diff
Patch
(29.39 KB, patch)
2012-06-12 22:13 PDT
,
Gyuyoung Kim
rniwa
: review-
Details
Formatted Diff
Diff
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
Gyuyoung Kim
Comment 1
2012-06-12 20:38:51 PDT
Created
attachment 147222
[details]
Patch
Build Bot
Comment 2
2012-06-12 21:08:04 PDT
Comment on
attachment 147222
[details]
Patch
Attachment 147222
[details]
did not pass win-ews (win): Output:
http://queues.webkit.org/results/12953056
Gyuyoung Kim
Comment 3
2012-06-12 22:13:40 PDT
Created
attachment 147226
[details]
Patch
Alexey Proskuryakov
Comment 4
2012-06-13 10:25:50 PDT
> setDefersLoading() is able to be supported by Internals
Once again, I question this view on moving code to Internals. We should not move anything that it is _able_ to support, we should only move what it makes sense to move. I do not believe that Internals is ready to cleanly implement the state for setDefersLoading. Even settings are not quite done yet.
Gyuyoung Kim
Comment 5
2012-06-13 18:49:10 PDT
(In reply to
comment #4
)
> Once again, I question this view on moving code to Internals. We should not move anything that it is _able_ to support, we should only move what it makes sense to move. > > I do not believe that Internals is ready to cleanly implement the state for setDefersLoading. Even settings are not quite done yet.
Thank you for your comment. It seems to me setDefersLoading() is still not related to WebKit layer. But, if you think Internals need to be mature to support setDefersLoading(), I would close this bug. Could you let me know what things Internals needs to support setDefersLoading()?
Ryosuke Niwa
Comment 6
2012-06-19 00:54:41 PDT
Comment on
attachment 147226
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=147226&action=review
> Tools/DumpRenderTree/mac/LayoutTestControllerMac.mm:-492 > - [[mainFrame webView] setDefersCallbacks:defers];
Unfortunately this API has non-DRT clients such as _documentFragmentFromPasteboard in WebHTMLView.mm. We should probably add some WebKit API test for this before removing the dependency.
Gyuyoung Kim
Comment 7
2012-06-19 01:18:00 PDT
Thank you for your explain.
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