WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
42693
WebKitTestRunner needs layoutTestController.setPrinting
https://bugs.webkit.org/show_bug.cgi?id=42693
Summary
WebKitTestRunner needs layoutTestController.setPrinting
Sam Weinig
Reported
2010-07-20 15:15:51 PDT
WebKitTestRunner needs layoutTestController.setPrinting
Attachments
Patch
(9.00 KB, patch)
2013-05-13 16:07 PDT
,
Alex Christensen
no flags
Details
Formatted Diff
Diff
Patch
(8.98 KB, patch)
2013-05-13 16:14 PDT
,
Alex Christensen
no flags
Details
Formatted Diff
Diff
Patch
(9.57 KB, patch)
2013-05-13 17:45 PDT
,
Alex Christensen
no flags
Details
Formatted Diff
Diff
Patch
(9.44 KB, patch)
2013-05-13 18:01 PDT
,
Alex Christensen
no flags
Details
Formatted Diff
Diff
Show Obsolete
(3)
View All
Add attachment
proposed patch, testcase, etc.
Sam Weinig
Comment 1
2010-07-20 15:31:29 PDT
<
rdar://problem/8213845
>
Alex Christensen
Comment 2
2013-05-13 16:07:24 PDT
Created
attachment 201643
[details]
Patch
Darin Adler
Comment 3
2013-05-13 16:11:45 PDT
Comment on
attachment 201643
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=201643&action=review
> Source/WebKit2/ChangeLog:16 > + (WebPage):
You should leave out this line. It’s really just a symptom of a bug in prepare-ChangeLog.
Alex Christensen
Comment 4
2013-05-13 16:14:38 PDT
Created
attachment 201646
[details]
Patch
Alex Christensen
Comment 5
2013-05-13 17:45:13 PDT
Created
attachment 201651
[details]
Patch
Darin Adler
Comment 6
2013-05-13 17:55:04 PDT
Comment on
attachment 201651
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=201651&action=review
> Tools/ChangeLog:17 > + (TestRunner):
Bogus line added by prepare-ChangeLog.
> Tools/WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:879 > + WKRetainPtr<WKStringRef> text(AdoptWK, WKBundlePageCopyRenderTreeExternalRepresentationForPrinting(m_page)); > + stringBuilder.append(toWTFString(text));
Should use adoptWK function, not the AdoptWK constructor, here. Also probably reads better without a local variable, like this: stringBuilder.append(toWTFString(adoptWK(WKBundlePageCopyRenderTreeExternalRepresentationForPrinting(m_page)).get()));
> Tools/WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:882 > + WKRetainPtr<WKStringRef> text(AdoptWK, WKBundlePageCopyRenderTreeExternalRepresentation(m_page)); > + stringBuilder.append(toWTFString(text));
Ditto.
Alex Christensen
Comment 7
2013-05-13 18:01:56 PDT
Created
attachment 201658
[details]
Patch
WebKit Commit Bot
Comment 8
2013-05-13 19:00:27 PDT
Comment on
attachment 201658
[details]
Patch Clearing flags on attachment: 201658 Committed
r150046
: <
http://trac.webkit.org/changeset/150046
>
WebKit Commit Bot
Comment 9
2013-05-13 19:00:29 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