Title: [205274] trunk/Source/WebCore
- Revision
- 205274
- Author
- commit-qu...@webkit.org
- Date
- 2016-08-31 18:23:56 -0700 (Wed, 31 Aug 2016)
Log Message
Enable the YouTube Flash plug-in replacement behavior on all Cocoa ports
https://bugs.webkit.org/show_bug.cgi?id=161453
<rdar://problem/28050847>
Patch by Ricky Mondello <rmonde...@apple.com> on 2016-08-31
Reviewed by Eric Carlson.
Now that we have some tests for the URL transformation logic (r205212) and the ability to enable the YouTube
Flash plug-in replacement behavior independently from the QuickTime plug-in replacement behavior (r205214 and
r205271), enable the YouTube Flash plug-in replacement behavior for Cocoa ports. We can and will continue to
improve it.
* page/Settings.cpp: Enable the feature for PLATFORM(COCOA), rather than just PLATFORM(IOS).
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (205273 => 205274)
--- trunk/Source/WebCore/ChangeLog 2016-09-01 00:23:47 UTC (rev 205273)
+++ trunk/Source/WebCore/ChangeLog 2016-09-01 01:23:56 UTC (rev 205274)
@@ -1,3 +1,18 @@
+2016-08-31 Ricky Mondello <rmonde...@apple.com>
+
+ Enable the YouTube Flash plug-in replacement behavior on all Cocoa ports
+ https://bugs.webkit.org/show_bug.cgi?id=161453
+ <rdar://problem/28050847>
+
+ Reviewed by Eric Carlson.
+
+ Now that we have some tests for the URL transformation logic (r205212) and the ability to enable the YouTube
+ Flash plug-in replacement behavior independently from the QuickTime plug-in replacement behavior (r205214 and
+ r205271), enable the YouTube Flash plug-in replacement behavior for Cocoa ports. We can and will continue to
+ improve it.
+
+ * page/Settings.cpp: Enable the feature for PLATFORM(COCOA), rather than just PLATFORM(IOS).
+
2016-08-31 Alex Christensen <achristen...@webkit.org>
Implement IPv6 parsing in URLParser
Modified: trunk/Source/WebCore/page/Settings.cpp (205273 => 205274)
--- trunk/Source/WebCore/page/Settings.cpp 2016-09-01 00:23:47 UTC (rev 205273)
+++ trunk/Source/WebCore/page/Settings.cpp 2016-09-01 01:23:56 UTC (rev 205274)
@@ -132,6 +132,12 @@
;
}
+#if PLATFORM(COCOA)
+static const bool defaultYouTubeFlashPluginReplacementEnabled = true;
+#else
+static const bool defaultYouTubeFlashPluginReplacementEnabled = false;
+#endif
+
#if PLATFORM(IOS)
static const bool defaultFixedPositionCreatesStackingContext = true;
static const bool defaultFixedBackgroundsPaintRelativeToDocument = true;
@@ -146,7 +152,6 @@
static const bool defaultScrollingTreeIncludesFrames = true;
static const bool defaultMediaControlsScaleWithPageZoom = true;
static const bool defaultQuickTimePluginReplacementEnabled = true;
-static const bool defaultYouTubeFlashPluginReplacementEnabled = true;
#else
static const bool defaultFixedPositionCreatesStackingContext = false;
static const bool defaultFixedBackgroundsPaintRelativeToDocument = false;
@@ -161,7 +166,6 @@
static const bool defaultScrollingTreeIncludesFrames = false;
static const bool defaultMediaControlsScaleWithPageZoom = true;
static const bool defaultQuickTimePluginReplacementEnabled = false;
-static const bool defaultYouTubeFlashPluginReplacementEnabled = false;
#endif
static const bool defaultAllowsPictureInPictureMediaPlayback = true;
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes