WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
209444
Add console message when legacy TLS is used
https://bugs.webkit.org/show_bug.cgi?id=209444
Summary
Add console message when legacy TLS is used
Alex Christensen
Reported
2020-03-23 15:48:19 PDT
Add console message when legacy TLS is used
Attachments
Patch
(1.75 KB, patch)
2020-03-23 15:48 PDT
,
Alex Christensen
no flags
Details
Formatted Diff
Diff
Patch
(1.77 KB, patch)
2020-03-23 16:22 PDT
,
Alex Christensen
no flags
Details
Formatted Diff
Diff
Patch
(1.76 KB, patch)
2020-03-23 16:24 PDT
,
Alex Christensen
no flags
Details
Formatted Diff
Diff
Patch
(2.30 KB, patch)
2020-03-24 09:56 PDT
,
Alex Christensen
no flags
Details
Formatted Diff
Diff
Show Obsolete
(3)
View All
Add attachment
proposed patch, testcase, etc.
Alex Christensen
Comment 1
2020-03-23 15:48:44 PDT
Created
attachment 394314
[details]
Patch
Darin Adler
Comment 2
2020-03-23 15:56:57 PDT
Comment on
attachment 394314
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=394314&action=review
> Source/WebCore/loader/ResourceLoader.cpp:511 > document->setUsedLegacyTLS(true);
Could have put that inside the braces.
Alex Christensen
Comment 3
2020-03-23 16:22:20 PDT
Created
attachment 394320
[details]
Patch
Alex Christensen
Comment 4
2020-03-23 16:23:03 PDT
Comment on
attachment 394320
[details]
Patch Done. I also removed the host from the logs.
Darin Adler
Comment 5
2020-03-23 16:23:40 PDT
Comment on
attachment 394320
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=394320&action=review
> Source/WebCore/loader/ResourceLoader.cpp:509 > + page->console().addMessage(MessageSource::Network, MessageLevel::Warning, "Loaded resource using TLS 1.0 or 1.1, which are deprecated protocols that will be removed. Please use TLS 1.2 or newer instead."_s, 0, document);
Two spaces after a period!? Not sure what our style is, but I never do that.
Alex Christensen
Comment 6
2020-03-23 16:24:20 PDT
Created
attachment 394321
[details]
Patch
Alex Christensen
Comment 7
2020-03-23 16:26:40 PDT
Our style doesn't seem to care. I've done it consistently since elementary school unless told otherwise, but I removed it here.
EWS
Comment 8
2020-03-23 17:06:35 PDT
Committed
r258890
: <
https://trac.webkit.org/changeset/258890
> All reviewed patches have been landed. Closing bug and clearing flags on
attachment 394321
[details]
.
Radar WebKit Bug Importer
Comment 9
2020-03-23 17:09:06 PDT
<
rdar://problem/60800462
>
Darin Adler
Comment 10
2020-03-23 17:09:29 PDT
Comment on
attachment 394321
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=394321&action=review
> Source/WebCore/loader/ResourceLoader.cpp:505 > if (r.usedLegacyTLS()) { > if (m_frame) {
Just noticed we could indent this a little bit less by using && here.
Alex Christensen
Comment 11
2020-03-24 09:56:57 PDT
Reopening to attach new patch.
Alex Christensen
Comment 12
2020-03-24 09:56:58 PDT
Created
attachment 394380
[details]
Patch
EWS
Comment 13
2020-03-24 10:20:36 PDT
commit-queue failed to commit
attachment 394380
[details]
to WebKit repository.
Aakash Jain
Comment 14
2020-03-24 13:36:08 PDT
(In reply to EWS from
comment #13
)
> commit-queue failed to commit
attachment 394380
[details]
to WebKit repository.
There was another commit (modifying same ChangeLog)
https://trac.webkit.org/r258916
almost at the same time when commit-queue tried to land this. Please cq+ again.
EWS
Comment 15
2020-03-24 16:34:04 PDT
Committed
r258957
: <
https://trac.webkit.org/changeset/258957
> All reviewed patches have been landed. Closing bug and clearing flags on
attachment 394380
[details]
.
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