WebKit-https.git
6 years agoConvert disable-msg to disable for new pylint.
commit-queue@webkit.org [Wed, 23 Jan 2013 06:28:59 +0000 (06:28 +0000)]
Convert disable-msg to disable for new pylint.
https://bugs.webkit.org/show_bug.cgi?id=107627

Patch by Tim 'mithro' Ansell <mithro@mithis.com> on 2013-01-22
Reviewed by Eric Seidel.

* Scripts/webkitpy/common/checkout/scm/svn.py:
(SVNRepository.has_authorization_for_realm):
* Scripts/webkitpy/common/net/buildbot/buildbot.py:
(Builder.force_build):
* Scripts/webkitpy/common/system/executive_mock.py:
(MockExecutive2.run_command):
* Scripts/webkitpy/layout_tests/port/base.py:
(Port.reference_files):
* Scripts/webkitpy/layout_tests/port/chromium_port_testcase.py:
(ChromiumPortTestCase.test_default_configuration):
* Scripts/webkitpy/layout_tests/port/port_testcase.py:
(PortTestCase.test_expectations_ordering):
* Scripts/webkitpy/layout_tests/servers/http_server_base.py:
(HttpServerBase._check_that_all_ports_are_available):
* Scripts/webkitpy/tool/commands/abstractlocalservercommand.py:
(AbstractLocalServerCommand.execute):
* Scripts/webkitpy/tool/commands/download.py:
(AbstractPatchProcessingCommand):
* Scripts/webkitpy/tool/commands/rebaseline.py:
(AbstractRebaseliningCommand):
(AbstractParallelRebaselineCommand):
* Scripts/webkitpy/tool/commands/rebaseline_unittest.py:
(_BaseTestCase.setUp):
(TestAnalyzeBaselines.setUp):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@140508 268f45cc-cd09-0410-ab3c-d52691b4dbfc

6 years ago2013-01-22 Kent Tamura <tkent@chromium.org>
tkent@chromium.org [Wed, 23 Jan 2013 05:53:10 +0000 (05:53 +0000)]
2013-01-22  Kent Tamura  <tkent@chromium.org>

        [Chromium] Fix svn:mime-type of PNG files in platform/chromium*/

        * platform/chromium-linux/fast/borders/border-radius-with-box-shadow-expected.png: Added property svn:mime-type.
        * platform/chromium-linux/fast/gradients/unprefixed-color-stop-units-expected.png: Added property svn:mime-type.
        * platform/chromium-linux/fast/gradients/unprefixed-linear-angle-gradients-expected.png: Added property svn:mime-type.
        * platform/chromium-linux/fast/gradients/unprefixed-linear-right-angle-gradients-expected.png: Added property svn:mime-type.
        * platform/chromium-linux/fast/gradients/unprefixed-radial-gradients-expected.png: Added property svn:mime-type.
        * platform/chromium-linux/fast/gradients/unprefixed-radial-gradients2-expected.png: Added property svn:mime-type.
        * platform/chromium-linux/fast/gradients/unprefixed-repeating-linear-gradient-expected.png: Added property svn:mime-type.
        * platform/chromium-linux/fast/gradients/unprefixed-repeating-radial-gradients-expected.png: Added property svn:mime-type.
        * platform/chromium-linux/fast/sub-pixel/transformed-iframe-copy-on-scroll-expected.png: Added property svn:mime-type.
        * platform/chromium-linux/platform/chromium-linux/compositing/gestures/gesture-tapHighlight-simple-nested-expected.png: Added property svn:mime-type.
        * platform/chromium-linux/platform/chromium/compositing/rounded-corners-expected.png: Added property svn:mime-type.
        * platform/chromium-linux/platform/chromium/virtual/softwarecompositing/video/video-controls-layer-creation-expected.png: Added property svn:mime-type.
        * platform/chromium-mac-lion/fast/inline/justify-emphasis-inline-box-expected.png: Added property svn:mime-type.
        * platform/chromium-mac/fast/forms/datetimelocal/datetimelocal-appearance-l10n-expected.png: Added property svn:mime-type.
        * platform/chromium-mac/fast/inline/justify-emphasis-inline-box-expected.png: Added property svn:mime-type.
        * platform/chromium-mac/platform/chromium/fast/forms/suggestion-picker/datetime-suggestion-picker-appearance-locale-hebrew-expected.png: Added property svn:mime-type.
        * platform/chromium-mac/platform/chromium/fast/forms/suggestion-picker/datetimelocal-suggestion-picker-appearance-locale-hebrew-expected.png: Added property svn:mime-type.
        * platform/chromium-mac/platform/chromium/fast/forms/suggestion-picker/time-suggestion-picker-appearance-locale-hebrew-expected.png: Added property svn:mime-type.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@140507 268f45cc-cd09-0410-ab3c-d52691b4dbfc

6 years agonon-ENABLE(DETAILS_ELEMENT) build fails.
morrita@google.com [Wed, 23 Jan 2013 05:52:06 +0000 (05:52 +0000)]
non-ENABLE(DETAILS_ELEMENT) build fails.
https://bugs.webkit.org/show_bug.cgi?id=107626

Reviewed by Kent Tamura.

No new tests, build configuration change.

* rendering/RenderObject.h:
(RenderObject): Added a missing condition.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@140506 268f45cc-cd09-0410-ab3c-d52691b4dbfc

6 years agoWhitelist should also work for the WebVTT ::cue element without an argument
commit-queue@webkit.org [Wed, 23 Jan 2013 05:50:15 +0000 (05:50 +0000)]
Whitelist should also work for the WebVTT ::cue element without an argument
https://bugs.webkit.org/show_bug.cgi?id=107488

Source/WebCore:

Patch by Dima Gorbik <dgorbik@apple.com> on 2013-01-22
Reviewed by Andreas Kling.

Apply filtering if the cue shadow pseudoId is set on the selector.

Existing tests were modified to cover this case.

* css/RuleSet.cpp:
(WebCore::determinePropertyWhitelistType):
* html/shadow/MediaControlElements.cpp:
(WebCore::MediaControlTextTrackContainerElement::createSubtrees):
* html/track/TextTrackCue.h:
(WebCore::TextTrackCue::cueShadowPseudoId):

LayoutTests:

Patch by Dima Gorbik <dgorbik@apple.com> on 2013-01-22
Reviewed by Andreas Kling.

* media/track/track-css-property-whitelist-expected.txt:
* media/track/track-css-property-whitelist.html:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@140505 268f45cc-cd09-0410-ab3c-d52691b4dbfc

6 years agoConvert CSE phase to not rely too much on NodeIndex
fpizlo@apple.com [Wed, 23 Jan 2013 05:35:23 +0000 (05:35 +0000)]
Convert CSE phase to not rely too much on NodeIndex
https://bugs.webkit.org/show_bug.cgi?id=107616

Reviewed by Geoffrey Garen.

- Instead of looping over the graph (which assumes that you can simply loop over all
  nodes without considering blocks first) to reset node.replacement, do that in the
  loop that sets up relevantToOSR, just before running CSE on the block.

- Instead of having a relevantToOSR bitvector indexed by NodeIndex, made
  NodeRelevantToOSR be a NodeFlag. We had exactly one bit left in NodeFlags, so I did
  some reshuffling to fit it in.

* dfg/DFGCSEPhase.cpp:
(JSC::DFG::CSEPhase::CSEPhase):
(JSC::DFG::CSEPhase::eliminateIrrelevantPhantomChildren):
(JSC::DFG::CSEPhase::performNodeCSE):
(JSC::DFG::CSEPhase::performBlockCSE):
(CSEPhase):
* dfg/DFGNodeFlags.h:
(DFG):
* dfg/DFGNodeType.h:
(DFG):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@140504 268f45cc-cd09-0410-ab3c-d52691b4dbfc

6 years agoMake MediaQueryEvaluator(bool) constructor explicit.
hayato@chromium.org [Wed, 23 Jan 2013 05:14:42 +0000 (05:14 +0000)]
Make MediaQueryEvaluator(bool) constructor explicit.
https://bugs.webkit.org/show_bug.cgi?id=107620

Reviewed by Hajime Morita.

No new tests: no change in behavior.

* css/MediaQueryEvaluator.h:
(MediaQueryEvaluator):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@140503 268f45cc-cd09-0410-ab3c-d52691b4dbfc

6 years ago[Chromium] Layout test calendar-picker-mouse-operations.html is flaky
tkent@chromium.org [Wed, 23 Jan 2013 04:34:55 +0000 (04:34 +0000)]
[Chromium] Layout test calendar-picker-mouse-operations.html is flaky
https://bugs.webkit.org/show_bug.cgi?id=107423

* platform/chromium/TestExpectations:
Update the bug URL.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@140502 268f45cc-cd09-0410-ab3c-d52691b4dbfc

6 years ago[Chromium] Fix calendar-picker-key-operations.html
tkent@chromium.org [Wed, 23 Jan 2013 04:21:04 +0000 (04:21 +0000)]
[Chromium] Fix calendar-picker-key-operations.html
https://bugs.webkit.org/show_bug.cgi?id=101408

Reviewed by Kentaro Hara.

* platform/chromium/TestExpectations:
* platform/chromium/fast/forms/calendar-picker/calendar-picker-key-operations.html:
We need to apply the waitUntilClosing idiom because picker closing
operation is asynchronous.
* platform/chromium-win/platform/chromium/fast/forms/calendar-picker/calendar-picker-key-operations-expected.txt:
Fix a failure.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@140501 268f45cc-cd09-0410-ab3c-d52691b4dbfc

6 years agoUnreviewed. Remove a wrong entry from platfrom/chromium/TestExpectations
yosin@chromium.org [Wed, 23 Jan 2013 04:04:25 +0000 (04:04 +0000)]
Unreviewed. Remove a wrong entry from platfrom/chromium/TestExpectations

* platform/chromium/TestExpectations: Remove an entry for fast/forms/associated-element-crash.html

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@140500 268f45cc-cd09-0410-ab3c-d52691b4dbfc

6 years ago[chromium] Add WebDiscardableMemory to platform
nduca@chromium.org [Wed, 23 Jan 2013 03:37:04 +0000 (03:37 +0000)]
[chromium] Add WebDiscardableMemory to platform
https://bugs.webkit.org/show_bug.cgi?id=107183

Reviewed by James Robinson.

WebDiscardable provides a wrapper around memory that can be
relcaimed by the underlying kernel when it is under heavy memory
pressure. This will be used in a followup patch in the Chromium
image decoding store for decoded/resized images.

* Platform.gypi:
* chromium/public/Platform.h:
(WebKit):
(Platform):
(WebKit::Platform::allocateDiscardableMemory):
* chromium/public/WebDiscardableMemory.h: Added.
(WebKit):
(WebDiscardableMemory):
(WebKit::WebDiscardableMemory::~WebDiscardableMemory):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@140499 268f45cc-cd09-0410-ab3c-d52691b4dbfc

6 years agoSource/WebCore: Use a platform strategy for local storage
andersca@apple.com [Wed, 23 Jan 2013 03:07:08 +0000 (03:07 +0000)]
Source/WebCore: Use a platform strategy for local storage
https://bugs.webkit.org/show_bug.cgi?id=107600

Reviewed by Andreas Kling.

* CMakeLists.txt:
* GNUmakefile.list.am:
* WebCore.exp.in:
* WebCore.gypi:
* WebCore.vcproj/WebCore.vcproj:
* WebCore.xcodeproj/project.pbxproj:
Add new files.

* platform/PlatformStrategies.h:
Add a way to create/get the storage strategy.

* storage/StorageNamespace.cpp:
(WebCore::StorageNamespace::localStorageNamespace):
(WebCore::StorageNamespace::sessionStorageNamespace):
Call the storage strategy.

* storage/StorageNamespace.h:
* storage/StorageStrategy.cpp: Added.
(WebCore::StorageStrategy::localStorageNamespace):
(WebCore::StorageStrategy::sessionStorageNamespace):
Call through to StorageNamespaceImpl.

* storage/StorageStrategy.h: Added.

Source/WebKit/efl: Use a platforom strategy for local storage
https://bugs.webkit.org/show_bug.cgi?id=107600

Reviewed by Andreas Kling.

Update for new storage strategy.

* WebCoreSupport/PlatformStrategiesEfl.cpp:
(PlatformStrategiesEfl::createStorageStrategy):
* WebCoreSupport/PlatformStrategiesEfl.h:
(PlatformStrategiesEfl):

Source/WebKit/gtk: Use a platforom strategy for local storage
https://bugs.webkit.org/show_bug.cgi?id=107600

Reviewed by Andreas Kling.

Update for new storage strategy.

* WebCoreSupport/PlatformStrategiesGtk.cpp:
(PlatformStrategiesGtk::createStorageStrategy):
* WebCoreSupport/PlatformStrategiesGtk.h:
(PlatformStrategiesGtk):

Source/WebKit/mac: Use a platforom strategy for local storage
https://bugs.webkit.org/show_bug.cgi?id=107600

Reviewed by Andreas Kling.

Update for new storage strategy.

* WebCoreSupport/WebPlatformStrategies.h:
(WebPlatformStrategies):
* WebCoreSupport/WebPlatformStrategies.mm:
(WebPlatformStrategies::createStorageStrategy):

Source/WebKit/qt: Use a platforom strategy for local storage
https://bugs.webkit.org/show_bug.cgi?id=107600

Reviewed by Andreas Kling.

Update for new storage strategy.

* WebCoreSupport/PlatformStrategiesQt.cpp:
(PlatformStrategiesQt::createStorageStrategy):
* WebCoreSupport/PlatformStrategiesQt.h:
(PlatformStrategiesQt):

Source/WebKit/win: Use a platforom strategy for local storage
https://bugs.webkit.org/show_bug.cgi?id=107600

Reviewed by Andreas Kling.

Update for new storage strategy.

* WebCoreSupport/WebPlatformStrategies.cpp:
(WebPlatformStrategies::createStorageStrategy):
* WebCoreSupport/WebPlatformStrategies.h:
(WebPlatformStrategies):

Source/WebKit/wince: Use a platforom strategy for local storage
https://bugs.webkit.org/show_bug.cgi?id=107600

Reviewed by Andreas Kling.

Update for new storage strategy.

* WebCoreSupport/PlatformStrategiesWinCE.cpp:
(PlatformStrategiesWinCE::createStorageStrategy):
* WebCoreSupport/PlatformStrategiesWinCE.h:
(PlatformStrategiesWinCE):

Source/WebKit2: Use a platforom strategy for local storage
https://bugs.webkit.org/show_bug.cgi?id=107600

Reviewed by Andreas Kling.

Update for new storage strategy.

* WebProcess/WebCoreSupport/WebPlatformStrategies.cpp:
(WebKit::WebPlatformStrategies::createStorageStrategy):
(WebKit):
* WebProcess/WebCoreSupport/WebPlatformStrategies.h:
(WebPlatformStrategies):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@140498 268f45cc-cd09-0410-ab3c-d52691b4dbfc

6 years agoOptimize the texture packing for texImage2D() and texSubImage2D() in WebGL
commit-queue@webkit.org [Wed, 23 Jan 2013 02:58:32 +0000 (02:58 +0000)]
Optimize the texture packing for texImage2D() and texSubImage2D() in WebGL
https://bugs.webkit.org/show_bug.cgi?id=105821

Patch by Jun Jiang <jun.a.jiang@intel.com> on 2013-01-22
Reviewed by Kenneth Russell.

The original texture packing code uses function pointers to denote each unpack and pack operations for different combination of Source formats,
Destination formats and Alpha Operations. It could be made cleaner and simpler. In this patch, template functions are used and try best to avoid
generating useless code for unreachable path to avoid code bloat. Moreover, the flipY operation is moved into the pack operation instead of
operating in a standalone method to improve performance.

Already covered by current test.

* html/canvas/WebGLRenderingContext.cpp:
(WebCore):
(WebCore::WebGLRenderingContext::texImage2DImpl):
(WebCore::WebGLRenderingContext::texSubImage2DImpl):
* platform/graphics/GraphicsContext3D.cpp:
(WebCore::GraphicsContext3D::packImageData):
(WebCore::GraphicsContext3D::extractImageData):
(WebCore::GraphicsContext3D::extractTextureData):
(WebCore):
(WebCore::GraphicsContext3D::packPixels):
* platform/graphics/GraphicsContext3D.h:
(WebCore::GraphicsContext3D::srcFormatComeFromDOMElementOrImageData):
(GraphicsContext3D):
(WebCore::GraphicsContext3D::ImageExtractor::imageSourceFormat):
(ImageExtractor):
* platform/graphics/cairo/GraphicsContext3DCairo.cpp:
(WebCore::GraphicsContext3D::ImageExtractor::extractImage):
* platform/graphics/cg/GraphicsContext3DCG.cpp:
(WebCore::getSourceDataFormat):
(WebCore::GraphicsContext3D::ImageExtractor::extractImage):
* platform/graphics/efl/GraphicsContext3DEfl.cpp:
(WebCore::GraphicsContext3D::ImageExtractor::extractImage):
* platform/graphics/qt/GraphicsContext3DQt.cpp:
(WebCore::GraphicsContext3D::ImageExtractor::extractImage):
* platform/graphics/skia/GraphicsContext3DSkia.cpp:
(WebCore::GraphicsContext3D::ImageExtractor::extractImage):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@140497 268f45cc-cd09-0410-ab3c-d52691b4dbfc

6 years agoFlakiness dashboard: update builders.jsonp
commit-queue@webkit.org [Wed, 23 Jan 2013 02:58:12 +0000 (02:58 +0000)]
Flakiness dashboard: update builders.jsonp
https://bugs.webkit.org/show_bug.cgi?id=107610

Patch by Frank Farzan <frankf@chromium.org> on 2013-01-22
Reviewed by Ojan Vafai.

* TestResultServer/static-dashboards/builders.jsonp:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@140496 268f45cc-cd09-0410-ab3c-d52691b4dbfc

6 years ago[Chromium] Expose didCommitCompositorFrame in WebWidgetClient.
leandrogracia@chromium.org [Wed, 23 Jan 2013 02:25:05 +0000 (02:25 +0000)]
[Chromium] Expose didCommitCompositorFrame in WebWidgetClient.
https://bugs.webkit.org/show_bug.cgi?id=107325

Reviewed by James Robinson.

Add a notification on WebWidgetClient called when the compositor commits a frame.

* public/WebWidgetClient.h:
(WebWidgetClient):
(WebKit::WebWidgetClient::didCommitCompositorFrame):
* src/WebViewImpl.cpp:
(WebKit::WebViewImpl::didCommit):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@140495 268f45cc-cd09-0410-ab3c-d52691b4dbfc

6 years agoAdd Android instrumentation tests from ChromiumLinux waterfall
commit-queue@webkit.org [Wed, 23 Jan 2013 02:02:27 +0000 (02:02 +0000)]
Add Android instrumentation tests from ChromiumLinux waterfall
https://bugs.webkit.org/show_bug.cgi?id=107597

Patch by Frank Farzan <frankf@chromium.org> on 2013-01-22
Reviewed by Ojan Vafai.

* TestResultServer/static-dashboards/builders.js:
(loadBuildersList):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@140494 268f45cc-cd09-0410-ab3c-d52691b4dbfc

6 years agoImplement UIEvent constructor
haraken@chromium.org [Wed, 23 Jan 2013 01:50:02 +0000 (01:50 +0000)]
Implement UIEvent constructor
https://bugs.webkit.org/show_bug.cgi?id=107430

Reviewed by Adam Barth.

Editor's draft: https://dvcs.w3.org/hg/d4e/raw-file/tip/source_respec.htm

UIEvent constructor is implemented under a DOM4_EVENTS_CONSTRUCTOR flag,
which is enabled on Safari and Chromium for now.

Source/JavaScriptCore:

* Configurations/FeatureDefines.xcconfig:

Source/WebCore:

Test: fast/events/constructors/ui-event-constructor.html

* Configurations/FeatureDefines.xcconfig:
* bindings/scripts/CodeGeneratorV8.pm:
(GenerateHeader):
* bindings/scripts/test/V8/V8TestInterface.h:
(V8TestInterface):
* dom/UIEvent.cpp:
(WebCore::UIEventInit::UIEventInit):
(WebCore):
(WebCore::UIEvent::UIEvent):
* dom/UIEvent.h:
(WebCore):
(UIEventInit):
(UIEvent):
(WebCore::UIEvent::create):
(WebCore::UIEvent::view):
(WebCore::UIEvent::detail):
(FocusInEventDispatchMediator):
(FocusOutEventDispatchMediator):
* dom/UIEvent.idl:

Source/WebKit/chromium:

* features.gypi:

Source/WebKit/mac:

* Configurations/FeatureDefines.xcconfig:

Source/WebKit2:

* Configurations/FeatureDefines.xcconfig:

Tools:

* Scripts/webkitperl/FeatureList.pm:

LayoutTests:

* fast/events/constructors/ui-event-constructor-expected.txt: Added.
* fast/events/constructors/ui-event-constructor.html: Added.
* platform/efl/TestExpectations:
* platform/gtk/TestExpectations:
* platform/qt/TestExpectations:
* platform/win/TestExpectations:
* platform/wincairo/TestExpectations:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@140493 268f45cc-cd09-0410-ab3c-d52691b4dbfc

6 years ago[EFL][WebGL] Enable WebGL LayoutTests.
commit-queue@webkit.org [Wed, 23 Jan 2013 01:43:18 +0000 (01:43 +0000)]
[EFL][WebGL] Enable WebGL LayoutTests.
https://bugs.webkit.org/show_bug.cgi?id=107485

Patch by Kondapally Kalyan <kalyan.kondapally@intel.com> on 2013-01-22
Reviewed by Laszlo Gombos.

This patch enables WebGL LayoutTests for Efl Port.

* platform/efl/TestExpectations:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@140492 268f45cc-cd09-0410-ab3c-d52691b4dbfc

6 years agoAdd functions to ChangeLog - parse bug desc/changed functions, delete/prepend entries
commit-queue@webkit.org [Wed, 23 Jan 2013 01:36:37 +0000 (01:36 +0000)]
Add functions to ChangeLog - parse bug desc/changed functions, delete/prepend entries
https://bugs.webkit.org/show_bug.cgi?id=107478

Patch by Timothy Loh <timloh@chromium.com> on 2013-01-22
Reviewed by Eric Seidel.

On the road to resolving Bug 74358, we need a few more functions in
changelog.py.
To make things easier to mock, change @staticmethods to @classmethods.

* Scripts/webkitpy/common/checkout/changelog.py:
(ChangeLogEntry):
(ChangeLogEntry._parse_reviewer_text):
(ChangeLogEntry._split_contributor_names):
(ChangeLogEntry._parse_author_name_and_email):
(ChangeLogEntry._parse_author_text):
(ChangeLogEntry._parse_touched_functions):
(ChangeLogEntry._parse_bug_description):
(ChangeLogEntry._parse_entry):
(ChangeLogEntry.date_line):
(ChangeLogEntry.bug_description):
(ChangeLogEntry.touched_functions):
(ChangeLogEntry.touched_files_text):
(ChangeLogEntry.is_touched_files_text_clean):
(ChangeLog):
(ChangeLog.parse_latest_entry_from_file):
(ChangeLog._separate_revision_and_line):
(ChangeLog.parse_entries_from_file):
(ChangeLog.set_short_description_and_bug_url):
(ChangeLog.delete_entries):
(ChangeLog.prepend_text):
* Scripts/webkitpy/common/checkout/changelog_unittest.py:
(test_parse_log_entries_from_changelog):
(test_latest_entry_parse):
(test_set_short_description_and_bug_url):
(test_delete_entries):
(test_prepend_text):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@140491 268f45cc-cd09-0410-ab3c-d52691b4dbfc

6 years ago[chromium] webaudio/realtimeanalyser-fft-sizing.html is failing on Win7
noel.gordon@gmail.com [Wed, 23 Jan 2013 01:35:26 +0000 (01:35 +0000)]
[chromium] webaudio/realtimeanalyser-fft-sizing.html is failing on Win7
https://bugs.webkit.org/show_bug.cgi?id=107581

Unreviewed gardening.

Results on all win platforms match the generic expected result (so use that).

* platform/chromium-linux/webaudio/realtimeanalyser-fft-sizing-expected.txt: Removed.
* platform/chromium-win-xp/webaudio/realtimeanalyser-fft-sizing-expected.txt: Removed.
* platform/chromium-win/webaudio/realtimeanalyser-fft-sizing-expected.txt: Removed.
* platform/chromium/TestExpectations:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@140490 268f45cc-cd09-0410-ab3c-d52691b4dbfc

6 years agoIndexedDB: Remove IDBKey from WebKitIDL
jsbell@chromium.org [Wed, 23 Jan 2013 01:15:13 +0000 (01:15 +0000)]
IndexedDB: Remove IDBKey from WebKitIDL
https://bugs.webkit.org/show_bug.cgi?id=97375

Reviewed by Kentaro Hara.

Now that references to the artificial IDBKey type have been removed from all IDLs, remove
the support code, and move the conversion code into the IDBBindingUtilities. Removes
references to the autogenerated {V8,JS}IDBKey{Custom,}.{cpp,h} from the project files.

No new tests - just code moves/removing unused code. Updated binding reference test results.

* CMakeLists.txt:
* DerivedSources.cpp:
* DerivedSources.make:
* DerivedSources.pri:
* GNUmakefile.list.am:
* Modules/indexeddb/IDBKey.idl: Removed.
* Target.pri:
* UseJSC.cmake:
* UseV8.cmake:
* WebCore.gypi:
* WebCore.vcproj/WebCore.vcproj:
* WebCore.xcodeproj/project.pbxproj:
* bindings/js/IDBBindingUtilities.cpp:
(WebCore::toJS): Moved here from JSIDBKeyCustom.cpp
(WebCore):
* bindings/js/JSIDBKeyCustom.cpp: Removed.
* bindings/scripts/CodeGeneratorJS.pm:
(JSValueToNative):
* bindings/scripts/CodeGeneratorV8.pm:
(GenerateFunctionCallString):
(GetNativeType):
(JSValueToNative):
* bindings/scripts/test/CPP/WebDOMTestObj.cpp:
* bindings/scripts/test/CPP/WebDOMTestObj.h:
* bindings/scripts/test/GObject/WebKitDOMTestObj.cpp:
* bindings/scripts/test/GObject/WebKitDOMTestObj.h:
* bindings/scripts/test/JS/JSTestObj.cpp:
* bindings/scripts/test/JS/JSTestObj.h:
* bindings/scripts/test/ObjC/DOMTestObj.h:
* bindings/scripts/test/ObjC/DOMTestObj.mm:
* bindings/scripts/test/TestObj.idl: Removed IDBKey-specific test.
* bindings/scripts/test/V8/V8TestObj.cpp:
* bindings/v8/IDBBindingUtilities.cpp:
(WebCore::toV8): Moved here from V8IDBKeyCustom.cpp
(WebCore):
* bindings/v8/custom/V8IDBKeyCustom.cpp: Removed.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@140488 268f45cc-cd09-0410-ab3c-d52691b4dbfc

6 years agoUnreviewed VS2010 build fix following r140259.
roger_fong@apple.com [Wed, 23 Jan 2013 01:06:01 +0000 (01:06 +0000)]
Unreviewed VS2010 build fix following r140259.

* JavaScriptCore.vcxproj/JavaScriptCore.vcxproj:
* JavaScriptCore.vcxproj/JavaScriptCore.vcxproj.filters:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@140487 268f45cc-cd09-0410-ab3c-d52691b4dbfc

6 years ago Move sandbox initialization to ChildProcess
ap@apple.com [Wed, 23 Jan 2013 00:35:53 +0000 (00:35 +0000)]
    Move sandbox initialization to ChildProcess
        https://bugs.webkit.org/show_bug.cgi?id=107486

        Reviewed by Sam Weinig.

        * NetworkProcess/NetworkProcess.h:
        * NetworkProcess/NetworkProcess.cpp:
        (WebKit::NetworkProcess::initializeSandbox): Removed. We no longer need this function
        to be implemented in each process type.

        * NetworkProcess/mac/NetworkProcessMac.mm:
        (WebKit::initializeSandbox): Removed a custom (and incomplete) implementation.
        (WebKit::NetworkProcess::processUpdateSandboxInitializationParameters): Clear
        sandbox profile path in parameters, telling ChildProcess to not enter a sandbox.

        * PluginProcess/PluginProcess.h:
        * PluginProcess/mac/PluginProcessMac.mm:
        Added FIXMEs, saying that we should switch to ChildProcess implementation.

        * Shared/ChildProcess.cpp: Dummy implementations for other platforms.

        * Shared/ChildProcess.h: Added processUpdateSandboxInitializationParameters, which
        child processes will override to change sandbox initialization parameters.

        * Shared/SandboxInitializationParameters.h: Added.
        * Shared/mac/SandboxInitialiationParametersMac.mm: Added.
        Abstracts out sandbox parameter vector for coding safety. Encapsulates other
        things that subclasses will want to do differently.

        * Shared/mac/ChildProcessMac.mm: (WebKit::ChildProcess::initializeSandbox):
        Added a shared implementation, based largely on WebProcess version.

        * SharedWorkerProcess/mac/SharedWorkerProcessMac.mm: Removed custom sandboxing code.

        * WebKit2.xcodeproj/project.pbxproj: Added SandboxInitializationParameters files.

        * WebProcess/WebProcess.cpp:
        * WebProcess/WebProcess.h:
        Updated dummy implementations to match ChildProcess.

        * WebProcess/mac/WebProcessMac.mm:
        (WebKit): Moved sandboxing code to ChildProcess.
        (WebKit::WebProcess::processUpdateSandboxInitializationParameters): Override
        profile path, because default one doesn't work for WebProcessService.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@140486 268f45cc-cd09-0410-ab3c-d52691b4dbfc

6 years agoFix assertions in make8BitFrom16BitSource() with threaded parser
tonyg@chromium.org [Wed, 23 Jan 2013 00:06:35 +0000 (00:06 +0000)]
Fix assertions in make8BitFrom16BitSource() with threaded parser
https://bugs.webkit.org/show_bug.cgi?id=107596

Reviewed by Adam Barth.

This fixes an assertion in several fast/parser tests. We need to keep track of whether the data is all 8bit.
Luckily this doesn't cost us any size on CompactHTMLToken because the bitfields are collapsed (verified by COMPILE_ASSERT).

No new tests because covered by existing fast/parser tests.

* html/parser/CompactHTMLToken.cpp:
(WebCore::CompactHTMLToken::CompactHTMLToken):
* html/parser/CompactHTMLToken.h:
(WebCore::CompactHTMLToken::isAll8BitData):
(CompactHTMLToken):
* html/parser/HTMLToken.h:
(WebCore::AtomicHTMLToken::AtomicHTMLToken):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@140485 268f45cc-cd09-0410-ab3c-d52691b4dbfc

6 years agoFix ASSERT(!hasInsertionPoint()) in threaded HTML parser
tonyg@chromium.org [Wed, 23 Jan 2013 00:03:01 +0000 (00:03 +0000)]
Fix ASSERT(!hasInsertionPoint()) in threaded HTML parser
https://bugs.webkit.org/show_bug.cgi?id=107593

Reviewed by Adam Barth.

Prior to this patch, several fast/parser tests hit ASSERT(!hasInsertionPoint()) in prepareToStopParsing().
That was because hasInsertionPoint() checks m_input.haveSeenEndOfFile() which was skipped for the threaded
parser case. This patch causes us to call markEndOfFile().

No new tests because covered by existing fast/parser tests.

* html/parser/HTMLDocumentParser.cpp:
(WebCore::HTMLDocumentParser::didReceiveTokensFromBackgroundParser): This FIXME was done in a previous patch.
(WebCore::HTMLDocumentParser::finish):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@140484 268f45cc-cd09-0410-ab3c-d52691b4dbfc

6 years agoPrevent race condition during Worker shutdown
jsbell@chromium.org [Tue, 22 Jan 2013 23:45:45 +0000 (23:45 +0000)]
Prevent race condition during Worker shutdown
https://bugs.webkit.org/show_bug.cgi?id=107577

Reviewed by Dmitry Titov.

Source/WebCore:

During worker shutdown, from the main thread a cleanup task is posted followed by
terminating the message queue, which prevents further tasks from being processed. It was
possible for another task be posted by another thread between the main thread calls
to postTask and terminate(), which would cause that task to run after cleanup. Expose
a new WTF::MessageQueue::appendAndKill() method which keeps a mutex around the two steps,
and use that during worker shutdown.

No reliable tests for the race - problem identified by inspection of user crash stacks.

* workers/WorkerRunLoop.cpp:
(WebCore::WorkerRunLoop::postTaskAndTerminate): New method, uses MessageQueue::appendAndKill()
* workers/WorkerRunLoop.h:
* workers/WorkerThread.cpp:
(WebCore::WorkerThread::stop): Uses postTaskAndTerminate() to avoid race.

Source/WTF:

Add MessageQueue::appendAndKill() which wraps those two steps with a mutex so other
threads can't sneak a message in between.

* wtf/MessageQueue.h: Added appendAndKill() method.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@140483 268f45cc-cd09-0410-ab3c-d52691b4dbfc

6 years agoUnreviewed, rolling out r140171.
tony@chromium.org [Tue, 22 Jan 2013 23:44:27 +0000 (23:44 +0000)]
Unreviewed, rolling out r140171.
http://trac.webkit.org/changeset/140171
https://bugs.webkit.org/show_bug.cgi?id=107193

Regressed scrollable region size in other cases.

Source/WebCore:

* rendering/RenderBlock.cpp:
(WebCore::RenderBlock::simplifiedLayout):

LayoutTests:

* fast/overflow/height-during-simplified-layout-expected.txt: Removed.
* fast/overflow/height-during-simplified-layout.html: Removed.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@140482 268f45cc-cd09-0410-ab3c-d52691b4dbfc

6 years ago [WK2] WebProcessService is not terminated when page is closed
ap@apple.com [Tue, 22 Jan 2013 23:36:58 +0000 (23:36 +0000)]
    [WK2] WebProcessService is not terminated when page is closed
        https://bugs.webkit.org/show_bug.cgi?id=107595

        Reviewed by Anders Carlsson.

        * platform/mac/RunLoopMac.mm: (WebCore::RunLoop::stop): Allow stopping XPC service
        run loop. Also, harmonized NSApp vs. [NSApplication sharedApplication] usage.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@140481 268f45cc-cd09-0410-ab3c-d52691b4dbfc

6 years ago[CSS Grid Layout] Add grid.css to hold the common grid testing code
jchaffraix@webkit.org [Tue, 22 Jan 2013 23:33:18 +0000 (23:33 +0000)]
[CSS Grid Layout] Add grid.css to hold the common grid testing code
https://bugs.webkit.org/show_bug.cgi?id=107044

Reviewed by Tony Chang.

* fast/css-grid-layout/containing-block-grids.html:
Removed 2 bad display: none rules that where overriden by
the inline style declaration.

* fast/css-grid-layout/minmax-fixed-logical-height-only.html:
* fast/css-grid-layout/breadth-size-resolution-grid.html:
* fast/css-grid-layout/calc-resolution-grid-item.html:
* fast/css-grid-layout/display-grid-set-get.html:
* fast/css-grid-layout/grid-columns-rows-get-set-multiple.html:
* fast/css-grid-layout/grid-columns-rows-get-set.html:
* fast/css-grid-layout/grid-element-padding-margin.html:
* fast/css-grid-layout/minmax-fixed-logical-width-only.html:
* fast/css-grid-layout/minmax-min-content-column-resolution-columns.html:
* fast/css-grid-layout/minmax-min-content-column-resolution-rows.html:
* fast/css-grid-layout/percent-grid-item-in-percent-grid-track-in-percent-grid.html:
* fast/css-grid-layout/percent-grid-item-in-percent-grid-track-update.html:
* fast/css-grid-layout/percent-grid-item-in-percent-grid-track.html:
* fast/css-grid-layout/percent-padding-margin-resolution-grid-item-update.html:
* fast/css-grid-layout/percent-padding-margin-resolution-grid-item.html:
* fast/css-grid-layout/percent-resolution-grid-item.html:
* fast/css-grid-layout/place-cell-by-index.html:
Updated all the files above to:
- use grid.css.
- rename 'a', 'b', 'c' and 'd' to more meaningful.
- change the previous ids to be classes as we ended up having several divs with the same id.

* fast/css-grid-layout/resources/grid.css: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@140480 268f45cc-cd09-0410-ab3c-d52691b4dbfc

6 years agoREGRESION(r130774): preferred width of tables does not take max-width into account
ojan@chromium.org [Tue, 22 Jan 2013 23:28:02 +0000 (23:28 +0000)]
REGRESION(r130774): preferred width of tables does not take max-width into account
https://bugs.webkit.org/show_bug.cgi?id=107576

Reviewed by Tony Chang.

Source/WebCore:

Constrain preferred widths by min/max the way we do in other
RenderBlock subclasses. Eventually, we'll shared the code with
RenderBlock, but this is an incremental step in that direction
that we can safely merge into release branches.

Test: fast/table/min-max-width-preferred-size.html

* rendering/RenderTable.cpp:
(WebCore::RenderTable::computePreferredLogicalWidths):

LayoutTests:

* fast/table/min-max-width-preferred-size-expected.txt: Added.
* fast/table/min-max-width-preferred-size.html: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@140479 268f45cc-cd09-0410-ab3c-d52691b4dbfc

6 years agoThe BackgroundHTMLParser shouldn't pause when waiting for scripts
abarth@webkit.org [Tue, 22 Jan 2013 23:14:56 +0000 (23:14 +0000)]
The BackgroundHTMLParser shouldn't pause when waiting for scripts
https://bugs.webkit.org/show_bug.cgi?id=107584

Reviewed by Eric Seidel.

Previously, the BackgroundHTMLParser would pause itself when it
encountered a scrip tag and wait for a signal from the main thread to
continue. After this patch, the BackgroundHTMLParser continues ahead
and the main thread keeps a queue of pending tokens.

This patch brings us closer to speculative parsing because when the
BackgroundHTMLParser is continuing ahead, it is speculating that it is
in the correct state. A future patch will let us abort incorret
speculations and resume from an eariler point in the input stream.

* html/parser/BackgroundHTMLParser.cpp:
(WebCore::checkThatTokensAreSafeToSendToAnotherThread):
(WebCore::BackgroundHTMLParser::BackgroundHTMLParser):
(WebCore::BackgroundHTMLParser::simulateTreeBuilder):
(WebCore::BackgroundHTMLParser::pumpTokenizer):
(WebCore::TokenDelivery::TokenDelivery):
(TokenDelivery):
(WebCore::TokenDelivery::execute):
(WebCore::BackgroundHTMLParser::sendTokensToMainThread):
* html/parser/BackgroundHTMLParser.h:
(BackgroundHTMLParser):
* html/parser/CompactHTMLToken.h:
(WebCore):
* html/parser/HTMLDocumentParser.cpp:
(WebCore::HTMLDocumentParser::didReceiveTokensFromBackgroundParser):
(WebCore):
(WebCore::HTMLDocumentParser::processTokensFromBackgroundParser):
(WebCore::HTMLDocumentParser::resumeParsingAfterScriptExecution):
* html/parser/HTMLDocumentParser.h:
(HTMLDocumentParser):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@140478 268f45cc-cd09-0410-ab3c-d52691b4dbfc

6 years ago[BlackBerry] GIF & RAF animations sometimes don't resume after zoom
commit-queue@webkit.org [Tue, 22 Jan 2013 23:13:58 +0000 (23:13 +0000)]
[BlackBerry] GIF & RAF animations sometimes don't resume after zoom
https://bugs.webkit.org/show_bug.cgi?id=107590

Patch by Andrew Lo <anlo@rim.com> on 2013-01-22
Reviewed by Rob Buis.
Internally reviewed by Jakob Petsovits.

Internal PR 276907.
Dispatch render jobs when resuming backing store updates to perform jobs
queued when updates were suspended.

* Api/BackingStore.cpp:
(BlackBerry::WebKit::BackingStorePrivate::resumeBackingStoreUpdates):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@140477 268f45cc-cd09-0410-ab3c-d52691b4dbfc

6 years agoCreate a MAC EWS startup shell script.
lforschler@apple.com [Tue, 22 Jan 2013 23:13:33 +0000 (23:13 +0000)]
Create a MAC EWS startup shell script.

Reviewed by Ryosuke Niwa.

* EWSTools/start-queue-mac.sh: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@140476 268f45cc-cd09-0410-ab3c-d52691b4dbfc

6 years agoFix scrollperf logging
simon.fraser@apple.com [Tue, 22 Jan 2013 23:03:28 +0000 (23:03 +0000)]
Fix scrollperf logging
https://bugs.webkit.org/show_bug.cgi?id=107589

Reviewed by Tim Horton.

The scrollperf logging had two issues:

1. It relied on a paint logging a "filled" event, but it's possible
for existing tiles to be moved into the viewport and filling it, so
we need to log from the scrolling thread both when we have unfilled pixels,
and when the last scroll revealed unfilled pixels.

2. On some pages, z-index:-1 elements behind the body cause the root
TileCache to have drawsContent set to false, so none of its tiles paint. In
that case, the check for a non-zero paintCount in TileCache::blankPixelCountForTiles()
was wrong; we don't think there's a way to have an unpainted tile in the tree.

Also fix the signature of blankPixelCountForTiles() to take references.

* page/scrolling/mac/ScrollingTreeScrollingNodeMac.h:
(ScrollingTreeScrollingNodeMac):
* page/scrolling/mac/ScrollingTreeScrollingNodeMac.mm:
(WebCore::ScrollingTreeScrollingNodeMac::ScrollingTreeScrollingNodeMac):
(WebCore::ScrollingTreeScrollingNodeMac::logExposedUnfilledArea):
* platform/graphics/ca/mac/TileCache.h:
* platform/graphics/ca/mac/TileCache.mm:
(WebCore::TileCache::blankPixelCountForTiles):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@140475 268f45cc-cd09-0410-ab3c-d52691b4dbfc

6 years agosputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A7.2.html is crashing
msaboff@apple.com [Tue, 22 Jan 2013 22:46:49 +0000 (22:46 +0000)]
sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A7.2.html is crashing
https://bugs.webkit.org/show_bug.cgi?id=90742

Unreviewed.  Test passes without any error or crashing.  Suspect
that the original issue has been resolved.

* platform/mac/TestExpectations:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@140474 268f45cc-cd09-0410-ab3c-d52691b4dbfc

6 years agoMake CompactHTMLToken a little more compact
hclam@chromium.org [Tue, 22 Jan 2013 22:46:35 +0000 (22:46 +0000)]
Make CompactHTMLToken a little more compact
https://bugs.webkit.org/show_bug.cgi?id=107317

Patch by Eric Seidel <eric@webkit.org> on 2013-01-22
Reviewed by Adam Barth.

The windows builders got sad because MSVC won't combine
adjacent bit-fields with different types.  Changing
bool to unsigned should fix the problem.

* html/parser/CompactHTMLToken.h:
(CompactHTMLToken):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@140473 268f45cc-cd09-0410-ab3c-d52691b4dbfc

6 years agoJavaScriptCore property sheets, project files and modified build scripts.
roger_fong@apple.com [Tue, 22 Jan 2013 22:39:57 +0000 (22:39 +0000)]
JavaScriptCore property sheets, project files and modified build scripts.
https://bugs.webkit.org/show_bug.cgi?id=106987

Reviewed by Brent Fulgham.

* JavaScriptCore.vcxproj: Added.
* JavaScriptCore.vcxproj/JavaScriptCore.resources: Added.
* JavaScriptCore.vcxproj/JavaScriptCore.resources/Info.plist: Added.
* JavaScriptCore.vcxproj/JavaScriptCore.vcxproj: Added.
* JavaScriptCore.vcxproj/JavaScriptCore.vcxproj.filters: Added.
* JavaScriptCore.vcxproj/JavaScriptCore.vcxproj.user: Added.
* JavaScriptCore.vcxproj/JavaScriptCoreCF.props: Added.
* JavaScriptCore.vcxproj/JavaScriptCoreCommon.props: Added.
* JavaScriptCore.vcxproj/JavaScriptCoreDebug.props: Added.
* JavaScriptCore.vcxproj/JavaScriptCoreExports.def: Added.
* JavaScriptCore.vcxproj/JavaScriptCoreGenerated.make: Added.
* JavaScriptCore.vcxproj/JavaScriptCoreGenerated.vcxproj: Added.
* JavaScriptCore.vcxproj/JavaScriptCoreGenerated.vcxproj.filters: Added.
* JavaScriptCore.vcxproj/JavaScriptCoreGenerated.vcxproj.user: Added.
* JavaScriptCore.vcxproj/JavaScriptCoreGeneratedCommon.props: Added.
* JavaScriptCore.vcxproj/JavaScriptCoreGeneratedDebug.props: Added.
* JavaScriptCore.vcxproj/JavaScriptCoreGeneratedRelease.props: Added.
* JavaScriptCore.vcxproj/JavaScriptCorePostBuild.cmd: Added.
* JavaScriptCore.vcxproj/JavaScriptCorePreBuild.cmd: Added.
* JavaScriptCore.vcxproj/JavaScriptCorePreLink.cmd: Added.
* JavaScriptCore.vcxproj/JavaScriptCoreRelease.props: Added.
* JavaScriptCore.vcxproj/LLInt.vcproj: Added.
* JavaScriptCore.vcxproj/LLInt.vcproj/LLIntAssembly: Added.
* JavaScriptCore.vcxproj/LLInt.vcproj/LLIntAssembly/LLIntAssembly.make: Added.
* JavaScriptCore.vcxproj/LLInt.vcproj/LLIntAssembly/LLIntAssembly.vcxproj: Added.
* JavaScriptCore.vcxproj/LLInt.vcproj/LLIntAssembly/LLIntAssembly.vcxproj.user: Added.
* JavaScriptCore.vcxproj/LLInt.vcproj/LLIntAssembly/build-LLIntAssembly.sh: Added.
* JavaScriptCore.vcxproj/LLInt.vcproj/LLIntDesiredOffsets: Added.
* JavaScriptCore.vcxproj/LLInt.vcproj/LLIntDesiredOffsets/LLIntDesiredOffsets.make: Added.
* JavaScriptCore.vcxproj/LLInt.vcproj/LLIntDesiredOffsets/LLIntDesiredOffsets.vcxproj: Added.
* JavaScriptCore.vcxproj/LLInt.vcproj/LLIntDesiredOffsets/LLIntDesiredOffsets.vcxproj.user: Added.
* JavaScriptCore.vcxproj/LLInt.vcproj/LLIntDesiredOffsets/build-LLIntDesiredOffsets.sh: Added.
* JavaScriptCore.vcxproj/LLInt.vcproj/LLIntOffsetsExtractor: Added.
* JavaScriptCore.vcxproj/LLInt.vcproj/LLIntOffsetsExtractor/LLIntOffsetsExtractor.vcxproj: Added.
* JavaScriptCore.vcxproj/LLInt.vcproj/LLIntOffsetsExtractor/LLIntOffsetsExtractor.vcxproj.user: Added.
* JavaScriptCore.vcxproj/LLInt.vcproj/LLIntOffsetsExtractor/LLIntOffsetsExtractorCommon.props: Added.
* JavaScriptCore.vcxproj/LLInt.vcproj/LLIntOffsetsExtractor/LLIntOffsetsExtractorDebug.props: Added.
* JavaScriptCore.vcxproj/LLInt.vcproj/LLIntOffsetsExtractor/LLIntOffsetsExtractorRelease.props: Added.
* JavaScriptCore.vcxproj/build-generated-files.sh: Added.
* JavaScriptCore.vcxproj/copy-files.cmd: Added.
* JavaScriptCore.vcxproj/jsc: Added.
* JavaScriptCore.vcxproj/jsc/jsc.vcxproj: Added.
* JavaScriptCore.vcxproj/jsc/jsc.vcxproj.filters: Added.
* JavaScriptCore.vcxproj/jsc/jsc.vcxproj.user: Added.
* JavaScriptCore.vcxproj/jsc/jscCommon.props: Added.
* JavaScriptCore.vcxproj/jsc/jscDebug.props: Added.
* JavaScriptCore.vcxproj/jsc/jscPostBuild.cmd: Added.
* JavaScriptCore.vcxproj/jsc/jscPreBuild.cmd: Added.
* JavaScriptCore.vcxproj/jsc/jscPreLink.cmd: Added.
* JavaScriptCore.vcxproj/jsc/jscRelease.props: Added.
* config.h:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@140472 268f45cc-cd09-0410-ab3c-d52691b4dbfc

6 years ago[chromium] Update test expectations
hclam@chromium.org [Tue, 22 Jan 2013 22:36:41 +0000 (22:36 +0000)]
[chromium] Update test expectations
https://bugs.webkit.org/show_bug.cgi?id=107587

Unreviewed. Mark these tests as slow on Win7 Debug:
platform/chromium/virtual/gpu/fast/hidpi/clip-text-in-hidpi.html
platform/chromium/virtual/gpu/fast/hidpi/device-scale-factor-paint.html
platform/chromium/virtual/gpu/fast/hidpi/focus-rings.html

* platform/chromium/TestExpectations:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@140471 268f45cc-cd09-0410-ab3c-d52691b4dbfc

6 years ago[Blackberry] Static code analysis warning fixes
commit-queue@webkit.org [Tue, 22 Jan 2013 22:22:15 +0000 (22:22 +0000)]
[Blackberry] Static code analysis warning fixes
https://bugs.webkit.org/show_bug.cgi?id=107464

Patch by Anthony Scian <ascian@rim.com> on 2013-01-22
Reviewed by Rob Buis.

Klocwork issues: 1367, 2367
- add NULL pointer checks detected by static code analysis

* platform/blackberry/WidgetBlackBerry.cpp:
(WebCore::Widget::setCursor):
* plugins/blackberry/PluginViewBlackBerry.cpp:
(WebCore::PluginView::updatePluginWidget):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@140470 268f45cc-cd09-0410-ab3c-d52691b4dbfc

6 years ago[Mac] Enable Page Visibility (PAGE_VISIBILITY_API)
joepeck@webkit.org [Tue, 22 Jan 2013 22:13:59 +0000 (22:13 +0000)]
[Mac] Enable Page Visibility (PAGE_VISIBILITY_API)
https://bugs.webkit.org/show_bug.cgi?id=107230

Reviewed by David Kilzer.

Source/JavaScriptCore:

* Configurations/FeatureDefines.xcconfig:

Source/WebCore:

No new tests. Covered by existing tests which are now unskipped.

* Configurations/FeatureDefines.xcconfig:

Source/WebKit/mac:

* Configurations/FeatureDefines.xcconfig:

Source/WebKit2:

* Configurations/FeatureDefines.xcconfig:

Tools:

* DumpRenderTree/mac/TestRunnerMac.mm:
(TestRunner::resetPageVisibility):
Fix a typo in the original implementation. resetPageVisibility should
pass initialState YES so an event is not dispatched, which causes
issues in multiple tests. This now matches other ports.

LayoutTests:

* fast/events/page-visibility-iframe-delete-test-expected.txt:
* fast/events/page-visibility-iframe-delete-test.html:
Fix a typo.

* platform/mac/TestExpectations:
Unskip the tests on OS X.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@140469 268f45cc-cd09-0410-ab3c-d52691b4dbfc

6 years agoRemove empty file WebPageProxyMessageKinds.h
joepeck@webkit.org [Tue, 22 Jan 2013 22:13:41 +0000 (22:13 +0000)]
Remove empty file WebPageProxyMessageKinds.h
https://bugs.webkit.org/show_bug.cgi?id=107335

Reviewed by Kentaro Hara.

* GNUmakefile.list.am:
* Shared/CoreIPCSupport/WebPageProxyMessageKinds.h: Removed.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@140468 268f45cc-cd09-0410-ab3c-d52691b4dbfc

6 years agoMake BackgroundHTMLParser track line/column numbers
tonyg@chromium.org [Tue, 22 Jan 2013 22:12:52 +0000 (22:12 +0000)]
Make BackgroundHTMLParser track line/column numbers
https://bugs.webkit.org/show_bug.cgi?id=107561

Reviewed by Adam Barth.

No new tests because covered by existing fast/parser tests.

* html/parser/BackgroundHTMLParser.cpp:
(WebCore::BackgroundHTMLParser::pumpTokenizer):
* html/parser/CompactHTMLToken.cpp:
(WebCore::CompactHTMLToken::CompactHTMLToken):
* html/parser/CompactHTMLToken.h:
(CompactHTMLToken):
(WebCore::CompactHTMLToken::textPosition):
* html/parser/HTMLDocumentParser.cpp:
(WebCore::HTMLDocumentParser::didReceiveTokensFromBackgroundParser):
(WebCore::HTMLDocumentParser::lineNumber):
(WebCore::HTMLDocumentParser::textPosition):
* html/parser/HTMLDocumentParser.h:
(HTMLDocumentParser):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@140467 268f45cc-cd09-0410-ab3c-d52691b4dbfc

6 years ago[chromium] Update test expectations
hclam@chromium.org [Tue, 22 Jan 2013 22:04:41 +0000 (22:04 +0000)]
[chromium] Update test expectations
https://bugs.webkit.org/show_bug.cgi?id=107328

Unreviewed. Mark this test as missing:
fast/forms/form-associated-element-crash3.html

* platform/chromium/TestExpectations:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@140466 268f45cc-cd09-0410-ab3c-d52691b4dbfc

6 years agoIndexedDB: Don't assert when deprecated setCallbacks is called
alecflett@chromium.org [Tue, 22 Jan 2013 22:04:09 +0000 (22:04 +0000)]
IndexedDB: Don't assert when deprecated setCallbacks is called
https://bugs.webkit.org/show_bug.cgi?id=107580

Reviewed by Tony Chang.

Remove an assert for IDBTransactionBackendImpl that was deprecated
in a previous commit, but is still called by old chromium code.
After the chromium code is removed, this method will be removed
entirely.

* Modules/indexeddb/IDBTransactionBackendImpl.h:
(WebCore::IDBTransactionBackendImpl::setCallbacks):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@140465 268f45cc-cd09-0410-ab3c-d52691b4dbfc

6 years ago[chromium] Update test expectations.
hclam@chromium.org [Tue, 22 Jan 2013 21:42:06 +0000 (21:42 +0000)]
[chromium] Update test expectations.

Unreviewed rebaseline for layout test:
platform/chromium/fast/events/touch/touch-hit-rects-in-iframe.html

* platform/chromium-mac/platform/chromium/fast/events/touch/touch-hit-rects-in-iframe-expected.txt: Renamed from LayoutTests/platform/chromium-mac-snowleopard/platform/chromium/fast/events/touch/touch-hit-rects-in-iframe-expected.txt.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@140463 268f45cc-cd09-0410-ab3c-d52691b4dbfc

6 years ago[chromium] webaudio/realtimeanalyser-fft-sizing.html is failing on Win7
hclam@chromium.org [Tue, 22 Jan 2013 21:31:28 +0000 (21:31 +0000)]
[chromium] webaudio/realtimeanalyser-fft-sizing.html is failing on Win7
https://bugs.webkit.org/show_bug.cgi?id=107581

Unreviewed build fix. Mark the following test as failing on Win7:
webaudio/realtimeanalyser-fft-sizing.html

* platform/chromium/TestExpectations:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@140462 268f45cc-cd09-0410-ab3c-d52691b4dbfc

6 years ago[GTK] Disable CSS Regions in release builds
zandobersek@gmail.com [Tue, 22 Jan 2013 21:28:41 +0000 (21:28 +0000)]
[GTK] Disable CSS Regions in release builds
https://bugs.webkit.org/show_bug.cgi?id=106541

Patch by Zan Dobersek <zandobersek@gmail.com> on 2013-01-22
Reviewed by Martin Robinson.

The CSS Regions feature is not yet deemed stable enough to be enabled
in release builds, so disable it. It's still enabled for development
builds, via FeatureList.pm.

No new tests - no testable changes.

* GNUmakefile.features.am.in:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@140461 268f45cc-cd09-0410-ab3c-d52691b4dbfc

6 years ago[GTK] Enable CSS Image Orientation feature
zandobersek@gmail.com [Tue, 22 Jan 2013 21:27:13 +0000 (21:27 +0000)]
[GTK] Enable CSS Image Orientation feature
https://bugs.webkit.org/show_bug.cgi?id=99040

Patch by Zan Dobersek <zandobersek@gmail.com> on 2013-01-22
Reviewed by Martin Robinson.

Tools:

Enable the CSS Image Orientation feature in the development
builds of the GTK port. The feature is still disabled in the release
builds.

* Scripts/webkitperl/FeatureList.pm:

LayoutTests:

Remove the general expectation, replacing it with a failure expectation
for the test that's failing due to whitespace problems in the cssText attribute
value after the image orientation attribute is set.

* platform/gtk/TestExpectations:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@140460 268f45cc-cd09-0410-ab3c-d52691b4dbfc

6 years ago[GTK] Enable the <template> element support in development builds
zandobersek@gmail.com [Tue, 22 Jan 2013 21:26:08 +0000 (21:26 +0000)]
[GTK] Enable the <template> element support in development builds
https://bugs.webkit.org/show_bug.cgi?id=106575

Patch by Zan Dobersek <zandobersek@gmail.com> on 2013-01-22
Reviewed by Martin Robinson.

Source/WebCore:

Add a missing build target that contains the custom JS bindings.

No new tests - the related tests are being unskipped and mostly pass.

* GNUmakefile.list.am:

Tools:

Enable the <template> element support in the development builds of the GTK port.

* Scripts/webkitperl/FeatureList.pm:

LayoutTests:

Remove the skip entry for the layout tests of the element.
Add a failure expectation for a flaky test that's being unskipped.

* platform/gtk/TestExpectations:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@140459 268f45cc-cd09-0410-ab3c-d52691b4dbfc

6 years agoPrettify the output of the override-feature-defines script
zandobersek@gmail.com [Tue, 22 Jan 2013 21:23:41 +0000 (21:23 +0000)]
Prettify the output of the override-feature-defines script
https://bugs.webkit.org/show_bug.cgi?id=106542

Patch by Zan Dobersek <zandobersek@gmail.com> on 2013-01-22
Reviewed by Martin Robinson.

The output now clearly lists the feature defines being overridden
along with the default and overriding values for each feature define.

* gtk/override-feature-defines:
(adjust_feature_defines_makefile):
(adjust_feature_defines_makefile.override_feature_define):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@140458 268f45cc-cd09-0410-ab3c-d52691b4dbfc

6 years agoIndexedDB: Remove dependency on IDBKey type from IDLs
jsbell@chromium.org [Tue, 22 Jan 2013 21:21:34 +0000 (21:21 +0000)]
IndexedDB: Remove dependency on IDBKey type from IDLs
https://bugs.webkit.org/show_bug.cgi?id=106912

Reviewed by Kentaro Hara.

This is a preamble to wkbug.com/97375 "Remove IDBKey from WebKitIDL"; IDBKey is
not a concept from the Indexed DB spec but a convenient internal type. It was
exposed in the IDL with custom binding code and special cases in the generator
to map from script values to the WebCore type. To remove those special cases
and match the WebIDL in the spec, the IDLs are changed to use "any" and the
implementations now take ScriptValues. This does mean that each call site must
call into IDBBindingUtilities to map from ScriptValue to IDBKey.

No new tests - just a refactor.

* Modules/indexeddb/IDBAny.cpp: Remove IDBKey as a variant type - just use ScriptValue.
* Modules/indexeddb/IDBAny.h:
(WebCore):
(IDBAny):
* Modules/indexeddb/IDBCursor.cpp:
(WebCore::IDBCursor::continueFunction): Now takes any/ScriptValue.
(WebCore):
* Modules/indexeddb/IDBCursor.h:
(WebCore::IDBCursor::continueFunction):
(IDBCursor):
* Modules/indexeddb/IDBCursor.idl:
* Modules/indexeddb/IDBCursorBackendImpl.cpp:
(WebCore::IDBCursorBackendImpl::deleteFunction):
* Modules/indexeddb/IDBFactory.cpp:
(WebCore::IDBFactory::cmp): Now takes any/ScriptValue.
* Modules/indexeddb/IDBFactory.h:
(IDBFactory):
* Modules/indexeddb/IDBFactory.idl:
* Modules/indexeddb/IDBIndex.cpp:
(WebCore::IDBIndex::openCursor): Now takes any/ScriptValue.
(WebCore::IDBIndex::count): Now takes any/ScriptValue.
(WebCore::IDBIndex::openKeyCursor): Now takes any/ScriptValue.
(WebCore::IDBIndex::get): Now takes any/ScriptValue.
(WebCore::IDBIndex::getKey): Now takes any/ScriptValue.
* Modules/indexeddb/IDBIndex.h:
(WebCore::IDBIndex::openCursor):
(IDBIndex):
(WebCore::IDBIndex::openKeyCursor):
* Modules/indexeddb/IDBIndex.idl:
* Modules/indexeddb/IDBKeyRange.cpp:
(WebCore::IDBKeyRange::create): Add helper for back-end creation of single-key ranges.
(WebCore):
(WebCore::IDBKeyRange::lowerValue): Impl. of new "any" type accessor exposed to script.
(WebCore::IDBKeyRange::upperValue): Ditto.
(WebCore::IDBKeyRange::only): Now takes any/ScriptValue.
(WebCore::IDBKeyRange::lowerBound): Now takes any/ScriptValue.
(WebCore::IDBKeyRange::upperBound): Now takes any/ScriptValue.
(WebCore::IDBKeyRange::bound): Now takes any/ScriptValue.
* Modules/indexeddb/IDBKeyRange.h:
(IDBKeyRange):
(WebCore::IDBKeyRange::lowerBound):
(WebCore::IDBKeyRange::upperBound):
(WebCore::IDBKeyRange::bound):
* Modules/indexeddb/IDBKeyRange.idl:
* Modules/indexeddb/IDBObjectStore.cpp:
(WebCore::IDBObjectStore::get): Now takes any/ScriptValue.
(WebCore::IDBObjectStore::add): Now takes any/ScriptValue.
(WebCore):
(WebCore::IDBObjectStore::put): Now takes any/ScriptValue.
(WebCore::IDBObjectStore::deleteFunction): Now takes any/ScriptValue.
(WebCore::IDBObjectStore::openCursor): Now takes any/ScriptValue.
(WebCore::IDBObjectStore::count): Now takes any/ScriptValue.
* Modules/indexeddb/IDBObjectStore.h:
(IDBObjectStore):
(WebCore::IDBObjectStore::openCursor):
* Modules/indexeddb/IDBObjectStore.idl:
* Modules/indexeddb/IDBRequest.cpp: Result IDBAny type is now ScriptValue.
(WebCore::IDBRequest::onSuccess):
* bindings/js/IDBBindingUtilities.cpp:
(WebCore::scriptValueToIDBKey): The inverse of idbKeyToScriptValue().
(WebCore):
* bindings/js/IDBBindingUtilities.h:
(WebCore):
* bindings/js/JSIDBAnyCustom.cpp:
(WebCore::toJS):
* bindings/v8/IDBBindingUtilities.cpp:
(WebCore::scriptValueToIDBKey): Ditto.
(WebCore):
* bindings/v8/IDBBindingUtilities.h:
(WebCore):
* bindings/v8/custom/V8IDBAnyCustom.cpp:
(WebCore::toV8): Remove IDBKey variant type.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@140457 268f45cc-cd09-0410-ab3c-d52691b4dbfc

6 years agoRemove uses of deprecated unittest.TestCase aliases
zandobersek@gmail.com [Tue, 22 Jan 2013 21:20:26 +0000 (21:20 +0000)]
Remove uses of deprecated unittest.TestCase aliases
https://bugs.webkit.org/show_bug.cgi?id=102252

Reviewed by Adam Barth.

Replace the deprecated assertEquals method of the TestCase interface
used in some webkitpy unittests with the assertEqual method.

* Scripts/webkitpy/common/system/profiler_unittest.py:
(ProfilerFactoryTest._assert_default_profiler_name):
(ProfilerFactoryTest.test_default_profiler_output):
* Scripts/webkitpy/layout_tests/port/gtk_unittest.py:
(GtkPortTest.test_expectations_files):
* Scripts/webkitpy/layout_tests/servers/http_server_unittest.py:
(TestHttpServer.test_win32_start_and_stop):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@140456 268f45cc-cd09-0410-ab3c-d52691b4dbfc

6 years agoTRANSFORMATION_MATRIX_USE_X86_64_SSE2 broken for 64-bit Windows builds
jschuh@chromium.org [Tue, 22 Jan 2013 21:20:05 +0000 (21:20 +0000)]
TRANSFORMATION_MATRIX_USE_X86_64_SSE2 broken for 64-bit Windows builds
https://bugs.webkit.org/show_bug.cgi?id=107498

Reviewed by James Robinson.

Enable TRANSFORMATION_MATRIX_USE_X86_64_SSE2 for 64-bit Windows.

No new tests. Covered by existing tests.

* platform/graphics/transforms/TransformationMatrix.h:
(WebCore):
(TransformationMatrix):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@140455 268f45cc-cd09-0410-ab3c-d52691b4dbfc

6 years agoFix a race condition on SkBitmap::lockPixels()/unlockPixels() for lazy image decoding
commit-queue@webkit.org [Tue, 22 Jan 2013 21:09:07 +0000 (21:09 +0000)]
Fix a race condition on SkBitmap::lockPixels()/unlockPixels() for lazy image decoding
https://bugs.webkit.org/show_bug.cgi?id=107404

Patch by Min Qin <qinmin@chromium.org> on 2013-01-22
Reviewed by Stephen White.

Skbitmap::lockPixels()/unlockPixels() are not threadsafe.
unlike SkPixelRef, these 2 calls are not protected by an internal mutex.
Bugfix, no behaviral change and hard to test as tests will be flaky.

* platform/graphics/chromium/ImageDecodingStore.cpp:
(WebCore::ImageDecodingStore::lockCache):
(WebCore::ImageDecodingStore::unlockCache):
(WebCore::ImageDecodingStore::insertAndLockCache):
(WebCore::ImageDecodingStore::overwriteAndLockCache):
* platform/graphics/chromium/ImageDecodingStore.h:
(ImageDecodingStore):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@140454 268f45cc-cd09-0410-ab3c-d52691b4dbfc

6 years agoMake CompactHTMLToken a little more compact
eric@webkit.org [Tue, 22 Jan 2013 21:01:42 +0000 (21:01 +0000)]
Make CompactHTMLToken a little more compact
https://bugs.webkit.org/show_bug.cgi?id=107317

Reviewed by Darin Adler.

Reduce the size of CompactHTMLToken by two pointers.
The abuse of the attribute vector to store the DOCTYPE strings
is kinda lame, but makes a lot of sense given how rare DOCTYPE tokens are.

The resulting CompactHTMLToken vector should be a smaller malloc and thus faster.
However I saw no perf change on html-parser-srcdoc.html.

* html/parser/CompactHTMLToken.cpp:
(SameSizeAsCompactHTMLToken):
(WebCore):
(WebCore::CompactHTMLToken::CompactHTMLToken):
(WebCore::CompactHTMLToken::isSafeToSendToAnotherThread):
* html/parser/CompactHTMLToken.h:
(WebCore::CompactHTMLToken::type):
(CompactHTMLToken):
(WebCore::CompactHTMLToken::publicIdentifier):
(WebCore::CompactHTMLToken::systemIdentifier):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@140453 268f45cc-cd09-0410-ab3c-d52691b4dbfc

6 years agoAssertion parent->inDocument() failed in WebCore::PseudoElement::PseudoElement
esprehn@chromium.org [Tue, 22 Jan 2013 20:57:32 +0000 (20:57 +0000)]
Assertion parent->inDocument() failed in WebCore::PseudoElement::PseudoElement
https://bugs.webkit.org/show_bug.cgi?id=106224

Reviewed by Ojan Vafai.

Appending a node that contains a <style> and also elements that should have
generated content can cause us to create PseudoElements in nodes that are not
yet inDocument because we may recalcStyle in HTMLStyleElement::insertedInto
triggering a reattach() which could then traverse into the siblings of the
<style> attaching them even though they are not yet inDocument.

This means that we should not assert about the parent of a PseudoElement
being inDocument as this is not always the case.

Instead forward Node::insertedInto and removedFrom notifications to
PseudoElements so they will correctly get their inDocument bit set. Nothing
in the code appears to depend on them being inDocument we just make sure to
set it so they're consistent with the rest of the document.

No new tests, there's no way to test that PseudoElements are really inDocument.

* dom/Element.cpp:
(WebCore::Element::insertedInto):
(WebCore::Element::removedFrom):
* dom/PseudoElement.cpp:
(WebCore::PseudoElement::PseudoElement):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@140452 268f45cc-cd09-0410-ab3c-d52691b4dbfc

6 years agoWTF project files and property sheets for getting WebKit to compile in VS2010.
roger_fong@apple.com [Tue, 22 Jan 2013 20:30:11 +0000 (20:30 +0000)]
WTF project files and property sheets for getting WebKit to compile in VS2010.
https://bugs.webkit.org/show_bug.cgi?id=106986

Reviewed by Timothy Horton and Brent Fulgham.

* WTF.vcproj/WTF.sln:
* WTF.vcxproj: Added.
* WTF.vcxproj/WTF.vcxproj: Added.
* WTF.vcxproj/WTF.vcxproj.filters: Added.
* WTF.vcxproj/WTF.vcxproj.user: Added.
* WTF.vcxproj/WTFCommon.props: Added.
* WTF.vcxproj/WTFDebug.props: Added.
* WTF.vcxproj/WTFGenerated.make: Added.
* WTF.vcxproj/WTFGenerated.vcxproj: Added.
* WTF.vcxproj/WTFGenerated.vcxproj.filters: Added.
* WTF.vcxproj/WTFGenerated.vcxproj.user: Added.
* WTF.vcxproj/WTFGeneratedCommon.props: Added.
* WTF.vcxproj/WTFGeneratedDebug.props: Added.
* WTF.vcxproj/WTFGeneratedRelease.props: Added.
* WTF.vcxproj/WTFPostBuild.cmd: Added.
* WTF.vcxproj/WTFPreBuild.cmd: Added.
* WTF.vcxproj/WTFPreLink.cmd: Added.
* WTF.vcxproj/WTFRelease.props: Added.
* WTF.vcxproj/build-generated-files.sh: Added.
* WTF.vcxproj/copy-files.cmd: Added.
* WTF.vcxproj/work-around-vs-dependency-tracking-bugs.py: Added.
* config.h:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@140451 268f45cc-cd09-0410-ab3c-d52691b4dbfc

6 years agoREGRESSION(r140231): media track layout tests crashing
hclam@chromium.org [Tue, 22 Jan 2013 20:26:44 +0000 (20:26 +0000)]
REGRESSION(r140231): media track layout tests crashing
https://bugs.webkit.org/show_bug.cgi?id=107579

Unreviewed. Mark 3 tests as crashing:
media/track/track-css-cue-lifetime.html
media/track/track-css-matching.html
media/track/track-css-property-whitelist.html

* platform/chromium/TestExpectations:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@140450 268f45cc-cd09-0410-ab3c-d52691b4dbfc

6 years agoREGRESSION(r140392): InjectIDBKeyTest.TopLevelPropertyStringValue is crashing
hclam@chromium.org [Tue, 22 Jan 2013 20:12:29 +0000 (20:12 +0000)]
REGRESSION(r140392): InjectIDBKeyTest.TopLevelPropertyStringValue is crashing
https://bugs.webkit.org/show_bug.cgi?id=107578

Unreviewed build fix. Disabled 2 tests that are crashing after r140392.

* tests/IDBBindingUtilitiesTest.cpp:
(WebKit::TEST_F):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@140449 268f45cc-cd09-0410-ab3c-d52691b4dbfc

6 years agoAllow construction of unprefixed transition DOM events.
alexis@webkit.org [Tue, 22 Jan 2013 20:07:35 +0000 (20:07 +0000)]
Allow construction of unprefixed transition DOM events.
https://bugs.webkit.org/show_bug.cgi?id=107319

Reviewed by Dean Jackson.

Source/WebCore:

Make possible to construct unprefixed DOM events for transitions.
Unfortunately I have to duplicate the C++ implementation class of the
events (TransitionEvent.h and TransitionEvent.cpp). I can't find a
better way to re-use the WebKitTransitionEvent class to back the
TransitionEvent.idl as our code generators don't allow to have a
different name for the C++ class used in the generated file than the
interface name specified in the IDL file. Unfortunately
https://trac.webkit.org/wiki/WebKitIDL#InterfaceName doesn't help as
it's only a way to unlink the interface name specified in the IDL with
the one exposed in JavaScript. I don't think we should support such a
feature in our code generators as WebKitTransitionEvent class and more
exactly prefixed DOM events for transitions will be removed one day so
this use case will become obselete.

Test: fast/events/constructors/transition-event-constructor.html

* CMakeLists.txt:
* DerivedSources.cpp:
* DerivedSources.make:
* DerivedSources.pri:
* GNUmakefile.list.am:
* Target.pri:
* WebCore.gypi:
* WebCore.vcproj/WebCore.vcproj:
* WebCore.xcodeproj/project.pbxproj:
* dom/DOMAllInOne.cpp:
* dom/EventNames.in:
* dom/TransitionEvent.cpp: Added.
(WebCore):
(WebCore::TransitionEventInit::TransitionEventInit):
(WebCore::TransitionEvent::TransitionEvent):
(WebCore::TransitionEvent::~TransitionEvent):
(WebCore::TransitionEvent::propertyName):
(WebCore::TransitionEvent::elapsedTime):
(WebCore::TransitionEvent::interfaceName):
* dom/TransitionEvent.h: Added.
(WebCore):
(TransitionEventInit):
(TransitionEvent):
(WebCore::TransitionEvent::create):
* dom/TransitionEvent.idl: Added.
* page/DOMWindow.idl:
* page/animation/AnimationController.cpp:
(WebCore::AnimationControllerPrivate::fireEventsAndUpdateStyle): always
create a TransitionEvent now. EventTarget will be responsible to create
a WebKitTransitionEvent if necessary.

LayoutTests:

Add new tests to cover the feature. Update some existing ones with new
expected results as a new constructor was added.

* fast/dom/constructed-objects-prototypes.html:
* fast/dom/constructed-objects-prototypes-expected.txt:
* fast/events/constructors/transition-event-constructor-expected.txt: Added.
* fast/events/constructors/transition-event-constructor.html: Added.
* fast/events/event-creation.html:
* platform/chromium/TestExpectations: Chromium turns the feature off.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@140448 268f45cc-cd09-0410-ab3c-d52691b4dbfc

6 years agoWean BackgroundHTMLParser off HTMLInputStream
abarth@webkit.org [Tue, 22 Jan 2013 19:55:01 +0000 (19:55 +0000)]
Wean BackgroundHTMLParser off HTMLInputStream
https://bugs.webkit.org/show_bug.cgi?id=107575

Reviewed by Eric Seidel.

The BackgroundHTMLParser doesn't need to use HTMLInputStream because it
doesn't need to handle nested calls to document.write. Instead, we can
just use a SegmentedString directly, which will let us checkpoint
m_input for speculation.

* html/parser/BackgroundHTMLParser.cpp:
(WebCore::BackgroundHTMLParser::append):
(WebCore::BackgroundHTMLParser::finish):
(WebCore::BackgroundHTMLParser::markEndOfFile):
(WebCore):
(WebCore::BackgroundHTMLParser::pumpTokenizer):
* html/parser/BackgroundHTMLParser.h:
(BackgroundHTMLParser):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@140446 268f45cc-cd09-0410-ab3c-d52691b4dbfc

6 years ago[Soup] Random thread crashes
sergio@webkit.org [Tue, 22 Jan 2013 19:24:58 +0000 (19:24 +0000)]
[Soup] Random thread crashes
https://bugs.webkit.org/show_bug.cgi?id=107439

Reviewed by Martin Robinson.

Process all pending requests in the inner GMainContext created to
perform synchronous requests before restoring the thread default. No
new tests required, already covered by network tests.

* platform/network/soup/ResourceHandleSoup.cpp:
(WebCore::WebCoreSynchronousLoader::~WebCoreSynchronousLoader):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@140445 268f45cc-cd09-0410-ab3c-d52691b4dbfc

6 years ago[gstreamer] GstBus signal watch should be removed on clean up
christophe.dumez@intel.com [Tue, 22 Jan 2013 19:15:38 +0000 (19:15 +0000)]
[gstreamer] GstBus signal watch should be removed on clean up
https://bugs.webkit.org/show_bug.cgi?id=107544

Reviewed by Philippe Normand.

Our gstreamer backend code currently calls gst_bus_add_signal_watch()
on GstBus to add a signal watch. As per the gstreamer  documentation,
"To clean up, the caller is responsible for calling
gst_bus_remove_signal_watch() as many times as this function is
called". This is because gst_bus_add_signal_watch() causes the GstBus
object to be ref'd and gst_bus_remove_signal_watch() needs to be
called to properly unref it.

This patch makes sure that gst_bus_remove_signal_watch() is called
on the GstBus object when cleaning up. This patch also uses smart
pointers for GstBus objects for consistency.

No new tests, no behavior change for layout tests.

* platform/audio/gstreamer/AudioDestinationGStreamer.cpp:
(WebCore::AudioDestinationGStreamer::AudioDestinationGStreamer):
(WebCore::AudioDestinationGStreamer::~AudioDestinationGStreamer):
* platform/audio/gstreamer/AudioFileReaderGStreamer.cpp:
(WebCore::AudioFileReader::~AudioFileReader):
(WebCore::AudioFileReader::decodeAudioForBusCreation):
* platform/graphics/gstreamer/GStreamerGWorld.cpp:
(WebCore::GStreamerGWorld::GStreamerGWorld):
* platform/graphics/gstreamer/GStreamerVersioning.cpp:
(webkitGstPipelineGetBus):
* platform/graphics/gstreamer/GStreamerVersioning.h:
* platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp:
(WebCore::MediaPlayerPrivateGStreamer::~MediaPlayerPrivateGStreamer):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@140443 268f45cc-cd09-0410-ab3c-d52691b4dbfc

6 years agoREGRESSION(r140344): Repeated crashes in WKTR PlatformWebView::viewSupportsOptions().
jer.noble@apple.com [Tue, 22 Jan 2013 19:13:58 +0000 (19:13 +0000)]
REGRESSION(r140344): Repeated crashes in WKTR PlatformWebView::viewSupportsOptions().
https://bugs.webkit.org/show_bug.cgi?id=107562

Rubber-stamped by Alexy Proskuryakov.

The input to WKBooleanGetValue() is not NULL-safe, so NULL check its inputs before calling.

* WebKitTestRunner/mac/PlatformWebViewMac.mm:
(WTR::PlatformWebView::PlatformWebView):
(WTR::PlatformWebView::viewSupportsOptions):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@140442 268f45cc-cd09-0410-ab3c-d52691b4dbfc

6 years agoBackgroundHTMLParser should simulate tree building in a separate function
abarth@webkit.org [Tue, 22 Jan 2013 19:12:15 +0000 (19:12 +0000)]
BackgroundHTMLParser should simulate tree building in a separate function
https://bugs.webkit.org/show_bug.cgi?id=107569

Reviewed by Eric Seidel.

This patch cleans up BackgroundHTMLParser::pumpTokenizer to prepare for
implementing speculative parsing.

* html/parser/BackgroundHTMLParser.cpp:
(WebCore::BackgroundHTMLParser::simulateTreeBuilder):
(WebCore):
(WebCore::BackgroundHTMLParser::pumpTokenizer):
* html/parser/BackgroundHTMLParser.h:
(BackgroundHTMLParser):
* page/Settings.in:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@140441 268f45cc-cd09-0410-ab3c-d52691b4dbfc

6 years ago[GTK] Debug build failure on x86-64
kov@webkit.org [Tue, 22 Jan 2013 18:52:52 +0000 (18:52 +0000)]
[GTK] Debug build failure on x86-64
https://bugs.webkit.org/show_bug.cgi?id=107400

Reviewed by Xan Lopez.

* configure.ac: use thin archives for convenience libraries, if AR_FLAGS was not
overriden through the environment variable.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@140440 268f45cc-cd09-0410-ab3c-d52691b4dbfc

6 years agoUnreviewed, rolling out r140435.
commit-queue@webkit.org [Tue, 22 Jan 2013 18:50:36 +0000 (18:50 +0000)]
Unreviewed, rolling out r140435.
http://trac.webkit.org/changeset/140435
https://bugs.webkit.org/show_bug.cgi?id=107565

Crashes on ClusterFuzz due to float not removed (Requested by
inferno-sec on #webkit).

Patch by Sheriff Bot <webkit.review.bot@gmail.com> on 2013-01-22

Source/WebCore:

* rendering/RenderBox.cpp:
(WebCore::RenderBox::removeFloatingOrPositionedChildFromBlockLists):

LayoutTests:

* fast/block/float/overhanging-float-not-removed-crash-expected.txt: Removed.
* fast/block/float/overhanging-float-not-removed-crash.html: Removed.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@140439 268f45cc-cd09-0410-ab3c-d52691b4dbfc

6 years agoYarr JIT isn't big endian compatible
commit-queue@webkit.org [Tue, 22 Jan 2013 18:34:54 +0000 (18:34 +0000)]
Yarr JIT isn't big endian compatible
https://bugs.webkit.org/show_bug.cgi?id=102897

Patch by Tobias Netzel <tobias.netzel@googlemail.com> on 2013-01-22
Reviewed by Oliver Hunt.

This patch was tested in the current mozilla codebase only and has passed the regexp tests there.

* yarr/YarrJIT.cpp:
(JSC::Yarr::YarrGenerator::generatePatternCharacterOnce):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@140438 268f45cc-cd09-0410-ab3c-d52691b4dbfc

6 years agoFix DateMath.cpp to compile with -Wshorten-64-to-32
ddkilzer@apple.com [Tue, 22 Jan 2013 18:27:23 +0000 (18:27 +0000)]
Fix DateMath.cpp to compile with -Wshorten-64-to-32
<http://webkit.org/b/107503>

Reviewed by Darin Adler.

Source/JavaScriptCore:

* runtime/JSDateMath.cpp:
(JSC::parseDateFromNullTerminatedCharacters): Remove unneeded
static_cast<int>().

Source/WTF:

Fixes the following build errors with -Wshorten-64-to-32:

    DateMath.cpp:742:47: error: implicit conversion loses integer precision: 'long' to 'int' [-Werror,-Wshorten-64-to-32]
        if (month == 2 && day > 28 && !isLeapYear(year))
                                       ~~~~~~~~~~ ^~~~
    DateMath.cpp:757:48: error: implicit conversion loses integer precision: 'long' to 'int' [-Werror,-Wshorten-64-to-32]
        double dateSeconds = ymdhmsToSeconds(year, month, day, hours, minutes, seconds) - timeZoneSeconds;
                             ~~~~~~~~~~~~~~~       ^~~~~
    DateMath.cpp:757:55: error: implicit conversion loses integer precision: 'long' to 'int' [-Werror,-Wshorten-64-to-32]
        double dateSeconds = ymdhmsToSeconds(year, month, day, hours, minutes, seconds) - timeZoneSeconds;
                             ~~~~~~~~~~~~~~~              ^~~
    DateMath.cpp:757:60: error: implicit conversion loses integer precision: 'long' to 'int' [-Werror,-Wshorten-64-to-32]
        double dateSeconds = ymdhmsToSeconds(year, month, day, hours, minutes, seconds) - timeZoneSeconds;
                             ~~~~~~~~~~~~~~~                   ^~~~~
    DateMath.cpp:757:67: error: implicit conversion loses integer precision: 'long' to 'int' [-Werror,-Wshorten-64-to-32]
        double dateSeconds = ymdhmsToSeconds(year, month, day, hours, minutes, seconds) - timeZoneSeconds;
                             ~~~~~~~~~~~~~~~                          ^~~~~~~
    DateMath.cpp:996:59: error: implicit conversion loses integer precision: 'long' to 'int' [-Werror,-Wshorten-64-to-32]
                        offset = ((o / 100) * 60 + (o % 100)) * sgn;
                               ~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~
    DateMath.cpp:998:37: error: implicit conversion loses integer precision: 'long' to 'int' [-Werror,-Wshorten-64-to-32]
                        offset = o * 60 * sgn;
                               ~ ~~~~~~~^~~~~
    DateMath.cpp:1005:40: error: implicit conversion loses integer precision: 'long' to 'int' [-Werror,-Wshorten-64-to-32]
                    offset = (o * 60 + o2) * sgn;
                           ~ ~~~~~~~~~~~~~~^~~~~
    DateMath.cpp:1041:40: error: implicit conversion loses integer precision: 'long' to 'int' [-Werror,-Wshorten-64-to-32]
        return ymdhmsToSeconds(year, month + 1, day, hour, minute, second) * msPerSecond;
               ~~~~~~~~~~~~~~~       ~~~~~~^~~
    DateMath.cpp:1041:45: error: implicit conversion loses integer precision: 'long' to 'int' [-Werror,-Wshorten-64-to-32]
        return ymdhmsToSeconds(year, month + 1, day, hour, minute, second) * msPerSecond;
               ~~~~~~~~~~~~~~~                  ^~~
    DateMath.cpp:1041:50: error: implicit conversion loses integer precision: 'long' to 'int' [-Werror,-Wshorten-64-to-32]
        return ymdhmsToSeconds(year, month + 1, day, hour, minute, second) * msPerSecond;
               ~~~~~~~~~~~~~~~                       ^~~~
    DateMath.cpp:1041:56: error: implicit conversion loses integer precision: 'long' to 'int' [-Werror,-Wshorten-64-to-32]
        return ymdhmsToSeconds(year, month + 1, day, hour, minute, second) * msPerSecond;
               ~~~~~~~~~~~~~~~                             ^~~~~~
    12 errors generated.

* wtf/DateMath.cpp:
(WTF::ymdhmsToSeconds): Change year argument from long to int.
Change mon, day, hour, minute arguments from int to long.
(WTF::parseInt): Add.  Identical to parseLong but bounds checks
for type int.
(WTF::parseLong): Switch to std::numeric_limits<long> instead of
macros.
(WTF::parseES5DatePortion): Change year argument from long to
int.
(WTF::parseES5DateFromNullTerminatedCharacters): Change year
local variable from long to int.
(WTF::parseDateFromNullTerminatedCharacters): Change year and
offset local variables from long to int.  Switch from using
parseLong() to parseInt() as needed.  Ditto for labs() to abs().
Add overflow check when switching from "MM/DD/YYYY" to
"YYYY/MM/DD" parsing.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@140437 268f45cc-cd09-0410-ab3c-d52691b4dbfc

6 years agoWhen we do setAttribute("border", null) on a table we should create a border like...
robert@webkit.org [Tue, 22 Jan 2013 18:22:01 +0000 (18:22 +0000)]
When we do setAttribute("border", null) on a table we should create a border like every other browser
https://bugs.webkit.org/show_bug.cgi?id=102112

Reviewed by Ryosuke Niwa.

Source/WebCore:

http://www.whatwg.org/specs/web-apps/current-work/multipage/rendering.html#tables says:
"If the [table's border] attribute is present but parsing the attribute's value using the rules for parsing
non-negative integers generates an error, a default value of 1px is expected to be used for that property instead."

Match the spec and bring us into line with other browsers by observing the 'parsing non-negative integers' algorithm.

Tests: fast/dom/HTMLTableElement/table-with-invalid-border.html
       fast/table/table-with-borderattr-null.html
       fast/table/table-with-borderattr-set-to-null.html

* html/HTMLElement.cpp:
(WebCore::HTMLElement::parseBorderWidthAttribute):
(WebCore::HTMLElement::applyBorderAttributeToStyle):
* html/HTMLElement.h:
(HTMLElement):
* html/HTMLTableElement.cpp:
(WebCore::HTMLTableElement::collectStyleForPresentationAttribute):
(WebCore::HTMLTableElement::parseAttribute):

LayoutTests:

* fast/dom/HTMLTableElement/table-with-invalid-border-expected.txt: Added.
* fast/dom/HTMLTableElement/table-with-invalid-border.html: Added.
* fast/table/table-with-borderattr-null-expected.txt: Added.
* fast/table/table-with-borderattr-null.html: Added.
* fast/table/table-with-borderattr-set-to-null-expected.txt: Added.
* fast/table/table-with-borderattr-set-to-null.html: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@140436 268f45cc-cd09-0410-ab3c-d52691b4dbfc

6 years agoHeap-use-after-free in WebCore::RenderObject::isDescendantOf
inferno@chromium.org [Tue, 22 Jan 2013 18:17:37 +0000 (18:17 +0000)]
Heap-use-after-free in WebCore::RenderObject::isDescendantOf
https://bugs.webkit.org/show_bug.cgi?id=107226

Reviewed by Emil A Eklund.

Source/WebCore:

Test: fast/block/float/overhanging-float-not-removed-crash.html

* rendering/RenderBox.cpp:
(WebCore::RenderBox::removeFloatingOrPositionedChildFromBlockLists):
Skip anonymous blocks in the chain to get the enclosing block and
be able to correctly mark the overhanging floats in the next siblings.

LayoutTests:

* fast/block/float/overhanging-float-not-removed-crash-expected.txt: Added.
* fast/block/float/overhanging-float-not-removed-crash.html: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@140435 268f45cc-cd09-0410-ab3c-d52691b4dbfc

6 years ago One is not allowed to use commit-queue to make oneself a committer.
ap@apple.com [Tue, 22 Jan 2013 18:02:41 +0000 (18:02 +0000)]
    One is not allowed to use commit-queue to make oneself a committer.

        * Scripts/webkitpy/common/config/committers.py: Removing eustas@chromium.org.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@140434 268f45cc-cd09-0410-ab3c-d52691b4dbfc

6 years agoSilence MSVC 64-bit build warning c4309 for FrameTree::invalidCount
jschuh@chromium.org [Tue, 22 Jan 2013 17:47:28 +0000 (17:47 +0000)]
Silence MSVC 64-bit build warning c4309 for FrameTree::invalidCount
https://bugs.webkit.org/show_bug.cgi?id=107439

Reviewed by Dimitri Glazkov.

MSVC detects that the constant notFound is truncated on assignment to
invalidCount. Since we never compare them (as it would always fail on
64-bit anyway), just initialize invalidCount directly to -1.

No new tests. No behavior changed.

* page/FrameTree.h:
(FrameTree):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@140433 268f45cc-cd09-0410-ab3c-d52691b4dbfc

6 years ago[Autotools] Remove the Canvas Path configuration option
zandobersek@gmail.com [Tue, 22 Jan 2013 17:17:13 +0000 (17:17 +0000)]
[Autotools] Remove the Canvas Path configuration option
https://bugs.webkit.org/show_bug.cgi?id=107537

Reviewed by Martin Robinson.

.:

* configure.ac: Remove the configuration option for the Canvas Path
feature as this is not in line with the new guidelines about feature
enablement in the autotools build system.

Source/WebCore:

No new tests - no new testable functionality.

* GNUmakefile.am: Remove the Automake conditional analysis, the related
configuration option is being removed as well.
* GNUmakefile.features.am.in: Add the ENABLE_CANVAS_PATH feature define,
defaulting to 0 in release builds (but is disabled in development builds
of the GTK port as well at the moment).

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@140431 268f45cc-cd09-0410-ab3c-d52691b4dbfc

6 years ago[Autotools] Place a warning in configure.ac about adding new configuration options
zandobersek@gmail.com [Tue, 22 Jan 2013 17:15:25 +0000 (17:15 +0000)]
[Autotools] Place a warning in configure.ac about adding new configuration options
https://bugs.webkit.org/show_bug.cgi?id=107559

Reviewed by Martin Robinson.

* configure.ac: Add an eye-catching section explaining that changes in this file might
not be necessary at all and a link pointing to the guidelines on the Trac wiki.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@140430 268f45cc-cd09-0410-ab3c-d52691b4dbfc

6 years agoAsserts when textPath is used with no path
schenney@chromium.org [Tue, 22 Jan 2013 16:52:49 +0000 (16:52 +0000)]
Asserts when textPath is used with no path
https://bugs.webkit.org/show_bug.cgi?id=107324

Reviewed by Eric Seidel.

Source/WebCore:

We assert when there is no path associated with an SVG text path
element. Instead, this patch detects the condition and stops trying to
layout text for that textPath  element.

Test: svg/text/tpath-without-path.svg

* rendering/svg/SVGTextLayoutEngine.cpp:
(WebCore::SVGTextLayoutEngine::beginTextPathLayout):
(WebCore::SVGTextLayoutEngine::layoutTextOnLineOrPath):

LayoutTests:

Test will assert in debug without this patch.

* svg/text/tpath-without-path-expected.txt: Added.
* svg/text/tpath-without-path.svg: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@140429 268f45cc-cd09-0410-ab3c-d52691b4dbfc

6 years agoWeb Inspector: [Canvas] jump to prev/next drawing call in the replay
aandrey@chromium.org [Tue, 22 Jan 2013 16:41:26 +0000 (16:41 +0000)]
Web Inspector: [Canvas] jump to prev/next drawing call in the replay
https://bugs.webkit.org/show_bug.cgi?id=107551

Reviewed by Pavel Feldman.

Implement jumping to the next(previous) drawing call in the WebGL and canvas 2D replay.

* English.lproj/localizedStrings.js:
* inspector/InjectedScriptCanvasModuleSource.js:
(.):
* inspector/Inspector.json:
* inspector/front-end/CanvasProfileView.js:
(WebInspector.CanvasProfileView):
(WebInspector.CanvasProfileView.prototype.dispose):
(WebInspector.CanvasProfileView.prototype._onReplayDrawingCallClick):
* inspector/front-end/canvasProfiler.css:
(.canvas-replay-prev-draw img):
(.canvas-replay-next-draw img):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@140428 268f45cc-cd09-0410-ab3c-d52691b4dbfc

6 years agoWeb Inspector: remove asynchronous behavior from DTE paintLines method
commit-queue@webkit.org [Tue, 22 Jan 2013 16:19:11 +0000 (16:19 +0000)]
Web Inspector: remove asynchronous behavior from DTE paintLines method
https://bugs.webkit.org/show_bug.cgi?id=107550

Patch by Andrey Lushnikov <lushnikov@chromium.org> on 2013-01-22
Reviewed by Pavel Feldman.

Remove paintLinesOperationCredit and all asynchronous behaviour from paintLines method;
also, remove paintLineChunks method.

* inspector/front-end/DefaultTextEditor.js:
(WebInspector.TextEditorMainPanel.prototype.expandChunks):
(WebInspector.TextEditorMainPanel.prototype._highlightDataReady):
(WebInspector.TextEditorMainPanel.prototype._paintLines):
(WebInspector.TextEditorMainPanel.prototype._renderRanges):
(WebInspector.TextEditorMainPanel.prototype._paintLine):
(WebInspector.TextEditorMainPanel.prototype._applyDomUpdates):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@140427 268f45cc-cd09-0410-ab3c-d52691b4dbfc

6 years agoWeb Inspector: [Network] "Secure" cookies can not be deleted.
commit-queue@webkit.org [Tue, 22 Jan 2013 16:07:21 +0000 (16:07 +0000)]
Web Inspector: [Network] "Secure" cookies can not be deleted.
https://bugs.webkit.org/show_bug.cgi?id=107543

Patch by Eugene Klyuchnikov <eustas@chromium.org> on 2013-01-22
Reviewed by Pavel Feldman.

To delete secure cookie URL schema need to be "https" instead of "http".

* inspector/front-end/CookieItemsView.js:
(WebInspector.CookieItemsView.prototype._deleteCookie):
Take care of secure cookies.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@140426 268f45cc-cd09-0410-ab3c-d52691b4dbfc

6 years agoUnreviewed, rolling out r140420.
commit-queue@webkit.org [Tue, 22 Jan 2013 16:05:39 +0000 (16:05 +0000)]
Unreviewed, rolling out r140420.
http://trac.webkit.org/changeset/140420
https://bugs.webkit.org/show_bug.cgi?id=107557

Still causes crashes (EFL this time) (Requested by kov on
#webkit).

Patch by Sheriff Bot <webkit.review.bot@gmail.com> on 2013-01-22

* platform/graphics/gstreamer/GStreamerVersioning.cpp:
* platform/graphics/gstreamer/GStreamerVersioning.h:
* platform/graphics/gstreamer/WebKitWebSourceGStreamer.cpp:
(StreamingClient):
(_WebKitWebSrcPrivate):
(webKitWebSrcFinalize):
(webKitWebSrcStop):
(StreamingClient::didReceiveData):
* platform/network/ResourceHandleClient.h:
(ResourceHandleClient):
* platform/network/ResourceHandleInternal.h:
(WebCore::ResourceHandleInternal::ResourceHandleInternal):
(ResourceHandleInternal):
* platform/network/soup/ResourceHandleSoup.cpp:
(WebCore::cleanupSoupRequestOperation):
(WebCore::nextMultipartResponsePartCallback):
(WebCore::sendRequestCallback):
(WebCore::readCallback):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@140425 268f45cc-cd09-0410-ab3c-d52691b4dbfc

6 years ago[EFL] Unskipping some Accessibility Layout Tests for WK2.
commit-queue@webkit.org [Tue, 22 Jan 2013 15:34:18 +0000 (15:34 +0000)]
[EFL] Unskipping some Accessibility Layout Tests for WK2.
https://bugs.webkit.org/show_bug.cgi?id=107555

Unreviewed EFL gardening.

Patch by Krzysztof Czech <k.czech@samsung.com> on 2013-01-22

* platform/efl-wk2/TestExpectations:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@140424 268f45cc-cd09-0410-ab3c-d52691b4dbfc

6 years ago[Qt] Crash in PasteboardQt.cpp Pasteboard::writeSelection
commit-queue@webkit.org [Tue, 22 Jan 2013 15:03:15 +0000 (15:03 +0000)]
[Qt] Crash in PasteboardQt.cpp Pasteboard::writeSelection
https://bugs.webkit.org/show_bug.cgi?id=102192

Patch by Fabien Valée
Patch by Allan Sandfeld Jensen <allan.jensen@digia.com> on 2013-01-22
Reviewed by Jocelyn Turcotte.

QClipboard::setMimeData transfers ownership of QMimeData to the clipboard,
so we should not access it afterwards.

* platform/qt/PasteboardQt.cpp:
(WebCore::Pasteboard::writeSelection):
(WebCore::Pasteboard::writePlainText):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@140423 268f45cc-cd09-0410-ab3c-d52691b4dbfc

6 years agoRegression(r140414): It is causing crashes with gstreamer 0.10
christophe.dumez@intel.com [Tue, 22 Jan 2013 14:53:28 +0000 (14:53 +0000)]
Regression(r140414): It is causing crashes with gstreamer 0.10
https://bugs.webkit.org/show_bug.cgi?id=107554

Reviewed by Philippe Normand.

gstreamer 0.10 doc led me to believe that gst_element_factory_make()
was not returning a floating reference. However, based on testing
(and results on Qt port) it does so we should NOT adopt the
returned GstElement object.

No new tests, already covered by existing tests.

* platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@140422 268f45cc-cd09-0410-ab3c-d52691b4dbfc

6 years agoWeb Inspector: do not highlight really long lines in DTE.
commit-queue@webkit.org [Tue, 22 Jan 2013 14:43:38 +0000 (14:43 +0000)]
Web Inspector: do not highlight really long lines in DTE.
https://bugs.webkit.org/show_bug.cgi?id=107531

Patch by Andrey Lushnikov <lushnikov@chromium.org> on 2013-01-22
Reviewed by Pavel Feldman.

Source/WebCore:

Improve TextEditorHighlighter.orderedRangesPerLine method to return
only ranges that start before particular column.

Test: inspector/editor/text-editor-long-line.html

* inspector/front-end/TextEditorHighlighter.js:
(WebInspector.TextEditorHighlighter):
(WebInspector.TextEditorHighlighter.prototype.setHighlightLineLimit):
(WebInspector.TextEditorHighlighter.prototype.orderedRangesPerLine.comparator):
(WebInspector.TextEditorHighlighter.prototype.orderedRangesPerLine):

LayoutTests:

Layout test to verify that Default Text Editor does not spend time for
highlighting really long lines of code.

* inspector/editor/highlighter-long-line.html: Correct highlighter defaults in initialization.
* inspector/editor/text-editor-long-line-expected.txt: Added.
* inspector/editor/text-editor-long-line.html: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@140421 268f45cc-cd09-0410-ab3c-d52691b4dbfc

6 years ago[GStreamer][Soup] Let GStreamer provide the buffer data is downloaded to, to avoid...
kov@webkit.org [Tue, 22 Jan 2013 14:40:50 +0000 (14:40 +0000)]
[GStreamer][Soup] Let GStreamer provide the buffer data is downloaded to, to avoid copying
https://bugs.webkit.org/show_bug.cgi?id=105552

Patch by Gustavo Noronha Silva <gustavo.noronha@collabora.com> on 2013-01-22
Reviewed by Philippe Normand.

Makes it possible for the GStreamer media backend to provide the buffer to which
the Soup networking backend will use to download data to. This makes copying
memory unnecessary when ResourceHandle hands data over to the media player's
StreamingClient. Thanks to Dan Winship for help designing the interface.

No behaviour change, covered by existing tests.

* platform/graphics/gstreamer/GStreamerVersioning.cpp:
(createGstBufferForData): New helper to create a GstBuffer when
we have a data pointer and a length.
(getGstBufferSize): Abstract obtaining the size of the buffer, so the code
is cleaner while still working for both GST 0.10 and 1.0.
(setGstBufferSize): Ditto, but for setting the size.
(getGstBufferDataPointer): Ditto, but for grabbing the data pointer.
(mapGstBuffer): Convenience method to take care of mapping the buffer so that
we can provide the data pointer to ResourceHandle.
(unmapGstBuffer): Convenience method which takes care of unmapping the buffer
and properly freeing the GstMapInfo.
* platform/graphics/gstreamer/GStreamerVersioning.h:
* platform/graphics/gstreamer/WebKitWebSourceGStreamer.cpp:
(StreamingClient): New methods.
(_WebKitWebSrcPrivate): We now store the GstBuffer we provided the data pointer from
so we can later unmap it and push it to the pipeline.
(webKitWebSrcDispose): Deal with the GstBuffer in case it exists when the source is
destroyed.
(webKitWebSrcStop): Also clear the GstBuffer in this case.
(StreamingClient::didReceiveData): Handle the hand-over of the buffer.
(StreamingClient::getBuffer): Provide ResourceHandle with a new GstBuffer's data pointer.
* platform/network/ResourceHandleClient.h:
(ResourceHandleClient):
(WebCore::ResourceHandleClient::ResourceHandleClient): Constructor to initialize the buffer
member variable to 0.
(WebCore::ResourceHandleClient::~ResourceHandleClient): Destructor to free the buffer if it
has been allocated.
(WebCore::ResourceHandleClient::getBuffer): Default implementation which returns a
newly allocated char pointer.
* platform/network/ResourceHandleInternal.h:
(WebCore::ResourceHandleInternal::ResourceHandleInternal):
(ResourceHandleInternal): Store actual buffer size, which is no longer a constant.
* platform/network/soup/ResourceHandleSoup.cpp:
(WebCore::cleanupSoupRequestOperation): Clear the buffer pointer, the life-cycle of the
buffer is handled by the ResourceHandleClient.
(WebCore::nextMultipartResponsePartCallback): Get a new buffer from the client before reading.
(WebCore::sendRequestCallback): Ditto.
(WebCore::readCallback): Ditto.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@140420 268f45cc-cd09-0410-ab3c-d52691b4dbfc

6 years ago[EFL] Fix context menu localized string
commit-queue@webkit.org [Tue, 22 Jan 2013 14:20:44 +0000 (14:20 +0000)]
[EFL] Fix context menu localized string
https://bugs.webkit.org/show_bug.cgi?id=107536

One of localized string has a marker. Since EFL port does not support them
it has to be removed, so the string will be displayed properly.

Patch by Michał Pakuła vel Rutka <m.pakula@samsung.com> on 2013-01-22
Reviewed by Laszlo Gombos.

* platform/efl/LocalizedStringsEfl.cpp:
(WebCore::contextMenuItemTagCheckSpellingWhileTyping)

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@140419 268f45cc-cd09-0410-ab3c-d52691b4dbfc

6 years agoAdd myself to commiters.py
commit-queue@webkit.org [Tue, 22 Jan 2013 13:43:11 +0000 (13:43 +0000)]
Add myself to commiters.py
https://bugs.webkit.org/show_bug.cgi?id=107546

Patch by Eugene Klyuchnikov <eustas@chromium.org> on 2013-01-22
Reviewed by Kentaro Hara.

* Scripts/webkitpy/common/config/committers.py:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@140418 268f45cc-cd09-0410-ab3c-d52691b4dbfc

6 years ago[EFL][Chromium] Unreviewed gardening.
thiago.santos@intel.com [Tue, 22 Jan 2013 13:33:12 +0000 (13:33 +0000)]
[EFL][Chromium] Unreviewed gardening.

Added expectations for a crashing EFL test and fixed
a typo on Chromium's expectations for the same test.

* platform/chromium/TestExpectations:
* platform/efl/TestExpectations:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@140417 268f45cc-cd09-0410-ab3c-d52691b4dbfc

6 years ago[EFL] Enable sub-pixel tests
dominik.rottsches@intel.com [Tue, 22 Jan 2013 13:26:25 +0000 (13:26 +0000)]
[EFL] Enable sub-pixel tests
https://bugs.webkit.org/show_bug.cgi?id=107548

Unreviewed gardening.

I will run this through EWS'ses and give others a chance to comment
since I am removing the sub-pixel skipping from the wk2/TestExpectations file.
This set of tests seems to be specifically skipped
in all platforms that don't want to run these tests.

* platform/efl/TestExpectations:
* platform/efl/fast/sub-pixel/inline-block-with-padding-expected.txt: Added.
* platform/efl/fast/sub-pixel/selection/selection-gaps-at-fractional-offsets-expected.png: Added.
* platform/efl/fast/sub-pixel/selection/selection-gaps-at-fractional-offsets-expected.txt: Added.
* platform/efl/fast/sub-pixel/selection/selection-rect-in-sub-pixel-table-expected.png: Added.
* platform/efl/fast/sub-pixel/selection/selection-rect-in-sub-pixel-table-expected.txt: Added.
* platform/efl/fast/sub-pixel/sub-pixel-accumulates-to-layers-expected.png: Added.
* platform/efl/fast/sub-pixel/sub-pixel-accumulates-to-layers-expected.txt: Added.
* platform/efl/fast/sub-pixel/sub-pixel-iframe-copy-on-scroll-expected.png: Added.
* platform/efl/fast/sub-pixel/sub-pixel-iframe-copy-on-scroll-expected.txt: Added.
* platform/efl/fast/sub-pixel/transformed-iframe-copy-on-scroll-expected.png: Added.
* platform/efl/fast/sub-pixel/transformed-iframe-copy-on-scroll-expected.txt: Added.
* platform/wk2/TestExpectations:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@140416 268f45cc-cd09-0410-ab3c-d52691b4dbfc

6 years agoUnreviewed, rolling out r140412.
commit-queue@webkit.org [Tue, 22 Jan 2013 13:09:10 +0000 (13:09 +0000)]
Unreviewed, rolling out r140412.
http://trac.webkit.org/changeset/140412
https://bugs.webkit.org/show_bug.cgi?id=107549

Broke rendering of buttons on gmail (Requested by carewolf on
#webkit).

Patch by Sheriff Bot <webkit.review.bot@gmail.com> on 2013-01-22

* platform/graphics/qt/TransparencyLayer.h:
(WebCore::TransparencyLayer::TransparencyLayer):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@140415 268f45cc-cd09-0410-ab3c-d52691b4dbfc

6 years ago[gstreamer] MediaPlayerPrivateGStreamer should take ownership of the playbin
christophe.dumez@intel.com [Tue, 22 Jan 2013 12:55:22 +0000 (12:55 +0000)]
[gstreamer] MediaPlayerPrivateGStreamer should take ownership of the playbin
https://bugs.webkit.org/show_bug.cgi?id=107445

Reviewed by Philippe Normand.

In gstreamer 1.0, gst_element_factory_make() now returns a floating reference.
MediaPlayerPrivateGStreamer calls gst_element_factory_make() to create the
playbin object but does not take ownership of the object. As a consequence,
the object keeps floating until it is unref'd in the
MediaPlayerPrivateGStreamer destructor.

This patch uses a GRefPtr<GstElement> to store the playbin object and only
adopt the object returned by gst_element_factory_make() if gstreamer 0.10
is used. When gstreamer 1.0 is used, the returned object will not be adopted,
which will remove the floating reference. This way, we ensure that the
playbin object is owned by MediaPlayerPrivateGStreamer.

No new tests, no behavior change for layout tests.

* platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp:
(WebCore::MediaPlayerPrivateGStreamer::MediaPlayerPrivateGStreamer):
(WebCore::MediaPlayerPrivateGStreamer::~MediaPlayerPrivateGStreamer):
(WebCore::MediaPlayerPrivateGStreamer::load):
(WebCore::MediaPlayerPrivateGStreamer::playbackPosition):
(WebCore::MediaPlayerPrivateGStreamer::changePipelineState):
(WebCore::MediaPlayerPrivateGStreamer::duration):
(WebCore::MediaPlayerPrivateGStreamer::seek):
(WebCore::MediaPlayerPrivateGStreamer::paused):
(WebCore::MediaPlayerPrivateGStreamer::notifyPlayerOfVideo):
(WebCore::MediaPlayerPrivateGStreamer::notifyPlayerOfAudio):
(WebCore::MediaPlayerPrivateGStreamer::setVolume):
(WebCore::MediaPlayerPrivateGStreamer::notifyPlayerOfVolumeChange):
(WebCore::MediaPlayerPrivateGStreamer::setRate):
(WebCore::MediaPlayerPrivateGStreamer::buffered):
(WebCore::MediaPlayerPrivateGStreamer::handleMessage):
(WebCore::MediaPlayerPrivateGStreamer::fillTimerFired):
* platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.h:
(MediaPlayerPrivateGStreamer):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@140414 268f45cc-cd09-0410-ab3c-d52691b4dbfc

6 years agoUnreviewed. Fix closure compiler warning in inspector front-end after r140390.
yurys@chromium.org [Tue, 22 Jan 2013 12:46:03 +0000 (12:46 +0000)]
Unreviewed. Fix closure compiler warning in inspector front-end after r140390.

* inspector/front-end/HeapSnapshotView.js:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@140413 268f45cc-cd09-0410-ab3c-d52691b4dbfc

6 years ago[Qt] Box shadows on a transparency layer is very slow
allan.jensen@digia.com [Tue, 22 Jan 2013 12:36:14 +0000 (12:36 +0000)]
[Qt] Box shadows on a transparency layer is very slow
https://bugs.webkit.org/show_bug.cgi?id=107547

Reviewed by Noam Rosenthal.

Set an initial clip on the transparency layer, so that the clipping
bounds will never end up larger than the layer.

* platform/graphics/qt/TransparencyLayer.h:
(WebCore::TransparencyLayer::TransparencyLayer):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@140412 268f45cc-cd09-0410-ab3c-d52691b4dbfc

6 years agoMove top layer flag from ElementRareData to NodeFlags
falken@chromium.org [Tue, 22 Jan 2013 12:15:14 +0000 (12:15 +0000)]
Move top layer flag from ElementRareData to NodeFlags
https://bugs.webkit.org/show_bug.cgi?id=107542

Reviewed by Hajime Morita.

This is a speculative fix for a perf regression (https://bugs.webkit.org/show_bug.cgi?id=106726)
likely due to checking the top layer flag in Element::removedFrom. It
also simplifies code dealing with top layer and makes it no longer
necessary to allocate rare data for top layer.

* dom/Element.cpp:
(WebCore::Element::removedFrom): Check isInTopLayer first in case it helps fix the perf regression.
(WebCore):
* dom/Element.h: Move top layer functions from Element to Node.
* dom/ElementRareData.h:
(ElementRareData):
(WebCore::ElementRareData::ElementRareData): Remove top layer flag from ElementRareData.
* dom/Node.cpp: Move top layer functions from Element to Node.
(WebCore):
(WebCore::Node::setIsInTopLayer):
* dom/Node.h:
(Node):
(WebCore::Node::isInTopLayer):
* dom/NodeRenderingContext.cpp: Remove unnecessary casts to Element for isInTopLayer().
(WebCore::isRendererReparented):
(WebCore::NodeRenderingContext::previousRenderer):
(WebCore::NodeRenderingContext::parentRenderer):
* rendering/RenderLayer.cpp: Ditto.
(WebCore::RenderLayer::isInTopLayer):
(WebCore::RenderLayer::rebuildZOrderLists):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@140411 268f45cc-cd09-0410-ab3c-d52691b4dbfc

6 years agoFix broken mac builds due to <http://trac.webkit.org/changeset/140399>.
mark.lam@apple.com [Tue, 22 Jan 2013 12:11:06 +0000 (12:11 +0000)]
Fix broken mac builds due to <trac.webkit.org/changeset/140399>.
https://bugs.webkit.org/show_bug.cgi?id=100710.

Not reviewed.

No new tests.

* WebCore.xcodeproj/project.pbxproj:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@140410 268f45cc-cd09-0410-ab3c-d52691b4dbfc

6 years ago[v8] Convert string conversion calls to one byte versions
commit-queue@webkit.org [Tue, 22 Jan 2013 11:59:19 +0000 (11:59 +0000)]
[v8] Convert string conversion calls to one byte versions
https://bugs.webkit.org/show_bug.cgi?id=107524

Patch by Dan Carney <dcarney@google.com> on 2013-01-22
Reviewed by Kentaro Hara.

No new tests. No change in functionality.

* bindings/v8/SerializedScriptValue.cpp:
* bindings/v8/V8StringResource.cpp:
(WebCore::WebCoreStringResourceBase::toWebCoreStringResourceBase):
(StringTraits):
(WebCore::true):
(WebCore::v8StringToWebCoreString):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@140409 268f45cc-cd09-0410-ab3c-d52691b4dbfc

6 years agoWeb Inspector: [Network] CookiesTable refactoring.
commit-queue@webkit.org [Tue, 22 Jan 2013 11:57:31 +0000 (11:57 +0000)]
Web Inspector: [Network] CookiesTable refactoring.
https://bugs.webkit.org/show_bug.cgi?id=107511

Patch by Eugene Klyuchnikov <eustas@chromium.org> on 2013-01-22
Reviewed by Pavel Feldman.

CookiesTable uses integer indexes as column identifiers.
This leads to cryptic code.

Descriptive column identifiers will make code clearer.
Also "addCookiesFolder" replaced with "setCookieFolders" to avoid
repetitive "_rebuildTable" invocation.

* inspector/front-end/CookiesTable.js:
(WebInspector.CookiesTable): Use descriptive column identifiers.
(WebInspector.CookiesTable.prototype.setCookieFolders):
Accept multiple folders.
(WebInspector.CookiesTable.prototype._rebuildTable):
Use descriptive column identifiers.
(WebInspector.CookiesTable.prototype._sortCookies):
Ditto.
(WebInspector.CookiesTable.prototype._createGridNode):
Ditto.
* inspector/front-end/RequestCookiesView.js:
(WebInspector.RequestCookiesView.prototype._buildCookiesTable):
Use "setCookieFolders".

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@140408 268f45cc-cd09-0410-ab3c-d52691b4dbfc

6 years ago[GTK] Disable support for unprefixed CSS animations, transitions, transforms in relea...
zandobersek@gmail.com [Tue, 22 Jan 2013 11:41:46 +0000 (11:41 +0000)]
[GTK] Disable support for unprefixed CSS animations, transitions, transforms in release builds
https://bugs.webkit.org/show_bug.cgi?id=107436

Reviewed by Alexis Menard.

Disable the unprefixed CSS animations, transitions and transforms support
in the release builds for now. The work in this area is not yet complete
and should not ship in such state.

No new tests - no new functionality.

* GNUmakefile.features.am.in:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@140407 268f45cc-cd09-0410-ab3c-d52691b4dbfc

6 years agoUnreviewed GTK gardening.
zandobersek@gmail.com [Tue, 22 Jan 2013 11:31:36 +0000 (11:31 +0000)]
Unreviewed GTK gardening.

Adding back an expectation that was errornously removed in r140404.

* platform/gtk/TestExpectations:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@140406 268f45cc-cd09-0410-ab3c-d52691b4dbfc

6 years agoWeb Inspector: [REGRESSION] SASSSourceMapping broken: _bindUISourceCode method is...
apavlov@chromium.org [Tue, 22 Jan 2013 11:13:13 +0000 (11:13 +0000)]
Web Inspector: [REGRESSION] SASSSourceMapping broken: _bindUISourceCode method is absent
https://bugs.webkit.org/show_bug.cgi?id=107529

Reviewed by Pavel Feldman.

* inspector/front-end/SASSSourceMapping.js:
(WebInspector.SASSSourceMapping.prototype._fileSaveFinished):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@140405 268f45cc-cd09-0410-ab3c-d52691b4dbfc

6 years agoUnreviewed GTK gardening.
zandobersek@gmail.com [Tue, 22 Jan 2013 10:34:29 +0000 (10:34 +0000)]
Unreviewed GTK gardening.

Adding timeout expectations for two tests from the JSRegress suite that
were added in r140276. The timeouts are GTK-specific.
Expanding the main failure expectation for all Encrypted Media tests to
expect either failures or timeouts.

* platform/gtk/TestExpectations:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@140404 268f45cc-cd09-0410-ab3c-d52691b4dbfc