WebKit Bugzilla
Attachment 347165 Details for
Bug 188604
: Remove unused subresourceIntegrityEnabled setting/preference
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch
bug-188604-20180815092317.patch (text/plain), 4.49 KB, created by
Alex Christensen
on 2018-08-15 09:23:19 PDT
(
hide
)
Description:
Patch
Filename:
MIME Type:
Creator:
Alex Christensen
Created:
2018-08-15 09:23:19 PDT
Size:
4.49 KB
patch
obsolete
>Index: Source/WebCore/ChangeLog >=================================================================== >--- Source/WebCore/ChangeLog (revision 234888) >+++ Source/WebCore/ChangeLog (working copy) >@@ -1,3 +1,17 @@ >+2018-08-15 Alex Christensen <achristensen@webkit.org> >+ >+ Remove unused subresourceIntegrityEnabled setting/preference >+ https://bugs.webkit.org/show_bug.cgi?id=188604 >+ >+ Reviewed by NOBODY (OOPS!). >+ >+ * dom/ScriptElement.cpp: >+ (WebCore::ScriptElement::requestClassicScript): >+ (WebCore::ScriptElement::requestModuleScript): >+ * html/HTMLLinkElement.cpp: >+ (WebCore::HTMLLinkElement::process): >+ * page/Settings.yaml: >+ > 2018-08-15 Wenson Hsieh <wenson_hsieh@apple.com> > > [Attachment SPI] Remove attachment display mode options >Index: Source/WebCore/dom/ScriptElement.cpp >=================================================================== >--- Source/WebCore/dom/ScriptElement.cpp (revision 234881) >+++ Source/WebCore/dom/ScriptElement.cpp (working copy) >@@ -283,7 +283,7 @@ bool ScriptElement::requestClassicScript > if (!stripLeadingAndTrailingHTMLSpaces(sourceURL).isEmpty()) { > auto script = LoadableClassicScript::create( > m_element.attributeWithoutSynchronization(HTMLNames::nonceAttr), >- m_element.document().settings().subresourceIntegrityEnabled() ? m_element.attributeWithoutSynchronization(HTMLNames::integrityAttr).string() : emptyString(), >+ m_element.attributeWithoutSynchronization(HTMLNames::integrityAttr).string(), > m_element.attributeWithoutSynchronization(HTMLNames::crossoriginAttr), > scriptCharset(), > m_element.localName(), >@@ -334,7 +334,7 @@ bool ScriptElement::requestModuleScript( > m_isExternalScript = true; > auto script = LoadableModuleScript::create( > nonce, >- m_element.document().settings().subresourceIntegrityEnabled() ? m_element.attributeWithoutSynchronization(HTMLNames::integrityAttr).string() : emptyString(), >+ m_element.attributeWithoutSynchronization(HTMLNames::integrityAttr).string(), > crossOriginMode, > scriptCharset(), > m_element.localName(), >Index: Source/WebCore/html/HTMLLinkElement.cpp >=================================================================== >--- Source/WebCore/html/HTMLLinkElement.cpp (revision 234881) >+++ Source/WebCore/html/HTMLLinkElement.cpp (working copy) >@@ -306,8 +306,7 @@ void HTMLLinkElement::process() > if (!isActive) > priority = ResourceLoadPriority::VeryLow; > >- if (document().settings().subresourceIntegrityEnabled()) >- m_integrityMetadataForPendingSheetRequest = attributeWithoutSynchronization(HTMLNames::integrityAttr); >+ m_integrityMetadataForPendingSheetRequest = attributeWithoutSynchronization(HTMLNames::integrityAttr); > > ResourceLoaderOptions options = CachedResourceLoader::defaultCachedResourceOptions(); > options.sameOriginDataURLFlag = SameOriginDataURLFlag::Set; >Index: Source/WebCore/page/Settings.yaml >=================================================================== >--- Source/WebCore/page/Settings.yaml (revision 234881) >+++ Source/WebCore/page/Settings.yaml (working copy) >@@ -583,9 +583,6 @@ shouldSuppressTextInputFromEditingDuring > langAttributeAwareFormControlUIEnabled: > initial: false > >-subresourceIntegrityEnabled: >- initial: true >- > linkPreconnectEnabled: > initial: false > >Index: Source/WebKit/ChangeLog >=================================================================== >--- Source/WebKit/ChangeLog (revision 234888) >+++ Source/WebKit/ChangeLog (working copy) >@@ -1,3 +1,12 @@ >+2018-08-15 Alex Christensen <achristensen@webkit.org> >+ >+ Remove unused subresourceIntegrityEnabled setting/preference >+ https://bugs.webkit.org/show_bug.cgi?id=188604 >+ >+ Reviewed by NOBODY (OOPS!). >+ >+ * Shared/WebPreferences.yaml: >+ > 2018-08-15 Michael Catanzaro <mcatanzaro@igalia.com> > > [WPE][GTK] WaylandCompositor fails to properly remove surface from its page map >Index: Source/WebKit/Shared/WebPreferences.yaml >=================================================================== >--- Source/WebKit/Shared/WebPreferences.yaml (revision 234881) >+++ Source/WebKit/Shared/WebPreferences.yaml (working copy) >@@ -1053,10 +1053,6 @@ CrossOriginWindowPolicySupportEnabled: > type: bool > defaultValue: false > >-SubresourceIntegrityEnabled: >- type: bool >- defaultValue: true >- > RestrictedHTTPResponseAccess: > type: bool > defaultValue: true
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Formatted Diff
|
Diff
Attachments on
bug 188604
:
347165
|
347167
|
347174
|
347176
|
347179
|
347181
|
347185
|
347197
|
347200
|
347202
|
347208