| Index: Source/core/page/WindowFeatures.cpp
|
| diff --git a/Source/core/page/WindowFeatures.cpp b/Source/core/page/WindowFeatures.cpp
|
| index 2ac15dc5787f2a2d6b7d95bde027372891fe7903..6a26e050141ec1a22f24d713453442182eab4afc 100644
|
| --- a/Source/core/page/WindowFeatures.cpp
|
| +++ b/Source/core/page/WindowFeatures.cpp
|
| @@ -156,8 +156,15 @@ void WindowFeatures::setWindowFeature(const String& keyString, const String& val
|
| fullscreen = value;
|
| else if (keyString == "scrollbars")
|
| scrollbarsVisible = value;
|
| - else if (value == 1)
|
| - additionalFeatures.append(keyString);
|
| + else {
|
| + // We're dealing with an unknown key, so just pass it on for processing
|
| + // at a later time.
|
| + String keyValueStr = keyString;
|
| + if (!valueString.isEmpty())
|
| + keyValueStr.append("=" + valueString);
|
| +
|
| + additionalFeatures.append(keyValueStr);
|
| + }
|
| }
|
|
|
| WindowFeatures::WindowFeatures(const String& dialogFeaturesString, const FloatRect& screenAvailableRect)
|
|
|