- 02 Oct, 2012 40 commits
-
-
commit-queue@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=98162 Patch by Christophe Dumez <christophe.dumez@intel.com> on 2012-10-02 Reviewed by Kenneth Rohde Christiansen. Use XvfbDriver for layout tests on EFL port. * Scripts/webkitpy/layout_tests/port/efl.py: (EflPort._driver_class): * Scripts/webkitpy/layout_tests/port/xvfbdriver.py: (XvfbDriver._start): Set DUMPRENDERTREE_TEMP and LOCAL_RESOURCE_ROOT environment variables in XvfbDriver as those are needed for TestRunner::pathToLocalResource(). git-svn-id: http://svn.webkit.org/repository/webkit/trunk@130186 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
andersca@apple.com authored
https://bugs.webkit.org/show_bug.cgi?id=98082 Reviewed by Andreas Kling. Add the GraphicsLayer::create variant that takes a factory to all ports. * platform/graphics/GraphicsLayer.cpp: (WebCore): (WebCore::GraphicsLayer::setGraphicsLayerFactory): * platform/graphics/GraphicsLayer.h: (GraphicsLayer): Rename the GraphicsLayerFactory function typedef to GraphicsLayerFactoryCallback to avoid collisions. * platform/graphics/blackberry/GraphicsLayerBlackBerry.cpp: (WebCore::GraphicsLayer::create): (WebCore): * platform/graphics/chromium/GraphicsLayerChromium.cpp: (WebCore::GraphicsLayer::create): (WebCore): * platform/graphics/clutter/GraphicsLayerClutter.cpp: (WebCore::GraphicsLayer::create): (WebCore): * platform/graphics/texmap/GraphicsLayerTextureMapper.cpp: (WebCore::GraphicsLayer::create): (WebCore): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@130185 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
roger_fong@apple.com authored
* platform/win/fast/text/international/float-as-only-child-of-isolate-crash-expected.png: Removed property svn:executable. * platform/win/fast/text/international/float-as-only-child-of-isolate-crash-expected.txt: Removed property svn:executable. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@130184 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
zandobersek@gmail.com authored
https://bugs.webkit.org/show_bug.cgi?id=95062 Reviewed by Martin Robinson. Only increase and decrease reference count of the accessibility UI element if it actually exists. * DumpRenderTree/gtk/AccessibilityUIElementGtk.cpp: (AccessibilityUIElement::AccessibilityUIElement): (AccessibilityUIElement::~AccessibilityUIElement): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@130183 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
rakuco@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=98152 Reviewed by Laszlo Gombos. This is the first step towards getting rid of the multiple, almost identical Apache httpd.conf files we have in the tree. Before anything else, remove the default comments from them to reduce the diff in later commits. * http/conf/apache2-debian-httpd.conf: * http/conf/apache2-httpd.conf: * http/conf/apache2-msys-httpd.conf: * http/conf/cygwin-httpd.conf: * http/conf/fedora-httpd.conf: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@130182 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
rniwa@webkit.org authored
and computeStatistics should report variance as 0 in such cases. * resources/runner.js: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@130181 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
commit-queue@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=97919 Patch by Terry Anderson <tdanderson@chromium.org> on 2012-10-02 Reviewed by James Robinson. Add two new members |numImplThreadScrolls| and |numMainThreadScrolls| to track the total number of times we have impl-thread scrolled and main-thread scrolled, respectively. * chromium/public/WebRenderingStats.h: (WebRenderingStats): (WebKit::WebRenderingStats::WebRenderingStats): (WebKit::WebRenderingStats::enumerateFields): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@130180 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
commit-queue@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=98119 Patch by Douglas Stockwell <dstockwell@chromium.org> on 2012-10-02 Reviewed by Adam Barth. Some basic support for mountainlion has already been committed but it failed to refer to the chromium TestExpectations. * Scripts/webkitpy/layout_tests/port/chromium.py: (ChromiumPort): * Scripts/webkitpy/layout_tests/port/chromium_port_testcase.py: (ChromiumPortTestCase.test_all_test_configurations): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@130179 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
vangelis@chromium.org authored
https://bugs.webkit.org/show_bug.cgi?id=98111 It's not needed and makes the renderer synchronously wait for a glFinish to happen in the gpu process. Reviewed by James Robinson. * src/WebViewImpl.cpp: (WebKit::WebViewImpl::setIsAcceleratedCompositingActive): (WebKit): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@130178 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
commit-queue@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=97184 Patch by Takashi Sakamoto <tasak@google.com> on 2012-10-02 Reviewed by Dimitri Glazkov. Source/WebCore: To quickly know whether some shadow dom subtree has any shadow element or not, added hasShadowRootInsertionPoint, registerShadowElement and unregisterShadowElement to class ShadowRoot. The register method or unregister method is used when a shadow element is inserted into document or removed from document. hasShadowInsertionPoint returns true if any shadow element is still registered with the given shadow root. Otherwise returns false. To test hasShadowInsertionPoint, added hasShadowInsertionPoint to Internals. Test: fast/dom/shadow/has-shadow-insertion-point.html * dom/ShadowRoot.cpp: (WebCore::ShadowRoot::ShadowRoot): Initializes number of shadow elements. * dom/ShadowRoot.h: (WebCore::ShadowRoot::registerShadowElement): Increases number of shadow elements in shadow dom subtree by 1. (WebCore::ShadowRoot::unregisterShadowElement): Decreases number of shadow elements in shadow dom subtree by 1. (WebCore::ShadowRoot::hasShadowInsertionPoint): If number of shadow elements in shadow dom subtree is not equal to 0, returns true. Otherwise, returns false. * html/shadow/HTMLShadowElement.cpp: (WebCore::HTMLShadowElement::HTMLShadowElement): (WebCore::HTMLShadowElement::insertedInto): If a shadow element is inserted into document, register the shadow element with its shadow root. (WebCore::HTMLShadowElement::removedFrom): If a shadow element is removed from document, unregister the shadow element with its shadow root. * html/shadow/HTMLShadowElement.h: Added a new member variable which has information about whether this shadow element has been already registered with its shadow root or not. * testing/Internals.cpp: (WebCore::Internals::hasShadowInsertionPoint): Added a new testing method which returns whether the given shadow root has any shadow element or not. * testing/Internals.h: (Internals): * testing/Internals.idl: LayoutTests: * fast/dom/shadow/has-shadow-insertion-point-expected.txt: Added. * fast/dom/shadow/has-shadow-insertion-point.html: Added. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@130177 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
rakuco@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=98155 Reviewed by Eric Seidel. No test currently uses this port, and the lighttpd configuration does not open it. This helps the efforts of bringing some consistency to the Apache configuration at the moment by opening the same ports in the webkitpy side and in the httpd.conf side (the idea is to remove the httpd.conf side later), and also makes the behavior consistent across the two servers we currently support. * Scripts/webkitpy/layout_tests/servers/apache_http_server.py: (LayoutTestApacheHttpd.__init__): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@130176 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
commit-queue@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=94925 Patch by Krzysztof Czech <k.czech@samsung.com> on 2012-10-02 Reviewed by Gyuyoung Kim. Change is related to modifications in wk1 unit tests. * PlatformEfl.cmake: Source/WebKit/efl: [EFL][UT] Refactoring an implementation of testing framework for wk1. https://bugs.webkit.org/show_bug.cgi?id=94925 Patch by Krzysztof Czech <k.czech@samsung.com> on 2012-10-02 Reviewed by Gyuyoung Kim. The reason of changing, was to adjust current implementation to use gtest features related to cleaning (SetUp, TearDown), cleaning code in terms of useless methods and lastly to make framework easier to use. * tests/UnitTestUtils/EWKTestBase.cpp: (EWKUnitTests::EWKTestBase::EWKTestBase): (EWKUnitTests::EWKTestBase::webView): Returns current webview. (EWKUnitTests::EWKTestBase::SetUp): Before test is started, SetUp is called. Used this to initialize test view. (EWKUnitTests::EWKTestBase::onLoadFinished): (EWKUnitTests::EWKTestBase::waitUntilLoadFinished): It waits till test page will be properly loaded. (EWKUnitTests::EWKTestBase::loadUrl): Starts loading test page. * tests/UnitTestUtils/EWKTestBase.h: * tests/UnitTestUtils/EWKTestEnvironment.cpp: Used to have global SetUp and TearDown. Global SetUp starts initialization of webkit wherease global TearDown shuts it down. Generally we would like to have only one initialization of webkit while tests are executed. (EWKUnitTests): (EWKUnitTests::EWKTestEnvironment::EWKTestEnvironment): (EWKUnitTests::EWKTestEnvironment::SetUp): Starts initialization of webkit. (EWKUnitTests::EWKTestEnvironment::TearDown): Shuts down of webkit. * tests/UnitTestUtils/EWKTestEnvironment.h: (EWKUnitTests): (EWKTestEnvironment): (EWKUnitTests::EWKTestEnvironment::useX11Window): * tests/UnitTestUtils/EWKTestView.cpp: (EWKUnitTests::EWKTestView::EWKTestView): (EWKUnitTests::EWKTestView::init): Starts initialization of test view. * tests/UnitTestUtils/EWKTestView.h: (EWKTestView): * tests/test_ewk_view.cpp: adjusted current unit tests to new implementation. (TEST_F): * tests/test_runner.cpp: entry point of all tests. (parseCustomArguments): (main): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@130175 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
vsevik@chromium.org authored
http://trac.webkit.org/changeset/130167 http://trac.webkit.org/changeset/130171 https://bugs.webkit.org/show_bug.cgi?id=98165 Breaks test (Requested by vsevik on #webkit). Patch by Sheriff Bot <webkit.review.bot@gmail.com> on 2012-10-02 * http/tests/inspector/debugger-test.js: (initialize_DebuggerTest): * platform/qt/TestExpectations: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@130174 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
michael.bruning@digia.com authored
https://bugs.webkit.org/show_bug.cgi?id=98136 Unreviewed gardening. WebInspectorProxy::platformCreateInspectorPage() is not implemented for the Qt 5.0 WK2 port. * platform/qt-5.0-wk2/TestExpectations: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@130173 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
vsevik@chromium.org authored
https://bugs.webkit.org/show_bug.cgi?id=98161 Reviewed by Pavel Feldman. Content scripts should be also added by NetworkUISourceCodeProvider. This patch fixes that. * inspector/front-end/NetworkUISourceCodeProvider.js: (WebInspector.NetworkUISourceCodeProvider.prototype._parsedScriptSource): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@130172 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
ossy@webkit.org authored
* platform/qt/TestExpectations: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@130171 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
ossy@webkit.org authored
* platform/qt/TestExpectations: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@130170 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
hugo.lima@openbossa.org authored
https://bugs.webkit.org/show_bug.cgi?id=98070 Reviewed by Kenneth Rohde Christiansen. This patch just add forward declarations for code correctness. * UIProcess/PageViewportControllerClient.h: (WebCore): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@130169 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
jocelyn.turcotte@digia.com authored
https://bugs.webkit.org/show_bug.cgi?id=98045 Reviewed by Simon Hausmann. The test needs to show the window and wait for the loadVisuallyCommitted() signal like did in the QML API auto tests. * UIProcess/API/qt/tests/qquickwebview/tst_qquickwebview.cpp: (tst_QQuickWebView::scrollRequest): * UIProcess/API/qt/tests/util.cpp: (waitForViewportReady): * UIProcess/API/qt/tests/util.h: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@130168 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
vsevik@chromium.org authored
* http/tests/inspector/debugger-test.js: (initialize_DebuggerTest): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@130167 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
commit-queue@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=98142 Patch by Jinwoo Song <jinwoo7.song@samsung.com> on 2012-10-02 Reviewed by Laszlo Gombos. Using EXPECT_EQ(true/false, ...) makes clang trip when it tries to convert true/false to a pointer. Tests should use EXPECT_TRUE/FALSE instead. * UIProcess/API/efl/tests/test_ewk2_view.cpp: (showPopupMenu): (TEST_F): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@130166 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
paroga@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=97883 Reviewed by Andreas Kling. Use SimpleFontData::avgCharWidth() instead to remove duplicated code. * platform/graphics/wince/FontPlatformData.cpp: (WebCore::FixedSizeFontData::create): * platform/graphics/wince/FontPlatformData.h: (FontPlatformData): * platform/graphics/wince/GraphicsContextWinCE.cpp: (WebCore::GraphicsContext::drawText): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@130165 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
caseq@chromium.org authored
* platform/chromium-win/inspector/console/command-line-api-expected.txt: Removed. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@130164 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
ossy@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=96862 Reviewed by Simon Hausmann. Disable calling the extremely slow WKBundleSetDatabaseQuota() between tests until proper fix. * WebKitTestRunner/InjectedBundle/InjectedBundle.cpp: (WTR::InjectedBundle::beginTesting): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@130163 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
pfeldman@chromium.org authored
* inspector/console/command-line-api-expected.txt: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@130162 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
caseq@chromium.org authored
* platform/chromium-win/inspector/console/command-line-api-expected.txt: Added. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@130161 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
schenney@chromium.org authored
https://bugs.webkit.org/show_bug.cgi?id=95866 Reviewed by Eric Seidel. Re-commit for a rolled-out original, now with Chromium Windows build fix. This patch makes all FontData and derived classes ref-counted in all code paths that lead to caching or other retention of a pointer. The goal is to avert crashes and memory leaks, and to bring the code more in line with current WebKit practices. Specifically, this patch allows us to use ref pointers for all the FontData stored in FontFallbackList objects. The FontFallbackList can then own custom font data and manage its lifetime (forthcoming patch). Currently Document owns custom font data and does an end run around FontFallbackList in deleting glyph pages and custom font data, leaving FontFallbackList with invalid pointers. All FontData derived classes have been switched to use static create methods with private constructors. All caches that hold FontData now use RefPtrs. All methods that construct new font data now return PassRefPtr, with the exception of code only used to generate temporary data for text run layout. All methods that handle FontData in a call stack that passes through FontFallbackList::fontDataAt return PassRefPtr. Performance tested with both WebKit Perf-o-matic, which showed performance changes in the noise, and Chrome's page cycling tests with the acid3 benchmark set, which showed no performance difference at all. No new tests as this is refactoring code only and has no impact on functionality. * css/CSSFontFace.cpp: (WebCore::CSSFontFace::getFontData): * css/CSSFontFace.h: (CSSFontFace): * css/CSSFontFaceSource.cpp: (WebCore::CSSFontFaceSource::getFontData): * css/CSSFontFaceSource.h: (CSSFontFaceSource): * css/CSSFontSelector.cpp: (WebCore::fontDataForGenericFamily): (WebCore::CSSFontSelector::getFontData): * css/CSSFontSelector.h: * css/CSSSegmentedFontFace.cpp: (WebCore::appendFontDataWithInvalidUnicodeRangeIfLoading): (WebCore::CSSSegmentedFontFace::getFontData): * css/CSSSegmentedFontFace.h: (CSSSegmentedFontFace): * dom/Document.cpp: (WebCore::Document::registerCustomFont): * dom/Document.h: (Document): * platform/graphics/Font.h: (WebCore): * platform/graphics/FontCache.cpp: (WebCore): (WebCore::FontCache::getCachedFontData): (WebCore::FontCache::getNonRetainedLastResortFallbackFont): (WebCore::FontCache::releaseFontData): (WebCore::FontCache::purgeInactiveFontData): (WebCore::FontCache::getFontData): * platform/graphics/FontCache.h: (FontCache): * platform/graphics/FontData.h: * platform/graphics/FontFallbackList.cpp: (WebCore::FontFallbackList::releaseFontData): (WebCore::FontFallbackList::fontDataAt): (WebCore::FontFallbackList::setPlatformFont): * platform/graphics/FontFallbackList.h: (FontFallbackList): * platform/graphics/FontFastPath.cpp: (WebCore::Font::glyphDataAndPageForCharacter): * platform/graphics/FontSelector.h: (FontSelector): * platform/graphics/GlyphPageTreeNode.cpp: (WebCore::GlyphPageTreeNode::initializePage): * platform/graphics/SegmentedFontData.cpp: (WebCore::SegmentedFontData::fontDataForCharacter): * platform/graphics/SegmentedFontData.h: (WebCore::FontDataRange::FontDataRange): (WebCore::FontDataRange::fontData): (FontDataRange): (WebCore::SegmentedFontData::create): (SegmentedFontData): (WebCore::SegmentedFontData::SegmentedFontData): * platform/graphics/SimpleFontData.cpp: (WebCore::SimpleFontData::verticalRightOrientationFontData): (WebCore::SimpleFontData::uprightOrientationFontData): (WebCore::SimpleFontData::brokenIdeographFontData): * platform/graphics/SimpleFontData.h: (WebCore::SimpleFontData::create): (SimpleFontData): (WebCore::SimpleFontData::variantFontData): (DerivedFontData): * platform/graphics/chromium/FontCacheAndroid.cpp: (WebCore::FontCache::getFontDataForCharacters): (WebCore::FontCache::getSimilarFontPlatformData): (WebCore::FontCache::getLastResortFallbackFont): * platform/graphics/chromium/FontCacheChromiumWin.cpp: (WebCore::FontCache::fontDataFromDescriptionAndLogFont): (GetLastResortFallbackFontProcData): (WebCore::FontCache::getFontDataForCharacters): (WebCore::FontCache::getSimilarFontPlatformData): (WebCore::FontCache::getLastResortFallbackFont): * platform/graphics/chromium/SimpleFontDataChromiumWin.cpp: (WebCore::SimpleFontData::createScaledFontData): (WebCore::SimpleFontData::smallCapsFontData): (WebCore::SimpleFontData::emphasisMarkFontData): * platform/graphics/freetype/FontCacheFreeType.cpp: (WebCore::FontCache::getFontDataForCharacters): (WebCore::FontCache::getSimilarFontPlatformData): (WebCore::FontCache::getLastResortFallbackFont): * platform/graphics/freetype/SimpleFontDataFreeType.cpp: (WebCore::SimpleFontData::createScaledFontData): (WebCore::SimpleFontData::smallCapsFontData): (WebCore::SimpleFontData::emphasisMarkFontData): * platform/graphics/mac/ComplexTextControllerCoreText.mm: (WebCore::ComplexTextController::collectComplexTextRunsForCharacters): * platform/graphics/mac/FontCacheMac.mm: (WebCore::FontCache::getFontDataForCharacters): (WebCore::FontCache::getSimilarFontPlatformData): (WebCore::FontCache::getLastResortFallbackFont): * platform/graphics/mac/FontComplexTextMac.cpp: (WebCore::Font::fontDataForCombiningCharacterSequence): * platform/graphics/mac/SimpleFontDataMac.mm: (WebCore::SimpleFontData::platformDestroy): (WebCore::SimpleFontData::createScaledFontData): (WebCore::SimpleFontData::smallCapsFontData): (WebCore::SimpleFontData::emphasisMarkFontData): * platform/graphics/pango/FontCachePango.cpp: (WebCore::FontCache::getFontDataForCharacters): (WebCore::FontCache::getSimilarFontPlatformData): (WebCore::FontCache::getLastResortFallbackFont): * platform/graphics/pango/SimpleFontDataPango.cpp: (WebCore::SimpleFontData::createScaledFontData): (WebCore::SimpleFontData::smallCapsFontData): (WebCore::SimpleFontData::emphasisMarkFontData): * platform/graphics/qt/FontCacheQt.cpp: (WebCore::FontCache::getFontDataForCharacters): (WebCore::FontCache::getSimilarFontPlatformData): (WebCore::FontCache::getLastResortFallbackFont): * platform/graphics/qt/SimpleFontDataQt.cpp: (WebCore::SimpleFontData::createScaledFontData): (WebCore::SimpleFontData::smallCapsFontData): (WebCore::SimpleFontData::emphasisMarkFontData): * platform/graphics/skia/FontCacheSkia.cpp: (WebCore::FontCache::getFontDataForCharacters): (WebCore::FontCache::getSimilarFontPlatformData): (WebCore::FontCache::getLastResortFallbackFont): * platform/graphics/skia/SimpleFontDataSkia.cpp: (WebCore::SimpleFontData::createScaledFontData): (WebCore::SimpleFontData::smallCapsFontData): (WebCore::SimpleFontData::emphasisMarkFontData): * platform/graphics/win/FontCacheWin.cpp: (WebCore::FontCache::getFontDataForCharacters): (WebCore::FontCache::getSimilarFontPlatformData): (WebCore::FontCache::fontDataFromDescriptionAndLogFont): (WebCore::FontCache::getLastResortFallbackFont): * platform/graphics/win/SimpleFontDataWin.cpp: (WebCore::SimpleFontData::createScaledFontData): (WebCore::SimpleFontData::smallCapsFontData): (WebCore::SimpleFontData::emphasisMarkFontData): * platform/graphics/wince/FontCacheWinCE.cpp: (WebCore::FontCache::getFontDataForCharacters): (WebCore::FontCache::getSimilarFontPlatformData): (WebCore::FontCache::getLastResortFallbackFont): * platform/graphics/wince/SimpleFontDataWinCE.cpp: (WebCore::SimpleFontData::createScaledFontData): (WebCore::SimpleFontData::smallCapsFontData): (WebCore::SimpleFontData::emphasisMarkFontData): * platform/graphics/wx/FontCacheWx.cpp: (WebCore::FontCache::getFontDataForCharacters): (WebCore::FontCache::getSimilarFontPlatformData): (WebCore::FontCache::getLastResortFallbackFont): * platform/graphics/wx/SimpleFontDataWx.cpp: (WebCore::SimpleFontData::createScaledFontData): (WebCore::SimpleFontData::smallCapsFontData): (WebCore::SimpleFontData::emphasisMarkFontData): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@130160 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
commit-queue@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=98148 Patch by Adrian Perez de Castro <aperez@igalia.com> on 2012-10-02 Reviewed by Xan Lopez. With geolocation disabled in the build, return a sensible value from DumpRenderTreeSupportGtk::numberOfPendingGeolocationPermissionRequests. This also avoids a compiler warning. * WebCoreSupport/DumpRenderTreeSupportGtk.cpp: (DumpRenderTreeSupportGtk::numberOfPendingGeolocationPermissionRequests): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@130159 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
commit-queue@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=98137 Patch by Christophe Dumez <christophe.dumez@intel.com> on 2012-10-02 Reviewed by Kentaro Hara. Source/WebCore: According to the XMLHttpRequest specification, overrideMimeType(mime) sets the "Content-Type" header for the response to mime. However, with the current implementation, calling overrideMimeType(mime) does not affect the value returned by client.getResponseHeader("Content-Type"). This patch makes sure the response's "Content-Type" header is properly updated with the override MIME type. Test: http/tests/xmlhttprequest/xmlhttprequest-overridemimetype-content-type-header.html * xml/XMLHttpRequest.cpp: (WebCore::XMLHttpRequest::didReceiveResponse): LayoutTests: Add layout test to check that calling overrideMimeType(mime) properly sets the response's "Content-Type" header to mime. * http/tests/xmlhttprequest/xmlhttprequest-overridemimetype-content-type-header-expected.txt: Added. * http/tests/xmlhttprequest/xmlhttprequest-overridemimetype-content-type-header.html: Added. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@130158 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
caseq@chromium.org authored
Remove entry for bidi-layout-across-linebreak.html, reinstated meter-optimiums.html as flaky on Mac. * platform/chromium/TestExpectations: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@130157 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
vsevik@chromium.org authored
https://bugs.webkit.org/show_bug.cgi?id=98145 * inspector/debugger/script-snippet-model.html: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@130156 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
vsevik@chromium.org authored
https://bugs.webkit.org/show_bug.cgi?id=97680 Reviewed by Pavel Feldman. Source/WebCore: UISourceCodes for scripts having sourceURL are now created by NetworkUISourceCodeProvider. UISourceCodes for anonymous, dynamic and concatenated scripts are now created on demand only. All UISourceCodes created by ResourceScriptMapping are now "temporary". Temporary UISourceCodes are not stored in workspace and removed when a normal UISourceCode with the same url is available. UISourceCodeReplaced event was replaced with TemporaryUISourceCodeAdded/Removed events. * inspector/front-end/BreakpointManager.js: (WebInspector.BreakpointManager): (WebInspector.BreakpointManager.prototype._uiSourceCodeRemoved): (WebInspector.BreakpointManager.Breakpoint.prototype.remove): * inspector/front-end/NavigatorView.js: * inspector/front-end/NetworkUISourceCodeProvider.js: (WebInspector.NetworkUISourceCodeProvider): (WebInspector.NetworkUISourceCodeProvider.prototype._parsedScriptSource): * inspector/front-end/ResourceScriptMapping.js: (WebInspector.ResourceScriptMapping): (WebInspector.ResourceScriptMapping.prototype.rawLocationToUILocation): (WebInspector.ResourceScriptMapping.prototype._workspaceUISourceCodeForScript): (WebInspector.ResourceScriptMapping.prototype.uiLocationToRawLocation): (WebInspector.ResourceScriptMapping.prototype.addScript): (WebInspector.ResourceScriptMapping.prototype._deleteTemporaryUISourceCodeForScripts): (WebInspector.ResourceScriptMapping.prototype._bindUISourceCodeToScripts): (WebInspector.ResourceScriptMapping.prototype._isDynamicScript): (WebInspector.ResourceScriptMapping.prototype._getOrCreateTemporaryUISourceCode): (WebInspector.ResourceScriptMapping.prototype._uiSourceCodeAddedToWorkspace): (WebInspector.ResourceScriptMapping.prototype._scriptsForUISourceCode): (WebInspector.ResourceScriptMapping.prototype._reset): * inspector/front-end/RevisionHistoryView.js: (WebInspector.RevisionHistoryView): * inspector/front-end/ScriptsNavigator.js: * inspector/front-end/ScriptsPanel.js: (WebInspector.ScriptsPanel): * inspector/front-end/TabbedEditorContainer.js: (WebInspector.TabbedEditorContainer.prototype.removeUISourceCode.get if): (WebInspector.TabbedEditorContainer.prototype.removeUISourceCode): * inspector/front-end/UISourceCode.js: * inspector/front-end/Workspace.js: (WebInspector.Project.prototype.addTemporaryUISourceCode): (WebInspector.Project.prototype.removeTemporaryUISourceCode): LayoutTests: * http/tests/inspector/workspace-test.js: (initialize_WorkspaceTest.InspectorTest.createWorkspace): (initialize_WorkspaceTest.InspectorTest.waitForWorkspaceTemporaryUISourceCodeAddedEvent.temporaryUISourceCodeAdded): (initialize_WorkspaceTest.InspectorTest.waitForWorkspaceTemporaryUISourceCodeAddedEvent): (initialize_WorkspaceTest.InspectorTest.waitForWorkspaceTemporaryUISourceCodeRemovedEvent.temporaryUISourceCodeRemoved): (initialize_WorkspaceTest.InspectorTest.waitForWorkspaceTemporaryUISourceCodeRemovedEvent): * inspector/debugger/breakpoint-manager-expected.txt: * inspector/debugger/breakpoint-manager.html: * inspector/debugger/dynamic-script-tag-expected.txt: * inspector/debugger/resource-script-mapping.html: * inspector/debugger/scripts-panel-expected.txt: * inspector/debugger/scripts-panel.html: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@130155 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
pfeldman@chromium.org authored
https://bugs.webkit.org/show_bug.cgi?id=98135 Reviewed by Vsevolod Vlasov. Fixing front-end compilation errors. * inspector/InjectedScriptCanvasModuleSource.js: (.): * inspector/InjectedScriptSource.js: (.): * inspector/front-end/DOMExtension.js: (Element.prototype.pruneEmptyTextNodes): * inspector/front-end/DatabaseQueryView.js: * inspector/front-end/ExtensionAPI.js: * inspector/front-end/JavaScriptSource.js: (WebInspector.JavaScriptSource.prototype.workingCopyCommitted): * inspector/front-end/RuntimeModel.js: * inspector/front-end/StylesSidebarPane.js: * inspector/front-end/TextPrompt.js: (WebInspector.TextPrompt.SuggestBox.prototype._updateItems): * inspector/front-end/treeoutline.js: (TreeElement.prototype.expandRecursively): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@130154 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
zandobersek@gmail.com authored
Rebaselining MathML tests as required after r129695 and r130097. Adding a missing baseline expectation for accessibility/svg-bounds.html. The baseline will be added soon-ish. * platform/gtk/TestExpectations: * platform/gtk/mathml/presentation/attributes-expected.png: * platform/gtk/mathml/presentation/attributes-expected.txt: * platform/gtk/mathml/presentation/fractions-expected.png: * platform/gtk/mathml/presentation/fractions-expected.txt: * platform/gtk/mathml/presentation/fractions-vertical-alignment-expected.png: * platform/gtk/mathml/presentation/fractions-vertical-alignment-expected.txt: * platform/gtk/mathml/presentation/mo-stretch-expected.png: * platform/gtk/mathml/presentation/mo-stretch-expected.txt: * platform/gtk/mathml/presentation/over-expected.png: * platform/gtk/mathml/presentation/over-expected.txt: * platform/gtk/mathml/presentation/roots-expected.png: * platform/gtk/mathml/presentation/roots-expected.txt: * platform/gtk/mathml/presentation/row-alignment-expected.png: * platform/gtk/mathml/presentation/row-alignment-expected.txt: * platform/gtk/mathml/presentation/subsup-expected.png: * platform/gtk/mathml/presentation/subsup-expected.txt: * platform/gtk/mathml/presentation/tables-expected.png: * platform/gtk/mathml/presentation/tables-expected.txt: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@130153 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
jochen@chromium.org authored
https://bugs.webkit.org/show_bug.cgi?id=98001 Reviewed by Adam Barth. The callsites assume that the default language is always defined, e.g. Document::getCachedLocalizer. Add an ASSERT() statement so an embedder doesn't have to guess what they did wrong. * platform/chromium/LanguageChromium.cpp: (WebCore::platformLanguage): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@130152 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
vsevik@chromium.org authored
https://bugs.webkit.org/show_bug.cgi?id=98143 Reviewed by Pavel Feldman. * inspector/front-end/JavaScriptSource.js: (WebInspector.JavaScriptSource.prototype.workingCopyCommitted): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@130151 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
mkwst@chromium.org authored
https://bugs.webkit.org/show_bug.cgi?id=94433 Reviewed by Adam Barth. Source/WebCore: Previously, we generated stack traces only for eval-related CSP violations. As it turns out, we can call createScriptCallStack from practically anywhere. This patch takes advantage of that to generate stack traces whenever a warning is logged to the console. If we're in a JavaScript stack, brilliant: we get a detailed warning. If not, the stack trace is empty, and we don't pass it into the console logging method. This has the advantage of giving us good developer-facing logging for any and all violations that result from script-based injection of resources. Yay! Tests: http/tests/inspector/csp-injected-content-warning-contains-stacktrace.html http/tests/inspector/csp-inline-warning-contains-stacktrace.html http/tests/inspector/csp-setInterval-warning-contains-stacktrace.html http/tests/inspector/csp-setTimeout-warning-contains-stacktrace.html * bindings/js/ScheduledAction.cpp: (WebCore::ScheduledAction::create): Replacing the generated stack trace with the current script state, which will enable us to generate the stack trace inside ContentSecurityPolicy::reportViolation if it's relevant. * bindings/v8/ScriptCallStackFactory.cpp: (WebCore::createScriptCallStackForConsole): (WebCore): * bindings/v8/ScriptCallStackFactory.h: (WebCore): Adding a dummy interface to createScriptCallStackForConsole that allows ScriptState to be passed in, which matches JSC's interface. * bindings/v8/custom/V8DOMWindowCustom.cpp: (WebCore::WindowSetTimeoutImpl): * bindings/v8/custom/V8WorkerContextCustom.cpp: (WebCore::SetTimeoutOrInterval): Dropping stack trace from call to ContentSecurityPolicy::allowEval. * page/ContentSecurityPolicy.cpp: (CSPDirectiveList): (WebCore::CSPDirectiveList::reportViolation): (WebCore::CSPDirectiveList::checkEvalAndReportViolation): (WebCore::CSPDirectiveList::allowEval): Piping script state through from CSPDirectiveList::allowEval rather than a full stack trace. (WebCore): (WebCore::isAllowedByAll): (WebCore::isAllowedByAllWithState): (WebCore::ContentSecurityPolicy::allowEval): (WebCore::ContentSecurityPolicy::reportViolation): (WebCore::ContentSecurityPolicy::logToConsole): Piping script state through from ContentSecurityPolicy::allowEval rather than a full stack trace. Now, we can simply generate the stack trace just before logging it, and only pass it into addConsoleMessage if it's non-empty. * page/ContentSecurityPolicy.h: (JSC): (WebCore): Including 'ScriptState.h' to normalize V8 and JSC's JS state objects. LayoutTests: * http/tests/inspector-enabled/contentSecurityPolicy-blocks-setInterval-expected.txt: Removed. * http/tests/inspector-enabled/contentSecurityPolicy-blocks-setInterval.html: Removed. * http/tests/inspector-enabled/contentSecurityPolicy-blocks-setTimeout-expected.txt: Removed. * http/tests/inspector-enabled/contentSecurityPolicy-blocks-setTimeout.html: Removed. Moved these tests to http/test/inspector, and rewrote them for consistency. * http/tests/inspector/csp-injected-content-warning-contains-stacktrace-expected.txt: Added. * http/tests/inspector/csp-injected-content-warning-contains-stacktrace.html: Added. * http/tests/inspector/csp-inline-warning-contains-stacktrace-expected.txt: Added. * http/tests/inspector/csp-inline-warning-contains-stacktrace.html: Added. * http/tests/inspector/csp-setInterval-contains-stacktrace-expected.txt: Added. * http/tests/inspector/csp-setInterval-warning-contains-stacktrace.html: Added. * http/tests/inspector/csp-setTimeout-warning-contains-stacktrace-expected.txt: Added. * http/tests/inspector/csp-setTimeout-warning-contains-stacktrace.html: Added. * http/tests/inspector/resources/csp-inline-test.js: Added. (thisTest): * http/tests/inspector/resources/csp-test.js: Added. (test.addMessage): (test): Two new tests for the functionality. * platform/chromium/http/tests/inspector/csp-injected-content-warning-contains-stacktrace-expected.txt: Added. * platform/chromium/http/tests/inspector/csp-inline-warning-contains-stacktrace-expected.txt: Added. * platform/chromium/http/tests/inspector/csp-setInterval-contains-stacktrace-expected.txt: Added. * platform/chromium/http/tests/inspector/csp-setTimeout-warning-contains-stacktrace-expected.txt: Added. The stacktrace looks slightly different under JSC than V8. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@130150 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
pfeldman@chromium.org authored
https://bugs.webkit.org/show_bug.cgi?id=98127 Reviewed by Vsevolod Vlasov. Converted with the regex matcher. * inspector/InjectedScriptCanvasModuleSource.js: (.): * inspector/compile-front-end.py: * inspector/front-end/AdvancedSearchController.js: (WebInspector.SearchView.prototype._onAction): (WebInspector.FileBasedSearchResultsPane.prototype._createContentSpan): * inspector/front-end/ApplicationCacheItemsView.js: * inspector/front-end/ApplicationCacheModel.js: (WebInspector.ApplicationCacheModel.prototype._networkStateUpdated): * inspector/front-end/AuditCategories.js: (WebInspector.AuditCategories.PagePerformance.prototype.initialize): (WebInspector.AuditCategories.NetworkUtilization.prototype.initialize): * inspector/front-end/AuditLauncherView.js: (WebInspector.AuditLauncherView.prototype._updateButton): * inspector/front-end/AuditResultView.js: (WebInspector.AuditCategoryResultPane.prototype._appendResult): * inspector/front-end/AuditRules.js: (WebInspector.AuditRules.GzipRule.prototype._shouldCompress): (WebInspector.AuditRules.CombineExternalResourcesRule.prototype.doRun): (WebInspector.AuditRules.MinimizeDnsLookupsRule.prototype.doRun): (WebInspector.AuditRules.ParallelizeDownloadRule.prototype.doRun): (WebInspector.AuditRules.UnusedCssRule.prototype.doRun): (WebInspector.AuditRules.CacheControlRule.prototype.isCacheableResource): (WebInspector.AuditRules.BrowserCacheControlRule.prototype._oneYearExpirationCheck): (WebInspector.AuditRules.ProxyCacheControlRule.prototype._setCookieCacheableCheck): (WebInspector.AuditRules.ImageDimensionsRule.prototype.doRun): (WebInspector.AuditRules.CssInHeadRule.prototype.doRun): (WebInspector.AuditRules.StylesScriptsOrderRule.prototype.doRun): (WebInspector.AuditRules.CSSRuleBase.prototype.visitProperty): (WebInspector.AuditRules.VendorPrefixedCSSProperties.prototype.visitProperty): (WebInspector.AuditRules.CookieRuleBase.prototype._callbackForResourceCookiePairs): (WebInspector.AuditRules.CookieSizeRule.prototype.processCookies): (WebInspector.AuditRules.StaticCookielessRule.prototype._collectorCallback): * inspector/front-end/AuditsPanel.js: (WebInspector.AuditsPanel.prototype._clearButtonClicked): (WebInspector.AuditsSidebarTreeElement.prototype.refresh): (WebInspector.AuditResultSidebarTreeElement.prototype.get selectable): * inspector/front-end/BottomUpProfileDataGridTree.js: (WebInspector.BottomUpProfileDataGridNode.prototype._willHaveChildren): * inspector/front-end/BreakpointManager.js: (WebInspector.BreakpointManager.prototype._uiLocationRemoved): * inspector/front-end/BreakpointsSidebarPane.js: (WebInspector.JavaScriptBreakpointsSidebarPane.prototype.reset): (WebInspector.XHRBreakpointsSidebarPane.prototype.set _restoreBreakpoints): (WebInspector.EventListenerBreakpointsSidebarPane.prototype.set _restoreBreakpoints): * inspector/front-end/CPUProfileView.js: (WebInspector.CPUProfileView.prototype._assignParentsInProfile): (WebInspector.CPUProfileType.prototype.createProfile): (WebInspector.CPUProfileHeader.prototype.createView): * inspector/front-end/CSSNamedFlowCollectionsView.js: (WebInspector.CSSNamedFlowCollectionsView.prototype.willHide): (WebInspector.FlowTreeElement.prototype.setOverset): * inspector/front-end/CSSNamedFlowView.js: (WebInspector.CSSNamedFlowView.prototype._update): * inspector/front-end/CSSSelectorProfileView.js: (WebInspector.CSSSelectorDataGridNode.prototype.createCell): (WebInspector.CSSSelectorProfileType.prototype.createTemporaryProfile): (WebInspector.CSSProfileHeader.prototype.createView): * inspector/front-end/CSSStyleModel.js: (WebInspector.CSSStyleModel.prototype._rawLocationToUILocation): * inspector/front-end/CallStackSidebarPane.js: (WebInspector.CallStackSidebarPane.prototype._keyDown): (WebInspector.CallStackSidebarPane.Placard.prototype._restartFrame): * inspector/front-end/CanvasProfileView.js: (WebInspector.CanvasProfileView.prototype._onTraceLogItemClick): (WebInspector.CanvasProfileType.prototype.createProfile): (WebInspector.CanvasProfileHeader.prototype.createView): * inspector/front-end/CodeMirrorTextEditor.js: (WebInspector.CodeMirrorTextEditor.prototype._toRange): * inspector/front-end/ConsoleMessage.js: (WebInspector.ConsoleMessageImpl.prototype.clone): * inspector/front-end/ConsoleModel.js: (WebInspector.ConsoleModel.prototype._messageRepeatCountUpdated): * inspector/front-end/ConsolePanel.js: (WebInspector.ConsolePanel.prototype._consoleCleared): * inspector/front-end/ConsoleView.js: (WebInspector.ConsoleView.prototype._dumpMemory): (WebInspector.ConsoleCommandResult.prototype.toMessageElement): * inspector/front-end/ContentProviders.js: (WebInspector.ConcatenatedScriptsContentProvider.prototype._concatenateScriptsContent): (WebInspector.CompilerSourceMappingContentProvider.prototype.searchInContent): (WebInspector.StaticContentProvider.prototype.searchInContent): * inspector/front-end/ContextMenu.js: (WebInspector.ContextSubMenuItem.prototype._buildDescriptor): (WebInspector.ContextMenu.prototype.appendApplicableItems): * inspector/front-end/CookieItemsView.js: (WebInspector.CookieItemsView.prototype._contextMenu): (WebInspector.SimpleCookiesTable.prototype.setCookies): * inspector/front-end/CookiesTable.js: (WebInspector.CookiesTable.prototype._onDeleteFromGrid): * inspector/front-end/DOMAgent.js: (WebInspector.DOMAgent.prototype.redo): * inspector/front-end/DOMBreakpointsSidebarPane.js: (WebInspector.DOMBreakpointsSidebarPane.prototype.set restoreBreakpoints): * inspector/front-end/DOMStorage.js: (WebInspector.DOMStorageModel.prototype.storages): * inspector/front-end/DOMStorageItemsView.js: (WebInspector.DOMStorageItemsView.prototype._deleteCallback): * inspector/front-end/DataGrid.js: (WebInspector.DataGridNode.prototype.restorePosition): (WebInspector.CreationDataGridNode.prototype.makeNormal): * inspector/front-end/Database.js: (WebInspector.DatabaseModel.prototype._addDatabase): * inspector/front-end/DatabaseQueryView.js: (WebInspector.DatabaseQueryView.prototype._appendQueryResult): * inspector/front-end/DatabaseTableView.js: (WebInspector.DatabaseTableView.prototype._refreshButtonClicked): * inspector/front-end/DebuggerModel.js: (WebInspector.DebuggerModel.prototype.callStackModified): * inspector/front-end/DefaultTextEditor.js: (WebInspector.DefaultTextEditor.prototype.willHide): (WebInspector.TextEditorGutterPanel.prototype.removeDecoration): (WebInspector.TextEditorMainPanel.prototype._collectLinesFromDiv): * inspector/front-end/Dialog.js: (WebInspector.DialogDelegate.prototype.willHide): * inspector/front-end/DirectoryContentView.js: (WebInspector.DirectoryContentView.prototype._sort): (WebInspector.DirectoryContentView.Node.prototype._metadataReceived): * inspector/front-end/ElementsPanel.js: (WebInspector.ElementsPanel.prototype.appendApplicableItems): * inspector/front-end/ElementsPanelDescriptor.js: (WebInspector.ElementsPanelDescriptor.prototype.appendApplicableItems): * inspector/front-end/ElementsTreeOutline.js: (WebInspector.ElementsTreeOutline.prototype._selectNodeAfterEdit): (WebInspector.ElementsTreeOutline.PseudoStateDecorator.prototype.decorateAncestor): * inspector/front-end/EmptyView.js: * inspector/front-end/EventListenersSidebarPane.js: (WebInspector.EventListenersSidebarPane.prototype): * inspector/front-end/ExtensionAPI.js: (injectedExtensionAPI.PanelWithSidebarImpl.prototype.createSidebarPane): (injectedExtensionAPI.ExtensionPanelImpl.prototype.show): * inspector/front-end/ExtensionPanel.js: (WebInspector.ExtensionPanel.prototype.jumpToPreviousSearchResult): (WebInspector.ExtensionSidebarPane.prototype._setObject): * inspector/front-end/ExtensionView.js: (WebInspector.ExtensionView.prototype._onLoad): (WebInspector.ExtensionNotifierView.prototype.willHide): * inspector/front-end/FileContentView.js: (WebInspector.FileContentView.prototype.refresh): * inspector/front-end/FileManager.js: (WebInspector.FileManager.prototype.appendedToURL): * inspector/front-end/FileSystemModel.js: (WebInspector.FileSystemModel.prototype._removeFileSystem): (WebInspector.FileSystemModel.Directory.prototype.requestDirectoryContent): (WebInspector.FileSystemModel.File.prototype.requestFileContent): * inspector/front-end/FileSystemView.js: (WebInspector.FileSystemView.prototype._delete): (WebInspector.FileSystemView.EntryTreeElement.prototype._deletionCompleted): * inspector/front-end/FilteredItemSelectionDialog.js: (WebInspector.FilteredItemSelectionDialog.prototype._itemElementInViewport): (WebInspector.JavaScriptOutlineDialog.prototype.rewriteQuery): (WebInspector.OpenResourceDialog.prototype.rewriteQuery): * inspector/front-end/FontView.js: (WebInspector.FontView.prototype.updateFontPreviewSize): * inspector/front-end/GoToLineDialog.js: (WebInspector.GoToLineDialog.prototype.onEnter): * inspector/front-end/HandlerRegistry.js: (WebInspector.HandlerRegistry.prototype._appendHrefItems): * inspector/front-end/HeapSnapshot.js: (WebInspector.HeapSnapshotEdgesProvider.prototype.sort): (WebInspector.HeapSnapshotNodesProvider.prototype.sort): * inspector/front-end/HeapSnapshotDataGrids.js: (WebInspector.HeapSnapshotSortableDataGrid.prototype.recursiveSortingLeave): (WebInspector.HeapSnapshotViewportDataGrid.prototype._onScroll): (WebInspector.HeapSnapshotContainmentDataGrid.prototype.sortingChanged): (WebInspector.HeapSnapshotDiffDataGrid.prototype._populateChildren): (WebInspector.HeapSnapshotDominatorsDataGrid.prototype.highlightObjectByHeapSnapshotId): * inspector/front-end/HeapSnapshotGridNodes.js: (WebInspector.HeapSnapshotGridNode.prototype.sort): (WebInspector.HeapSnapshotGenericObjectNode.prototype.shortenWindowURL): (WebInspector.HeapSnapshotObjectNode.prototype._prefixObjectCell): (WebInspector.HeapSnapshotInstanceNode.prototype.get isDeletedNode): (WebInspector.HeapSnapshotConstructorNode.prototype.get _shallowSizePercent): (WebInspector.HeapSnapshotDiffNode.prototype.get data): (WebInspector.HeapSnapshotDominatorObjectNode.prototype._emptyData): * inspector/front-end/HeapSnapshotProxy.js: (WebInspector.HeapSnapshotWorkerWrapper.prototype.terminate): (WebInspector.HeapSnapshotRealWorker.prototype.terminate): (WebInspector.HeapSnapshotFakeWorker.prototype._postMessageFromWorker): (WebInspector.HeapSnapshotWorker.prototype._postMessage): (WebInspector.HeapSnapshotLoaderProxy.prototype.close): (WebInspector.HeapSnapshotProxy.prototype.get uid): (WebInspector.HeapSnapshotProviderProxy.prototype.sortAndRewind): * inspector/front-end/HeapSnapshotView.js: (WebInspector.HeapSnapshotView.prototype._updateFilterOptions): (WebInspector.HeapSnapshotProfileType.prototype.createProfile): (WebInspector.HeapProfileHeader.prototype._createFileReader): * inspector/front-end/HelpScreen.js: (WebInspector.HelpScreen.prototype._onBlur): * inspector/front-end/ImageView.js: (WebInspector.ImageView.prototype._openInNewTab): * inspector/front-end/IndexedDBModel.js: (WebInspector.IndexedDBModel.prototype._requestData): * inspector/front-end/IndexedDBViews.js: (WebInspector.IDBDataView.prototype.clear): (WebInspector.IDBDataGridNode.prototype._formatValue): * inspector/front-end/InspectorFrontendHostStub.js: (.WebInspector.ClipboardAccessDeniedScreen): * inspector/front-end/InspectorView.js: (WebInspector.InspectorView.prototype.showPanelForAnchorNavigation): * inspector/front-end/JavaScriptSource.js: (WebInspector.JavaScriptSource.prototype.workingCopyCommitted): * inspector/front-end/JavaScriptSourceFrame.js: (WebInspector.JavaScriptSourceFrame.prototype._continueToLine): * inspector/front-end/Linkifier.js: (WebInspector.Linkifier.DefaultFormatter.prototype.formatLiveAnchor): * inspector/front-end/MemoryStatistics.js: (WebInspector.SwatchCheckbox.prototype._toggleCheckbox): * inspector/front-end/MetricsSidebarPane.js: (WebInspector.MetricsSidebarPane.prototype.editingCommitted): * inspector/front-end/NativeBreakpointsSidebarPane.js: (WebInspector.NativeBreakpointsSidebarPane.prototype._reset): * inspector/front-end/NativeMemorySnapshotView.js: (WebInspector.NativeMemorySnapshotView.prototype.get profile): (WebInspector.NativeMemoryProfileType.prototype.createProfile): (WebInspector.NativeMemoryProfileHeader.prototype.createView): (WebInspector.NativeMemoryPieChart.prototype._clear): (WebInspector.NativeMemoryBarChart.prototype._updateView): * inspector/front-end/NavigatorView.js: (WebInspector.NavigatorView.prototype.handleContextMenu): (WebInspector.NavigatorTreeOutline.prototype.searchFinished): (WebInspector.BaseNavigatorTreeElement.prototype.matchesSearchText): (WebInspector.NavigatorFolderTreeElement.prototype.onattach): (WebInspector.NavigatorSourceTreeElement.prototype._handleContextMenuEvent): * inspector/front-end/NetworkItemView.js: (WebInspector.NetworkItemView.prototype.set request): (WebInspector.RequestContentView.prototype.highlightLine): * inspector/front-end/NetworkManager.js: (WebInspector.NetworkManager.prototype._userAgentSettingChanged): * inspector/front-end/NetworkPanel.js: (WebInspector.NetworkLogView.prototype._highlightNode): (WebInspector.NetworkPanel.prototype.appendApplicableItems): (WebInspector.NetworkTimeCalculator.prototype._upperBound): (WebInspector.NetworkTransferTimeCalculator.prototype._upperBound): (WebInspector.NetworkTransferDurationCalculator.prototype._upperBound): (WebInspector.NetworkDataGridNode.prototype._refreshLabelPositions): (WebInspector.NetworkDataGridNode.RequestPropertyComparator): * inspector/front-end/NetworkPanelDescriptor.js: (WebInspector.NetworkPanelDescriptor.prototype.appendApplicableItems): * inspector/front-end/NetworkRequest.js: (WebInspector.NetworkRequest.prototype._pushFrame): * inspector/front-end/ObjectPopoverHelper.js: (WebInspector.ObjectPopoverHelper.prototype._updateHTMLId): * inspector/front-end/ObjectPropertiesSection.js: (WebInspector.ObjectPropertiesSection.prototype.updateProperties): (WebInspector.ObjectPropertyTreeElement.prototype.applyExpression): (WebInspector.FunctionScopeMainTreeElement.prototype.onpopulate): (WebInspector.ScopeTreeElement.prototype.onpopulate): (WebInspector.ArrayGroupingTreeElement.prototype.onattach): * inspector/front-end/Panel.js: (WebInspector.Panel.prototype.unregisterShortcut): * inspector/front-end/PanelEnablerView.js: (WebInspector.PanelEnablerView.prototype.get alwaysEnabled): * inspector/front-end/ProfileDataGridTree.js: (WebInspector.ProfileDataGridNode.prototype._merge): * inspector/front-end/ProfileLauncherView.js: (WebInspector.ProfileLauncherView.prototype.profileFinished): * inspector/front-end/ProfilesPanel.js: (WebInspector.ProfilesPanel.prototype.appendApplicableItems): (WebInspector.ProfileSidebarTreeElement.prototype.handleContextMenuEvent): (WebInspector.ProfileGroupSidebarTreeElement.prototype.onselect): (WebInspector.ProfilesSidebarTreeElement.prototype.get selectable): * inspector/front-end/ProgressIndicator.js: (WebInspector.ProgressIndicator.prototype.worked): * inspector/front-end/PropertiesSection.js: * inspector/front-end/PropertiesSidebarPane.js: (WebInspector.PropertiesSidebarPane.prototype.update): * inspector/front-end/RequestCookiesView.js: (WebInspector.RequestCookiesView.prototype._refreshCookies): * inspector/front-end/RequestHTMLView.js: (WebInspector.RequestHTMLView.prototype._createIFrame): * inspector/front-end/RequestHeadersView.js: (WebInspector.RequestHeadersView.prototype._createHeadersToggleButton): * inspector/front-end/RequestJSONView.js: (WebInspector.RequestJSONView.parseJSON.WebInspector.RequestJSONView.prototype._initialize): * inspector/front-end/RequestPreviewView.js: (WebInspector.RequestPreviewView.prototype._createPreviewView): * inspector/front-end/RequestResponseView.js: (WebInspector.RequestResponseView.prototype.contentLoaded): * inspector/front-end/RequestTimingView.js: (WebInspector.RequestTimingView.prototype._refresh): (WebInspector.RequestTimingView.createTimingTable): * inspector/front-end/RequestView.js: (WebInspector.RequestView.prototype.hasContent): * inspector/front-end/Resource.js: (WebInspector.Resource.prototype.isHidden): * inspector/front-end/ResourceTreeModel.js: (WebInspector.ResourceTreeModel.prototype._createResourceFromFramePayload): * inspector/front-end/ResourceView.js: (WebInspector.ResourceView.prototype.hasContent): (WebInspector.ResourceSourceFrame.prototype.populateTextAreaContextMenu): * inspector/front-end/ResourceWebSocketFrameView.js: * inspector/front-end/ResourcesPanel.js: (WebInspector.ResourcesPanel.prototype._onmouseout): (WebInspector.BaseStorageTreeElement.prototype.get searchMatchesCount): (WebInspector.StorageCategoryTreeElement.prototype.set oncollapse): (WebInspector.FrameTreeElement.prototype._insertInPresentationOrder): (WebInspector.FrameResourceTreeElement.prototype.sourceView): (WebInspector.DatabaseTreeElement.prototype._updateChildren): (WebInspector.DatabaseTableTreeElement.prototype.onselect): (WebInspector.IndexedDBTreeElement.prototype._idbDatabaseTreeElement): (WebInspector.FileSystemListTreeElement.prototype._refreshFileSystem): (WebInspector.IDBDatabaseTreeElement.prototype.clear): (WebInspector.IDBObjectStoreTreeElement.prototype.clear): (WebInspector.IDBIndexTreeElement.prototype.clear): (WebInspector.DOMStorageTreeElement.prototype.onselect): (WebInspector.CookieTreeElement.prototype.onselect): (WebInspector.ApplicationCacheManifestTreeElement.prototype.onselect): (WebInspector.ApplicationCacheFrameTreeElement.prototype.onselect): (WebInspector.FileSystemTreeElement.prototype.clear): (WebInspector.StorageCategoryView.prototype.setText): * inspector/front-end/RevisionHistoryView.js: (WebInspector.RevisionHistoryView.prototype._reset): (WebInspector.RevisionHistoryTreeElement.prototype.allowRevert): * inspector/front-end/RuntimeModel.js: (WebInspector.RuntimeModel.prototype._reportCompletions): (WebInspector.FrameExecutionContextList.prototype.get displayName): * inspector/front-end/ScopeChainSidebarPane.js: (WebInspector.ScopeChainSidebarPane.prototype.update): (WebInspector.ScopeVariableTreeElement.prototype.get propertyPath): * inspector/front-end/Script.js: (WebInspector.Script.Location.prototype.dispose): * inspector/front-end/ScriptFormatterWorker.js: (HTMLScriptFormatter.prototype.styleSheetEnded): * inspector/front-end/ScriptSnippetModel.js: (WebInspector.ScriptSnippetModel.prototype._projectDidReset): (WebInspector.SnippetJavaScriptSource.prototype.workingCopyChanged): * inspector/front-end/ScriptsNavigator.js: (WebInspector.ScriptsNavigator.prototype.reset): (WebInspector.SnippetsNavigatorView.prototype._snippetCreationRequested): * inspector/front-end/ScriptsPanel.js: (WebInspector.ScriptsPanel.prototype.showGoToSourceDialog): * inspector/front-end/ScriptsPanelDescriptor.js: (WebInspector.ScriptsPanelDescriptor.prototype.appendApplicableItems): * inspector/front-end/ScriptsSearchScope.js: (WebInspector.ScriptsSearchScope.prototype._sortedUISourceCodes): * inspector/front-end/SettingsScreen.js: (WebInspector.SettingsScreen.prototype.willHide): (WebInspector.SettingsTab.prototype._createCustomSetting): (WebInspector.GenericSettingsTab.prototype._javaScriptDisabledChanged): (WebInspector.UserAgentSettingsTab.prototype._createDeviceOrientationOverrideElement): (WebInspector.ExperimentsSettingsTab.prototype._createExperimentCheckbox): * inspector/front-end/ShowMoreDataGridNode.js: (WebInspector.ShowMoreDataGridNode.prototype.dispose): * inspector/front-end/SidebarPane.js: (WebInspector.SidebarPane.prototype._onTitleKeyDown): * inspector/front-end/SidebarTreeElement.js: (WebInspector.SidebarSectionTreeElement.prototype.onreveal): (WebInspector.SidebarTreeElement.prototype.onreveal): * inspector/front-end/SnippetJavaScriptSourceFrame.js: (WebInspector.SnippetJavaScriptSourceFrame.prototype._runButtonClicked): * inspector/front-end/SnippetStorage.js: (WebInspector.Snippet.prototype.serializeToObject): * inspector/front-end/SourceCSSTokenizer.js: (WebInspector.SourceCSSTokenizer.prototype.nextToken): * inspector/front-end/SourceCSSTokenizer.re2js: * inspector/front-end/SourceFrame.js: (WebInspector.SourceFrame.prototype._commitEditing): (WebInspector.TextEditorDelegateForSourceFrame.prototype.createLink): * inspector/front-end/SourceHTMLTokenizer.js: (WebInspector.SourceHTMLTokenizer.prototype.nextToken): * inspector/front-end/SourceHTMLTokenizer.re2js: * inspector/front-end/SourceJavaScriptTokenizer.js: (WebInspector.SourceJavaScriptTokenizer.prototype.nextToken): * inspector/front-end/SourceJavaScriptTokenizer.re2js: * inspector/front-end/Spectrum.js: (WebInspector.Spectrum.prototype._onKeyDown): * inspector/front-end/SplitView.js: (WebInspector.SplitView.prototype.set elementsToRestoreScrollPositionsFor): * inspector/front-end/StatusBarButton.js: (WebInspector.StatusBarButton.prototype._showOptions): * inspector/front-end/StyleSheetOutlineDialog.js: (WebInspector.StyleSheetOutlineDialog.prototype.rewriteQuery): * inspector/front-end/StyleSource.js: (WebInspector.StyleSource.prototype._clearIncrementalUpdateTimer): * inspector/front-end/StylesSidebarPane.js: (WebInspector.StylesSidebarPane.prototype.willHide): (WebInspector.ComputedStyleSidebarPane.prototype.expand): (WebInspector.StylePropertiesSection.prototype.editingSelectorCancelled): (WebInspector.ComputedStylePropertiesSection.prototype.rebuildComputedTrace): (WebInspector.BlankStylePropertiesSection.prototype.makeNormal): (WebInspector.StylePropertyTreeElement.prototype): * inspector/front-end/TabbedEditorContainer.js: (WebInspector.TabbedEditorContainer.prototype.currentFile): (WebInspector.TabbedEditorContainer.HistoryItem.prototype.serializeToObject): (WebInspector.TabbedEditorContainer.History.prototype.set _serializeToObject): * inspector/front-end/TabbedPane.js: (WebInspector.TabbedPane.prototype._insertBefore): * inspector/front-end/TextEditorModel.js: (WebInspector.TextEditorModel.endsWithBracketRegex.): * inspector/front-end/TextPrompt.js: (WebInspector.TextPromptWithHistory.prototype.defaultKeyHandler): * inspector/front-end/TimelineManager.js: (WebInspector.TimelineManager.prototype._stopped): * inspector/front-end/TimelineModel.js: (WebInspector.TimelineModel.prototype.recordOffsetInSeconds): * inspector/front-end/TimelineOverviewPane.js: (WebInspector.TimelineOverviewPane.prototype._scheduleRefresh): (WebInspector.TimelineOverviewWindow.prototype._zoom): (WebInspector.TimelineFrameOverview.prototype.getWindowTimes): * inspector/front-end/TimelinePanel.js: (WebInspector.TimelinePanel.prototype.performSearch): * inspector/front-end/TimelinePresentationModel.js: (WebInspector.TimelinePresentationModel.prototype.isVisible): (WebInspector.TimelineCategory.prototype.set hidden): * inspector/front-end/TopDownProfileDataGridTree.js: (WebInspector.TopDownProfileDataGridNode.prototype._exclude): * inspector/front-end/UISourceCode.js: (WebInspector.UISourceCode.prototype.setSourceMapping): * inspector/front-end/UISourceCodeFrame.js: (WebInspector.UISourceCodeFrame.prototype.populateTextAreaContextMenu): * inspector/front-end/View.js: (WebInspector.View.prototype.focus): * inspector/front-end/WatchExpressionsSidebarPane.js: (WebInspector.WatchExpressionsSidebarPane.prototype._refreshButtonClicked): (WebInspector.WatchExpressionsSection.prototype._updateHoveredElement): (WebInspector.WatchExpressionTreeElement.prototype.applyExpression): * inspector/front-end/WorkerManager.js: (WebInspector.WorkerManager.prototype._disconnectedFromWorker): (WebInspector.WorkerTerminatedScreen.prototype.willHide): * inspector/front-end/WorkersSidebarPane.js: (WebInspector.WorkersSidebarPane.prototype._autoattachToWorkersClicked): * inspector/front-end/Workspace.js: (WebInspector.Workspace.prototype.uiSourceCodes): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@130149 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
vsevik@chromium.org authored
* inspector/front-end/JavaScriptSource.js: (WebInspector.JavaScriptSource.prototype.workingCopyCommitted): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@130148 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
yosin@chromium.org authored
https://bugs.webkit.org/show_bug.cgi?id=97997 Reviewed by Kent Tamura. Source/WebCore: This patch introduces multiple fields "datetime" and "datetime-local" input UI in DRT. We'll enable these features once we add tests. No new tests. To reduce size of this patch, other patches add tests for multiple fields datetime/datetime-local input UI. Note: Actual outputs of four tests - fast/forms/datetime/datetime-input-visible-string.html - fast/forms/datetime/datetime-stepup-stepdown-from-renderer.html - fast/forms/datetimelocal/datetimelocal-input-visible-string.html - fast/forms/datetimelocal/datetimelocal-stepup-stepdown-from-renderer.html are different. * bindings/generic/RuntimeEnabledFeatures.cpp: (WebCore): * css/html.css: (input::-webkit-datetime-edit-day-field): Added for field appearance. (input::-webkit-datetime-edit-day-field:focus): Added to remove focus ring. * html/DateTimeInputType.cpp: (WebCore::DateTimeInputType::formatDateTimeFieldsState): Added to format numeric value to string value as specified in HTML5 specification. (WebCore::DateTimeInputType::setupLayoutParameters): Added to set layout of multiple fields. * html/DateTimeInputType.h: Changed to include BaseMultipleFieldsDateAndTimeInputType.h and introduce BaseDateTimeInputType typedef. (WebCore::DateTimeInputType::DateTimeInputType): Changed base class name to BaseDateTimeInputType. (DateTimeInputType): Changed to add declarations for formatDateTimeFieldsState() and setupLayoutParameters(). * html/DateTimeLocalInputType.cpp: (WebCore::DateTimeLocalInputType::formatDateTimeFieldsState): Added to format numeric value to string value as specified in HTML5 specification. (WebCore::DateTimeLocalInputType::setupLayoutParameters): Added to set layout of multiple fields. * html/DateTimeLocalInputType.h: Changed to include BaseMultipleFieldsDateAndTimeInputType.h and introduce BaseDateTimeLocalInputType typedef. (WebCore::DateTimeLocalInputType::DateTimeLocalInputType): Changed base class name to BaseDateTimeLocalInputType. (DateTimeLocalInputType): Changed to add declarations for formatDateTimeFieldsState() and setupLayoutParameters(). * html/shadow/DateTimeEditElement.cpp: (DateTimeEditBuilder): Changed to add member variable m_placeholderForDay. (WebCore::DateTimeEditBuilder::DateTimeEditBuilder): Changed to initialize m_placeholderForDay. (WebCore::DateTimeEditBuilder::visitField): Changed to support week field. * html/shadow/DateTimeEditElement.h: (LayoutParameters): Changed to add placeholderForDay member variable. LayoutTests: This patch adds Chromium port specific expectations for "datetime" and "datetime-local" input type tests for multiple fields datetime input UI. * platform/chromium/fast/forms/datetime/datetime-input-visible-string-expected.txt: Added. Multiple fields datetime input UI doesn't have selection. * platform/chromium/fast/forms/datetime/datetime-stepup-stepdown-from-renderer-expected.txt: Added. On multiple fields datetime input UI, step down/up decrement/increment a field rather than whole value. * platform/chromium/fast/forms/datetimelocal/datetimelocal-input-visible-string-expected.txt: Added. Multiple fields datetime-local input UI doesn't have selection. * platform/chromium/fast/forms/datetimelocal/datetimelocal-stepup-stepdown-from-renderer-expected.txt: Added. On multiple fields datetime-local input UI, step down/up decrement/increment a field rather than whole value. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@130147 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-