Add a runtime flag for SubtleCrypto.
Created attachment 295252 [details] Patch
Comment on attachment 295252 [details] Patch Can someone tell me why minibrowser WK2 doesn't work?
Created attachment 295325 [details] Patch
(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?
(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.
(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.
<rdar://problem/29468077>
Comment on attachment 295325 [details] Patch Looks correct. r=me.
(In reply to comment #8) > Comment on attachment 295325 [details] > Patch > > Looks correct. r=me. Thanks Brent for r+ my patch.
Created attachment 295922 [details] Patch for landing
Comment on attachment 295922 [details] Patch for landing Clearing flags on attachment: 295922 Committed r209230: <http://trac.webkit.org/changeset/209230>
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?