WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
164982
Add a runtime flag for SubtleCrypto
https://bugs.webkit.org/show_bug.cgi?id=164982
Summary
Add a runtime flag for SubtleCrypto
Jiewen Tan
Reported
2016-11-18 21:46:44 PST
Add a runtime flag for SubtleCrypto.
Attachments
Patch
(16.18 KB, patch)
2016-11-18 21:54 PST
,
Jiewen Tan
no flags
Details
Formatted Diff
Diff
Patch
(16.16 KB, patch)
2016-11-21 21:56 PST
,
Jiewen Tan
bfulgham
: review+
Details
Formatted Diff
Diff
Patch for landing
(16.08 KB, patch)
2016-12-01 18:05 PST
,
Jiewen Tan
no flags
Details
Formatted Diff
Diff
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
Jiewen Tan
Comment 1
2016-11-18 21:54:04 PST
Created
attachment 295252
[details]
Patch
Jiewen Tan
Comment 2
2016-11-18 21:54:39 PST
Comment on
attachment 295252
[details]
Patch Can someone tell me why minibrowser WK2 doesn't work?
Jiewen Tan
Comment 3
2016-11-21 21:56:14 PST
Created
attachment 295325
[details]
Patch
Brent Fulgham
Comment 4
2016-11-30 09:25:16 PST
(In reply to
comment #2
)
> Comment on
attachment 295252
[details]
> Patch > > Can someone tell me why minibrowser WK2 doesn't work?
I think you need to modify AppDelegate.m "defaultConfiguration" to add turn your new flag on. Otherwise it will default to off. I assume you want to turn it on for MiniBrowser by default, not allow the user to toggle it at runtime?
Jiewen Tan
Comment 5
2016-11-30 14:04:44 PST
(In reply to
comment #4
)
> (In reply to
comment #2
) > > Comment on
attachment 295252
[details]
> > Patch > > > > Can someone tell me why minibrowser WK2 doesn't work? > > I think you need to modify AppDelegate.m "defaultConfiguration" to add turn > your new flag on. Otherwise it will default to off. > > I assume you want to turn it on for MiniBrowser by default, not allow the > user to toggle it at runtime?
Thanks Brent, let me try.
Jiewen Tan
Comment 6
2016-11-30 17:54:24 PST
(In reply to
comment #5
)
> (In reply to
comment #4
) > > (In reply to
comment #2
) > > > Comment on
attachment 295252
[details]
> > > Patch > > > > > > Can someone tell me why minibrowser WK2 doesn't work? > > > > I think you need to modify AppDelegate.m "defaultConfiguration" to add turn > > your new flag on. Otherwise it will default to off. > > > > I assume you want to turn it on for MiniBrowser by default, not allow the > > user to toggle it at runtime? > > Thanks Brent, let me try.
It seems like experimental features are default off. If that's the case for miniBrowser, I have no objection on it. I can use WK1 window for test purpose.
Radar WebKit Bug Importer
Comment 7
2016-12-01 14:55:42 PST
<
rdar://problem/29468077
>
Brent Fulgham
Comment 8
2016-12-01 14:57:02 PST
Comment on
attachment 295325
[details]
Patch Looks correct. r=me.
Jiewen Tan
Comment 9
2016-12-01 14:59:47 PST
(In reply to
comment #8
)
> Comment on
attachment 295325
[details]
> Patch > > Looks correct. r=me.
Thanks Brent for r+ my patch.
Jiewen Tan
Comment 10
2016-12-01 18:05:59 PST
Created
attachment 295922
[details]
Patch for landing
WebKit Commit Bot
Comment 11
2016-12-01 19:30:59 PST
Comment on
attachment 295922
[details]
Patch for landing Clearing flags on attachment: 295922 Committed
r209230
: <
http://trac.webkit.org/changeset/209230
>
Joseph Pecoraro
Comment 12
2017-01-17 16:03:00 PST
Comment on
attachment 295922
[details]
Patch for landing View in context:
https://bugs.webkit.org/attachment.cgi?id=295922&action=review
> Source/WebCore/bindings/generic/RuntimeEnabledFeatures.h:372 > +#if ENABLE(SUBTLE_CRYPTO) > + bool m_isSubtleCryptoEnabled; > +#endif
This member variable doesn't appear to be initialed to anything by default, or in reset(). Could this cause problems for Windows / Linux ports that doesn't explicitly set this in their WebKit APIs?
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