WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
48397
WebKit2 shouldn't try to send an empty user agent
https://bugs.webkit.org/show_bug.cgi?id=48397
Summary
WebKit2 shouldn't try to send an empty user agent
Brian Weinstein
Reported
2010-10-26 21:45:22 PDT
WebKit2 shouldn't try to send an empty user agent. In WebKit2/WebProcess/WebPage/WebPage.cpp, when we are returning the user agent, we return the custom one if it is not null, however, this should be if it is not empty, because we don't want to return an empty string for the user agent.
Attachments
[PATCH] Fix
(1.15 KB, patch)
2010-10-26 21:47 PDT
,
Brian Weinstein
bweinstein
: commit-queue-
Details
Formatted Diff
Diff
[PATCH] Fix with test
(9.25 KB, patch)
2010-10-26 23:40 PDT
,
Brian Weinstein
aroben
: review+
bweinstein
: commit-queue-
Details
Formatted Diff
Diff
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
Brian Weinstein
Comment 1
2010-10-26 21:47:00 PDT
Created
attachment 71981
[details]
[PATCH] Fix
Brian Weinstein
Comment 2
2010-10-26 22:10:56 PDT
(In reply to
comment #1
)
> Created an attachment (id=71981) [details] > [PATCH] Fix
Will send out a new patch with a better explanation and a test.
Brian Weinstein
Comment 3
2010-10-26 23:40:50 PDT
Created
attachment 71986
[details]
[PATCH] Fix with test
WebKit Review Bot
Comment 4
2010-10-26 23:43:02 PDT
Attachment 71986
[details]
did not pass style-queue: Failed to run "['WebKitTools/Scripts/check-webkit-style']" exit_code: 1 WebKitTools/TestWebKitAPI/Tests/WebKit2/PreventEmptyUserAgent.cpp:26: Found other header before WebCore config.h. Should be: config.h, primary header, blank line, and then alphabetically sorted. [build/include_order] [4] WebKitTools/TestWebKitAPI/Tests/WebKit2/PreventEmptyUserAgent.cpp:28: Alphabetical sorting problem. [build/include_order] [4] Total errors found: 2 in 6 files If any of these errors are false positives, please file a bug against check-webkit-style.
Brian Weinstein
Comment 5
2010-10-27 09:56:15 PDT
Landed in
r70658
.
WebKit Review Bot
Comment 6
2010-10-27 14:03:34 PDT
http://trac.webkit.org/changeset/70658
might have broken GTK Linux 32-bit Debug
WebKit Review Bot
Comment 7
2010-10-27 14:03:42 PDT
http://trac.webkit.org/changeset/70659
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