WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
55142
Make it possible to test the targetdensity-dpi support
https://bugs.webkit.org/show_bug.cgi?id=55142
Summary
Make it possible to test the targetdensity-dpi support
Kenneth Rohde Christiansen
Reported
2011-02-24 07:00:07 PST
SSIA
Attachments
Patch
(90.95 KB, patch)
2011-02-24 07:02 PST
,
Kenneth Rohde Christiansen
kling
: review+
kling
: commit-queue-
Details
Formatted Diff
Diff
Patch 2
(90.99 KB, patch)
2011-02-24 07:17 PST
,
Kenneth Rohde Christiansen
kling
: review+
kenneth
: commit-queue-
Details
Formatted Diff
Diff
Patch 3
(97.94 KB, patch)
2011-02-25 00:35 PST
,
Kenneth Rohde Christiansen
no flags
Details
Formatted Diff
Diff
Patch 4
(97.94 KB, patch)
2011-02-25 02:21 PST
,
Kenneth Rohde Christiansen
no flags
Details
Formatted Diff
Diff
Show Obsolete
(3)
View All
Add attachment
proposed patch, testcase, etc.
Kenneth Rohde Christiansen
Comment 1
2011-02-24 07:02:55 PST
Created
attachment 83648
[details]
Patch
WebKit Review Bot
Comment 2
2011-02-24 07:04:55 PST
Attachment 83648
[details]
did not pass style-queue: Failed to run "['Tools/Scripts/check-webkit-style', '--diff-files', u'LayoutTests/ChangeLog', u'LayoutTests/fast..." exit_code: 1 Source/WebKit/gtk/WebCoreSupport/DumpRenderTreeSupportGtk.h:61: The parameter name "webView" adds no information, so it should be removed. [readability/parameter_name] [5] Total errors found: 1 in 134 files If any of these errors are false positives, please file a bug against check-webkit-style.
Andreas Kling
Comment 3
2011-02-24 07:09:35 PST
Comment on
attachment 83648
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=83648&action=review
r=me with moans:
> Source/WebKit/qt/ChangeLog:9 > + Test the viewport meta tag feature targetdensity-dpi by > + adding a new extra arguments to dumpConfigurationForViewpor
<kenneth repeat="all ChangeLogs"> ...adding extra arguments... Typo, dumpConfigurationForViewport </kenneth>
> Source/WebKit/qt/WebCoreSupport/DumpRenderTreeSupportQt.h:187 > - static QString viewportAsText(QWebPage*, const QSize&); > + static QString viewportAsText(QWebPage*, int, const QSize&, const QSize&);
Variable names would be useful here.
> Tools/DumpRenderTree/qt/LayoutTestControllerQt.cpp:238 > -void LayoutTestController::dumpConfigurationForViewport(int availableWidth, int availableHeight) > +void LayoutTestController::dumpConfigurationForViewport(int dpi, int width, int height, int availableWidth, int availableHeight)
dpi -> deviceDPI
Kenneth Rohde Christiansen
Comment 4
2011-02-24 07:17:56 PST
Created
attachment 83650
[details]
Patch 2
WebKit Review Bot
Comment 5
2011-02-24 07:19:08 PST
Attachment 83650
[details]
did not pass style-queue: Failed to run "['Tools/Scripts/check-webkit-style', '--diff-files', u'LayoutTests/ChangeLog', u'LayoutTests/fast..." exit_code: 1 Source/WebKit/gtk/WebCoreSupport/DumpRenderTreeSupportGtk.h:61: The parameter name "webView" adds no information, so it should be removed. [readability/parameter_name] [5] Total errors found: 1 in 134 files If any of these errors are false positives, please file a bug against check-webkit-style.
Collabora GTK+ EWS bot
Comment 6
2011-02-25 00:15:05 PST
Attachment 83650
[details]
did not build on gtk: Build output:
http://queues.webkit.org/results/8031109
Kenneth Rohde Christiansen
Comment 7
2011-02-25 00:31:24 PST
GTK uses the shared header file so I'm going to update all users of this one.
Kenneth Rohde Christiansen
Comment 8
2011-02-25 00:35:47 PST
Created
attachment 83781
[details]
Patch 3
WebKit Review Bot
Comment 9
2011-02-25 00:37:26 PST
Attachment 83781
[details]
did not pass style-queue: Failed to run "['Tools/Scripts/check-webkit-style', '--diff-files', u'LayoutTests/ChangeLog', u'LayoutTests/fast..." exit_code: 1 Source/WebKit/gtk/WebCoreSupport/DumpRenderTreeSupportGtk.h:61: The parameter name "webView" adds no information, so it should be removed. [readability/parameter_name] [5] Total errors found: 1 in 140 files If any of these errors are false positives, please file a bug against check-webkit-style.
Build Bot
Comment 10
2011-02-25 01:48:33 PST
Attachment 83781
[details]
did not build on win: Build output:
http://queues.webkit.org/results/8034128
Andreas Kling
Comment 11
2011-02-25 02:18:55 PST
Comment on
attachment 83781
[details]
Patch 3 View in context:
https://bugs.webkit.org/attachment.cgi?id=83781&action=review
> Tools/DumpRenderTree/LayoutTestController.cpp:154 > + double deviceWidth = JSValueToNumber(context, arguments[1], exception); > + ASSERT(!*exception); > + double deviceWidth = JSValueToNumber(context, arguments[2], exception);
Oops, both variables are called deviceWidth here!
Kenneth Rohde Christiansen
Comment 12
2011-02-25 02:21:19 PST
Created
attachment 83787
[details]
Patch 4
WebKit Review Bot
Comment 13
2011-02-25 02:22:54 PST
Attachment 83787
[details]
did not pass style-queue: Failed to run "['Tools/Scripts/check-webkit-style', '--diff-files', u'LayoutTests/ChangeLog', u'LayoutTests/fast..." exit_code: 1 Source/WebKit/gtk/WebCoreSupport/DumpRenderTreeSupportGtk.h:61: The parameter name "webView" adds no information, so it should be removed. [readability/parameter_name] [5] Total errors found: 1 in 140 files If any of these errors are false positives, please file a bug against check-webkit-style.
WebKit Commit Bot
Comment 14
2011-02-26 06:39:34 PST
Comment on
attachment 83787
[details]
Patch 4 Clearing flags on attachment: 83787 Committed
r79783
: <
http://trac.webkit.org/changeset/79783
>
WebKit Commit Bot
Comment 15
2011-02-26 06:39:39 PST
All reviewed patches have been landed. Closing bug.
Mihai Parparita
Comment 16
2011-02-26 09:12:12 PST
It looks like this didn't check in any -expected files for the new tests (viewport-91.html, etc.).
Kenneth Rohde Christiansen
Comment 17
2011-02-27 04:47:38 PST
(In reply to
comment #16
)
> It looks like this didn't check in any -expected files for the new tests (viewport-91.html, etc.).
Oh, that is a mistake. Let me check them in tomorrow.
WebKit Review Bot
Comment 18
2011-02-27 09:01:37 PST
http://trac.webkit.org/changeset/79783
might have broken GTK Linux 32-bit Debug
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