- 08 Jan, 2014 26 commits
-
-
andersca@apple.com authored
https://bugs.webkit.org/show_bug.cgi?id=126644 Reviewed by Antti Koivisto. Source/WebCore: Use a StringView in TextCheckerClient::checkTextOfParagraph to avoid upconverting strings unnecessarily. * editing/TextCheckingHelper.cpp: (WebCore::checkTextOfParagraph): Pass a StringView to TextCheckerClient::checkTextOfParagraph. * loader/EmptyClients.h: Update for TextCheckerClient changes. * platform/text/TextCheckerClient.h: Change TextCheckerClient::checkTextOfParagraph to take a StringView. Source/WebKit/efl: Update to match WebCore changes. * WebCoreSupport/EditorClientEfl.h: (WebCore::EditorClientEfl::checkTextOfParagraph): Source/WebKit/mac: * WebCoreSupport/WebEditorClient.h: * WebCoreSupport/WebEditorClient.mm: (WebEditorClient::checkTextOfParagraph): Update to match the new signature. (nsStringWithoutCopying): New function that creates an NSString that references StringView data without copying the data. (If this function proves to be useful elsewhere, it could potentially be added to StringView). Source/WebKit2: Use a StringView and remove a FIXME. * WebProcess/WebCoreSupport/WebEditorClient.cpp: (WebKit::WebEditorClient::checkTextOfParagraph): * WebProcess/WebCoreSupport/WebEditorClient.h: Source/WTF: Add a new StringView class which is an immutable reference to either an 8-bit or a 16-bit string. This makes it easier to pass substrings around without having to either copy string data or upconvert and use UChar pointers. The StringView class is very loosely based on the std::string_view class which is proposed for a future version of C++, see http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2013/n3609.html for more details. * GNUmakefile.list.am: * WTF.vcxproj/WTF.vcxproj: * WTF.vcxproj/WTF.vcxproj.filters: * WTF.xcodeproj/project.pbxproj: * wtf/CMakeLists.txt: * wtf/Forward.h: * wtf/text/StringView.h: Added. (WTF::StringView::StringView): (WTF::StringView::empty): (WTF::StringView::characters8): (WTF::StringView::characters16): (WTF::StringView::isEmpty): (WTF::StringView::length): (WTF::StringView::is8Bit): (WTF::StringView::substring): (WTF::StringView::toString): (WTF::StringView::toStringWithoutCopying): (WTF::StringView::encodedCharacters): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@161518 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
zandobersek@gmail.com authored
* Scripts/webkitpy/port/gtk.py: (GtkPort.__init__): Construct LeakDetectorValgrin only if leak detection is enabled. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@161517 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
ap@apple.com authored
https://bugs.webkit.org/show_bug.cgi?id=52016 * platform/mac/TestExpectations: Mark it as such. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@161516 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
commit-queue@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=126534 Patch by peavo@outlook.com <peavo@outlook.com> on 2014-01-08 Reviewed by Brent Fulgham. * WebKitPrefix.h: Define __STDC_LIMIT_MACROS, so INTMAX_MAX will be defined (needed by std C++ library). git-svn-id: http://svn.webkit.org/repository/webkit/trunk@161513 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
brian.holt@samsung.com authored
https://bugs.webkit.org/show_bug.cgi?id=119446 Reviewed by Alejandro G. Castro. Parse the xml files generated by Valgrind to yield useful information about the memory leaks. * Scripts/webkitpy/port/gtk.py: (GtkPort.__init__): (GtkPort.setup_test_run): Clear the previous output files before new run. (GtkPort.print_leaks_summary): * Scripts/webkitpy/port/leakdetector_valgrind.py: Added. Parse the xml files generated by Valgrind and summarise leaks into an easily understandable list. (get_text_of): (get_CDATA_of): (gather_frames): (ValgrindError): (ValgrindError.__init__): (ValgrindError.__str__): (ValgrindError.unique_string): (ValgrindError.error_hash): (ValgrindError.__hash__): (ValgrindError.__eq__): (LeakDetectorValgrind): (LeakDetectorValgrind.__init__): (LeakDetectorValgrind._parse_leaks_output): (LeakDetectorValgrind.leaks_files_in_results_directory): (LeakDetectorValgrind.clean_leaks_files_from_results_directory): (LeakDetectorValgrind.parse_and_print_leaks_detail): * Scripts/webkitpy/port/leakdetector_valgrind_unittest.py: Added. (make_mock_valgrind_output): (make_mock_incomplete_valgrind_output): (make_mock_valgrind_results): (make_mock_valgrind_results_incomplete): (make_mock_valgrind_results_empty): (make_mock_valgrind_results_misformatted): (LeakDetectorValgrindTest): (LeakDetectorValgrindTest.test_parse_and_print_leaks_detail_pass): (LeakDetectorValgrindTest.test_parse_and_print_leaks_detail_incomplete): (LeakDetectorValgrindTest.test_parse_and_print_leaks_detail_empty): (LeakDetectorValgrindTest.test_parse_and_print_leaks_detail_misformatted): (LeakDetectorValgrindTest.test_parse_and_print_leaks_detail_pass): (LeakDetectorValgrindTest.test_parse_and_print_leaks_detail_incomplete): (LeakDetectorValgrindTest.test_parse_and_print_leaks_detail_empty): (LeakDetectorValgrindTest.test_parse_and_print_leaks_detail_misformatted): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@161512 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
bfulgham@apple.com authored
* WebKit.vcxproj/WebKitExportGenerator/WebKitExports.def.in: Add missing exports needed for Windows build. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@161511 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
commit-queue@webkit.org authored
http://trac.webkit.org/changeset/161427 https://bugs.webkit.org/show_bug.cgi?id=126645 Emits a stye error on any newly added files (Requested by ap on #webkit). * Scripts/webkitpy/style/checkers/cpp.py: (check_style): (CppChecker): * Scripts/webkitpy/style/checkers/cpp_unittest.py: (WebKitStyleTest.test_other): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@161510 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
ossy@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=126580 Patch by Peter Molnar <pmolnar.u-szeged@partner.samsung.com> on 2014-01-08 Reviewed by Csaba Osztrogonác. * BuildSlaveSupport/build.webkit.org-config/master.cfg: (RunWebKitTests): Passing --debug-rwt-logging here instead of the run-webkit-tests script. * Scripts/new-run-webkit-tests: Renamed to run-webkit-tests. * Scripts/run-webkit-tests: Removed, as it was just a temporary hack. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@161509 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
eric.carlson@apple.com authored
* WebCore.vcxproj/copyForwardingHeaders.cmd: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@161506 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
changseok.oh@collabora.com authored
setFileInputFiles.html was removed after r161380. string-replacement-outofmemory.html, toString-and-valueOf-override.html and exceptions-thrown-in-callbacks.html were moved into other directory. * platform/gtk-wk2/TestExpectations: * platform/gtk/TestExpectations: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@161503 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
ossy@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=126640 Patch by Peter Molnar <pmolnar.u-szeged@partner.samsung.com> on 2014-01-08 Reviewed by Csaba Osztrogonác. * Scripts/webkitpy/common/config/contributors.json: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@161502 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
akling@apple.com authored
<https://webkit.org/b/126628> Reviewed by Antti Koivisto. * rendering/mathml/RenderMathMLOperator.cpp: (WebCore::RenderMathMLOperator::updateFromElement): Use RenderPtr/createRenderer for renderer creation. Removed an unnecessary null check (text is always created.) Also use RenderStyle::createAnonymousStyleWithDisplay() helper to shorten down the code a bit. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@161501 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
berto@igalia.com authored
https://bugs.webkit.org/show_bug.cgi?id=126635 Reviewed by Csaba Osztrogonác. Source/WebCore: Remove code that is no longer being used. * platform/graphics/cairo/GraphicsContextCairo.cpp: * platform/graphics/texmap/GraphicsLayerTextureMapper.h: * platform/gtk/PopupMenuGtk.cpp: * platform/gtk/RedirectedXCompositeWindow.h: Tools: * GtkLauncher/main.c: (createWindow): This function is not supposed to receive any parameter, yet we are passing one. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@161500 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
brian.holt@samsung.com authored
https://bugs.webkit.org/show_bug.cgi?id=126637 Reviewed by Carlos Garcia Campos. Unskip TestResources and TestAuthentication unit tests since they are passing both under Xvfb and X. * Scripts/run-gtk-tests: (TestRunner): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@161499 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
commit-queue@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=125777 Patch by Dániel Bátyai <dbatyai.u-szeged@partner.samsung.com> on 2014-01-08 Reviewed by Csaba Osztrogonác. .: * Source/cmake/OptionsEfl.cmake: * Source/cmakeconfig.h.cmake: Source/JavaScriptCore: * CMakeLists.txt: * ftl/FTLOSREntry.cpp: * ftl/FTLOSRExitCompiler.cpp: * llvm/library/config_llvm.h: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@161498 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
zandobersek@gmail.com authored
https://bugs.webkit.org/show_bug.cgi?id=126378 Reviewed by Carlos Garcia Campos. Source/JavaScriptCore: * GNUmakefile.am: Touch the build targets that are generated through helper scripts that don't assure the output is generated every time the script is invoked, most commonly due to unchanged input. This assures the build targets are up-to-date and can't be older that their dependencies, which would result in constant regeneration at every build. Source/WebCore: * GNUmakefile.am: Touch the build targets that are generated through helper scripts that don't assure the output is generated every time the script is invoked, most commonly due to unchanged * bindings/gobject/GNUmakefile.am: Simply move the gdom-gen-symbols file into the output file instead of copying it if the contents differ and removing it. This again ensures that the output file is always newer than its dependencies, even if the input hasn't changed. Source/WebKit2: * GNUmakefile.am: Don't pass the -n option to the ln command that links the build's include directories to actual source directories. This doesn't replace the original symbolic link, which can lead to the actual link being older than its dependencies and subsequent constant relinking at every build. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@161497 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
berto@igalia.com authored
https://bugs.webkit.org/show_bug.cgi?id=126381 Reviewed by Gustavo Noronha Silva. .: Don't disable the libtool fast-install mode unconditionally by default. If the fast-install mode is disabled, binaries are generated ready to use the libraries directly from the build tree. If we use the GNU linker, those binaries are then relinked when they are installed. However, libtool fails to do it properly when an installation prefix is set with DESTDIR, and ends up installing the libtool wrappers instead of the actual binaries. * Source/autotools/SetupLibtool.m4: Tools: Disable the libtool fast-install mode in developer/test builds. In this mode binaries are generated ready to be used directly from the build tree. Otherwise they would need to be relinked when they are executed, which can take a lot of resources, particularly in debug builds. * Scripts/webkitdirs.pm: (runAutogenForAutotoolsProjectIfNecessary): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@161496 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
commit-queue@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=126629 Patch by Frédéric Wang <fred.wang@free.fr> on 2014-01-08 Reviewed by Chris Fleizach. * mathml/mathtags.in: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@161495 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
gns@gnome.org authored
https://bugs.webkit.org/show_bug.cgi?id=126315 Patch by Enrico Nicoletto <liverig@gmail.com> on 2014-01-08 Reviewed by Gustavo Noronha. * pt_BR.po: updated translation. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@161494 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
akling@apple.com authored
<https://webkit.org/b/126631> Reviewed by Antti Koivisto. * rendering/mathml/RenderMathMLRow.h: * rendering/mathml/RenderMathMLRow.cpp: (WebCore::RenderMathMLRow::createAnonymousWithParentRenderer): Tweak to return RenderPtr<RenderMathMLRow> and removed comment(!) about how this should return a smart pointer. Also take the parent renderer as a RenderMathMLRoot& instead of a RenderObject* since that's all we ever pass. * rendering/mathml/RenderMathMLRoot.cpp: (WebCore::RenderMathMLRoot::addChild): Updated for new createAnonymousWithParentRenderer() signature. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@161493 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
mario.prada@samsung.com authored
https://bugs.webkit.org/show_bug.cgi?id=126579 Reviewed by Chris Fleizach. Implement AccessibilityList::roleValue() so it will return ListRole or DescriptionListRole depending on the type of list. No new tests needed, as no new functionality was added and ports should still be exposing the right role for <dl> elements * accessibility/AccessibilityList.cpp: (WebCore::AccessibilityList::roleValue): Implemented. * accessibility/AccessibilityList.h: * accessibility/atk/WebKitAccessibleWrapperAtk.cpp: (atkRole): Removed extra checks for objects with ListRole role. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@161492 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
akling@apple.com authored
<https://webkit.org/b/126622> Reviewed by Antti Koivisto. * rendering/mathml/RenderMathMLFenced.h: * rendering/mathml/RenderMathMLFenced.cpp: (WebCore::RenderMathMLFenced::createMathMLOperator): Make this return a RenderPtr<RenderMathMLOperator>. (WebCore::RenderMathMLFenced::makeFences): (WebCore::RenderMathMLFenced::addChild): Updated for the new createMathMLOperator() signature. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@161491 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
zandobersek@gmail.com authored
* Scripts/run-gtk-tests: (TestRunner): Skipping the snapshot test case from the TestWebKitWebView test suite. The test is failing due to issues with Xvfb, with the problem being handled in bug #120404. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@161490 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
ap@apple.com authored
REGRESSION: webgl/1.0.2/conformance/textures/tex-image-and-sub-image-2d-with-video-rgb565.html is very flaky https://bugs.webkit.org/show_bug.cgi?id=126624 * platform/mac/TestExpectations: Mark it as such. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@161489 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
zandobersek@gmail.com authored
Add a flaky expectation for perf/accessibility-title-ui-element.html and a failure expectation for http/tests/media/video-auth.html. * platform/gtk/TestExpectations: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@161488 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
antti@apple.com authored
https://bugs.webkit.org/show_bug.cgi?id=126432 Source/WebCore: Reviewed by Anders Carlsson. We would occasionally dump the render tree before the actual last resource on the page was loaded. The problematic resource is an image loaded by an <object> tag nested as fallback of another <object>. * html/HTMLObjectElement.cpp: (WebCore::HTMLObjectElement::renderFallbackContent): Force style recalc when rendering fallback content. The current mechanism for triggering the fallback content load requires a style recalc. LayoutTests: Reviewed by Anders Carlsson. * TestExpectations: acid2 is no longer flaky. * fast/overflow/overflow-height-float-not-removed-crash3-expected.txt: whitespace change. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@161484 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 07 Jan, 2014 14 commits
-
-
akling@apple.com authored
<https://webkit.org/b/126583> Reviewed by Antti Koivisto. * rendering/mathml/RenderMathMLBlock.h: * rendering/mathml/RenderMathMLBlock.cpp: (WebCore::RenderMathMLBlock::createAnonymousMathMLBlock): Make this return a RenderPtr<RenderMathMLBlock> and removed the EDisplay argument since it was always using the default (FLEX.) * rendering/mathml/RenderMathMLFraction.cpp: (WebCore::RenderMathMLFraction::addChild): Updated for the new createAnonymousMathMLBlock() signature. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@161482 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
eric.carlson@apple.com authored
https://bugs.webkit.org/show_bug.cgi?id=126530 Reviewed by Sam Weinig. Source/WebCore: Tests: media/video-interruption-active-when-element-created.html media/video-interruption-with-resume-allowing-play.html media/video-interruption-with-resume-not-allowing-play.html * WebCore.exp.in: Export functions needed by Internals. Add MediaSession and MediaSessionManager. * CMakeLists.txt: * GNUmakefile.list.am: * WebCore.vcxproj/WebCore.vcxproj: * WebCore.vcxproj/WebCore.vcxproj.filters: * WebCore.xcodeproj/project.pbxproj: Automatically pause/play for interruptions. Move media restriction management to a MediaSession. * html/HTMLMediaElement.cpp: (WebCore::HTMLMediaElement::HTMLMediaElement): Get rid of m_loadInitiatedByUserGesture and m_userStartedPlayback, they aren't needed. (WebCore::HTMLMediaElement::load): Ditto. (WebCore::HTMLMediaElement::loadInternal): Use the media session to manage restrictions. (WebCore::HTMLMediaElement::play): Remove redundant iOS code. Postpone playback if called during an interruption. (WebCore::HTMLMediaElement::pause): Remember to not resume playback when it ends if called during an interruption. (WebCore::HTMLMediaElement::potentiallyPlaying): Rearrange code to make it easier to understand. (WebCore::HTMLMediaElement::couldPlayIfEnoughData): Ditto. (WebCore::HTMLMediaElement::pausedForUserInteraction): Return true if paused because of an interruption. (WebCore::HTMLMediaElement::removeBehaviorsRestrictionsAfterFirstUserGesture): Be explicit about which restrictions are removed. (WebCore::HTMLMediaElement::mediaType): MediaSessionManager::<Type> -> MediaSession::<Type>. (WebCore::HTMLMediaElement::beginInterruption): New. (WebCore::HTMLMediaElement::endInterruption): Ditto. * html/HTMLMediaElement.h: Pulled MediaSessionManagerToken out of MediaSessionManager.cpp, added functionality to manage interruptions. * platform/audio/MediaSession.cpp: Added. (WebCore::MediaSession::create): (WebCore::MediaSession::MediaSession): (WebCore::MediaSession::~MediaSession): (WebCore::MediaSession::beginInterruption): Inform client of interruption state change. (WebCore::MediaSession::endInterruption): Ditto. * platform/audio/MediaSession.h: Added. * platform/audio/MediaSessionManager.cpp: (WebCore::MediaSessionManager::MediaSessionManager): Initialize interruption counter. (WebCore::MediaSessionManager::has): MediaType is defined in MediaSession. (WebCore::MediaSessionManager::count): Ditto. (WebCore::MediaSessionManager::beginInterruption): Inform all clients of interruption start if not already in an interruption. (WebCore::MediaSessionManager::endInterruption): Inform all clients if interruption has ended. (WebCore::MediaSessionManager::addSession): Renamed from addToken. Set session interruption state. (WebCore::MediaSessionManager::removeSession): Renamed from removeToken. * platform/audio/MediaSessionManager.h: * platform/audio/mac/AudioDestinationMac.cpp: (WebCore::AudioDestinationMac::AudioDestinationMac): MediaSessionManagerToken -> MediaSession. * platform/audio/mac/AudioDestinationMac.h: * platform/audio/mac/MediaSessionManagerMac.cpp: (MediaSessionManager::updateSessionState): Ditto. Make it possible for tests to begin and end interruptions. * testing/Internals.cpp: (WebCore::Internals::beginMediaSessionInterruption): (WebCore::Internals::endMediaSessionInterruption): * testing/Internals.h: * testing/Internals.idl: Source/WebKit: * CMakeLists.txt: Add ${WEBCORE_DIR}/platform/animation to WebCore include directories. Source/WebKit2: * CMakeLists.txt: Add ${WEBCORE_DIR}/platform/animation to WebCore include directories. LayoutTests: * media/video-interruption-active-when-element-created-expected.txt: Added. * media/video-interruption-active-when-element-created.html: Added. * media/video-interruption-with-resume-allowing-play-expected.txt: Added. * media/video-interruption-with-resume-allowing-play.html: Added. * media/video-interruption-with-resume-not-allowing-play-expected.txt: Added. * media/video-interruption-with-resume-not-allowing-play.html: Added. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@161481 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
rniwa@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=126613 Reviewed by Stephanie Lewis. Made BenchmarkRunner an instantiatable class. Made tests.js simply create an array of suite objects instead of calling BenchmarkRunner.Suite now that we can have mulitple instances of BenchmarkRunner. * DoYouEvenBench/benchmark.html: (formatTestName): Moved and renamed from BenchmarkRunner._testName. (createUIForSuites): Extracted from a giant blob of code. (startTest): Ditto. * DoYouEvenBench/resources/benchmark-runner.js: (BenchmarkRunner): Added. (BenchmarkRunner.prototype.waitForElement): (BenchmarkRunner.prototype._removeFrame): (BenchmarkRunner.prototype._appendFrame): (BenchmarkRunner.prototype._waitAndWarmUp): (BenchmarkRunner.prototype._runTest): (BenchmarkState.prototype.prepareCurrentSuite): (BenchmarkRunner.prototype.step): (BenchmarkRunner.prototype._runTestAndRecordResults): (BenchmarkRunner.prototype._finalize): * DoYouEvenBench/resources/tests.js: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@161480 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
aestes@apple.com authored
https://bugs.webkit.org/show_bug.cgi?id=126403 Reviewed by Simon Fraser. Public header files that are completely excluded on iOS don't need !TARGET_OS_IPHONE guards since they are already listed in EXCLUDED_SOURCE_FILE_NAMES. I also took the opportunity to sort EXCLUDED_SOURCE_FILE_NAMES and to clean up some #imports. * Configurations/WebKit.xcconfig: * Misc/WebCache.h: * Misc/WebIconDatabasePrivate.h: * Misc/WebLocalizableStrings.h: * Misc/WebNSEventExtras.h: * Misc/WebNSPasteboardExtras.h: * Misc/WebNSWindowExtras.h: * Panels/WebPanelAuthenticationHandler.h: * Plugins/WebPluginsPrivate.h: * Storage/WebDatabaseManagerPrivate.h: * WebCoreSupport/WebJavaScriptTextInputPanel.h: * WebCoreSupport/WebKeyGenerator.h: * WebCoreSupport/WebSecurityOriginPrivate.h: * WebView/WebDashboardRegion.h: * WebView/WebDynamicScrollBarsView.h: * WebView/WebFrameView.h: * WebView/WebPreferenceKeysPrivate.h: * WebView/WebResourceLoadDelegatePrivate.h: * WebView/WebView.h: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@161479 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
jinwoo7.song@samsung.com authored
https://bugs.webkit.org/show_bug.cgi?id=126609 Reviewed by Gyuyoung Kim. Compare the amount of bytes in the expected result file with the size of callback data from the API since the 'Date' field and the boundaries will be different on each case. Refered the test case of GTK port. * UIProcess/API/efl/tests/resources/resultMHTML.mht: Added. * UIProcess/API/efl/tests/test_ewk2_view.cpp: (EWK2ViewTest::PageContentsAsMHTMLCallback): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@161478 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
seokju@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=126607 Reviewed by Joseph Pecoraro. Source/WebCore: No new tests, No changes in behavior. Removes unused code related to 'device metrics'. * css/MediaQueryEvaluator.cpp: (WebCore::device_heightMediaFeatureEval): (WebCore::device_widthMediaFeatureEval): * inspector/InspectorClient.h: * inspector/InspectorInstrumentation.cpp: * inspector/InspectorInstrumentation.h: * inspector/InspectorPageAgent.cpp: (WebCore::InspectorPageAgent::InspectorPageAgent): (WebCore::InspectorPageAgent::disable): (WebCore::InspectorPageAgent::didLayout): * inspector/InspectorPageAgent.h: * page/DOMWindow.cpp: (WebCore::DOMWindow::innerHeight): (WebCore::DOMWindow::innerWidth): * page/Screen.cpp: (WebCore::Screen::height): (WebCore::Screen::width): * rendering/TextAutosizer.cpp: (WebCore::TextAutosizer::processSubtree): Source/WebKit/blackberry: Clean up after removing InspectorClient::overrideDeviceMetrics(). * WebCoreSupport/InspectorClientBlackBerry.cpp: * WebCoreSupport/InspectorClientBlackBerry.h: Source/WebKit/mac: * WebKit.order: Update after removing InspectorClient::overrideDeviceMetrics(). Source/WebKit2: * mac/WebKit2.order: Update after removing InspectorClient::overrideDeviceMetrics(). LayoutTests: * inspector/styles/override-screen-size-expected.txt: Removed. * inspector/styles/override-screen-size.html: Removed. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@161477 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
simon.fraser@apple.com authored
Fix the build. The WebKit2 project copied all of WebKit2/Scripts/webkit2 into WebKit2.framework/PrivateHeaders, but that's bad because there are test result files in there now. Fix by having the project copy specific .py files into rivateHeaders/webkit2 * WebKit2.xcodeproj/project.pbxproj: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@161476 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
bfulgham@apple.com authored
* platform/mac/TestExpectations: "Debug]" should be "Debug ]" git-svn-id: http://svn.webkit.org/repository/webkit/trunk@161475 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
simon.fraser@apple.com authored
Make it possible for MessageReceivers to pass messages to their superclass, and use it for RemoteLayerTreeDrawingAreaProxy https://bugs.webkit.org/show_bug.cgi?id=126558 Reviewed by Anders Carlsson. In a message.in file it's now possible to say: messages -> Subclass : Superclass { ... } and the generated code will call Superclass::didReceiveMessage(). Use this to have RemoteLayerTreeDrawingAreaProxy pass messages up to DrawingAreaProxy. * Scripts/webkit2/messages.py: (generate_message_handler): * Scripts/webkit2/model.py: (MessageReceiver.__init__): * Scripts/webkit2/parser.py: (parse): * UIProcess/DrawingAreaProxy.h: * UIProcess/mac/RemoteLayerTreeDrawingAreaProxy.messages.in: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@161474 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
simon.fraser@apple.com authored
https://bugs.webkit.org/show_bug.cgi?id=126603 Reviewed by Anders Carlsson. Add expected output files for a non-legacy message receiver, and add testing for same. * Scripts/webkit2/LegacyMessageReceiver-expected.cpp: Copied from Source/WebKit2/Scripts/webkit2/MessageReceiver-expected.cpp. * Scripts/webkit2/LegacyMessages-expected.h: Added. * Scripts/webkit2/MessageReceiver-expected.cpp: (WebKit::WebPage::didReceiveMessage): (WebKit::WebPage::didReceiveSyncMessage): * Scripts/webkit2/messages_unittest.py: (MessagesTest.setUp): (ParsingTest.test_receiver): (HeaderTest.test_header): (ReceiverImplementationTest.test_receiver_implementation): * Scripts/webkit2/test-legacy-messages.in: Copied from Source/WebKit2/Scripts/webkit2/test-messages.in. * Scripts/webkit2/test-messages.in: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@161473 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
simon.fraser@apple.com authored
https://bugs.webkit.org/show_bug.cgi?id=126602 Reviewed by Anders Carlsson. Uninline the test input and output from messages_unittest.py to make it easier to add more tests. * Scripts/webkit2/MessageReceiver-expected.cpp: Added. (WebKit::WebPage::didReceiveWebPageMessage): (WebKit::WebPage::didReceiveSyncWebPageMessage): * Scripts/webkit2/Messages-expected.h: Added. * Scripts/webkit2/messages_unittest.py: (ParsingTest.test_receiver): * Scripts/webkit2/test-messages.in: Added. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@161472 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
lforschler@apple.com authored
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@161471 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
aestes@apple.com authored
https://bugs.webkit.org/show_bug.cgi?id=126413 Reviewed by Sam Weinig. Upstream iOS WebKit changes needed for these features: - ENABLE(DELETION_UI) - ENABLE(TOUCH_EVENTS) - USE(QUICK_LOOK) - USE(UIKIT_EDITING) - ENABLE(DISK_IMAGE_CACHE) - ENABLE(IOS_TEXT_AUTOSIZING) - ENABLE(ICONDATABASE) - ENABLE(DASHBOARD_SUPPORT) * DefaultDelegates/WebDefaultEditingDelegate.m: * Misc/WebCache.mm: * WebCoreSupport/WebChromeClient.h: * WebView/WebDataSource.mm: (-[WebDataSource dealloc]): * WebView/WebEditingDelegatePrivate.h: * WebView/WebFrame.mm: (-[WebFrame _loadData:MIMEType:textEncodingName:baseURL:unreachableURL:]): * WebView/WebHTMLView.mm: (-[WebHTMLView maintainsInactiveSelection]): (-[WebHTMLView touch:]): * WebView/WebPreferences.mm: (+[WebPreferences initialize]): * WebView/WebPreferencesPrivate.h: * WebView/WebView.mm: (-[WebView _preferencesChanged:]): (-[WebView _cacheFrameLoadDelegateImplementations]): (-[WebView quickLookContentForURL:]): (-[WebView _touchEventRegions]): * WebView/WebViewPrivate.h: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@161470 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
aestes@apple.com authored
https://bugs.webkit.org/show_bug.cgi?id=126412 Reviewed by Eric Carlson. Media elements backed by plug-ins should outlive being removed from the document, like their native counterparts do. * Plugins/WebPluginController.h: * Plugins/WebPluginController.mm: (-[NSView isMediaPlugInProxyView]): (-[NSView setIsMediaPlugInProxyView:]): (-[WebPluginController plugInViewWithArguments:fromPluginPackage:]): (-[WebPluginController mediaPlugInProxyViewCreated:]): (-[WebPluginController destroyPlugin:]): * WebCoreSupport/WebFrameLoaderClient.mm: (pluginView): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@161469 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-