Changeset 266931 in webkit
- Timestamp:
- Sep 11, 2020 11:53:24 AM (4 years ago)
- Location:
- trunk/Source
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r266930 r266931 1 2020-09-11 Jer Noble <jer.noble@apple.com> 2 3 [iOS] Add Experimental setting to disable calling PID Inheritance API. 4 https://bugs.webkit.org/show_bug.cgi?id=216387 5 <rdar://problem/66286777> 6 7 Reviewed by Eric Carlson. 8 9 * page/RuntimeEnabledFeatures.h: 10 (WebCore::RuntimeEnabledFeatures::setDisableMediaExperiencePIDInheritance): 11 (WebCore::RuntimeEnabledFeatures::disableMediaExperiencePIDInheritance const): 12 * page/Settings.yaml: 13 * platform/audio/ios/MediaSessionHelperIOS.mm: 14 (MediaSessionHelperiOS::providePresentingApplicationPID): 15 1 16 2020-09-11 Zalan Bujtas <zalan@apple.com> 2 17 -
trunk/Source/WebCore/page/RuntimeEnabledFeatures.h
r266360 r266931 290 290 #endif 291 291 292 #if HAVE(CELESTIAL) 293 void setDisableMediaExperiencePIDInheritance(bool isDisabled) { m_disableMediaExperiencePIDInheritance = isDisabled; } 294 bool disableMediaExperiencePIDInheritance() const { return m_disableMediaExperiencePIDInheritance; } 295 #endif 296 292 297 private: 293 298 // Never instantiate. … … 431 436 #endif 432 437 438 #if HAVE(CELESTIAL) 439 bool m_disableMediaExperiencePIDInheritance { false }; 440 #endif 441 433 442 friend class WTF::NeverDestroyed<RuntimeEnabledFeatures>; 434 443 }; -
trunk/Source/WebCore/page/Settings.yaml
r266360 r266931 1116 1116 scriptMarkupEnabled: 1117 1117 initial: true 1118 -
trunk/Source/WebCore/platform/audio/ios/MediaSessionHelperIOS.mm
r264177 r266931 31 31 #import "Logging.h" 32 32 #import "MediaPlaybackTargetCocoa.h" 33 #import "RuntimeEnabledFeatures.h" 33 34 #import "WebCoreThreadRun.h" 34 35 #import <AVFoundation/AVAudioSession.h> … … 184 185 return; 185 186 m_havePresentedApplicationPID = true; 187 188 if (RuntimeEnabledFeatures::sharedFeatures().disableMediaExperiencePIDInheritance()) 189 return; 186 190 187 191 if (!canLoadAVSystemController_PIDToInheritApplicationStateFrom()) -
trunk/Source/WebKit/ChangeLog
r266929 r266931 1 2020-09-11 Jer Noble <jer.noble@apple.com> 2 3 [iOS] Add Experimental setting to disable calling PID Inheritance API. 4 https://bugs.webkit.org/show_bug.cgi?id=216387 5 <rdar://problem/66286777> 6 7 Reviewed by Eric Carlson. 8 9 * Shared/WebPreferences.yaml: 10 1 11 2020-09-11 Kate Cheney <katherine_cheney@apple.com> 2 12 -
trunk/Source/WebKit/Shared/WebPreferences.yaml
r266360 r266931 2158 2158 category: experimental 2159 2159 condition: ENABLE(CORE_IMAGE_ACCELERATED_FILTER_RENDER) 2160 2161 DisableMediaExperiencePIDInheritance: 2162 type: bool 2163 defaultValue: false 2164 webcoreBinding: RuntimeEnabledFeatures 2165 humanReadableName: "Disable Media Experience PID Inheritance" 2166 humanReadableDescription: "Disable Media Experience PID Inheritance" 2167 category: experimental 2168 condition: HAVE(CELESTIAL)
Note: See TracChangeset
for help on using the changeset viewer.