Timeline



Dec 21, 2014:

6:00 PM Changeset in webkit [177629] by commit-queue@webkit.org
  • 3 edits
    2 adds in trunk

HTMLSelectElement add() should support adding group of options element (HTMLOptGroupElement).
https://bugs.webkit.org/show_bug.cgi?id=139806

Patch by Shivakumar JM <shiva.jm@samsung.com> on 2014-12-21
Reviewed by Darin Adler.

Source/WebCore:

HTMLSelectElement add() should support adding group of options (optgroup) element.

Test: fast/dom/HTMLSelectElement/select-add-optgroup.html

  • html/HTMLSelectElement.cpp:

(WebCore::HTMLSelectElement::add):

LayoutTests:

  • fast/dom/HTMLSelectElement/select-add-optgroup-expected.txt: Added.
  • fast/dom/HTMLSelectElement/select-add-optgroup.html: Added.
5:52 PM Changeset in webkit [177628] by Chris Dumez
  • 2 edits in trunk/Source/WebCore

Fix missing assertion in r177623.
https://bugs.webkit.org/show_bug.cgi?id=139334

Reviewed by Darin Adler.

ValueWithCalculation::setCalculation() was meant to include an
"isCalculation()" assertion but I inadvertently omitted the
ASSERT() around the statement.

  • css/CSSParser.h:

(WebCore::CSSParser::ValueWithCalculation::setCalculation):

3:56 PM Changeset in webkit [177627] by rgabor@webkit.org
  • 3 edits
    2 adds in trunk

AX: Hidden aria table crash
https://bugs.webkit.org/show_bug.cgi?id=139856

Reviewed by Chris Fleizach.

Source/WebCore:

Change axCaption to pointer and check it's value because
AXObjectCache::getOrCreate() can return with nullptr.

Test: accessibility/aria-hidden-crash.html

  • accessibility/AccessibilityTable.cpp:

(WebCore::AccessibilityTable::addChildren):

LayoutTests:

Add layout test to cover this crash.

  • accessibility/aria-hidden-crash-expected.txt: Added.
  • accessibility/aria-hidden-crash.html: Added.
2:11 PM Changeset in webkit [177626] by ap@apple.com
  • 2 edits in trunk/LayoutTests

Update expectations for two WebGL tests to match what bots see.

  • platform/mac/TestExpectations:
9:01 AM Changeset in webkit [177625] by eric.carlson@apple.com
  • 2 edits in trunk/Source/WebKit2

[iOS] avoid WebVideoFullscreenManager crash
https://bugs.webkit.org/show_bug.cgi?id=139852
<rdar://problem/19319302>

Reviewed by Darin Adler.

  • WebProcess/ios/WebVideoFullscreenManager.mm:

(WebKit::WebVideoFullscreenManager::didExitFullscreen): NULL-check m_layerHostingContext and m_page.
(WebKit::WebVideoFullscreenManager::setVideoLayerFrameFenced): NULL-check m_layerHostingContext.

2:49 AM Changeset in webkit [177624] by ddkilzer@apple.com
  • 3 edits in trunk/Source/WebKit2

Fix WebKit2 build with newer clang compiler

Fixes the following build error:

In file included from DerivedSources/WebKit2/WebVideoFullscreenManagerProxyMessageReceiver.cpp:32:
Source/WebKit2/Platform/IPC/HandleMessage.h:16:25: error: non-const lvalue reference to type 'Vector<[3 * ...]>' cannot bind to a temporary of type 'Vector<[3 * ...]>'

(object->*function)(std::get<ArgsIndex>(std::forward<ArgsTuple>(args))...);

~

Source/WebKit2/Platform/IPC/HandleMessage.h:22:5: note: in instantiation of function template specialization 'IPC::callMemberFunctionImpl<WebKit::WebVideoFullscreenManagerProxy, void (WebKit::WebVideoFullscreenManagerProxy::*)(WTF::Vector<std::__1::pair<double, double>, 0, WTF::CrashOnOverflow> &), std::1::tuple<WTF::Vector<std::__1::pair<double, double>, 0, WTF::CrashOnOverflow> >, 0>' requested here

callMemberFunctionImpl(object, function, std::forward<ArgsTuple>(args), ArgsIndicies());

Source/WebKit2/Platform/IPC/HandleMessage.h:120:5: note: in instantiation of function template specialization 'IPC::callMemberFunction<WebKit::WebVideoFullscreenManagerProxy, void (WebKit::WebVideoFullscreenManagerProxy::*)(WTF::Vector<std::__1::pair<double, double>, 0, WTF::CrashOnOverflow> &), std::1::tuple<WTF::Vector<std::__1::pair<double, double>, 0, WTF::CrashOnOverflow> >, std::make_index_sequence<1> >' requested here

callMemberFunction(WTF::move(arguments), object, function);

DerivedSources/WebKit2/WebVideoFullscreenManagerProxyMessageReceiver.cpp:55:14: note: in instantiation of function template specialization 'IPC::handleMessage<Messages::WebVideoFullscreenManagerProxy::SetSeekableRangesVector, WebKit::WebVideoFullscreenManagerProxy, void (WebKit::WebVideoFullscreenManagerProxy::*)(WTF::Vector<std::__1::pair<double, double>, 0, WTF::CrashOnOverflow> &)>' requested here

IPC::handleMessage<Messages::WebVideoFullscreenManagerProxy::SetSeekableRangesVector>(decoder, this, &WebVideoFullscreenManagerProxy::setSeekableRangesVector);


  • UIProcess/ios/WebVideoFullscreenManagerProxy.h:
  • UIProcess/ios/WebVideoFullscreenManagerProxy.mm:

(WebKit::WebVideoFullscreenManagerProxy::setSeekableRangesVector):
Make Vector<std::pair<double, double>>& argument const because a
temporary is not allowed to bind to a non-const reference.

Dec 20, 2014:

6:56 PM Changeset in webkit [177623] by Chris Dumez
  • 4 edits in trunk/Source/WebCore

Get rid of error-prone ReleaseParsedCalcValueCondition argument in CSSParser
https://bugs.webkit.org/show_bug.cgi?id=139334

Reviewed by Darin Adler.

Get rid of error-prone ReleaseParsedCalcValueCondition argument in
CSSParser that determines the the m_parsedCalculation member should
be released.

Instead, introduce a new ValueWithCalculation type which wraps a
CSSParserValue and an optional parsed calculation value. This way,
the parsed calculation value is now associated with its CSSParserValue.
This makes it very difficult to use a parsed calculation value for the
wrong CSSParserValue. The API is also easier to use as developers no
longer need to explicitly indicate if the calculation value should be
released or not.

No new tests, no web-behavior change.

10:28 AM Changeset in webkit [177622] by eric.carlson@apple.com
  • 22 edits in trunk/Source

[iOS] add optimized fullscreen API
https://bugs.webkit.org/show_bug.cgi?id=139833
<rdar://problem/18844486>

Reviewed by Simon Fraser.

Source/JavaScriptCore:

  • Configurations/FeatureDefines.xcconfig: Add ENABLE_VIDEO_PRESENTATION_MODE.

Source/WebCore:

  • Configurations/FeatureDefines.xcconfig: Add ENABLE_VIDEO_PRESENTATION_MODE.
  • Modules/mediacontrols/MediaControlsHost.cpp:

(WebCore::MediaControlsHost::optimizedFullscreenSupported): Deleted.
(WebCore::MediaControlsHost::fullscreenMode): Deleted.

  • Modules/mediacontrols/MediaControlsHost.h:
  • Modules/mediacontrols/MediaControlsHost.idl:
  • Modules/mediacontrols/mediaControlsiOS.js:

(ControllerIOS.prototype.addVideoListeners): Listen for 'webkitpresentationmodechanged'.
(ControllerIOS.prototype.removeVideoListeners): Stop listening for 'webkitpresentationmodechanged'.
(ControllerIOS.prototype.configureInlineControls): Call video element instead of using the now

removed host property.

(ControllerIOS.prototype.updateControls): Ditto.
(ControllerIOS.prototype.presentationMode): New, return webkitPresentationMode when possible.
(ControllerIOS.prototype.handleFullscreenButtonClicked): Use webkitSetPresentationMode when possible.
(ControllerIOS.prototype.handleOptimizedFullscreenButtonClicked): Use video element instead of

using the now removed host method.

(ControllerIOS.prototype.handlePresentationModeChange): New, react to presentation mode changes.
(ControllerIOS.prototype.handleFullscreenChange): Call handlePresentationModeChange.

  • dom/EventNames.h: Add webkitpresentationmodechanged.
  • html/HTMLAttributeNames.in: Add onwebkitpresentationmodechanged.
  • html/HTMLMediaElement.cpp:

(WebCore::HTMLMediaElement::enterFullscreen): Early return when asked to change to the current

mode. Call fullscreenModeChanged() instead of whacking the instance variable directly.

(WebCore::HTMLMediaElement::exitFullscreen): Ditto.

  • html/HTMLMediaElement.h:

(WebCore::HTMLMediaElement::fullscreenModeChanged): Make virtual.

  • html/HTMLVideoElement.cpp:

(WebCore::HTMLVideoElement::parseAttribute): Deal with onwebkitpresentationmodechange.
(WebCore::presentationModeFullscreen): New.
(WebCore::presentationModeOptimized): Ditto.
(WebCore::presentationModeInline): Ditto.
(WebCore::HTMLVideoElement::webkitSupportsPresentationMode): Ditto.
(WebCore::HTMLVideoElement::webkitSetPresentationMode): Ditto.
(WebCore::HTMLVideoElement::webkitPresentationMode): Ditto.
(WebCore::HTMLVideoElement::fullscreenModeChanged): Ditto.

  • html/HTMLVideoElement.h:
  • html/HTMLVideoElement.idl:
  • platform/ios/WebVideoFullscreenInterfaceAVKit.mm:

(WebVideoFullscreenInterfaceAVKit::setIsOptimized): Simplify the logic a bit. Don't report

a mode change when

Source/WebKit/mac:

  • Configurations/FeatureDefines.xcconfig: Add ENABLE_VIDEO_PRESENTATION_MODE.

Source/WebKit2:

  • Configurations/FeatureDefines.xcconfig: Add ENABLE_VIDEO_PRESENTATION_MODE.

Source/WTF:

  • wtf/Platform.h: Define ENABLE_VIDEO_PRESENTATION_MODE.
9:26 AM Changeset in webkit [177621] by ddkilzer@apple.com
  • 42 edits in trunk/Source

Switch from using PLATFORM_NAME to SDK selectors in WebCore, WebInspectorUI, WebKit, WebKit2
<http://webkit.org/b/139463>

Reviewed by Mark Rowe.

Source/JavaScriptCore:

  • Configurations/JavaScriptCore.xcconfig:
  • Simplify SECTORDER_FLAGS.

Source/WebCore:

Also remove all uses of SQLITE3_HEADER_SEARCH_PATHS and
WEBCORE_SQLITE3_HEADER_SEARCH_PATHS which were phased out in
r132859 and needed for Leopard.

  • Configurations/Base.xcconfig:
  • Only set GCC_ENABLE_OBJC_GC, GCC_MODEL_TUNING and TOOLCHAINS on OS X.
  • Set GCC_OPTIMIZATION_LEVEL_normal based on SDK.
  • Simplify SQLITE3_HEADER_SEARCH_PATHS.
  • Configurations/DebugRelease.xcconfig:
  • Only set MACOSX_DEPLOYMENT_TARGET and SDKROOT on OS X.
  • Configurations/Version.xcconfig:
  • Set SYSTEM_VERSION_PREFIX separately for iOS and OS X.
  • Configurations/WebCore.xcconfig:
  • Set EXPORTED_SYMBOLS_FILE_i386, EXPORTED_SYMBOLS_FILE_x86_64, FRAMEWORK_SEARCH_PATHS, INSTALL_PATH, DYLIB_INSTALL_NAME_BASE, OTHER_LDFLAGS, SECTORDER_FLAGS, NORMAL_WEBCORE_FRAMEWORKS_DIR, WEBCORE_FRAMEWORKS_DIR, NORMAL_PRODUCTION_FRAMEWORKS_DIR, PRODUCTION_FRAMEWORKS_DIR, JAVASCRIPTCORE_PRIVATE_HEADERS_DIR_Production and EXCLUDED_SOURCE_FILE_NAMES based on SDK.
  • Make sure DYLIB_INSTALL_NAME_BASE and OTHER_LDFLAGS are overrideable by WebCoreTestSupport.xcconfig.
  • Configurations/WebCoreTestSupport.xcconfig:
  • Set PRIVATE_HEADERS_FOLDER_PATH_Production and INSTALL_PATH_Production based on SDK.
  • Override SECT_ORDER_FLAGS from WebCore.xcconfig.

Source/WebInspectorUI:

  • Configurations/Base.xcconfig:
  • Only set TOOLCHAINS on OS X.
  • Configurations/DebugRelease.xcconfig:
  • Only set MACOSX_DEPLOYMENT_TARGET and SDKROOT on OS X.
  • Configurations/Version.xcconfig:
  • Set SYSTEM_VERSION_PREFIX separately for iOS and OS X.
  • Configurations/WebInspectorUIFramework.xcconfig:
  • Set NORMAL_PRODUCTION_FRAMEWORKS_DIR, PRODUCTION_FRAMEWORKS_DIR and JAVASCRIPTCORE_PRIVATE_HEADERS_DIR_Production by SDK.

Source/WebKit/mac:

  • Configurations/Base.xcconfig:
  • Only set GCC_ENABLE_OBJC_GC, GCC_MODEL_TUNING and TOOLCHAINS on OS X.
  • Set GCC_OPTIMIZATION_LEVEL_normal based on SDK.
  • Configurations/DebugRelease.xcconfig:
  • Only set MACOSX_DEPLOYMENT_TARGET and SDKROOT on OS X.
  • Set WEBKIT_SYSTEM_INTERFACE_LIBRARY based on SDK.
  • Configurations/Version.xcconfig:
  • Set SYSTEM_VERSION_PREFIX separately for iOS and OS X.
  • Configurations/WebKitLegacy.xcconfig:
  • Set EXCLUDED_SOURCE_FILE_NAMES, EXPORTED_SYMBOLS_FILE_x86_64, FRAMEWORK_SEARCH_PATHS, OTHER_CFLAGS, INSTALL_PATH, DYLIB_INSTALL_NAME_BASE, OTHER_LDFLAGS, SECTORDER_FLAGS, NORMAL_WEBKIT_LEGACY_FRAMEWORKS_DIR, WEBKIT_LEGACY_FRAMEWORKS_DIR, NORMAL_PRODUCTION_FRAMEWORKS_DIR, PRODUCTION_FRAMEWORKS_DIR, PRODUCTION_ROOT, WEBCORE_PRIVATE_HEADERS_DIR_Production and WEBKITSYSTEMINTERFACE_STATIC_LIBRARY_HEADERS_FOLDER_PATH_engineering based on SDK.
  • Fix PRODUCTION_ROOT to actually be set properly.
  • Simplify EXPORTED_SYMBOLS_FILE_i386.
  • migrate-headers.sh:
  • Get rid of unused WEBKIT2_FRAMEWORKS_DIR variable.
  • Change WEBCORE_PRIVATE_HEADERS_DIR_macosx_Production to WEBCORE_PRIVATE_HEADERS_DIR_Production based on changes to WebKitLegacy.xcconfig.

Source/WebKit2:

  • Configurations/All.xcconfig:
  • Only set EXCLUDED_SOURCE_FILE_NAMES on iOS.
  • Configurations/Base.xcconfig:
  • Only set FRAMEWORK_CONTENT_DIRECTORY, GCC_ENABLE_OBJC_GC and TOOLCHAINS on OS X.
  • Configurations/BaseLegacyProcess.xcconfig:
  • Only set SKIP_INSTALL on iOS.
  • Configurations/BaseTarget.xcconfig:
  • Set WEBKIT_FRAMEWORKS_DIR and UMBRELLA_FRAMEWORKS_DIR based on SDK, and simply them.
  • Configurations/BaseXPCService.xcconfig:
  • Set INSTALL_PATH_ACTUAL_Normal based on SDK.
  • Configurations/DebugRelease.xcconfig:
  • Only set MACOSX_DEPLOYMENT_TARGET and SDKROOT on OS X.
  • Set WEBKIT_SYSTEM_INTERFACE_LIBRARY based on SDK.
  • Configurations/NetworkProcess.xcconfig:
  • Only set EXCLUDED_SHIM_FILE_NAME and CODE_SIGN_ENTITLEMENTS on iOS.
  • Configurations/NetworkService.Development.xcconfig:
  • Set INFOPLIST_FILE based on SDK.
  • Simplify CODE_SIGN_ENTITLEMENTS for iOS.
  • Configurations/NetworkService.xcconfig:
  • Set INFOPLIST_FILE based on SDK.
  • Simplify CODE_SIGN_ENTITLEMENTS for iOS.
  • Configurations/PluginProcess.xcconfig:
  • Only set EXCLUDED_SHIM_FILE_NAME and SKIP_INSTALL on iOS.
  • Configurations/PluginProcessShim.xcconfig:
  • Set OTHER_LDFLAGS based on SDK.
  • Configurations/PluginService.32.xcconfig:
  • Only set VALID_ARCHS on OS X.
  • Set OTHER_LDFLAGS based on platform-specific values.
  • Only set SKIP_INSTALL on iOS.
  • Configurations/PluginService.64.xcconfig:
  • Set ARCHS based on SDK.
  • Set OTHER_LDFLAGS based on platform-specific values.
  • Only set SKIP_INSTALL on iOS.
  • Configurations/PluginService.Development.xcconfig:
  • Only set SKIP_INSTALL on iOS.
  • Set OTHER_LDFLAGS based on platform-specific values.
  • Configurations/SecItemShim.xcconfig:
  • Set OTHER_LDFLAGS based on platform-specific values.
  • Configurations/Version.xcconfig:
  • Set SYSTEM_VERSION_PREFIX separately for iOS and OS X.
  • Configurations/WebContentProcess.xcconfig:
  • Only set EXCLUDED_SHIM_FILE_NAME on iOS.
  • Only set CODE_SIGN_ENTITLEMENTS on iOS Simulator.
  • Configurations/WebContentService.Development.xcconfig:
  • Set INFOPLIST_FILE and BUNDLE_LOCALIZATION_KEY based on SDK.
  • Only set CODE_SIGN_ENTITLEMENTS on iOS hardware.
  • Set OTHER_LDFLAGS based on platform-specific values.
  • Configurations/WebContentService.xcconfig: Ditto.
  • Configurations/WebKit.xcconfig:
  • Set FRAMEWORK_AND_LIBRARY_LDFLAGS, SECTORDER_FLAGS, and WK_API_AVAILABILITY_ENABLED based on SDK.
  • Set OTHER_LDFLAGS based on platform-specific values.
  • Only set EXCLUDED_SOURCE_FILE_NAMES on iOS.
  • Configurations/WebKit2.xcconfig:
  • Set INSTALL_PATH, INSTALL_PATH_ACTUAL, DYLIB_INSTALL_NAME_BASE, NORMAL_WEBKIT2_FRAMEWORKS_DIR, WEBKIT2_FRAMEWORKS_DIR and NORMAL_PRODUCTION_FRAMEWORKS_DIR based on SDK.
  • Set SKIP_INSTALL on iOS.
  • Configurations/WebProcessShim.xcconfig:
  • Set OTHER_LDFLAGS based on platform-specific values.
Note: See TracTimeline for information about the timeline view.