WebKit-https.git
9 years agoMove SimpleFontDataSkia.cpp to Source/WebCore/platform/graphics/skia
bashi@chromium.org [Fri, 13 Jan 2012 00:27:48 +0000 (00:27 +0000)]
Move SimpleFontDataSkia.cpp to Source/WebCore/platform/graphics/skia
https://bugs.webkit.org/show_bug.cgi?id=76155

Reviewed by Tony Chang.

No new tests. No behavior change.

* PlatformBlackBerry.cmake:
* WebCore.gyp/WebCore.gyp:
* WebCore.gypi:
* platform/graphics/skia/SimpleFontDataSkia.cpp: Renamed from Source/WebCore/platform/graphics/harfbuzz/SimpleFontDataSkia.cpp.
(WebCore::SimpleFontData::platformInit):
(WebCore::SimpleFontData::platformCharWidthInit):
(WebCore::SimpleFontData::platformDestroy):
(WebCore::SimpleFontData::createScaledFontData):
(WebCore::SimpleFontData::smallCapsFontData):
(WebCore::SimpleFontData::emphasisMarkFontData):
(WebCore::SimpleFontData::containsCharacters):
(WebCore::SimpleFontData::determinePitch):
(WebCore::SimpleFontData::platformBoundsForGlyph):
(WebCore::SimpleFontData::platformWidthForGlyph):

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

9 years agoA Frame with frame flattening can be stuck in a state in which performPostLayoutTasks...
benjamin@webkit.org [Fri, 13 Jan 2012 00:19:10 +0000 (00:19 +0000)]
A Frame with frame flattening can be stuck in a state in which performPostLayoutTasks() is never executed
https://bugs.webkit.org/show_bug.cgi?id=76154

Patch by Benjamin Poulain <bpoulain@apple.com> on 2012-01-12
Reviewed by Beth Dakin.

In a frame with inSubframeLayoutWithFrameFlattening == true, if
-m_hasPendingPostLayoutTasks == true
-FrameView::unscheduleRelayout() is executed
-->the timer m_postLayoutTasksTimer is stopped
-->no timer is scheduled due to m_hasPendingPostLayoutTasks == true && inSubframeLayoutWithFrameFlattening == true

This patch revert the handling of the postLayoutTasks to its state prior to r66552.

The timer itself is used as the only state to know if post layout tasks are scheduled.

For the case without frame flattening:
-Prior to this patch, when FrameView::unscheduleRelayout() was executed, the postLayoutTasksTimer was killed,
and the post layout tasks would be executed during the next layout().
-After this patch, the post layout tasks stay scheduled and are executed on the next event loop if layout()
was not invoked before.

* page/FrameView.cpp:
(WebCore::FrameView::FrameView):
(WebCore::FrameView::~FrameView):
(WebCore::FrameView::reset):
(WebCore::FrameView::layout):
(WebCore::FrameView::unscheduleRelayout):
(WebCore::FrameView::flushAnyPendingPostLayoutTasks):
(WebCore::FrameView::performPostLayoutTasks):
* page/FrameView.h:

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

9 years agoPatch by Yongjun Zhang <yongjun_zhang@apple.com> on 2012-01-12
commit-queue@webkit.org [Thu, 12 Jan 2012 23:59:53 +0000 (23:59 +0000)]
Patch by Yongjun Zhang <yongjun_zhang@apple.com> on 2012-01-12
Reviewed by Benjamin Poulain.

https://bugs.webkit.org/show_bug.cgi?id=75991
Make the code in MemoryPressureHandler::respondToMemoryPressure shareable.

Move memory pressure handling code inside a new function (releaseMemory) so that
we could shared it between mac and iOS.

* Configurations/WebCore.xcconfig: add MemoryPressureHandlerMac.mm into iOS build.
* platform/MemoryPressureHandler.h:
* platform/mac/MemoryPressureHandlerMac.mm:
(WebCore::MemoryPressureHandler::respondToMemoryPressure):
(WebCore::MemoryPressureHandler::releaseMemory):

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

9 years agoRefactor DOMImplementation.hasFeature logic into helper functions.
eric@webkit.org [Thu, 12 Jan 2012 23:57:29 +0000 (23:57 +0000)]
Refactor DOMImplementation.hasFeature logic into helper functions.
https://bugs.webkit.org/show_bug.cgi?id=76212

Reviewed by Adam Barth.

This patch should not have any behavior change.  The goal was
to move our feature detection towards a more modular architecture
(as that seems to be the current trend in webkit).  In a future
patch we could easily move the SVG feature detection into the
SVG directory, for example.  I've also added a list of all the
Event3 features (currently commented out) which makes it obvious
how many we're missing.

* dom/DOMImplementation.cpp:
(WebCore::isSVG10Feature):
(WebCore::isSVG11Feature):
(WebCore::isEvents2Feature):
(WebCore::isEvents3Feature):
(WebCore::DOMImplementation::hasFeature):

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

9 years agohttps://bugs.webkit.org/show_bug.cgi?id=76141
barraclough@apple.com [Thu, 12 Jan 2012 23:51:44 +0000 (23:51 +0000)]
https://bugs.webkit.org/show_bug.cgi?id=76141
defineSetter/defineGetter may fail to update Accessor attribute

Reviewed by Oliver Hunt.

* runtime/JSObject.cpp:
(JSC::JSObject::defineGetter):
(JSC::JSObject::initializeGetterSetterProperty):
(JSC::JSObject::defineSetter):
* runtime/Structure.cpp:
(JSC::Structure::attributeChangeTransition):
* runtime/Structure.h:

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

9 years ago[chromium] Fix DC leak in WebScreenInfoFactory.
levin@chromium.org [Thu, 12 Jan 2012 23:34:11 +0000 (23:34 +0000)]
[chromium] Fix DC leak in WebScreenInfoFactory.
https://bugs.webkit.org/show_bug.cgi?id=76203

Reviewed by Dmitry Titov.

Source/JavaScriptCore:

* JavaScriptCore.gyp/JavaScriptCore.gyp: Added OwnGetDCWin.h
* JavaScriptCore.gypi: Added OwnGetDCWin.h
* JavaScriptCore/wtf/win/OwnGetDCWin.h: Made an owner class for GetDC which needs ReleaseDC as opposed to DeleteDC.

Source/WebKit/chromium:

* src/win/WebScreenInfoFactory.cpp:
(WebKit::WebScreenInfoFactory::screenInfo): Use OwnGetDC to ensure its release.

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

9 years agoNodeIterator loses track of the reference node when the reference node is removed...
abarth@webkit.org [Thu, 12 Jan 2012 23:18:36 +0000 (23:18 +0000)]
NodeIterator loses track of the reference node when the reference node is removed from the document (IETC ni_removeReferenceNode)
https://bugs.webkit.org/show_bug.cgi?id=76146

Reviewed by Eric Seidel.

Source/WebCore:

In the case where we're removing the reference node we can end up with
the wrong reference node.  This patch makes sure we traverse outside of
the removed node's subtree.

This bug was caught by the following IE Test Center test:

http://samples.msdn.microsoft.com/ietestcenter/domtraversal/showdomtraversaltest.htm?ni_removeReferenceNode

Our new behavior also match Firefox.

I experimented a bit with adding ASSERT_NOT_REACHED to various branches
in NodeIterator::updateForNodeRemoval, and it seems our test coverage
for this function is relatively poor.  In the future, we should
consider adding more tests for this complicated function.

Test: fast/dom/node-iterator-reference-node-removed.html

* dom/NodeIterator.cpp:
(WebCore::NodeIterator::updateForNodeRemoval):

LayoutTests:

Test based on http://samples.msdn.microsoft.com/ietestcenter/domtraversal/showdomtraversaltest.htm?ni_removeReferenceNode

* fast/dom/node-iterator-reference-node-removed-expected.txt: Added.
* fast/dom/node-iterator-reference-node-removed.html: Added.

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

9 years agoIndexedDB: Throw exception if IDBCursor.continue() called with key equal to current
commit-queue@webkit.org [Thu, 12 Jan 2012 23:12:29 +0000 (23:12 +0000)]
IndexedDB: Throw exception if IDBCursor.continue() called with key equal to current
https://bugs.webkit.org/show_bug.cgi?id=76100

Source/WebCore:

The fix for https://bugs.webkit.org/show_bug.cgi?id=74213 missed the "or equal" clause
in the spec.

Patch by Joshua Bell <jsbell@chromium.org> on 2012-01-12
Reviewed by Tony Chang.

Test: storage/indexeddb/cursor-continue.html

* storage/IDBCursorBackendImpl.cpp:
(WebCore::IDBCursorBackendImpl::continueFunction):

LayoutTests:

The previously existing clauses that iterated a cursor over non-unique values
by specifing a key now fail per spec, so they are changed to simply call continue().

Patch by Joshua Bell <jsbell@chromium.org> on 2012-01-12
Reviewed by Tony Chang.

* storage/indexeddb/cursor-continue-expected.txt:
* storage/indexeddb/cursor-continue.html:

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

9 years agoSetting value on a select element to a non existing option value should clear selection
jonlee@apple.com [Thu, 12 Jan 2012 22:57:14 +0000 (22:57 +0000)]
Setting value on a select element to a non existing option value should clear selection
https://bugs.webkit.org/show_bug.cgi?id=67233
<rdar://problem/10057159>

Reviewed by Darin Adler.

Source/WebCore:

Test: fast/forms/select/setting-to-invalid-value.html

* html/HTMLSelectElement.cpp:
(WebCore::HTMLSelectElement::setValue): Clear the selection in the cases where we cannot
find an option with the specified value. The spec states to clear the selectedness of all
options first. To avoid calling setSelectedIndex() multiple times, we clear the selected
option(s) only when don't find the appropriate option.

Also, correct the sentence style of a comment.

LayoutTests:

New tests check to see that setting the value of a select element clears the
selection, even if the value is invalid, null, or undefined.

* fast/forms/select/setting-to-invalid-value-expected.txt: Added.
* fast/forms/select/setting-to-invalid-value.html: Added.

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

9 years agoUnreviewed build fix after r104858.
jer.noble@apple.com [Thu, 12 Jan 2012 22:54:55 +0000 (22:54 +0000)]
Unreviewed build fix after r104858.

NSDataReadingMappedIfSafe is not defined on <= 10.6.  Use NSDataReadingMapped on that platform instead.

* platform/audio/mac/AudioBusMac.mm:
(WebCore::AudioBus::loadPlatformResource):

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

9 years ago[skia] Track a simple opaque area when painting via PlatformContextSkia and save...
commit-queue@webkit.org [Thu, 12 Jan 2012 22:39:25 +0000 (22:39 +0000)]
[skia] Track a simple opaque area when painting via PlatformContextSkia and save in LayerTextureUpdater
https://bugs.webkit.org/show_bug.cgi?id=74352

Patch by Dana Jansens <danakj@chromium.org> on 2012-01-12
Reviewed by Stephen White.

Source/WebCore:

New unit tests in PlatformContextSkiaTest.cpp

* WebCore.gypi:
* platform/graphics/skia/GraphicsContextSkia.cpp:
(WebCore::GraphicsContext::clearRect):
(WebCore::GraphicsContext::drawConvexPolygon):
(WebCore::GraphicsContext::drawEllipse):
(WebCore::drawOuterPath):
(WebCore::drawInnerPath):
(WebCore::GraphicsContext::drawFocusRing):
(WebCore::GraphicsContext::drawLine):
(WebCore::GraphicsContext::drawLineForTextChecking):
(WebCore::GraphicsContext::drawLineForText):
(WebCore::GraphicsContext::fillPath):
(WebCore::GraphicsContext::fillRect):
(WebCore::GraphicsContext::fillRoundedRect):
(WebCore::GraphicsContext::strokeArc):
(WebCore::GraphicsContext::strokePath):
(WebCore::GraphicsContext::strokeRect):
* platform/graphics/skia/ImageSkia.cpp:
(WebCore::paintSkBitmap):
* platform/graphics/skia/OpaqueRegionSkia.cpp: Added.
(WebCore::OpaqueRegionSkia::OpaqueRegionSkia):
(WebCore::OpaqueRegionSkia::~OpaqueRegionSkia):
(WebCore::OpaqueRegionSkia::asRect):
(WebCore::xfermodeIsOpaque):
(WebCore::xfermodePreservesOpaque):
(WebCore::paintIsOpaque):
(WebCore::OpaqueRegionSkia::didDrawRect):
(WebCore::OpaqueRegionSkia::didDrawPath):
(WebCore::OpaqueRegionSkia::didDrawPoints):
(WebCore::OpaqueRegionSkia::didDrawBounded):
(WebCore::OpaqueRegionSkia::didDraw):
(WebCore::OpaqueRegionSkia::didDrawUnbounded):
(WebCore::OpaqueRegionSkia::markRectAsOpaque):
(WebCore::OpaqueRegionSkia::markRectAsNonOpaque):
* platform/graphics/skia/OpaqueRegionSkia.h: Added.
* platform/graphics/skia/PlatformContextSkia.cpp:
(WebCore::PlatformContextSkia::PlatformContextSkia):
(WebCore::PlatformContextSkia::clippedToImage):
(WebCore::PlatformContextSkia::drawRect):
(WebCore::PlatformContextSkia::paintSkPaint):
(WebCore::PlatformContextSkia::didDrawRect):
(WebCore::PlatformContextSkia::didDrawPath):
(WebCore::PlatformContextSkia::didDrawPoints):
(WebCore::PlatformContextSkia::didDrawBounded):
* platform/graphics/skia/PlatformContextSkia.h:
(WebCore::PlatformContextSkia::setTrackOpaqueRegion):
(WebCore::PlatformContextSkia::opaqueRegion):

Source/WebKit/chromium:

* WebKit.gypi:
* tests/PlatformContextSkiaTest.cpp: Added.
(WebCore::TEST):

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

9 years agohttps://bugs.webkit.org/show_bug.cgi?id=76209
bdakin@apple.com [Thu, 12 Jan 2012 22:18:07 +0000 (22:18 +0000)]
https://bugs.webkit.org/show_bug.cgi?id=76209
Support expanded scrollbars
-and corresponding-
<rdar://problem/10527734>

Reviewed by Sam Weinig.

All this really requires is leaving the proper amount of space for the
expanded width.
* platform/mac/NSScrollerImpDetails.h:
* platform/mac/ScrollbarThemeMac.mm:
(WebCore::supportsExpandedScrollbars):
(WebCore::ScrollbarThemeMac::scrollbarThickness):

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

9 years agoWebAudio: Enable USE_CONCATENATED_IMPULSE_RESPONSES on Mac port.
jer.noble@apple.com [Thu, 12 Jan 2012 22:15:50 +0000 (22:15 +0000)]
WebAudio: Enable USE_CONCATENATED_IMPULSE_RESPONSES on Mac port.
https://bugs.webkit.org/show_bug.cgi?id=74328

Reviewed by Eric Carlson.

No new tests; no net change in functionality.

* WebCore.xcodeproj/project.pbxproj: Added SincResampler class, Composite.wav to the project.
    Removed IRC_*.wav resources from the project.
* platform/audio/AudioBus.cpp:
(WebCore::AudioBus::createBySampleRateConverting): Uncommented this function
* platform/audio/AudioBus.h:
* platform/audio/HRTFElevation.cpp:

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

9 years agoWebAudio: AudioBus::loadPlatformResource should mmap file on Mac port.
jer.noble@apple.com [Thu, 12 Jan 2012 22:13:35 +0000 (22:13 +0000)]
WebAudio: AudioBus::loadPlatformResource should mmap file on Mac port.
https://bugs.webkit.org/show_bug.cgi?id=74326

Reviewed by Darin Adler.

No new tests; no net change in functionality.

Use NSDataReadingMappedIfSafe when reading platform audio file data.

* platform/audio/mac/AudioBusMac.mm:
(WebCore::AudioBus::loadPlatformResource):

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

9 years agoWebAudio: Use Logging instead of printf.
jer.noble@apple.com [Thu, 12 Jan 2012 22:11:52 +0000 (22:11 +0000)]
WebAudio: Use Logging instead of printf.
https://bugs.webkit.org/show_bug.cgi?id=74322

Reviewed by Darin Adler.

No new tests; no net change in functionality.

Add a new WebCoreLogLevel for WebAudio, and use this new log level instead of
printf statements in webaudio classes.

* platform/Logging.cpp:
(WebCore::getChannelFromName):
* platform/Logging.h:
* platform/mac/LoggingMac.mm:
(WebCore::InitializeLoggingChannelsIfNecessary):
* platform/audio/FFTFrame.cpp:
(WebCore::FFTFrame::print):
* webaudio/DefaultAudioDestinationNode.cpp:
(WebCore::DefaultAudioDestinationNode::initialize):

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

9 years agoNeed a script to run tests in PerformanceTests
rniwa@webkit.org [Thu, 12 Jan 2012 22:08:41 +0000 (22:08 +0000)]
Need a script to run tests in PerformanceTests
https://bugs.webkit.org/show_bug.cgi?id=76132

Reviewed by Adam Barth.

Add run-perf-tests to run performance tests using parser/resources/runner.js.
Unfortunately, there isn't an easy way of telling which test uses which format
so hard-code directory that uses Chromium perf-bot style (only inspector perf. tests for now).

All test outputs are re-formatted to match Chromium perf-bot style.

* Scripts/run-inspector-perf-tests.py:
* Scripts/run-perf-tests: Added.
* Scripts/webkitpy/performance_tests/perftestsrunner.py:
(PerfTestsRunner):
(PerfTestsRunner.__init__):
(PerfTestsRunner._collect_tests):
(PerfTestsRunner.run):
(PerfTestsRunner._print_status):
(PerfTestsRunner._run_tests_set):
(PerfTestsRunner._process_chromium_style_test_result):
(PerfTestsRunner._should_ignore_line_in_parser_test_result):
(PerfTestsRunner._process_parser_test_result):
(PerfTestsRunner._run_single_test):
* Scripts/webkitpy/performance_tests/perftestsrunner_unittest.py:
(MainTest.TestDriver.run_test):
(create_runner):
(run_test):
(test_run_test_set):
(test_run_test_set_for_parser_tests):
(test_collect_tests):

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

9 years agoMake ScrollElasticityController members private
andersca@apple.com [Thu, 12 Jan 2012 21:39:54 +0000 (21:39 +0000)]
Make ScrollElasticityController members private
https://bugs.webkit.org/show_bug.cgi?id=76208

Reviewed by Andreas Kling.

* platform/mac/ScrollAnimatorMac.mm:
(WebCore::ScrollAnimatorMac::endScrollGesture):
Call ScrollElasticityController::endScrollGesture.

* platform/mac/ScrollElasticityController.h:
Make members private.

* platform/mac/ScrollElasticityController.mm:
(WebCore::ScrollElasticityController::endScrollGesture):
Call snapRubberBand.

(WebCore::ScrollElasticityController::snapRubberBandTimerFired):
Call stopSnapRubberbandTimer.

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

9 years agoMove wheel event handling to ScrollElasticityController::handleWheelEvent
andersca@apple.com [Thu, 12 Jan 2012 21:28:51 +0000 (21:28 +0000)]
Move wheel event handling to ScrollElasticityController::handleWheelEvent
https://bugs.webkit.org/show_bug.cgi?id=76205

Reviewed by Andreas Kling.

Move the code in ScrollAnimatorMac::smoothScrollWithEvent to ScrollElasticityController::handleWheelEvent and
change ScrollAnimatorMac::handleWheelEvent to just call ScrollElasticityController::handleWheelEvent.
This means that we'll not set m_haveScrolledSincePageLoad = true anymore (we used to set it in ScrollAnimatorMac::smoothScrollWithEvent),
but we already set it to true in ScrollAnimatorMac::handleWheelEvent so it already had no effect.

* platform/mac/ScrollAnimatorMac.h:
* platform/mac/ScrollAnimatorMac.mm:
(WebCore::ScrollAnimatorMac::handleWheelEvent):
* platform/mac/ScrollElasticityController.h:
* platform/mac/ScrollElasticityController.mm:
(WebCore::elasticDeltaForReboundDelta):
(WebCore::scrollWheelMultiplier):
(WebCore::ScrollElasticityController::handleWheelEvent):

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

9 years agoBorders and box masks behave incorrectly with overlapping offsets
simon.fraser@apple.com [Thu, 12 Jan 2012 21:25:39 +0000 (21:25 +0000)]
Borders and box masks behave incorrectly with overlapping offsets
https://bugs.webkit.org/show_bug.cgi?id=76137

Source/WebCore:

Reviewed by Dave Hyatt.

When border-image-slice sizes add up to more than the height or width
of the border-image, the middle sections should not be rendered, per spec.

Test: fast/borders/border-image-slice-constrained.html

* rendering/RenderBoxModelObject.cpp:
(WebCore::RenderBoxModelObject::paintNinePieceImage):

LayoutTests:

Reviewed by Dave Hyatt.

Testcase with border-image slices adding up to more than the height/width
of the border image.

Fixed cross-fade-webkit-mask-box-image.html to use slices that are half
of the image width.

* animations/cross-fade-webkit-mask-box-image.html:
* fast/borders/border-image-slice-constrained.html: Added.
* platform/mac/animations/cross-fade-webkit-mask-box-image-expected.png:
* platform/mac/fast/borders/border-image-slice-constrained-expected.png: Added.
* platform/mac/fast/borders/border-image-slice-constrained-expected.txt: Added.

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

9 years ago[GTK] [WebKit2] WebKitURIRequest and WebKitURIResponse should wrap the corresponding...
mrobinson@webkit.org [Thu, 12 Jan 2012 21:16:26 +0000 (21:16 +0000)]
[GTK] [WebKit2] WebKitURIRequest and WebKitURIResponse should wrap the corresponding WebCore classes
https://bugs.webkit.org/show_bug.cgi?id=74478

Reviewed by Gustavo Noronha Silva.

Have WebKitURIRequest wrap a ResourceRquesst and WebKitURIResponse wrap a ResourceResponse.
They are the WebCore types they are meant to represent and we will need to expose more
information from them in the future to make them useful. Later we can have ResourceResponse
generate a SoupMessage lazily if necessary.

* GNUmakefile.am:
* UIProcess/API/gtk/WebKitURIRequest.cpp:
(webkit_uri_request_class_init): Remove the set property vmethod.
(webkit_uri_request_new): The URI property is no longer settable.
(webkitURIRequestCreateForResourceRequest): Added this private constructor.
(webkit_uri_request_get_uri): Now we just get the URI directly from the ResourceRequest.
* UIProcess/API/gtk/WebKitURIResponse.cpp:
(webkit_uri_response_class_init): Remove the set property vmethod.
(webkit_uri_response_get_uri): Get the URI directly from the ResourceReponse.
(webkit_uri_response_get_status_code): Get the status code directly from the ResourceResponse.
(webkit_uri_response_get_content_length): Get the content length directly from the ResourceResponse.
(webkitURIResponseCreateForResourceResponse): Added this private constructor.
* UIProcess/API/gtk/WebKitURIResponsePrivate.h: Removed unnecessary methods.

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

9 years agoMake all calls to pinnedInDirection go through the ScrollElasticityController
andersca@apple.com [Thu, 12 Jan 2012 21:08:33 +0000 (21:08 +0000)]
Make all calls to pinnedInDirection go through the ScrollElasticityController
https://bugs.webkit.org/show_bug.cgi?id=76204

Reviewed by Andreas Kling.

* platform/mac/ScrollAnimatorMac.mm:
(WebCore::ScrollAnimatorMac::smoothScrollWithEvent):

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

9 years ago[chromium] Re-enable Skia feColorMatrix filter implementation.
senorblanco@chromium.org [Thu, 12 Jan 2012 20:50:25 +0000 (20:50 +0000)]
[chromium] Re-enable Skia feColorMatrix filter implementation.
https://bugs.webkit.org/show_bug.cgi?id=76186

Source/WebCore:

This code was landed in http://trac.webkit.org/changeset/104566 and
partially reverted in http://trac.webkit.org/changeset/104632 due
to problems with the Windows Shared builder.  Those problems have
been fixed in r3006, since rolled into Chrome.

Reviewed by Kenneth Russell.

Covered by SVG feColorMatrix tests.

* WebCore.gypi:
* platform/graphics/filters/FEColorMatrix.h:

LayoutTests:

Remove suppressions for tests which now pass.

Reviewed by Kenneth Russell.

* platform/chromium/test_expectations.txt:

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

9 years agoAdd allowsHorizontalStretching and allowsVerticalStretching to ScrollElasticityContro...
andersca@apple.com [Thu, 12 Jan 2012 20:43:02 +0000 (20:43 +0000)]
Add allowsHorizontalStretching and allowsVerticalStretching to ScrollElasticityControllerClient
https://bugs.webkit.org/show_bug.cgi?id=76202

Reviewed by Andreas Kling.

* platform/mac/ScrollAnimatorMac.h:
* platform/mac/ScrollAnimatorMac.mm:
(WebCore::ScrollAnimatorMac::allowsVerticalStretching):
(WebCore::ScrollAnimatorMac::allowsHorizontalStretching):
(WebCore::ScrollAnimatorMac::smoothScrollWithEvent):
* platform/mac/ScrollElasticityController.h:

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

9 years agoMove snapRubberBand to ScrollElasticityController
andersca@apple.com [Thu, 12 Jan 2012 20:25:19 +0000 (20:25 +0000)]
Move snapRubberBand to ScrollElasticityController
https://bugs.webkit.org/show_bug.cgi?id=76200

Reviewed by Andreas Kling.

* platform/mac/ScrollAnimatorMac.h:
* platform/mac/ScrollAnimatorMac.mm:
(WebCore::ScrollAnimatorMac::smoothScrollWithEvent):
(WebCore::ScrollAnimatorMac::endScrollGesture):
* platform/mac/ScrollElasticityController.h:
* platform/mac/ScrollElasticityController.mm:
(systemUptime):
(WebCore::ScrollElasticityController::snapRubberBand):

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

9 years agoREGRESSION(r104060): Setting user stylesheet may leave CSSStyleSelector with stale...
antti@apple.com [Thu, 12 Jan 2012 20:21:51 +0000 (20:21 +0000)]
REGRESSION(r104060): Setting user stylesheet may leave CSSStyleSelector with stale rule pointers
https://bugs.webkit.org/show_bug.cgi?id=76191

Source/WebCore:

Reviewed by Andreas Kling.

Setting the user style sheet frees the existing user style sheet data structures. The code
in Document::updatePageGroupUserSheets then relies on styleSelectorChanged to clear the
style selector so it is not left with stale pointers. However under certain conditions
involving pending stylesheets it may bail out quickly without clearing.

Document::styleSelectorChanged has to take care that it never leaves the style selector stale
even when bailing out early.

Test: fast/css/user-stylesheet-crash.html

* dom/Document.cpp:
(WebCore::Document::styleSelectorChanged):

LayoutTests:

Reviewed by Andreas Kling.

* fast/css/user-stylesheet-crash-expected.txt: Added.
* fast/css/user-stylesheet-crash.html: Added.

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

9 years ago[chromium] Turn off FrameRateController timesource when it is not needed
nduca@chromium.org [Thu, 12 Jan 2012 20:14:49 +0000 (20:14 +0000)]
[chromium] Turn off FrameRateController timesource when it is not needed
https://bugs.webkit.org/show_bug.cgi?id=76149

Reviewed by James Robinson.

Source/WebCore:

* platform/graphics/chromium/cc/CCDelayBasedTimeSource.h:
(WebCore::CCDelayBasedTimeSource::active):
* platform/graphics/chromium/cc/CCFrameRateController.cpp:
(WebCore::CCFrameRateController::setActive):
(WebCore::CCFrameRateController::onTimerTick):
* platform/graphics/chromium/cc/CCFrameRateController.h:
* platform/graphics/chromium/cc/CCScheduler.cpp:
(WebCore::CCScheduler::CCScheduler):
(WebCore::CCScheduler::setVisible):
(WebCore::CCScheduler::processScheduledActions):
* platform/graphics/chromium/cc/CCSchedulerStateMachine.cpp:
(WebCore::CCSchedulerStateMachine::vsyncCallbackNeeded):
* platform/graphics/chromium/cc/CCSchedulerStateMachine.h:
* platform/graphics/chromium/cc/CCTimeSource.h:

Source/WebKit/chromium:

* tests/CCDelayBasedTimeSourceTest.cpp:
(WebKitTests::TEST):
* tests/CCLayerTreeHostTest.cpp:
(WTF::CCLayerTreeHostTest::timeout):
* tests/CCSchedulerStateMachineTest.cpp:
(WebCore::TEST):
* tests/CCSchedulerTest.cpp:
(WebKitTests::TEST):
* tests/CCSchedulerTestCommon.h:
(WebKitTests::FakeCCTimeSource::active):

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

9 years agowebkitpy: clean up port unit tests in preparation for making port_name mandatory
dpranke@chromium.org [Thu, 12 Jan 2012 20:06:34 +0000 (20:06 +0000)]
webkitpy: clean up port unit tests in preparation for making port_name mandatory
https://bugs.webkit.org/show_bug.cgi?id=76123

Reviewed by Adam Barth.

This change updates the unit tests to be more consistent in how
ports are created, in preparation for making port_name a
mandatory parameter to the constructor and removing any version
interpretation from it.

There should be no functional changes in this patch, but some
tests that are no longer relevant have been removed or reworked.

* Scripts/webkitpy/layout_tests/port/base_unittest.py:
(PortTest.test_get_option__default):
* Scripts/webkitpy/layout_tests/port/chromium_linux_unittest.py:
(ChromiumLinuxPortTest):
(ChromiumLinuxPortTest.assert_architecture):
(ChromiumLinuxPortTest.test_determine_architecture_fails):
* Scripts/webkitpy/layout_tests/port/chromium_mac_unittest.py:
(ChromiumMacPortTest):
* Scripts/webkitpy/layout_tests/port/chromium_unittest.py:
(ChromiumPortTest):
(ChromiumPortTest.test_all_test_configurations):
(ChromiumPortTest.TestMacPort.__init__):
(ChromiumPortTest.TestLinuxPort.__init__):
(ChromiumPortTest.TestWinPort.__init__):
* Scripts/webkitpy/layout_tests/port/chromium_win_unittest.py:
(ChromiumWinTest):
* Scripts/webkitpy/layout_tests/port/efl_unittest.py:
(EflPortTest):
* Scripts/webkitpy/layout_tests/port/gtk_unittest.py:
(GtkPortTest):
* Scripts/webkitpy/layout_tests/port/mac_unittest.py:
(MacTest):
* Scripts/webkitpy/layout_tests/port/mock_drt_unittest.py:
(MockDRTPortTest):
(MockDRTPortTest.make_port):
* Scripts/webkitpy/layout_tests/port/qt.py:
(QtPort._port_flag_for_scripts):
(QtPort.__init__):
* Scripts/webkitpy/layout_tests/port/qt_unittest.py:
(QtPortTest):
(QtPortTest._assert_search_path):
(QtPortTest.test_baseline_search_path):
(QtPortTest.test_operating_system):
* Scripts/webkitpy/layout_tests/port/webkit_unittest.py:
(WebKitPortTest):
* Scripts/webkitpy/layout_tests/port/win_unittest.py:
(WinPortTest):
(WinPortTest._assert_search_path):
(WinPortTest.test_baseline_search_path):
* Scripts/webkitpy/tool/servers/rebaselineserver_unittest.py:
(get_test_config.TestMacPort.__init__):

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

9 years agoMove snapRubberBandTimerFired to ScrollElasticityController
andersca@apple.com [Thu, 12 Jan 2012 20:04:31 +0000 (20:04 +0000)]
Move snapRubberBandTimerFired to ScrollElasticityController
https://bugs.webkit.org/show_bug.cgi?id=76196

Reviewed by Andreas Kling.

* platform/mac/ScrollAnimatorMac.mm:
(WebCore::ScrollAnimatorMac::snapRubberBandTimerFired):
* platform/mac/ScrollElasticityController.h:
* platform/mac/ScrollElasticityController.mm:
(WebCore::elasticDeltaForTimeDelta):
(WebCore::roundTowardZero):
(WebCore::roundToDevicePixelTowardZero):
(WebCore::ScrollElasticityController::snapRubberBandTimerFired):

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

9 years agotest-webkitpy: clean up logging and provide a real --help message
dpranke@chromium.org [Thu, 12 Jan 2012 19:55:31 +0000 (19:55 +0000)]
test-webkitpy: clean up logging and provide a real --help message
https://bugs.webkit.org/show_bug.cgi?id=76142

Reviewed by Adam Barth.

This test is mostly more refactoring - it calls objects in
unittest directly instead of routing through unittest.main() --
in order to gain more control over the logging and to provide a
correct --help message. This will also give us a better
foundation for adding more feautures down the road.

This patch adds different levels of logging controlled by the
'-s', '-q', and '-v' options (see --help for details), and
removes the --verbose-logging option.

* Scripts/test-webkitpy:
* Scripts/webkitpy/test/main.py:
(Tester):
(Tester.clean_packages):
(Tester.__init__):
(Tester.parse_args):
(Tester.configure):
(Tester._configure_logging):
(Tester.find_modules):
(Tester._exclude):
(Tester._modules_from_paths):
(Tester.run_tests):

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

9 years agoIndexedDB: Raise NON_TRANSIENT_ERR when invalid mode specified for transaction
commit-queue@webkit.org [Thu, 12 Jan 2012 19:39:35 +0000 (19:39 +0000)]
IndexedDB: Raise NON_TRANSIENT_ERR when invalid mode specified for transaction
https://bugs.webkit.org/show_bug.cgi?id=76072

Source/WebCore:

Spec was updated to detail what should be thrown: http://www.w3.org/Bugs/Public/show_bug.cgi?id=11406

Patch by Joshua Bell <jsbell@chromium.org> on 2012-01-12
Reviewed by Tony Chang.

Tests: storage/indexeddb/transaction-basics.html

* storage/IDBDatabase.cpp:
(WebCore::IDBDatabase::transaction):

LayoutTests:

Patch by Joshua Bell <jsbell@chromium.org> on 2012-01-12
Reviewed by Tony Chang.

* storage/indexeddb/transaction-basics-expected.txt:
* storage/indexeddb/transaction-basics.html:

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

9 years agoRemove the last non-ScrollElasticityController call from ScrollAnimatorMac::snapRubbe...
andersca@apple.com [Thu, 12 Jan 2012 19:19:45 +0000 (19:19 +0000)]
Remove the last non-ScrollElasticityController call from ScrollAnimatorMac::snapRubberBandTimerFired
https://bugs.webkit.org/show_bug.cgi?id=76193

Reviewed by Andreas Kling.

Use ScrollElasticityControllerClient::immediateScrollBy for the final scroll before the rubber-band timer stops.

* platform/mac/ScrollAnimatorMac.mm:
(WebCore::ScrollAnimatorMac::snapRubberBandTimerFired):

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

9 years agoEmit an error event when a request to enter full-screen is rejected.
jer.noble@apple.com [Thu, 12 Jan 2012 19:15:27 +0000 (19:15 +0000)]
Emit an error event when a request to enter full-screen is rejected.
https://bugs.webkit.org/show_bug.cgi?id=62320

Reviewed by Eric Carlson.

Source/WebCore:

Tests: fullscreen/full-screen-request-rejected.html
       fullscreen/full-screen-request-removed.html

When a request to enter full-screen is rejected, emit an event
(webkitfullscreenerror) in response.  But emit the event during the next
trip through the run-loop, like the webkitfullscreenchange event, and so a new
timer and queue are necessary.

* dom/Document.cpp:
(WebCore::Document::requestFullScreenForElement): Emit the error event
    if the request does not pass all our requirements.
* dom/Document.h: Add new ivars.
* dom/Document.idl: Add support for setting an onfullscreenerror attribute.
* dom/Element.h: Ditto.
* dom/Element.idl: Ditto.
* dom/EventNames.h: Add the name for the error event.

LayoutTests:

* fullscreen/full-screen-iframe-not-allowed-expected.txt:
* fullscreen/full-screen-iframe-not-allowed.html:
* fullscreen/full-screen-request-rejected-expected.txt: Added.
* fullscreen/full-screen-request-rejected.html: Added.
* fullscreen/full-screen-request-removed-expected: Added.
* fullscreen/full-screen-request-removed.html: Added.

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

9 years agohttps://bugs.webkit.org/show_bug.cgi?id=76133
bdakin@apple.com [Thu, 12 Jan 2012 19:06:35 +0000 (19:06 +0000)]
https://bugs.webkit.org/show_bug.cgi?id=76133
ScrollAnimatorMac::mouseEnteredScrollbar() and mouseExitedScrollbar() should
only do stuff for legacy scrollbars
-and corresponding-
<rdar://problem/10603290>

Reviewed by Sam Weinig.

* platform/mac/ScrollAnimatorMac.mm:
(WebCore::ScrollAnimatorMac::mouseEnteredScrollbar):
(WebCore::ScrollAnimatorMac::mouseExitedScrollbar):

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

9 years agoAllow accessor get/set property to be set to undefined
barraclough@apple.com [Thu, 12 Jan 2012 18:38:24 +0000 (18:38 +0000)]
Allow accessor get/set property to be set to undefined
https://bugs.webkit.org/show_bug.cgi?id=76148

Reviewed by Oliver Hunt.

Source/JavaScriptCore:

AccessorDescriptor properties may have their get & set properties defined to reference a function
(Callable object) or be set to undefined. Valid PropertyDescriptors created by toPropertyDescriptor
(defined from JS code via Object.defineProperty, etc) have get and set properties that are in one of
three states (1) nonexistent, (2) set to undefined, or (3) a function (any Callable object).

On the PropertyDescriptor object these three states are represneted by JSValue(), jsUndefined(), and
any JSObject* (with a constraint that this must be callable).

Logically the get/set property of an accessor descriptor on an object might be in any of the three
states above, but in practice there is no way to distinguish between the first two states. As such
we stor the get/set values in property storage in a JSObject* field, with 0 indicating absent or
undefined. When unboxing to a PropertyDescriptor, map this back to a JS undefined value.

* runtime/GetterSetter.h:
(JSC::GetterSetter::setGetter):
(JSC::GetterSetter::setSetter):
    - Allow the getter/setter to be cleared.
* runtime/JSArray.cpp:
(JSC::JSArray::putDescriptor):
    - Changed to call getterObject/setterObject.
(JSC::JSArray::defineOwnNumericProperty):
    - Added ASSERT.
* runtime/JSObject.cpp:
(JSC::putDescriptor):
(JSC::JSObject::defineOwnProperty):
    - Changed to call getterObject/setterObject.
* runtime/ObjectConstructor.cpp:
(JSC::objectConstructorGetOwnPropertyDescriptor):
    - getter/setter values read from properties on object are never missing, they will now be set as undefined by 'setDescriptor'.
(JSC::toPropertyDescriptor):
    - Do not translate undefined->empty, this loses an important distinction between a get/set property being absent, or being explicitly set to undefined.
* runtime/PropertyDescriptor.cpp:
(JSC::PropertyDescriptor::getterObject):
(JSC::PropertyDescriptor::setterObject):
    - Accessors to convert the get/set property to an object pointer, converting undefined to 0.
(JSC::PropertyDescriptor::setDescriptor):
(JSC::PropertyDescriptor::setAccessorDescriptor):
    - Translate a getter/setter internally represented at 0 to undefined, indicating that it is present.
* runtime/PropertyDescriptor.h:
    - Declare getterObject/setterObject.

LayoutTests:

* fast/js/Object-defineProperty-expected.txt:
* fast/js/script-tests/Object-defineProperty.js:
    - Update a couple of inaccurate tests (it is invalid for a property to have
      both a get: and value: field; AccessorDescritor properties do not have a
      writable property). Add more test cases.

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

9 years agoWhen generating derived sources, use the same compiler that is used to compile WebCore.
mitz@apple.com [Thu, 12 Jan 2012 18:20:05 +0000 (18:20 +0000)]
When generating derived sources, use the same compiler that is used to compile WebCore.

Fixes <http://webkit.org/b/76189>
[mac] When compiling WebCore with clang, llvm-gcc is used to generate derived sources

Reviewed by Mark Rowe.

* DerivedSources.make: Changed to use the CC environment variable instead of hardcoded gcc.
* WebCore.xcodeproj/project.pbxproj: Set the CC environment variable, if not already set,
according to TARGET_GCC_VERSION. CC is used by DerivedSources.make and some of the perl
scripts it invokes.

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

9 years ago[Qt] Unreviewed build fix after r104828.
pierre.rossi@gmail.com [Thu, 12 Jan 2012 17:47:44 +0000 (17:47 +0000)]
[Qt] Unreviewed build fix after r104828.

* platform/qt/RenderThemeQtMobile.cpp:
(WebCore::StylePainterMobile::findComboButton):

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

9 years agoUnreviewed, rolling out r104829.
loislo@chromium.org [Thu, 12 Jan 2012 17:33:30 +0000 (17:33 +0000)]
Unreviewed, rolling out r104829.
http://trac.webkit.org/changeset/104829
https://bugs.webkit.org/show_bug.cgi?id=76188

it broke qt-minimal (Requested by loislo1 on #webkit).

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

* inspector/CodeGeneratorInspector.py:
(CodeGenerator):
(CodeGenerator.generate_type_builder):
(CodeGenerator.generate_type_builder.AdHocTypeContext):
(CodeGenerator.generate_type_builder.AdHocTypeContext.get_type_name_fix):
(CodeGenerator.generate_type_builder.AdHocTypeContext.get_type_name_fix.NameFix):
(CodeGenerator.generate_type_builder.AdHocTypeContext.get_type_name_fix.NameFix.output_comment):
(CodeGenerator.generate_type_builder.AdHocTypeContext.call_generate_type_builder):
(CodeGenerator.register_use):
(RawTypesBinding):
(RawTypesBinding.get_code_generator):
(RawTypesBinding.get_in_c_type_text):
(RawTypesBinding.get_setter_value_expression_pattern):
(RawTypesBinding.reduce_to_raw_type):
(TypeData.__init__):
* inspector/InspectorValues.h:

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

9 years ago[Qt][WK2] WebProcesses crashes when composited reflections/masks are present
noam.rosenthal@nokia.com [Thu, 12 Jan 2012 17:27:41 +0000 (17:27 +0000)]
[Qt][WK2] WebProcesses crashes when composited reflections/masks are present
https://bugs.webkit.org/show_bug.cgi?id=75883

Reviewed by Kenneth Rohde Christiansen.

Make sure masks and replica layers can access layerTreeTileClient. Let masks
have the right contents/visible rect so that they can render content tiles.
Default the mask's size to be the layer's size.

* WebProcess/WebCoreSupport/WebGraphicsLayer.cpp:
(WebCore::WebGraphicsLayer::WebGraphicsLayer):
(WebCore::WebGraphicsLayer::setSize):
(WebCore::WebGraphicsLayer::setMaskLayer):
(WebCore::WebGraphicsLayer::setReplicatedByLayer):
(WebCore::WebGraphicsLayer::syncCompositingState):
(WebCore::WebGraphicsLayer::setContentsScale):
(WebCore::WebGraphicsLayer::setVisibleContentRect):
(WebCore::WebGraphicsLayer::tiledBackingStoreContentsRect):
(WebCore::WebGraphicsLayer::updateTileBuffersRecursively):
(WebCore::WebGraphicsLayer::layerTreeTileClient):
(WebCore::WebGraphicsLayer::purgeBackingStores):
(WebCore::WebGraphicsLayer::recreateBackingStoreIfNeeded):
(WebCore::WebGraphicsLayer::setLayerTreeTileClient):
* WebProcess/WebCoreSupport/WebGraphicsLayer.h:
(WebCore::WebGraphicsLayer::maskTarget):
(WebCore::WebGraphicsLayer::setMaskTarget):

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

9 years agoWeb Inspector: [JSC] //@ sourceURL is not respected.
podivilov@chromium.org [Thu, 12 Jan 2012 17:06:51 +0000 (17:06 +0000)]
Web Inspector: [JSC] //@ sourceURL is not respected.
https://bugs.webkit.org/show_bug.cgi?id=65532

Reviewed by Pavel Feldman.

Source/WebCore:

Test: inspector/debugger/source-url-comment.html

* bindings/js/ScriptDebugServer.cpp:
(WebCore::ScriptDebugServer::dispatchDidParseSource):
* inspector/ContentSearchUtils.cpp:
(WebCore::ContentSearchUtils::findMagicComment):
(WebCore::ContentSearchUtils::findSourceURL):
(WebCore::ContentSearchUtils::findSourceMapURL):
* inspector/ContentSearchUtils.h:

LayoutTests:

* inspector/debugger/source-url-comment-expected.txt: Added.
* inspector/debugger/source-url-comment.html: Added.

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

9 years ago[Qt] Unreviewed trivial buildfix after r104828.
ossy@webkit.org [Thu, 12 Jan 2012 16:42:38 +0000 (16:42 +0000)]
[Qt] Unreviewed trivial buildfix after r104828.

* platform/qt/RenderThemeQtMobile.cpp:
(WebCore::StylePainterMobile::findComboButton):

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

9 years agoWeb Inspector: CodeGeneratorInspector.py: generate array types.
commit-queue@webkit.org [Thu, 12 Jan 2012 16:40:10 +0000 (16:40 +0000)]
Web Inspector: CodeGeneratorInspector.py: generate array types.
https://bugs.webkit.org/show_bug.cgi?id=75284

Patch by Peter Rybin <peter.rybin@gmail.com> on 2012-01-12
Reviewed by Yury Semikhatsky.

New classes are generated for ecah array type instance.

* inspector/CodeGeneratorInspector.py:
(ArrayBinding):
(ArrayBinding.get_code_generator):
(ArrayBinding.get_code_generator.CodeGenerator):
(ArrayBinding.get_code_generator.CodeGenerator.generate_type_builder):
(ArrayBinding.get_code_generator.CodeGenerator.generate_type_builder.AdHocTypeContext):
(ArrayBinding.get_code_generator.CodeGenerator.generate_type_builder.AdHocTypeContext.get_type_name_fix):
(ArrayBinding.get_code_generator.CodeGenerator.generate_type_builder.AdHocTypeContext.get_type_name_fix.NameFix):
(ArrayBinding.get_code_generator.CodeGenerator.generate_type_builder.AdHocTypeContext.get_type_name_fix.NameFix.output_comment):
(ArrayBinding.get_code_generator.CodeGenerator.generate_type_builder.AdHocTypeContext.call_generate_type_builder):
(ArrayBinding.get_code_generator.CodeGenerator.generate_forward_declaration):
(ArrayBinding.get_code_generator.CodeGenerator.register_use):
(ArrayBinding.get_in_c_type_text):
(ArrayBinding.get_setter_value_expression_pattern):
(ArrayBinding.reduce_to_raw_type):
(RawTypeBinding):
(RawTypeBinding.__init__):
(RawTypeBinding.get_code_generator):
(RawTypeBinding.get_in_c_type_text):
(RawTypeBinding.get_setter_value_expression_pattern):
(RawTypeBinding.reduce_to_raw_type):
(TypeData.__init__):
(TypeData.get_binding):
* inspector/InspectorValues.h:

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

9 years ago[Qt] Avoid string operations in mobile theme's caching mechanism
pierre.rossi@gmail.com [Thu, 12 Jan 2012 16:33:12 +0000 (16:33 +0000)]
[Qt] Avoid string operations in mobile theme's caching mechanism
https://bugs.webkit.org/show_bug.cgi?id=75010

The string operations constantly performed in the mobile theme
to fetch or put controls in the pixmap cache can be pretty expensive.
The new mechanism harnesses the QPixmapCache::Key API instead.

Reviewed by Kenneth Rohde Christiansen.

No new tests, internal refactoring.

* platform/qt/RenderThemeQtMobile.cpp:
(WebCore::qHash):
(WebCore::StylePainterMobile::findCachedControl):
(WebCore::StylePainterMobile::insertIntoCache):
(WebCore::StylePainterMobile::findCheckBox):
(WebCore::StylePainterMobile::drawRadio):
(WebCore::StylePainterMobile::findRadio):
(WebCore::StylePainterMobile::drawMultipleComboButton):
(WebCore::StylePainterMobile::drawSimpleComboButton):
(WebCore::StylePainterMobile::getButtonImageSize):
(WebCore::StylePainterMobile::findComboButton):
(WebCore::StylePainterMobile::findLineEdit):
(WebCore::StylePainterMobile::findPushButton):
(WebCore::StylePainterMobile::drawComboBox):
(WebCore::StylePainterMobile::drawProgress):
(WebCore::StylePainterMobile::drawSliderThumb):
(WebCore::RenderThemeQtMobile::paintTextField):
(WebCore::RenderThemeQtMobile::paintMenuList):
* platform/qt/RenderThemeQtMobile.h:
(WebCore::KeyIdentifier::KeyIdentifier):
(WebCore::KeyIdentifier::operator==):

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

9 years agoUnreviewed, rolling out r104805.
vsevik@chromium.org [Thu, 12 Jan 2012 16:14:26 +0000 (16:14 +0000)]
Unreviewed, rolling out r104805.
http://trac.webkit.org/changeset/104805
https://bugs.webkit.org/show_bug.cgi?id=76180

Breaks apple win compilation. (Requested by vsevik on
#webkit).

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

.:

* Source/autotools/symbols.filter:

Source/WebCore:

* CMakeLists.txt:
* GNUmakefile.list.am:
* Target.pri:
* WebCore.exp.in:
* WebCore.gypi:
* WebCore.vcproj/WebCore.vcproj:
* WebCore.xcodeproj/project.pbxproj:
* dom/DOMAllInOne.cpp:
* dom/SelectorQuery.cpp:
(WebCore::SelectorQuery::SelectorQuery):
(WebCore::SelectorQuery::queryAll):
(WebCore::SelectorQuery::queryFirst):
(WebCore::SelectorQuery::canUseIdLookup):
(WebCore::SelectorQuery::execute):
* dom/SelectorQuery.h:
* dom/ShadowContentElement.cpp:
(WebCore::ShadowContentElement::create):
(WebCore::ShadowContentElement::ShadowContentElement):
(WebCore::ShadowContentElement::shouldInclude):
* dom/ShadowContentElement.h:
* dom/ShadowContentSelectorQuery.cpp: Removed.
* dom/ShadowContentSelectorQuery.h: Removed.
* dom/ShadowInclusionSelector.cpp:
(WebCore::ShadowInclusionSelector::select):
* dom/ShadowInclusionSelector.h:
* html/HTMLDetailsElement.cpp:
(WebCore::DetailsContentElement::DetailsContentElement):
(WebCore::DetailsContentElement::shouldInclude):
(WebCore::DetailsSummaryElement::DetailsSummaryElement):
(WebCore::DetailsSummaryElement::shouldInclude):
* html/HTMLSummaryElement.cpp:
(WebCore::SummaryContentElement::SummaryContentElement):
* testing/Internals.cpp:
(WebCore::Internals::createShadowContentElement):
* testing/Internals.h:
* testing/Internals.idl:

LayoutTests:

* fast/dom/shadow/shadow-contents-select-expected.html: Removed.
* fast/dom/shadow/shadow-contents-select.html: Removed.

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

9 years ago[Qt][WK2][Mac] Conflict of MacTypes.h defining a Fixed type after r104560.
zeno.albisser@nokia.com [Thu, 12 Jan 2012 15:28:46 +0000 (15:28 +0000)]
[Qt][WK2][Mac] Conflict of MacTypes.h defining a Fixed type after r104560.
https://bugs.webkit.org/show_bug.cgi?id=76175

Defining ENABLE_CSS_FILTERS leads to ambiguous references
due to MacTypes.h being included.
Defining CF_OPEN_SOURCE works around this problem.

Reviewed by Simon Hausmann.

* wtf/Platform.h:

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

9 years agoMake the new WTF module build on Qt
hausmann@webkit.org [Thu, 12 Jan 2012 15:14:56 +0000 (15:14 +0000)]
Make the new WTF module build on Qt
https://bugs.webkit.org/show_bug.cgi?id=76163

Reviewed by Tor Arne Vestbø.

.:

* WebKit.pro: Build the new WTF instead of the old one.

Source/JavaScriptCore:

* JavaScriptCore.pro: Removed wtf from the subdirs to build.

Source/WTF:

With this change the WTF sources are built _here_ but _from_ their old location using a VPATH.

* WTF.pri: Renamed from Source/JavaScriptCore/wtf/wtf.pri.
* WTF.pro: Renamed from Source/JavaScriptCore/wtf/wtf.pro.
* config.h: Bring this file in sync with JavaScriptCore/config.h with regards to the inclusion
/ definition of the export macros.

Tools:

* qmake/mkspecs/modules/wtf.prf: Pull in WTF from the new location.

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

9 years agoFix turbulence bug when stitch tiles enabled and rendered in parallel
zherczeg@webkit.org [Thu, 12 Jan 2012 14:57:26 +0000 (14:57 +0000)]
Fix turbulence bug when stitch tiles enabled and rendered in parallel
https://bugs.webkit.org/show_bug.cgi?id=76042

Reviewed by Nikolas Zimmermann.

Source/WebCore:

The width / height / wrap members are used by all threads
in the same time. The patch makes them local for all threads.

Fixes the layout fails in svg/dynamic-updates/SVGFETurbulence*

* platform/graphics/filters/FETurbulence.cpp:
(WebCore::FETurbulence::noise2D):
(WebCore::Noise::if):
(WebCore::FETurbulence::calculateTurbulenceValueForPoint):
(WebCore::FETurbulence::fillRegion):
* platform/graphics/filters/FETurbulence.h:
(WebCore::FETurbulence::PaintingData::PaintingData):
(WebCore::FETurbulence::StitchData::StitchData):

LayoutTests:

Update mac expected files.

* platform/mac-snowleopard/svg/dynamic-updates/SVGFETurbulenceElement-dom-stitchTiles-attr-expected.png:
* platform/mac-snowleopard/svg/dynamic-updates/SVGFETurbulenceElement-svgdom-stitchTiles-prop-expected.png:
* platform/mac/svg/dynamic-updates/SVGFETurbulenceElement-dom-stitchTiles-attr-expected.png:
* platform/mac/svg/dynamic-updates/SVGFETurbulenceElement-svgdom-stitchTiles-prop-expected.png:

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

9 years ago[Qt] Set the input method hints on the QtQuick item https://bugs.webkit.org/show_bug...
kenneth@webkit.org [Thu, 12 Jan 2012 14:52:57 +0000 (14:52 +0000)]
[Qt] Set the input method hints on the QtQuick item https://bugs.webkit.org/show_bug.cgi?id=76169

Reviewed by Simon Hausmann.

Set the input method hints given the HTMLElement type and state.

* Shared/EditorState.cpp:
(WebKit::EditorState::encode):
(WebKit::EditorState::decode):
* Shared/EditorState.h:
(WebKit::EditorState::EditorState):
* UIProcess/qt/QtWebPageEventHandler.cpp:
(QtWebPageEventHandler::updateTextInputState):
* WebProcess/WebPage/WebPage.cpp:
(WebKit::WebPage::editorState):

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

9 years agoWeb Inspector: performance: restore 'log 300 messages into console' test.
loislo@chromium.org [Thu, 12 Jan 2012 14:44:06 +0000 (14:44 +0000)]
Web Inspector: performance: restore 'log 300 messages into console' test.
https://bugs.webkit.org/show_bug.cgi?id=76170

It was removed in order of transition from layout tests to perf tests.

Reviewed by Yury Semikhatsky.

PerformanceTests:

* inspector/console-300-lines.html: Added.

Source/WebCore:

* inspector/front-end/ConsoleView.js:
(WebInspector.ConsoleView.prototype._scheduleScrollIntoView.scrollIntoView):
(WebInspector.ConsoleView.prototype._scheduleScrollIntoView):

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

9 years agoSpeech input: Send text to correct element even if focus has changed
hans@chromium.org [Thu, 12 Jan 2012 14:39:36 +0000 (14:39 +0000)]
Speech input: Send text to correct element even if focus has changed
https://bugs.webkit.org/show_bug.cgi?id=76071

Reviewed by Steve Block.

Source/WebCore:

Make sure that the text from speech input ends up in the correct
element even if focus has changed since the user clicked on it.

Test: fast/speech/change-focus.html

* html/shadow/TextControlInnerElements.cpp:
(WebCore::InputFieldSpeechButtonElement::setRecognitionResult):

LayoutTests:

Add test to make sure that the text from speech input ends up in the
correct element even if focus has moved away after the user clicked on it.

* fast/speech/change-focus-expected.txt: Added.
* fast/speech/change-focus.html: Added.

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

9 years agoUnreviewed, mac DumpRenderTree fix.
vsevik@chromium.org [Thu, 12 Jan 2012 14:27:46 +0000 (14:27 +0000)]
Unreviewed, mac DumpRenderTree fix.

* DumpRenderTree/mac/UIDelegate.mm:
(-[UIDelegate webView:addMessageToConsole:withSource:]):

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

9 years ago[GTK] platform/gtk/accessibility/unknown-roles-not-exposed.html is flaky
mario@webkit.org [Thu, 12 Jan 2012 14:08:30 +0000 (14:08 +0000)]
[GTK] platform/gtk/accessibility/unknown-roles-not-exposed.html is flaky
https://bugs.webkit.org/show_bug.cgi?id=74493

Unreviewed. Add flaky test to GTK's test_expectations.txt.

* platform/gtk/test_expectations.txt: Add flaky test.

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

9 years agoUnreviewed, updated chromium test expectations.
vsevik@chromium.org [Thu, 12 Jan 2012 13:52:03 +0000 (13:52 +0000)]
Unreviewed, updated chromium test expectations.

* platform/chromium-mac-leopard/http/tests/security/xss-DENIED-xml-external-entity-expected.txt:
* platform/chromium-mac-leopard/http/tests/security/xss-DENIED-xsl-external-entity-expected.txt:
* platform/chromium-win/http/tests/eventsource/existent-eventsource-status-error-iframe-crash-expected.txt:
* platform/chromium-win/http/tests/security/xssAuditor/javascript-link-HTML-entities-null-char-expected.txt:
* platform/mac-leopard/http/tests/security/xss-DENIED-xml-external-entity-expected.txt:
* platform/mac-leopard/http/tests/security/xss-DENIED-xsl-external-entity-expected.txt:

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

9 years ago[Chromium] Unreviewed, fix http/tests/multipart/invalid-image-data.html expectation...
apavlov@chromium.org [Thu, 12 Jan 2012 13:48:32 +0000 (13:48 +0000)]
[Chromium] Unreviewed, fix http/tests/multipart/invalid-image-data.html expectation for XP.

* platform/chromium/test_expectations.txt:

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

9 years agoUnreviewed, updated chromium test expectations.
vsevik@chromium.org [Thu, 12 Jan 2012 13:37:09 +0000 (13:37 +0000)]
Unreviewed, updated chromium test expectations.

* platform/chromium/test_expectations.txt:

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

9 years agoUnreviewed, rebaseline wk2 and http/tests/security/cross-frame-access-put.html test...
vsevik@chromium.org [Thu, 12 Jan 2012 12:58:20 +0000 (12:58 +0000)]
Unreviewed, rebaseline wk2 and http/tests/security/cross-frame-access-put.html test expectations after r104803.

* http/tests/security/cross-frame-access-put-expected.txt:
* platform/chromium-win/http/tests/security/cross-frame-access-put-expected.txt:
* platform/mac-wk2/http/tests/security/cross-origin-xsl-BLOCKED-expected.txt:
* platform/mac-wk2/http/tests/security/cross-origin-xsl-redirect-BLOCKED-expected.txt:
* platform/win-wk2/http/tests/security/cross-origin-xsl-BLOCKED-expected.txt:
* platform/win-wk2/http/tests/security/cross-origin-xsl-redirect-BLOCKED-expected.txt:

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

9 years agoUnreviewed gardening after r104803.
ossy@webkit.org [Thu, 12 Jan 2012 12:41:45 +0000 (12:41 +0000)]
Unreviewed gardening after r104803.

Remove unnecessary "line 1" from expected files.

* platform/qt-wk2/http/tests/security/cross-origin-xsl-BLOCKED-expected.txt:
* platform/qt-wk2/http/tests/security/cross-origin-xsl-redirect-BLOCKED-expected.txt:

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

9 years agoUnreviewed, GTK rebaseline after r104803.
philn@webkit.org [Thu, 12 Jan 2012 12:27:10 +0000 (12:27 +0000)]
Unreviewed, GTK rebaseline after r104803.

* platform/gtk/http/tests/security/cross-frame-access-put-expected.txt:
* platform/gtk/http/tests/security/cross-origin-xsl-BLOCKED-expected.txt:
* platform/gtk/http/tests/security/cross-origin-xsl-redirect-BLOCKED-expected.txt:
* platform/gtk/plugins/invalidate-rect-with-null-npp-argument-expected.txt:

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

9 years agoWebKitTestRunner should not print console message line number when it is equal to...
vsevik@chromium.org [Thu, 12 Jan 2012 12:25:27 +0000 (12:25 +0000)]
WebKitTestRunner should not print console message line number when it is equal to zero.
https://bugs.webkit.org/show_bug.cgi?id=76167

Reviewed by Csaba Osztrogonác.

* WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
(WTR::InjectedBundlePage::willAddMessageToConsole):

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

9 years agoUnreviewed. Rolled DEPS.
commit-queue@webkit.org [Thu, 12 Jan 2012 12:24:10 +0000 (12:24 +0000)]
Unreviewed.  Rolled DEPS.

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

* DEPS:

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

9 years agoUnreviewed gardening after r104803.
ossy@webkit.org [Thu, 12 Jan 2012 12:19:21 +0000 (12:19 +0000)]
Unreviewed gardening after r104803.

Remove unnecessary "line 0" from expected files.

* fast/dom/exception-getting-event-handler-expected.txt:
* fast/dom/javascript-url-exception-isolation-expected.txt:
* fast/dom/nested-script-exceptions-expected.txt:
* fast/events/window-onerror13-expected.txt:
* fast/events/window-onerror16-expected.txt:
* fast/js/global-recursion-on-full-stack-expected.txt:
* fast/js/uncaught-exception-line-number-expected.txt:
* fast/xmlhttprequest/xmlhttprequest-recursive-sync-event-expected.txt:
* http/tests/appcache/404-resource-expected.txt:
* http/tests/appcache/manifest-redirect-expected.txt:
* http/tests/appcache/origin-quota-expected.txt:
* http/tests/appcache/resource-redirect-2-expected.txt:
* http/tests/appcache/resource-redirect-expected.txt:
* http/tests/appcache/wrong-signature-2-expected.txt:
* http/tests/appcache/wrong-signature-expected.txt:
* http/tests/history/cross-origin-replace-history-object-child-expected.txt:
* http/tests/inspector/appcache/appcache-manifest-with-non-existing-file-expected.txt:
* http/tests/loading/cross-origin-XHR-willLoadRequest-expected.txt:
* http/tests/security/contentSecurityPolicy/shared-worker-connect-src-blocked-expected.txt:
* http/tests/security/cross-frame-access-getOwnPropertyDescriptor-expected.txt:
* http/tests/security/mixedContent/insecure-plugin-in-iframe-expected.txt:
* http/tests/security/window-onerror-exception-in-iframe-expected.txt:
* http/tests/security/xss-DENIED-defineProperty-expected.txt:
* http/tests/security/xss-eval-expected.txt:
* http/tests/xmlhttprequest/workers/shared-worker-access-control-basic-get-fail-non-simple-expected.txt:
* inspector/console/alert-toString-exception-expected.txt:
* platform/qt/http/tests/security/XFrameOptions/x-frame-options-deny-meta-tag-expected.txt:
* platform/qt/http/tests/security/XFrameOptions/x-frame-options-deny-meta-tag-in-body-expected.txt:
* platform/qt/http/tests/security/XFrameOptions/x-frame-options-deny-meta-tag-parent-same-origin-deny-expected.txt:
* platform/qt/http/tests/security/aboutBlank/xss-DENIED-navigate-opener-document-write-expected.txt:
* platform/qt/http/tests/security/aboutBlank/xss-DENIED-navigate-opener-javascript-url-expected.txt:
* platform/qt/http/tests/security/aboutBlank/xss-DENIED-set-opener-expected.txt:
* platform/qt/http/tests/security/contentSecurityPolicy/xsl-img-blocked-expected.txt:
* platform/qt/http/tests/security/cross-frame-access-put-expected.txt:
* platform/qt/http/tests/security/xss-DENIED-xsl-document-securityOrigin-expected.txt:
* platform/qt/http/tests/security/xssAuditor/script-tag-with-fancy-unicode-expected.txt:
* platform/qt/plugins/document-open-expected.txt:
* platform/qt/plugins/plugin-initiate-popup-window-expected.txt:
* plugins/keyboard-events-expected.txt:
* plugins/mouse-events-expected.txt:
* plugins/mouse-events-fixedpos-expected.txt:
* plugins/nested-plugin-objects-expected.txt:
* plugins/netscape-destroy-plugin-script-objects-expected.txt:
* plugins/npp-set-window-called-during-destruction-expected.txt:
* storage/sql-error-codes-expected.txt:
* storage/statement-error-callback-expected.txt:
* storage/transaction-callback-exception-crash-expected.txt:

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

9 years agoWeb Inspector: performance tests: fix memory leak in first-open-resources test.
loislo@chromium.org [Thu, 12 Jan 2012 12:06:08 +0000 (12:06 +0000)]
Web Inspector: performance tests: fix memory leak in first-open-resources test.
https://bugs.webkit.org/show_bug.cgi?id=76049

first-open-resources doesn't reset resource panel properly after test run.

Reviewed by Yury Semikhatsky.

* inspector/first-open-resources.html:

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

9 years agoWeb Inspector: make source urls relative to source map url.
podivilov@chromium.org [Thu, 12 Jan 2012 11:54:41 +0000 (11:54 +0000)]
Web Inspector: make source urls relative to source map url.
https://bugs.webkit.org/show_bug.cgi?id=75968

Reviewed by Yury Semikhatsky.

Source/WebCore:

* inspector/front-end/CompilerSourceMapping.js:
(WebInspector.ClosureCompilerSourceMapping):
(WebInspector.ClosureCompilerSourceMapping.prototype._parseMap):
(WebInspector.ClosureCompilerSourceMapping.prototype._canonicalizeURL):

LayoutTests:

* http/tests/inspector/compiler-source-mapping.html:
* http/tests/inspector/resources/source-map.json:

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

9 years ago2012-01-12 Nikolas Zimmermann <nzimmermann@rim.com>
zimmermann@webkit.org [Thu, 12 Jan 2012 11:52:19 +0000 (11:52 +0000)]
2012-01-12  Nikolas Zimmermann  <nzimmermann@rim.com>

        Not reviewed. Fix WebKit build after r104803, by setting ScriptCallStack.h role to private.

        * WebCore.xcodeproj/project.pbxproj:

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

9 years ago[EFL] Move macro checking to functions' definition in ewk_js.cpp.
commit-queue@webkit.org [Thu, 12 Jan 2012 11:48:43 +0000 (11:48 +0000)]
[EFL] Move macro checking to functions' definition in ewk_js.cpp.
https://bugs.webkit.org/show_bug.cgi?id=76037

Patch by Grzegorz Czajkowski <g.czajkowski@samsung.com> on 2012-01-12
Reviewed by Andreas Kling.

Moves macro checking to functions' definition instead of duplicate them in source depending on macro value.
It's known practice in WebKit and EFL port.
Duplicating functions in the same file whose return value is different may confuse user,
especially if macro isn't included in a patch.

* ewk/ewk_js.cpp:
(ewk_js_object_new):
(ewk_js_object_free):
(ewk_js_object_view_get):
(ewk_js_object_properties_get):
(ewk_js_object_name_get):
(ewk_js_object_invoke):
(ewk_js_object_type_get):
(ewk_js_object_type_set):
(ewk_js_variant_free):
(ewk_js_variant_array_free):

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

9 years agoShadowContentElement should be able to use query.
commit-queue@webkit.org [Thu, 12 Jan 2012 11:15:37 +0000 (11:15 +0000)]
ShadowContentElement should be able to use query.
https://bugs.webkit.org/show_bug.cgi?id=75302

Patch by Shinya Kawanaka <shinyak@google.com> on 2012-01-12
Reviewed by Hajime Morita.

.:

* Source/autotools/symbols.filter: Exposed necessary symbols.

Source/WebCore:

This patch introduces a selector to query elements in ShadowContentElement.
This can be used instead of ShadowContentElement::shouldInclude in more sophisticated ways.

Tests: fast/dom/shadow/shadow-contents-select-expected.html
       fast/dom/shadow/shadow-contents-select.html

* CMakeLists.txt:
* GNUmakefile.list.am:
* Target.pri:
* WebCore.exp.in:
* WebCore.gypi:
* WebCore.vcproj/WebCore.vcproj:
* WebCore.xcodeproj/project.pbxproj:
* dom/DOMAllInOne.cpp:
* dom/SelectorQuery.cpp:
(WebCore::SelectorDataList::SelectorDataList):
  Extracted from SelectorQueryto share codes with ShadowContentSelectorQuery.
(WebCore::SelectorDataList::initialize):
(WebCore::SelectorDataList::matches):
(WebCore::SelectorDataList::queryAll):
(WebCore::SelectorDataList::queryFirst):
(WebCore::SelectorDataList::canUseIdLookup):
(WebCore::SelectorDataList::execute):
(WebCore::SelectorQuery::SelectorQuery):
(WebCore::SelectorQuery::queryAll):
(WebCore::SelectorQuery::queryFirst):
* dom/SelectorQuery.h:
(WebCore::SelectorDataList::size):
* dom/ShadowContentElement.cpp:
(WebCore::selectAttr):
(WebCore::ShadowContentElement::create):
(WebCore::ShadowContentElement::ShadowContentElement):
(WebCore::ShadowContentElement::select):
* dom/ShadowContentElement.h:
* dom/ShadowContentSelectorQuery.cpp: Added.
(WebCore::ShadowContentSelectorQuery::ShadowContentSelectorQuery):
(WebCore::ShadowContentSelectorQuery::matches):
  Returns true if Node is matched by the query.
* dom/ShadowContentSelectorQuery.h: Copied from Source/WebCore/dom/ShadowContentElement.h.
* dom/ShadowInclusionSelector.cpp:
(WebCore::ShadowInclusionSelector::select):
* dom/ShadowInclusionSelector.h:
* html/HTMLDetailsElement.cpp:
(WebCore::summaryQuerySelector):
(WebCore::DetailsContentElement::DetailsContentElement): Re-implemented using query.
(WebCore::DetailsSummaryElement::DetailsSummaryElement): ditto.
* html/HTMLSummaryElement.cpp:
(WebCore::SummaryContentElement::SummaryContentElement):
* testing/Internals.cpp:
(WebCore::Internals::createShadowContentElement):
* testing/Internals.h:
* testing/Internals.idl:

LayoutTests:

Tests for ShadowContentElement query.

* fast/dom/shadow/shadow-contents-select-expected.html: Added.
* fast/dom/shadow/shadow-contents-select.html: Added.

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

9 years ago[EFL][WK2] Update and show ewk_view with updated webpage.
commit-queue@webkit.org [Thu, 12 Jan 2012 11:10:28 +0000 (11:10 +0000)]
[EFL][WK2] Update and show ewk_view with updated webpage.
https://bugs.webkit.org/show_bug.cgi?id=76023

Patch by Eunmi Lee <eunmi15.lee@samsung.com> on 2012-01-12
Reviewed by Andreas Kling.

Update ewk_view with BackingStore image which is rendered webpage
image by WebProcess, and show updated image's area when
PageClientImpl::setViewNeedsDisplay() is called.
The ewk_view_display() function is used to display updated area of
evas_object_image and the ewk_view_image_data_set() function is used
to set evas_object_image's data with rendered webpage.

* UIProcess/API/efl/PageClientImpl.cpp:
(WebKit::PageClientImpl::setViewNeedsDisplay):
* UIProcess/API/efl/ewk_private.h: Added.
* UIProcess/API/efl/ewk_view.cpp:
(ewk_view_add):
(ewk_view_display):
(ewk_view_image_data_set):
* UIProcess/cairo/BackingStoreCairo.cpp:
(WebKit::BackingStore::incorporateUpdate):

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

9 years agoMake default console messages line numbers consistent.
vsevik@chromium.org [Thu, 12 Jan 2012 10:56:52 +0000 (10:56 +0000)]
Make default console messages line numbers consistent.
https://bugs.webkit.org/show_bug.cgi?id=74075

Reviewed by Pavel Feldman.

Source/WebCore:

Added default values for Console::addMessage sourceURL, lineNumber and
callStack parameters, moved lineNumber after sourceURL.
Made virtual method ScriptExecutionContext::addMessage private
Added default values to ScriptExecutionContext::AddConsoleMessage sourceURL, lineNumber and
callStack parameters, moved lineNumber after sourceURL.
Reorder ScriptExecutionContext::logExceptionToConsole parameters, move lineNumber after sourceURL.
Reordered sourceURL and lineNumber parameters in inspector methods.
Made all calls to Console::addMessage() pass 0 as lineNumber by default (i.e. when line number is unknown / irrelevant).
Unset line numbers are not printed to console in QT now.

* bindings/js/JSCustomXPathNSResolver.cpp:
(WebCore::JSCustomXPathNSResolver::lookupNamespaceURI):
* bindings/v8/custom/V8CustomXPathNSResolver.cpp:
(WebCore::V8CustomXPathNSResolver::lookupNamespaceURI):
* dom/Document.cpp:
(WebCore::Document::logExceptionToConsole):
(WebCore::Document::addMessage):
* dom/Document.h:
* dom/ScriptExecutionContext.cpp:
(WebCore::ScriptExecutionContext::AddConsoleMessageTask::performTask):
(WebCore::ScriptExecutionContext::reportException):
(WebCore::ScriptExecutionContext::addConsoleMessage):
* dom/ScriptExecutionContext.h:
* dom/UIEvent.cpp:
(WebCore::UIEvent::warnDeprecatedLayerXYUsage):
* dom/ViewportArguments.cpp:
(WebCore::reportViewportWarning):
* html/HTMLFormElement.cpp:
(WebCore::HTMLFormElement::validateInteractively):
* html/canvas/WebGLRenderingContext.cpp:
(WebCore::WebGLRenderingContext::printWarningToConsole):
* inspector/ConsoleMessage.cpp:
(WebCore::ConsoleMessage::ConsoleMessage):
* inspector/ConsoleMessage.h:
* inspector/InspectorConsoleAgent.cpp:
(WebCore::InspectorConsoleAgent::enable):
(WebCore::InspectorConsoleAgent::addMessageToConsole):
(WebCore::InspectorConsoleAgent::stopTiming):
(WebCore::InspectorConsoleAgent::count):
(WebCore::InspectorConsoleAgent::resourceRetrievedByXMLHttpRequest):
* inspector/InspectorConsoleAgent.h:
* inspector/InspectorConsoleInstrumentation.h:
(WebCore::InspectorInstrumentation::addMessageToConsole):
* inspector/InspectorInstrumentation.cpp:
(WebCore::InspectorInstrumentation::addMessageToConsoleImpl):
* inspector/InspectorInstrumentation.h:
* inspector/InspectorProfilerAgent.cpp:
(WebCore::InspectorProfilerAgent::addProfileFinishedMessageToConsole):
(WebCore::InspectorProfilerAgent::addStartProfilingMessageToConsole):
* loader/FrameLoader.cpp:
(WebCore::FrameLoader::checkIfDisplayInsecureContent):
(WebCore::FrameLoader::checkIfRunInsecureContent):
(WebCore::FrameLoader::reportLocalLoadFailed):
(WebCore::FrameLoader::shouldAllowNavigation):
* loader/MainResourceLoader.cpp:
(WebCore::MainResourceLoader::didReceiveResponse):
* loader/appcache/ApplicationCacheGroup.cpp:
(WebCore::ApplicationCacheGroup::didReceiveResponse):
(WebCore::ApplicationCacheGroup::didFinishLoading):
(WebCore::ApplicationCacheGroup::didFail):
(WebCore::ApplicationCacheGroup::didReceiveManifestResponse):
(WebCore::ApplicationCacheGroup::didFinishLoadingManifest):
(WebCore::ApplicationCacheGroup::checkIfLoadIsComplete):
* loader/cache/CachedResourceLoader.cpp:
(WebCore::CachedResourceLoader::printAccessDeniedMessage):
* page/Console.cpp:
(WebCore::Console::addMessage):
(WebCore::Console::groupEnd):
* page/Console.h:
* page/DOMWindow.cpp:
(WebCore::DOMWindow::postMessageTimerFired):
(WebCore::DOMWindow::printErrorMessage):
* storage/AbstractDatabase.cpp:
(WebCore::AbstractDatabase::logErrorMessage):
* svg/SVGDocumentExtensions.cpp:
(WebCore::reportMessage):
* websockets/WebSocket.cpp:
(WebCore::WebSocket::connect):
* websockets/WebSocketChannel.cpp:
(WebCore::WebSocketChannel::fail):
(WebCore::WebSocketChannel::didFailSocketStream):
* workers/DefaultSharedWorkerRepository.cpp:
(WebCore::postConsoleMessageTask):
(WebCore::SharedWorkerProxy::postConsoleMessageToWorkerObject):
* workers/SharedWorkerContext.cpp:
(WebCore::SharedWorkerContext::logExceptionToConsole):
* workers/SharedWorkerContext.h:
* workers/WorkerContext.cpp:
(WebCore::WorkerContext::logExceptionToConsole):
(WebCore::WorkerContext::addMessage):
(WebCore::WorkerContext::addMessageToWorkerConsole):
* workers/WorkerContext.h:
* workers/WorkerMessagingProxy.cpp:
(WebCore::postConsoleMessageTask):
* xml/XSLTProcessorLibxslt.cpp:
(WebCore::XSLTProcessor::parseErrorFunc):
* xml/XSLTProcessorQt.cpp:
(WebCore::XSLTMessageHandler::handleMessage):

Source/WebKit/chromium:

Unset line numbers are not printed to console now.

* src/WebFrameImpl.cpp:
(WebKit::WebFrameImpl::addMessageToConsole):

Source/WebKit/qt:

Unset line numbers are not printed to console now.

* Api/qwebpage.cpp:
(QWebPage::javaScriptConsoleMessage):

Tools:

Unset line numbers are not printed to console now.
Added Source/WebCore/inspector to efl DumpRenderTree include path.

* DumpRenderTree/chromium/WebViewHost.cpp:
(WebViewHost::didAddMessageToConsole):
* DumpRenderTree/efl/CMakeLists.txt:
* DumpRenderTree/efl/DumpRenderTreeView.cpp:
(onConsoleMessage):
* DumpRenderTree/gtk/DumpRenderTree.cpp:
(webViewConsoleMessage):
* DumpRenderTree/mac/UIDelegate.mm:
(-[UIDelegate webView:addMessageToConsole:withSource:]):
* DumpRenderTree/qt/DumpRenderTreeQt.cpp:
(WebCore::WebPage::javaScriptConsoleMessage):
* DumpRenderTree/win/UIDelegate.cpp:
(UIDelegate::webViewAddMessageToConsole):
* DumpRenderTree/wx/DumpRenderTreeWx.cpp:
(LayoutWebViewEventHandler::OnConsoleMessageEvent):

LayoutTests:

Removed unset line numbers in console messages from test expectations.

* fast/canvas/svg-taint-expected.txt:
* fast/dom/Window/window-xy-properties-expected.txt:
* fast/events/init-events-expected.txt:
* fast/events/mouse-relative-position-expected.txt:
* fast/events/mouseclick-target-and-positioning-expected.txt:
* fast/events/simulated-click-coords-expected.txt:
* fast/forms/interactive-validation-prevented-expected.txt:
* fast/workers/storage/open-database-creation-callback-sync-expected.txt:
* fast/workers/storage/open-database-set-empty-version-sync-expected.txt:
* fast/xmlhttprequest/xmlhttprequest-no-file-access-expected.txt:
* fast/xmlhttprequest/xmlhttprequest-responsetype-before-open-sync-request-expected.txt:
* fast/xmlhttprequest/xmlhttprequest-responsetype-sync-request-expected.txt:
* fast/xpath/nsresolver-bad-object-expected.txt:
* http/tests/appcache/local-content-expected.txt:
* http/tests/canvas/philip/tests/security.drawImage.canvas-expected.txt:
* http/tests/canvas/philip/tests/security.drawImage.image-expected.txt:
* http/tests/canvas/philip/tests/security.pattern.canvas.fillStyle-expected.txt:
* http/tests/canvas/philip/tests/security.pattern.canvas.strokeStyle-expected.txt:
* http/tests/canvas/philip/tests/security.pattern.cross-expected.txt:
* http/tests/canvas/philip/tests/security.pattern.image.fillStyle-expected.txt:
* http/tests/canvas/philip/tests/security.pattern.image.strokeStyle-expected.txt:
* http/tests/eventsource/eventsource-bad-mime-type-expected.txt:
* http/tests/eventsource/eventsource-content-type-charset-expected.txt:
* http/tests/history/cross-origin-replace-history-object-expected.txt:
* http/tests/inspector/console-xhr-logging-expected.txt:
* http/tests/inspector/network-preflight-options-expected.txt:
* http/tests/inspector/network/x-frame-options-deny-expected.txt:
* http/tests/misc/bubble-drag-events-expected.txt:
* http/tests/misc/drag-over-iframe-invalid-source-crash-expected.txt:
* http/tests/misc/iframe-invalid-source-crash-expected.txt:
* http/tests/misc/image-blocked-src-change-expected.txt:
* http/tests/misc/image-blocked-src-no-change-expected.txt:
* http/tests/misc/unloadable-script-expected.txt:
* http/tests/plugins/cross-frame-object-access-expected.txt:
* http/tests/security/XFrameOptions/x-frame-options-deny-expected.txt:
* http/tests/security/XFrameOptions/x-frame-options-deny-meta-tag-expected.txt:
* http/tests/security/XFrameOptions/x-frame-options-deny-meta-tag-in-body-expected.txt:
* http/tests/security/XFrameOptions/x-frame-options-deny-meta-tag-parent-same-origin-deny-expected.txt:
* http/tests/security/XFrameOptions/x-frame-options-parent-same-origin-deny-expected.txt:
* http/tests/security/aboutBlank/xss-DENIED-navigate-opener-document-write-expected.txt:
* http/tests/security/aboutBlank/xss-DENIED-navigate-opener-javascript-url-expected.txt:
* http/tests/security/aboutBlank/xss-DENIED-set-opener-expected.txt:
* http/tests/security/canvas-remote-read-data-url-svg-image-expected.txt:
* http/tests/security/canvas-remote-read-redirect-to-remote-image-expected.txt:
* http/tests/security/canvas-remote-read-remote-image-blocked-no-crossorigin-expected.txt:
* http/tests/security/canvas-remote-read-remote-image-blocked-then-allowed-expected.txt:
* http/tests/security/canvas-remote-read-remote-image-expected.txt:
* http/tests/security/canvas-remote-read-remote-image-redirect-expected.txt:
* http/tests/security/canvas-remote-read-svg-image-expected.txt:
* http/tests/security/contentSecurityPolicy/block-mixed-content-hides-warning-expected.txt:
* http/tests/security/contentSecurityPolicy/connect-src-eventsource-blocked-expected.txt:
* http/tests/security/contentSecurityPolicy/connect-src-websocket-blocked-expected.txt:
* http/tests/security/contentSecurityPolicy/connect-src-xmlhttprequest-blocked-expected.txt:
* http/tests/security/contentSecurityPolicy/default-src-inline-blocked-expected.txt:
* http/tests/security/contentSecurityPolicy/directive-parsing-01-expected.txt:
* http/tests/security/contentSecurityPolicy/directive-parsing-02-expected.txt:
* http/tests/security/contentSecurityPolicy/directive-parsing-03-expected.txt:
* http/tests/security/contentSecurityPolicy/eval-scripts-setInterval-blocked-expected.txt:
* http/tests/security/contentSecurityPolicy/eval-scripts-setTimeout-blocked-expected.txt:
* http/tests/security/contentSecurityPolicy/frame-src-blocked-expected.txt:
* http/tests/security/contentSecurityPolicy/image-blocked-expected.txt:
* http/tests/security/contentSecurityPolicy/inline-script-blocked-expected.txt:
* http/tests/security/contentSecurityPolicy/inline-script-blocked-goofy-expected.txt:
* http/tests/security/contentSecurityPolicy/inline-script-blocked-javascript-url-expected.txt:
* http/tests/security/contentSecurityPolicy/inline-style-attribute-blocked-expected.txt:
* http/tests/security/contentSecurityPolicy/inline-style-blocked-expected.txt:
* http/tests/security/contentSecurityPolicy/javascript-url-allowed-expected.txt:
* http/tests/security/contentSecurityPolicy/javascript-url-blocked-expected.txt:
* http/tests/security/contentSecurityPolicy/media-src-blocked-expected.txt:
* http/tests/security/contentSecurityPolicy/object-src-no-url-blocked-expected.txt:
* http/tests/security/contentSecurityPolicy/object-src-none-blocked-expected.txt:
* http/tests/security/contentSecurityPolicy/report-only-expected.txt:
* http/tests/security/contentSecurityPolicy/report-only-from-header-expected.txt:
* http/tests/security/contentSecurityPolicy/report-uri-expected.txt:
* http/tests/security/contentSecurityPolicy/report-uri-from-child-frame-expected.txt:
* http/tests/security/contentSecurityPolicy/script-loads-with-img-src-expected.txt:
* http/tests/security/contentSecurityPolicy/script-src-in-iframe-expected.txt:
* http/tests/security/contentSecurityPolicy/script-src-none-expected.txt:
* http/tests/security/contentSecurityPolicy/script-src-none-inline-event-expected.txt:
* http/tests/security/contentSecurityPolicy/script-src-redirect-expected.txt:
* http/tests/security/contentSecurityPolicy/script-src-self-blocked-01-expected.txt:
* http/tests/security/contentSecurityPolicy/script-src-self-blocked-02-expected.txt:
* http/tests/security/contentSecurityPolicy/script-src-self-blocked-03-expected.txt:
* http/tests/security/contentSecurityPolicy/source-list-parsing-expected.txt:
* http/tests/security/contentSecurityPolicy/style-blocked-expected.txt:
* http/tests/security/contentSecurityPolicy/worker-connect-src-blocked-expected.txt:
* http/tests/security/contentSecurityPolicy/worker-script-src-expected.txt:
* http/tests/security/contentSecurityPolicy/xsl-blocked-expected.txt:
* http/tests/security/contentSecurityPolicy/xsl-img-blocked-expected.txt:
* http/tests/security/contentSecurityPolicy/xsl-unaffected-by-style-src-1-expected.txt:
* http/tests/security/cross-frame-access-call-expected.txt:
* http/tests/security/cross-frame-access-callback-explicit-domain-DENY-expected.txt:
* http/tests/security/cross-frame-access-child-explicit-domain-expected.txt:
* http/tests/security/cross-frame-access-custom-expected.txt:
* http/tests/security/cross-frame-access-delete-expected.txt:
* http/tests/security/cross-frame-access-enumeration-expected.txt:
* http/tests/security/cross-frame-access-first-time-expected.txt:
* http/tests/security/cross-frame-access-get-custom-property-cached-expected.txt:
* http/tests/security/cross-frame-access-get-expected.txt:
* http/tests/security/cross-frame-access-history-get-expected.txt:
* http/tests/security/cross-frame-access-history-put-expected.txt:
* http/tests/security/cross-frame-access-location-get-expected.txt:
* http/tests/security/cross-frame-access-location-put-expected.txt:
* http/tests/security/cross-frame-access-name-getter-expected.txt:
* http/tests/security/cross-frame-access-object-getPrototypeOf-expected.txt:
* http/tests/security/cross-frame-access-object-prototype-expected.txt:
* http/tests/security/cross-frame-access-parent-explicit-domain-expected.txt:
* http/tests/security/cross-frame-access-port-expected.txt:
* http/tests/security/cross-frame-access-protocol-expected.txt:
* http/tests/security/cross-frame-access-protocol-explicit-domain-expected.txt:
* http/tests/security/cross-frame-access-selection-expected.txt:
* http/tests/security/cross-origin-xsl-BLOCKED-expected.txt:
* http/tests/security/cross-origin-xsl-redirect-BLOCKED-expected.txt:
* http/tests/security/dataURL/xss-DENIED-from-data-url-in-foreign-domain-subframe-expected.txt:
* http/tests/security/dataURL/xss-DENIED-from-data-url-in-foreign-domain-window-open-expected.txt:
* http/tests/security/dataURL/xss-DENIED-from-data-url-sub-frame-2-level-expected.txt:
* http/tests/security/dataURL/xss-DENIED-from-data-url-sub-frame-expected.txt:
* http/tests/security/dataURL/xss-DENIED-from-data-url-sub-frame-to-data-url-sub-frame-expected.txt:
* http/tests/security/dataURL/xss-DENIED-from-data-url-to-data-url-expected.txt:
* http/tests/security/dataURL/xss-DENIED-from-javascript-url-window-open-expected.txt:
* http/tests/security/dataURL/xss-DENIED-to-data-url-from-data-url-expected.txt:
* http/tests/security/dataURL/xss-DENIED-to-data-url-in-foreign-domain-subframe-expected.txt:
* http/tests/security/dataURL/xss-DENIED-to-data-url-in-foreign-domain-subframe-location-change-expected.txt:
* http/tests/security/dataURL/xss-DENIED-to-data-url-in-foreign-domain-window-open-expected.txt:
* http/tests/security/dataURL/xss-DENIED-to-data-url-sub-frame-2-level-expected.txt:
* http/tests/security/dataURL/xss-DENIED-to-data-url-sub-frame-expected.txt:
* http/tests/security/dataURL/xss-DENIED-to-data-url-sub-frame-uppercase-expected.txt:
* http/tests/security/dataURL/xss-DENIED-to-data-url-window-open-expected.txt:
* http/tests/security/filesystem-iframe-from-remote-expected.txt:
* http/tests/security/frame-loading-via-document-write-expected.txt:
* http/tests/security/frameNavigation/not-opener-expected.txt:
* http/tests/security/frameNavigation/xss-DENIED-plugin-navigation-expected.txt:
* http/tests/security/frameNavigation/xss-DENIED-targeted-link-navigation-expected.txt:
* http/tests/security/img-with-failed-cors-check-fails-to-load-expected.txt:
* http/tests/security/isolatedWorld/cross-origin-xhr-expected.txt:
* http/tests/security/javascriptURL/javascriptURL-execution-context-frame-location-htmldom-expected.txt:
* http/tests/security/javascriptURL/javascriptURL-execution-context-frame-src-getAttribute-value-expected.txt:
* http/tests/security/javascriptURL/javascriptURL-execution-context-frame-src-htmldom-expected.txt:
* http/tests/security/javascriptURL/javascriptURL-execution-context-frame-src-setAttribute-expected.txt:
* http/tests/security/javascriptURL/javascriptURL-execution-context-frame-src-setAttributeNS-expected.txt:
* http/tests/security/javascriptURL/javascriptURL-execution-context-frame-src-setAttributeNode-expected.txt:
* http/tests/security/javascriptURL/javascriptURL-execution-context-frame-src-setAttributeNodeNS-expected.txt:
* http/tests/security/javascriptURL/javascriptURL-execution-context-iframe-src-getAttribute-value-expected.txt:
* http/tests/security/javascriptURL/javascriptURL-execution-context-iframe-src-htmldom-expected.txt:
* http/tests/security/javascriptURL/javascriptURL-execution-context-iframe-src-setAttribute-expected.txt:
* http/tests/security/javascriptURL/javascriptURL-execution-context-iframe-src-setAttributeNS-expected.txt:
* http/tests/security/javascriptURL/javascriptURL-execution-context-iframe-src-setAttributeNode-expected.txt:
* http/tests/security/javascriptURL/javascriptURL-execution-context-iframe-src-setAttributeNodeNS-expected.txt:
* http/tests/security/javascriptURL/xss-DENIED-from-javascript-url-in-foreign-domain-subframe-expected.txt:
* http/tests/security/javascriptURL/xss-DENIED-from-javascript-url-in-foreign-domain-window-open-expected.txt:
* http/tests/security/javascriptURL/xss-DENIED-to-javascript-url-in-foreign-domain-subframe-expected.txt:
* http/tests/security/javascriptURL/xss-DENIED-to-javascript-url-in-foreign-domain-window-open-expected.txt:
* http/tests/security/listener/xss-JSTargetNode-onclick-addEventListener-expected.txt:
* http/tests/security/listener/xss-JSTargetNode-onclick-shortcut-expected.txt:
* http/tests/security/listener/xss-XMLHttpRequest-addEventListener-expected.txt:
* http/tests/security/listener/xss-XMLHttpRequest-shortcut-expected.txt:
* http/tests/security/listener/xss-window-onclick-addEventListener-expected.txt:
* http/tests/security/listener/xss-window-onclick-shortcut-expected.txt:
* http/tests/security/local-CSS-from-remote-expected.txt:
* http/tests/security/local-JavaScript-from-remote-expected.txt:
* http/tests/security/local-iFrame-from-remote-expected.txt:
* http/tests/security/local-image-from-remote-expected.txt:
* http/tests/security/local-video-poster-from-remote-expected.txt:
* http/tests/security/local-video-source-from-remote-expected.txt:
* http/tests/security/local-video-src-from-remote-expected.txt:
* http/tests/security/mixedContent/insecure-css-in-iframe-expected.txt:
* http/tests/security/mixedContent/insecure-css-in-main-frame-expected.txt:
* http/tests/security/mixedContent/insecure-iframe-in-main-frame-expected.txt:
* http/tests/security/mixedContent/insecure-image-in-main-frame-expected.txt:
* http/tests/security/mixedContent/insecure-script-in-iframe-expected.txt:
* http/tests/security/mixedContent/redirect-http-to-https-iframe-in-main-frame-expected.txt:
* http/tests/security/mixedContent/redirect-http-to-https-script-in-iframe-expected.txt:
* http/tests/security/mixedContent/redirect-https-to-http-iframe-in-main-frame-expected.txt:
* http/tests/security/mixedContent/redirect-https-to-http-script-in-iframe-expected.txt:
* http/tests/security/postMessage/invalid-origin-throws-exception-expected.txt:
* http/tests/security/postMessage/target-origin-expected.txt:
* http/tests/security/redirect-BLOCKED-to-localURL-expected.txt:
* http/tests/security/sandboxed-iframe-modify-self-expected.txt:
* http/tests/security/sandboxed-iframe-origin-add-expected.txt:
* http/tests/security/sandboxed-iframe-origin-remove-expected.txt:
* http/tests/security/text-track-crossorigin-expected.txt:
* http/tests/security/view-source-no-javascript-url-expected.txt:
* http/tests/security/xss-DENIED-assign-location-hash-expected.txt:
* http/tests/security/xss-DENIED-assign-location-host-expected.txt:
* http/tests/security/xss-DENIED-assign-location-hostname-expected.txt:
* http/tests/security/xss-DENIED-assign-location-href-javascript-expected.txt:
* http/tests/security/xss-DENIED-assign-location-nonstandardProperty-expected.txt:
* http/tests/security/xss-DENIED-assign-location-pathname-expected.txt:
* http/tests/security/xss-DENIED-assign-location-protocol-expected.txt:
* http/tests/security/xss-DENIED-assign-location-reload-expected.txt:
* http/tests/security/xss-DENIED-assign-location-search-expected.txt:
* http/tests/security/xss-DENIED-document-baseURI-javascript-expected.txt:
* http/tests/security/xss-DENIED-document-baseURI-javascript-with-spaces-expected.txt:
* http/tests/security/xss-DENIED-frame-name-expected.txt:
* http/tests/security/xss-DENIED-getSVGDocument-iframe-expected.txt:
* http/tests/security/xss-DENIED-getSVGDocument-object-expected.txt:
* http/tests/security/xss-DENIED-htmlelelment-with-iframe-proto-expected.txt:
* http/tests/security/xss-DENIED-iframe-src-alias-expected.txt:
* http/tests/security/xss-DENIED-invalid-domain-change-expected.txt:
* http/tests/security/xss-DENIED-javascript-with-spaces-expected.txt:
* http/tests/security/xss-DENIED-method-with-iframe-proto-expected.txt:
* http/tests/security/xss-DENIED-sandboxed-iframe-expected.txt:
* http/tests/security/xss-DENIED-synchronous-form-expected.txt:
* http/tests/security/xss-DENIED-synchronous-frame-load-in-javascript-url-expected.txt:
* http/tests/security/xss-DENIED-window-open-javascript-url-expected.txt:
* http/tests/security/xss-DENIED-window-open-javascript-url-with-spaces-expected.txt:
* http/tests/security/xss-DENIED-window-open-parent-expected.txt:
* http/tests/security/xss-DENIED-xml-external-entity-expected.txt:
* http/tests/security/xss-DENIED-xsl-document-expected.txt:
* http/tests/security/xss-DENIED-xsl-document-securityOrigin-expected.txt:
* http/tests/security/xss-DENIED-xsl-external-entity-expected.txt:
* http/tests/security/xssAuditor/anchor-url-dom-write-location-expected.txt:
* http/tests/security/xssAuditor/anchor-url-dom-write-location-inline-event-expected.txt:
* http/tests/security/xssAuditor/anchor-url-dom-write-location-inline-event-null-char-expected.txt:
* http/tests/security/xssAuditor/anchor-url-dom-write-location-javascript-URL-expected.txt:
* http/tests/security/xssAuditor/anchor-url-dom-write-location2-expected.txt:
* http/tests/security/xssAuditor/base-href-control-char-expected.txt:
* http/tests/security/xssAuditor/base-href-expected.txt:
* http/tests/security/xssAuditor/base-href-null-char-expected.txt:
* http/tests/security/xssAuditor/base-href-scheme-relative-expected.txt:
* http/tests/security/xssAuditor/cookie-injection-expected.txt:
* http/tests/security/xssAuditor/dom-write-URL-expected.txt:
* http/tests/security/xssAuditor/dom-write-location-expected.txt:
* http/tests/security/xssAuditor/dom-write-location-inline-event-expected.txt:
* http/tests/security/xssAuditor/dom-write-location-javascript-URL-expected.txt:
* http/tests/security/xssAuditor/embed-tag-code-attribute-2-expected.txt:
* http/tests/security/xssAuditor/embed-tag-code-attribute-expected.txt:
* http/tests/security/xssAuditor/embed-tag-control-char-expected.txt:
* http/tests/security/xssAuditor/embed-tag-expected.txt:
* http/tests/security/xssAuditor/embed-tag-javascript-url-expected.txt:
* http/tests/security/xssAuditor/embed-tag-null-char-expected.txt:
* http/tests/security/xssAuditor/form-action-expected.txt:
* http/tests/security/xssAuditor/full-block-base-href-expected.txt:
* http/tests/security/xssAuditor/full-block-get-from-iframe-expected.txt:
* http/tests/security/xssAuditor/full-block-iframe-javascript-url-expected.txt:
* http/tests/security/xssAuditor/full-block-iframe-no-inherit-expected.txt:
* http/tests/security/xssAuditor/full-block-javascript-link-expected.txt:
* http/tests/security/xssAuditor/full-block-link-onclick-expected.txt:
* http/tests/security/xssAuditor/full-block-object-tag-expected.txt:
* http/tests/security/xssAuditor/full-block-post-from-iframe-expected.txt:
* http/tests/security/xssAuditor/full-block-script-tag-expected.txt:
* http/tests/security/xssAuditor/full-block-script-tag-with-source-expected.txt:
* http/tests/security/xssAuditor/get-from-iframe-expected.txt:
* http/tests/security/xssAuditor/iframe-injection-expected.txt:
* http/tests/security/xssAuditor/iframe-javascript-url-expected.txt:
* http/tests/security/xssAuditor/iframe-javascript-url-more-encoding-expected.txt:
* http/tests/security/xssAuditor/iframe-javascript-url-twice-url-encode-expected.txt:
* http/tests/security/xssAuditor/iframe-javascript-url-twice-url-encode2-expected.txt:
* http/tests/security/xssAuditor/iframe-javascript-url-twice-url-encode3-expected.txt:
* http/tests/security/xssAuditor/iframe-javascript-url-url-encoded-expected.txt:
* http/tests/security/xssAuditor/img-onerror-accented-char-expected.txt:
* http/tests/security/xssAuditor/img-onerror-non-ASCII-char-default-encoding-expected.txt:
* http/tests/security/xssAuditor/img-onerror-non-ASCII-char-expected.txt:
* http/tests/security/xssAuditor/img-onerror-non-ASCII-char2-default-encoding-expected.txt:
* http/tests/security/xssAuditor/img-onerror-non-ASCII-char2-expected.txt:
* http/tests/security/xssAuditor/inline-event-HTML-entities-expected.txt:
* http/tests/security/xssAuditor/javascript-link-HTML-entities-control-char-expected.txt:
* http/tests/security/xssAuditor/javascript-link-HTML-entities-expected.txt:
* http/tests/security/xssAuditor/javascript-link-HTML-entities-named-expected.txt:
* http/tests/security/xssAuditor/javascript-link-HTML-entities-null-char-expected.txt:
* http/tests/security/xssAuditor/javascript-link-ampersand-expected.txt:
* http/tests/security/xssAuditor/javascript-link-control-char-expected.txt:
* http/tests/security/xssAuditor/javascript-link-expected.txt:
* http/tests/security/xssAuditor/javascript-link-null-char-expected.txt:
* http/tests/security/xssAuditor/javascript-link-one-plus-one-expected.txt:
* http/tests/security/xssAuditor/javascript-link-url-encoded-expected.txt:
* http/tests/security/xssAuditor/link-onclick-ampersand-expected.txt:
* http/tests/security/xssAuditor/link-onclick-control-char-expected.txt:
* http/tests/security/xssAuditor/link-onclick-entities-expected.txt:
* http/tests/security/xssAuditor/link-onclick-expected.txt:
* http/tests/security/xssAuditor/link-onclick-null-char-expected.txt:
* http/tests/security/xssAuditor/link-opens-new-window-expected.txt:
* http/tests/security/xssAuditor/malformed-HTML-expected.txt:
* http/tests/security/xssAuditor/malformed-xss-protection-header-expected.txt:
* http/tests/security/xssAuditor/meta-tag-http-refresh-javascript-url-expected.txt:
* http/tests/security/xssAuditor/meta-tag-http-refresh-x-frame-options-expected.txt:
* http/tests/security/xssAuditor/object-embed-tag-control-char-expected.txt:
* http/tests/security/xssAuditor/object-embed-tag-expected.txt:
* http/tests/security/xssAuditor/object-embed-tag-null-char-expected.txt:
* http/tests/security/xssAuditor/object-tag-expected.txt:
* http/tests/security/xssAuditor/object-tag-javascript-url-expected.txt:
* http/tests/security/xssAuditor/open-attribute-body-expected.txt:
* http/tests/security/xssAuditor/open-event-handler-iframe-expected.txt:
* http/tests/security/xssAuditor/post-from-iframe-expected.txt:
* http/tests/security/xssAuditor/property-escape-comment-expected.txt:
* http/tests/security/xssAuditor/property-escape-entity-expected.txt:
* http/tests/security/xssAuditor/property-escape-expected.txt:
* http/tests/security/xssAuditor/property-escape-long-expected.txt:
* http/tests/security/xssAuditor/property-escape-quote-expected.txt:
* http/tests/security/xssAuditor/script-tag-addslashes-backslash-expected.txt:
* http/tests/security/xssAuditor/script-tag-addslashes-double-quote-expected.txt:
* http/tests/security/xssAuditor/script-tag-addslashes-null-char-expected.txt:
* http/tests/security/xssAuditor/script-tag-addslashes-single-quote-expected.txt:
* http/tests/security/xssAuditor/script-tag-control-char-expected.txt:
* http/tests/security/xssAuditor/script-tag-convoluted-expected.txt:
* http/tests/security/xssAuditor/script-tag-entities-expected.txt:
* http/tests/security/xssAuditor/script-tag-expected.txt:
* http/tests/security/xssAuditor/script-tag-null-char-expected.txt:
* http/tests/security/xssAuditor/script-tag-open-redirect-expected.txt:
* http/tests/security/xssAuditor/script-tag-post-control-char-expected.txt:
* http/tests/security/xssAuditor/script-tag-post-expected.txt:
* http/tests/security/xssAuditor/script-tag-post-null-char-expected.txt:
* http/tests/security/xssAuditor/script-tag-redirect-expected.txt:
* http/tests/security/xssAuditor/script-tag-with-16bit-unicode-expected.txt:
* http/tests/security/xssAuditor/script-tag-with-16bit-unicode-surrogate-pair-expected.txt:
* http/tests/security/xssAuditor/script-tag-with-16bit-unicode2-expected.txt:
* http/tests/security/xssAuditor/script-tag-with-16bit-unicode3-expected.txt:
* http/tests/security/xssAuditor/script-tag-with-16bit-unicode4-expected.txt:
* http/tests/security/xssAuditor/script-tag-with-16bit-unicode5-expected.txt:
* http/tests/security/xssAuditor/script-tag-with-callbacks-expected.txt:
* http/tests/security/xssAuditor/script-tag-with-fancy-unicode-expected.txt:
* http/tests/security/xssAuditor/script-tag-with-invalid-closing-tag-expected.txt:
* http/tests/security/xssAuditor/script-tag-with-invalid-url-encoding-expected.txt:
* http/tests/security/xssAuditor/script-tag-with-source-control-char-expected.txt:
* http/tests/security/xssAuditor/script-tag-with-source-data-url-expected.txt:
* http/tests/security/xssAuditor/script-tag-with-source-double-quote-expected.txt:
* http/tests/security/xssAuditor/script-tag-with-source-entities-expected.txt:
* http/tests/security/xssAuditor/script-tag-with-source-expected.txt:
* http/tests/security/xssAuditor/script-tag-with-source-no-quote-expected.txt:
* http/tests/security/xssAuditor/script-tag-with-source-null-char-expected.txt:
* http/tests/security/xssAuditor/script-tag-with-source-relative-scheme-expected.txt:
* http/tests/security/xssAuditor/script-tag-with-source-same-host-with-query-expected.txt:
* http/tests/security/xssAuditor/script-tag-with-source-unterminated-expected.txt:
* http/tests/security/xssAuditor/script-tag-with-three-times-url-encoded-16bit-unicode-expected.txt:
* http/tests/security/xssAuditor/script-tag-with-trailing-comment-expected.txt:
* http/tests/security/xssAuditor/script-tag-with-trailing-comment2-expected.txt:
* http/tests/security/xssAuditor/script-tag-with-trailing-comment3-expected.txt:
* http/tests/security/xssAuditor/xss-filter-bypass-big5-expected.txt:
* http/tests/security/xssAuditor/xss-filter-bypass-long-string-expected.txt:
* http/tests/security/xssAuditor/xss-filter-bypass-sjis-expected.txt:
* http/tests/security/xssAuditor/xss-protection-parsing-01-expected.txt:
* http/tests/websocket/tests/hixie76/bad-handshake-crash-expected.txt:
* http/tests/websocket/tests/hixie76/bad-sub-protocol-control-chars-expected.txt:
* http/tests/websocket/tests/hixie76/bad-sub-protocol-empty-expected.txt:
* http/tests/websocket/tests/hixie76/bad-sub-protocol-non-ascii-expected.txt:
* http/tests/websocket/tests/hixie76/close-before-open-expected.txt:
* http/tests/websocket/tests/hixie76/frame-length-overflow-expected.txt:
* http/tests/websocket/tests/hixie76/handshake-error-expected.txt:
* http/tests/websocket/tests/hixie76/handshake-fail-by-cross-origin-expected.txt:
* http/tests/websocket/tests/hixie76/handshake-fail-by-maxlength-expected.txt:
* http/tests/websocket/tests/hixie76/handshake-fail-by-no-connection-header-expected.txt:
* http/tests/websocket/tests/hixie76/handshake-fail-by-no-cr-expected.txt:
* http/tests/websocket/tests/hixie76/handshake-fail-by-no-upgrade-header-expected.txt:
* http/tests/websocket/tests/hixie76/handshake-fail-by-prepended-null-expected.txt:
* http/tests/websocket/tests/hixie76/handshake-fail-by-sub-protocol-mismatch-expected.txt:
* http/tests/websocket/tests/hixie76/long-invalid-header-expected.txt:
* http/tests/websocket/tests/hixie76/url-parsing-expected.txt:
* http/tests/websocket/tests/hixie76/url-with-query-for-no-query-expected.txt:
* http/tests/websocket/tests/hixie76/websocket-event-target-expected.txt:
* http/tests/websocket/tests/hybi/bad-handshake-crash-expected.txt:
* http/tests/websocket/tests/hybi/bad-sub-protocol-control-chars-expected.txt:
* http/tests/websocket/tests/hybi/bad-sub-protocol-empty-expected.txt:
* http/tests/websocket/tests/hybi/bad-sub-protocol-non-ascii-expected.txt:
* http/tests/websocket/tests/hybi/broken-utf8-expected.txt:
* http/tests/websocket/tests/hybi/close-before-open-expected.txt:
* http/tests/websocket/tests/hybi/close-code-and-reason-expected.txt:
* http/tests/websocket/tests/hybi/close-expected.txt:
* http/tests/websocket/tests/hybi/fragmented-control-frame-expected.txt:
* http/tests/websocket/tests/hybi/handshake-error-expected.txt:
* http/tests/websocket/tests/hybi/handshake-fail-by-extensions-header-expected.txt:
* http/tests/websocket/tests/hybi/handshake-fail-by-maxlength-expected.txt:
* http/tests/websocket/tests/hybi/handshake-fail-by-no-accept-header-expected.txt:
* http/tests/websocket/tests/hybi/handshake-fail-by-no-connection-header-expected.txt:
* http/tests/websocket/tests/hybi/handshake-fail-by-no-cr-expected.txt:
* http/tests/websocket/tests/hybi/handshake-fail-by-no-upgrade-header-expected.txt:
* http/tests/websocket/tests/hybi/handshake-fail-by-prepended-null-expected.txt:
* http/tests/websocket/tests/hybi/handshake-fail-by-wrong-accept-header-expected.txt:
* http/tests/websocket/tests/hybi/interleaved-fragments-expected.txt:
* http/tests/websocket/tests/hybi/invalid-continuation-expected.txt:
* http/tests/websocket/tests/hybi/invalid-subprotocol-characters-expected.txt:
* http/tests/websocket/tests/hybi/invalid-subprotocols-expected.txt:
* http/tests/websocket/tests/hybi/long-control-frame-expected.txt:
* http/tests/websocket/tests/hybi/long-invalid-header-expected.txt:
* http/tests/websocket/tests/hybi/reserved-bits-expected.txt:
* http/tests/websocket/tests/hybi/reserved-opcodes-expected.txt:
* http/tests/websocket/tests/hybi/send-file-blob-fail-expected.txt:
* http/tests/websocket/tests/hybi/too-long-payload-expected.txt:
* http/tests/websocket/tests/hybi/url-parsing-expected.txt:
* http/tests/websocket/tests/hybi/websocket-event-target-expected.txt:
* http/tests/websocket/tests/hybi/workers/close-code-and-reason-expected.txt:
* http/tests/websocket/tests/hybi/workers/close-expected.txt:
* http/tests/xmlhttprequest/access-control-basic-denied-expected.txt:
* http/tests/xmlhttprequest/access-control-basic-denied-preflight-cache-expected.txt:
* http/tests/xmlhttprequest/access-control-basic-get-fail-non-simple-expected.txt:
* http/tests/xmlhttprequest/access-control-basic-non-simple-deny-cached-expected.txt:
* http/tests/xmlhttprequest/access-control-basic-post-fail-non-simple-content-type-expected.txt:
* http/tests/xmlhttprequest/access-control-basic-whitelist-response-headers-expected.txt:
* http/tests/xmlhttprequest/access-control-preflight-async-header-denied-expected.txt:
* http/tests/xmlhttprequest/access-control-preflight-async-method-denied-expected.txt:
* http/tests/xmlhttprequest/access-control-preflight-async-not-supported-expected.txt:
* http/tests/xmlhttprequest/access-control-preflight-sync-header-denied-expected.txt:
* http/tests/xmlhttprequest/access-control-preflight-sync-method-denied-expected.txt:
* http/tests/xmlhttprequest/access-control-preflight-sync-not-supported-expected.txt:
* http/tests/xmlhttprequest/access-control-sandboxed-iframe-denied-expected.txt:
* http/tests/xmlhttprequest/access-control-sandboxed-iframe-denied-without-wildcard-expected.txt:
* http/tests/xmlhttprequest/cross-origin-no-authorization-expected.txt:
* http/tests/xmlhttprequest/cross-origin-no-credential-prompt-expected.txt:
* http/tests/xmlhttprequest/cross-site-denied-response-expected.txt:
* http/tests/xmlhttprequest/cross-site-denied-response-sync-2-expected.txt:
* http/tests/xmlhttprequest/cross-site-denied-response-sync-expected.txt:
* http/tests/xmlhttprequest/get-dangerous-headers-expected.txt:
* http/tests/xmlhttprequest/getResponseHeader-expected.txt:
* http/tests/xmlhttprequest/onerror-event-expected.txt:
* http/tests/xmlhttprequest/origin-whitelisting-https-expected.txt:
* http/tests/xmlhttprequest/origin-whitelisting-ip-addresses-with-subdomains-expected.txt:
* http/tests/xmlhttprequest/origin-whitelisting-removal-expected.txt:
* http/tests/xmlhttprequest/set-dangerous-headers-expected.txt:
* http/tests/xmlhttprequest/simple-cross-origin-denied-events-expected.txt:
* http/tests/xmlhttprequest/simple-cross-origin-denied-events-post-expected.txt:
* http/tests/xmlhttprequest/simple-cross-origin-denied-events-post-sync-expected.txt:
* http/tests/xmlhttprequest/simple-cross-origin-denied-events-sync-expected.txt:
* http/tests/xmlhttprequest/simple-cross-origin-progress-events-expected.txt:
* http/tests/xmlhttprequest/workers/access-control-basic-get-fail-non-simple-expected.txt:
* http/tests/xmlhttprequest/xmlhttprequest-sync-no-progress-events-expected.txt:
* jquery/event-expected.txt:
* media/csp-blocks-video-expected.txt:
* platform/chromium-linux/http/tests/security/javascriptURL/javascriptURL-execution-context-frame-location-htmldom-expected.txt:
* platform/chromium-linux/http/tests/security/javascriptURL/javascriptURL-execution-context-frame-src-getAttribute-value-expected.txt:
* platform/chromium-linux/http/tests/security/javascriptURL/javascriptURL-execution-context-frame-src-htmldom-expected.txt:
* platform/chromium-linux/http/tests/security/javascriptURL/javascriptURL-execution-context-frame-src-setAttribute-expected.txt:
* platform/chromium-linux/http/tests/security/javascriptURL/javascriptURL-execution-context-frame-src-setAttributeNS-expected.txt:
* platform/chromium-linux/http/tests/security/javascriptURL/javascriptURL-execution-context-frame-src-setAttributeNode-expected.txt:
* platform/chromium-linux/http/tests/security/javascriptURL/javascriptURL-execution-context-frame-src-setAttributeNodeNS-expected.txt:
* platform/chromium-linux/http/tests/security/javascriptURL/javascriptURL-execution-context-iframe-src-getAttribute-value-expected.txt:
* platform/chromium-linux/http/tests/security/javascriptURL/javascriptURL-execution-context-iframe-src-htmldom-expected.txt:
* platform/chromium-linux/http/tests/security/javascriptURL/javascriptURL-execution-context-iframe-src-setAttribute-expected.txt:
* platform/chromium-linux/http/tests/security/javascriptURL/javascriptURL-execution-context-iframe-src-setAttributeNS-expected.txt:
* platform/chromium-linux/http/tests/security/javascriptURL/javascriptURL-execution-context-iframe-src-setAttributeNode-expected.txt:
* platform/chromium-linux/http/tests/security/javascriptURL/javascriptURL-execution-context-iframe-src-setAttributeNodeNS-expected.txt:
* platform/chromium-linux/http/tests/security/xssAuditor/javascript-link-HTML-entities-null-char-expected.txt:
* platform/chromium-linux/http/tests/websocket/tests/hixie76/bad-sub-protocol-control-chars-expected.txt:
* platform/chromium-linux/http/tests/websocket/tests/hixie76/url-parsing-expected.txt:
* platform/chromium-mac/fast/history/timed-refresh-in-cached-frame-expected.txt:
* platform/chromium-mac/http/tests/security/cross-origin-xsl-BLOCKED-expected.txt:
* platform/chromium-mac/http/tests/security/cross-origin-xsl-redirect-BLOCKED-expected.txt:
* platform/chromium-mac/http/tests/websocket/tests/hixie76/bad-sub-protocol-control-chars-expected.txt:
* platform/chromium-mac/http/tests/websocket/tests/hixie76/url-parsing-expected.txt:
* platform/chromium-win/fast/history/timed-refresh-in-cached-frame-expected.txt:
* platform/chromium-win/fast/xmlhttprequest/xmlhttprequest-no-file-access-expected.txt:
* platform/chromium-win/http/tests/security/cross-origin-xsl-BLOCKED-expected.txt:
* platform/chromium-win/http/tests/security/cross-origin-xsl-redirect-BLOCKED-expected.txt:
* platform/chromium-win/http/tests/security/javascriptURL/javascriptURL-execution-context-frame-location-htmldom-expected.txt:
* platform/chromium-win/http/tests/security/javascriptURL/javascriptURL-execution-context-frame-src-getAttribute-value-expected.txt:
* platform/chromium-win/http/tests/security/javascriptURL/javascriptURL-execution-context-frame-src-htmldom-expected.txt:
* platform/chromium-win/http/tests/security/javascriptURL/javascriptURL-execution-context-frame-src-setAttribute-expected.txt:
* platform/chromium-win/http/tests/security/javascriptURL/javascriptURL-execution-context-frame-src-setAttributeNS-expected.txt:
* platform/chromium-win/http/tests/security/javascriptURL/javascriptURL-execution-context-frame-src-setAttributeNode-expected.txt:
* platform/chromium-win/http/tests/security/javascriptURL/javascriptURL-execution-context-frame-src-setAttributeNodeNS-expected.txt:
* platform/chromium-win/http/tests/security/javascriptURL/javascriptURL-execution-context-iframe-src-getAttribute-value-expected.txt:
* platform/chromium-win/http/tests/security/javascriptURL/javascriptURL-execution-context-iframe-src-htmldom-expected.txt:
* platform/chromium-win/http/tests/security/javascriptURL/javascriptURL-execution-context-iframe-src-setAttribute-expected.txt:
* platform/chromium-win/http/tests/security/javascriptURL/javascriptURL-execution-context-iframe-src-setAttributeNS-expected.txt:
* platform/chromium-win/http/tests/security/javascriptURL/javascriptURL-execution-context-iframe-src-setAttributeNode-expected.txt:
* platform/chromium-win/http/tests/security/javascriptURL/javascriptURL-execution-context-iframe-src-setAttributeNodeNS-expected.txt:
* platform/chromium-win/http/tests/websocket/tests/hixie76/bad-sub-protocol-control-chars-expected.txt:
* platform/chromium-win/http/tests/websocket/tests/hixie76/url-parsing-expected.txt:
* platform/chromium-win/websocket/tests/bad-sub-protocol-control-chars-expected.txt:
* platform/chromium-win/websocket/tests/bad-sub-protocol-expected.txt:
* platform/chromium-win/websocket/tests/bad-sub-protocol-non-ascii-expected.txt:
* platform/chromium-win/websocket/tests/url-parsing-expected.txt:
* platform/chromium/fast/dom/Geolocation/notimer-after-unload-expected.txt:
* platform/chromium/fast/events/onbeforeunload-focused-iframe-expected.txt:
* platform/chromium/fast/events/onunload-clears-onbeforeunload-expected.txt:
* platform/chromium/fast/events/onunload-expected.txt:
* platform/chromium/fast/events/onunload-not-on-body-expected.txt:
* platform/chromium/fast/events/onunload-window-property-expected.txt:
* platform/chromium/fast/events/pageshow-pagehide-on-back-uncached-expected.txt:
* platform/chromium/fast/history/timed-refresh-in-cached-frame-expected.txt:
* platform/chromium/fast/loader/frames-with-unload-handlers-in-page-cache-expected.txt:
* platform/chromium/fast/loader/page-dismissal-modal-dialogs-expected.txt:
* platform/chromium/fast/loader/recursive-before-unload-crash-expected.txt:
* platform/chromium/http/tests/inspector/console-xhr-logging-expected.txt:
* platform/chromium/http/tests/security/aboutBlank/xss-DENIED-navigate-opener-document-write-expected.txt:
* platform/chromium/http/tests/security/aboutBlank/xss-DENIED-navigate-opener-javascript-url-expected.txt:
* platform/chromium/http/tests/security/aboutBlank/xss-DENIED-set-opener-expected.txt:
* platform/chromium/http/tests/security/contentSecurityPolicy/media-src-blocked-expected.txt:
* platform/chromium/http/tests/security/cross-frame-access-call-expected.txt:
* platform/chromium/http/tests/security/cross-frame-access-document-direct-expected.txt:
* platform/chromium/http/tests/security/cross-frame-access-enumeration-expected.txt:
* platform/chromium/http/tests/security/cross-frame-access-history-get-expected.txt:
* platform/chromium/http/tests/security/cross-frame-access-history-put-expected.txt:
* platform/chromium/http/tests/security/cross-frame-access-location-put-expected.txt:
* platform/chromium/http/tests/security/dataURL/xss-DENIED-from-data-url-in-foreign-domain-subframe-expected.txt:
* platform/chromium/http/tests/security/dataURL/xss-DENIED-from-data-url-in-foreign-domain-window-open-expected.txt:
* platform/chromium/http/tests/security/dataURL/xss-DENIED-from-data-url-sub-frame-2-level-expected.txt:
* platform/chromium/http/tests/security/dataURL/xss-DENIED-from-data-url-sub-frame-expected.txt:
* platform/chromium/http/tests/security/dataURL/xss-DENIED-from-data-url-sub-frame-to-data-url-sub-frame-expected.txt:
* platform/chromium/http/tests/security/dataURL/xss-DENIED-from-data-url-to-data-url-expected.txt:
* platform/chromium/http/tests/security/dataURL/xss-DENIED-from-javascript-url-window-open-expected.txt:
* platform/chromium/http/tests/security/dataURL/xss-DENIED-to-data-url-from-data-url-expected.txt:
* platform/chromium/http/tests/security/dataURL/xss-DENIED-to-data-url-in-foreign-domain-subframe-expected.txt:
* platform/chromium/http/tests/security/dataURL/xss-DENIED-to-data-url-in-foreign-domain-subframe-location-change-expected.txt:
* platform/chromium/http/tests/security/dataURL/xss-DENIED-to-data-url-in-foreign-domain-window-open-expected.txt:
* platform/chromium/http/tests/security/dataURL/xss-DENIED-to-data-url-sub-frame-2-level-expected.txt:
* platform/chromium/http/tests/security/dataURL/xss-DENIED-to-data-url-sub-frame-expected.txt:
* platform/chromium/http/tests/security/dataURL/xss-DENIED-to-data-url-sub-frame-uppercase-expected.txt:
* platform/chromium/http/tests/security/dataURL/xss-DENIED-to-data-url-window-open-expected.txt:
* platform/chromium/http/tests/security/frameNavigation/xss-DENIED-plugin-navigation-expected.txt:
* platform/chromium/http/tests/security/inactive-document-with-empty-security-origin-expected.txt:
* platform/chromium/http/tests/security/javascriptURL/javascriptURL-execution-context-frame-location-htmldom-expected.txt:
* platform/chromium/http/tests/security/javascriptURL/javascriptURL-execution-context-frame-src-getAttribute-value-expected.txt:
* platform/chromium/http/tests/security/javascriptURL/javascriptURL-execution-context-frame-src-htmldom-expected.txt:
* platform/chromium/http/tests/security/javascriptURL/javascriptURL-execution-context-frame-src-setAttribute-expected.txt:
* platform/chromium/http/tests/security/javascriptURL/javascriptURL-execution-context-frame-src-setAttributeNS-expected.txt:
* platform/chromium/http/tests/security/javascriptURL/javascriptURL-execution-context-frame-src-setAttributeNode-expected.txt:
* platform/chromium/http/tests/security/javascriptURL/javascriptURL-execution-context-frame-src-setAttributeNodeNS-expected.txt:
* platform/chromium/http/tests/security/javascriptURL/javascriptURL-execution-context-iframe-src-getAttribute-value-expected.txt:
* platform/chromium/http/tests/security/javascriptURL/javascriptURL-execution-context-iframe-src-htmldom-expected.txt:
* platform/chromium/http/tests/security/javascriptURL/javascriptURL-execution-context-iframe-src-setAttribute-expected.txt:
* platform/chromium/http/tests/security/javascriptURL/javascriptURL-execution-context-iframe-src-setAttributeNS-expected.txt:
* platform/chromium/http/tests/security/javascriptURL/javascriptURL-execution-context-iframe-src-setAttributeNode-expected.txt:
* platform/chromium/http/tests/security/javascriptURL/javascriptURL-execution-context-iframe-src-setAttributeNodeNS-expected.txt:
* platform/chromium/http/tests/security/listener/xss-JSTargetNode-onclick-addEventListener-expected.txt:
* platform/chromium/http/tests/security/listener/xss-JSTargetNode-onclick-shortcut-expected.txt:
* platform/chromium/http/tests/security/listener/xss-XMLHttpRequest-addEventListener-expected.txt:
* platform/chromium/http/tests/security/listener/xss-XMLHttpRequest-shortcut-expected.txt:
* platform/chromium/http/tests/security/listener/xss-window-onclick-addEventListener-expected.txt:
* platform/chromium/http/tests/security/listener/xss-window-onclick-shortcut-expected.txt:
* platform/chromium/http/tests/security/mixedContent/insecure-iframe-in-main-frame-allowed-expected.txt:
* platform/chromium/http/tests/security/mixedContent/insecure-iframe-in-main-frame-blocked-expected.txt:
* platform/chromium/http/tests/security/mixedContent/insecure-image-in-main-frame-allowed-expected.txt:
* platform/chromium/http/tests/security/mixedContent/insecure-image-in-main-frame-blocked-expected.txt:
* platform/chromium/http/tests/security/mixedContent/insecure-script-in-main-frame-allowed-expected.txt:
* platform/chromium/http/tests/security/mixedContent/insecure-script-in-main-frame-blocked-expected.txt:
* platform/chromium/http/tests/security/redirect-BLOCKED-to-localURL-expected.txt:
* platform/chromium/http/tests/security/window-named-proto-expected.txt:
* platform/chromium/http/tests/security/xss-DENIED-assign-location-href-javascript-expected.txt:
* platform/chromium/http/tests/security/xss-DENIED-frame-name-expected.txt:
* platform/chromium/http/tests/websocket/tests/hybi/bad-sub-protocol-control-chars-expected.txt:
* platform/chromium/http/tests/websocket/tests/hybi/url-parsing-expected.txt:
* platform/chromium/media/csp-blocks-video-expected.txt:
* platform/chromium/plugins/document-open-expected.txt:
* platform/mac-leopard/http/tests/inspector/console-websocket-error-expected.txt:
* platform/mac/http/tests/inspector/console-websocket-error-expected.txt:
* platform/qt/http/tests/security/aboutBlank/xss-DENIED-navigate-opener-document-write-expected.txt:
* platform/qt/http/tests/security/aboutBlank/xss-DENIED-navigate-opener-javascript-url-expected.txt:
* platform/qt/http/tests/security/aboutBlank/xss-DENIED-set-opener-expected.txt:
* platform/qt/http/tests/websocket/tests/hixie76/bad-sub-protocol-non-ascii-expected.txt:
* platform/qt/http/tests/websocket/tests/hybi/bad-sub-protocol-non-ascii-expected.txt:
* plugins/document-open-expected.txt:
* plugins/get-user-agent-with-null-npp-from-npp-new-expected.txt:
* plugins/geturlnotify-during-document-teardown-expected.txt:
* plugins/netscape-plugin-map-data-to-src-expected.txt:
* plugins/netscape-plugin-setwindow-size-2-expected.txt:
* plugins/netscape-plugin-setwindow-size-expected.txt:
* plugins/no-mime-with-valid-extension-expected.txt:
* plugins/open-and-close-window-with-plugin-expected.txt:
* plugins/pass-different-npp-struct-expected.txt:
* plugins/window-open-expected.txt:
* storage/open-database-creation-callback-expected.txt:
* storage/open-database-set-empty-version-expected.txt:

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

9 years agoAdd RenderStyle::isPositioned() helper method
mihnea@adobe.com [Thu, 12 Jan 2012 10:22:48 +0000 (10:22 +0000)]
Add RenderStyle::isPositioned() helper method
https://bugs.webkit.org/show_bug.cgi?id=75959

Reviewed by Tony Chang.

No new tests since this is refactoring of existing code.
Replace (style()->position() == AbsolutePosition || style()->position() == FixedPosition)
with (style()->isPositioned()).
Replace (style()->position() != AbsolutePosition && style()->position() != FixedPosition)
with (!style()->isPositioned()).

* rendering/RenderBox.cpp:
(WebCore::RenderBox::updateBoxModelInfoFromStyle):
(WebCore::RenderBox::offsetFromContainer):
* rendering/RenderBoxModelObject.cpp:
(WebCore::RenderBoxModelObject::mapAbsoluteToLocalPoint):
* rendering/RenderInline.cpp:
(WebCore::RenderInline::computeRectForRepaint):
* rendering/RenderObject.cpp:
(WebCore::RenderObject::markContainingBlocksForLayout):
(WebCore::RenderObject::setPreferredLogicalWidthsDirty):
(WebCore::RenderObject::invalidateContainerPreferredLogicalWidths):
* rendering/style/RenderStyle.h:
(WebCore::RenderStyleBitfields::isPositioned):

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

9 years ago[Chromium] Unreviewed, update test expectations.
apavlov@chromium.org [Thu, 12 Jan 2012 10:17:47 +0000 (10:17 +0000)]
[Chromium] Unreviewed, update test expectations.

* platform/chromium/test_expectations.txt:

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

9 years ago[EFL][WK2] Network is not available when SOUP is enabled.
ryuan.choi@samsung.com [Thu, 12 Jan 2012 10:08:37 +0000 (10:08 +0000)]
[EFL][WK2] Network is not available when SOUP is enabled.
https://bugs.webkit.org/show_bug.cgi?id=76112

Reviewed by Andreas Kling.

ecore_main_loop_glib_integrate should be called to use glib based library
such as SOUP.

* WebProcess/efl/WebProcessMainEfl.cpp:
(WebKit::WebProcessMainEfl):

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

9 years ago[EFL] Modify some API's implementation to let it directly pass Eina_Rectangle into...
commit-queue@webkit.org [Thu, 12 Jan 2012 09:50:54 +0000 (09:50 +0000)]
[EFL] Modify some API's implementation to let it directly pass Eina_Rectangle into IntRect.
https://bugs.webkit.org/show_bug.cgi?id=75695

Patch by KwangHyuk Kim <hyuki.kim@samsung.com> on 2012-01-12
Reviewed by Andreas Kling.

Dereference Eina_Rectangle pointers so the shorter IntRect constructor can be used.

* ewk/ewk_view.cpp:
(ewk_view_paint_context_clip):
(ewk_view_paint_context_paint):
(ewk_view_paint_context_paint_contents):
(ewk_view_paint):
(ewk_view_paint_contents):

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

9 years ago[EFL][WK2] Add PLATFORM(EFL) in SharedMemory.h, WebProcessStore.h, WebEditorClient.cpp
ryuan.choi@samsung.com [Thu, 12 Jan 2012 09:46:46 +0000 (09:46 +0000)]
[EFL][WK2] Add PLATFORM(EFL) in SharedMemory.h, WebProcessStore.h, WebEditorClient.cpp
https://bugs.webkit.org/show_bug.cgi?id=76115

Reviewed by Andreas Kling.

This patch added PLATFORM(EFL) guard in SharedMemory.h to use UNIX_DOMAIN_SOCKETS
and WebProcessStore.h to have font family preference
and WebEditorClient.cpp to use platform specific handleKeyboardEvent(),
handleInputMethodKeydown()

* Platform/SharedMemory.h:
* Shared/WebPreferencesStore.h:
* WebProcess/WebCoreSupport/WebEditorClient.cpp:

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

9 years ago[EFL] Rename parameter and variable name 'r' to 'rect' in IntRectEfl.cpp.
commit-queue@webkit.org [Thu, 12 Jan 2012 07:56:04 +0000 (07:56 +0000)]
[EFL] Rename parameter and variable name 'r' to 'rect' in IntRectEfl.cpp.
https://bugs.webkit.org/show_bug.cgi?id=76140

Patch by KwangHyuk Kim <hyuki.kim@samsung.com> on 2012-01-11
Reviewed by Andreas Kling.

No new tests : Just for change of parameter and variable name.

* platform/graphics/efl/IntRectEfl.cpp:
(WebCore::IntRect::IntRect):
(WebCore::IntRect::operator Eina_Rectangle):

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

9 years agoUpdate skipped file for layout test of EFL port.
gyuyoung.kim@samsung.com [Thu, 12 Jan 2012 07:48:43 +0000 (07:48 +0000)]
Update skipped file for layout test of EFL port.
https://bugs.webkit.org/show_bug.cgi?id=76024

Reviewed by Andreas Kling.

test_expectations.txt for EFL port is now containing list of skipped test cases.
But, I could notice that file 'Skipped' is proper location for the skipped test case.

In addition, some additional test cases are added to Skipped file.

* platform/efl/Skipped:
* platform/efl/test_expectations.txt:

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

9 years agoblock mask overlay test for CSS3 calc
mikelawther@chromium.org [Thu, 12 Jan 2012 07:18:53 +0000 (07:18 +0000)]
block mask overlay test for CSS3 calc
https://bugs.webkit.org/show_bug.cgi?id=75896

Reviewed by Ryosuke Niwa.

Tests for future implementation of CSS3 calc() (see http://webkit.org/b/16662)

These tests are expected to 'fail', and will pass once calc() functionality is landed.
For now, they serve to demonstrate that the current code doesn't crash on these tests.

* css3/calc/block-mask-overlay-image-outset-expected-mismatch.html: Added.
* css3/calc/block-mask-overlay-image-outset.html: Added.
* css3/calc/resources/mask.png: Added.

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

9 years agoQuerySelector should not have side effect.
commit-queue@webkit.org [Thu, 12 Jan 2012 07:07:16 +0000 (07:07 +0000)]
QuerySelector should not have side effect.
https://bugs.webkit.org/show_bug.cgi?id=75298

Patch by Shinya Kawanaka <shinyak@google.com> on 2012-01-11
Reviewed by Antti Koivisto.

Since SelectorChecker is not collecting-rules-only mode, it may set some flags in render styles
if some pseudo types (e.g. first-of-type) are used.

No new tests. Covered by existing tests.

* dom/SelectorQuery.cpp:
(WebCore::SelectorQuery::SelectorQuery):
  Made collecting rules only.

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

9 years ago[GTK] Web process should use the same locale than UI process
carlosgc@webkit.org [Thu, 12 Jan 2012 06:58:58 +0000 (06:58 +0000)]
[GTK] Web process should use the same locale than UI process
https://bugs.webkit.org/show_bug.cgi?id=76054

Reviewed by Gustavo Noronha Silva.

* UIProcess/Launcher/gtk/ProcessLauncherGtk.cpp:
(WebKit::childSetupFunction): Make child process use the same
locale than its parent.

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

9 years agoAdd WebArrayBuffer support in WebSocket to WebKit API.
commit-queue@webkit.org [Thu, 12 Jan 2012 06:47:47 +0000 (06:47 +0000)]
Add WebArrayBuffer support in WebSocket to WebKit API.
https://bugs.webkit.org/show_bug.cgi?id=75080

Patch by Takashi Toyoshima <toyoshim@chromium.org> on 2012-01-11
Reviewed by Darin Fisher.

* public/WebSocket.h: Add interface to send WebArrayBuffer, and set and get receiving binary object type.
* public/WebSocketClient.h: Add interface to receive WebArrayBuffer.
(WebKit::WebSocketClient::didReceiveArrayBuffer):
* src/WebSocketImpl.cpp: Add various binary types handling.
(WebKit::WebSocketImpl::WebSocketImpl):
(WebKit::WebSocketImpl::binaryType):
(WebKit::WebSocketImpl::setBinaryType):
(WebKit::WebSocketImpl::sendArrayBuffer):
(WebKit::WebSocketImpl::didReceiveBinaryData):
* src/WebSocketImpl.h: Add methods to handle various binary types.

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

9 years ago[Chromium] Baseline for new test added in http://trac.webkit.org/changeset/104786
dimich@chromium.org [Thu, 12 Jan 2012 06:38:32 +0000 (06:38 +0000)]
[Chromium] Baseline for new test added in trac.webkit.org/changeset/104786

Unreviewed.

* platform/chromium/fast/css/parsing-font-variant-ligatures-expected.txt: Added.

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

9 years agoVersioning.
lforschler@apple.com [Thu, 12 Jan 2012 05:52:38 +0000 (05:52 +0000)]
Versioning.

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

9 years agoCodeBlock::m_executeCounter should be renamed to CodeBlock::m_jitExecuteCounter
fpizlo@apple.com [Thu, 12 Jan 2012 04:33:10 +0000 (04:33 +0000)]
CodeBlock::m_executeCounter should be renamed to CodeBlock::m_jitExecuteCounter
https://bugs.webkit.org/show_bug.cgi?id=76144
<rdar://problem/10681711>

Rubber stamped by Gavin Barraclough.

* bytecode/CodeBlock.h:
(JSC::CodeBlock::addressOfJITExecuteCounter):
(JSC::CodeBlock::offsetOfJITExecuteCounter):
(JSC::CodeBlock::jitExecuteCounter):
(JSC::CodeBlock::optimizeNextInvocation):
(JSC::CodeBlock::dontOptimizeAnytimeSoon):
(JSC::CodeBlock::optimizeAfterWarmUp):
(JSC::CodeBlock::optimizeAfterLongWarmUp):
(JSC::CodeBlock::optimizeSoon):
* dfg/DFGOSRExitCompiler32_64.cpp:
(JSC::DFG::OSRExitCompiler::compileExit):
* dfg/DFGOSRExitCompiler64.cpp:
(JSC::DFG::OSRExitCompiler::compileExit):
* jit/JIT.cpp:
(JSC::JIT::emitOptimizationCheck):

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

9 years ago<rdar://problem/10679035> Implement font-variant-ligatures: {no-}common-ligatures
mitz@apple.com [Thu, 12 Jan 2012 04:10:01 +0000 (04:10 +0000)]
<rdar://problem/10679035> Implement font-variant-ligatures: {no-}common-ligatures
https://bugs.webkit.org/show_bug.cgi?id=76103

Reviewed by Sam Weinig.

Source/WebCore:

Tests: fast/css/parsing-font-variant-ligatures.html
       fast/text/font-variant-ligatures-expected.html
       fast/text/font-variant-ligatures.html

Added support for all font-variant-ligatures values in the style system and in
FontDescription, and made the {no-}common-ligatures value keywords control basic ligatures.
The {no-}{discretionary,historical}-ligatures keywords have no effect on rendering at this
time.

font-variant-ligatures was not made part of the font shorthand property.

* css/CSSComputedStyleDeclaration.cpp:
(WebCore::CSSComputedStyleDeclaration::getPropertyCSSValue): Added code to handle
font-variant-ligatures.
* css/CSSParser.cpp:
(WebCore::CSSParser::parseValue): Added code to handle font-variant-ligatures.
(WebCore::CSSParser::parseFontVariantLigatures): Added. Parses font-variant-ligatures.
* css/CSSParser.h:
* css/CSSProperty.cpp:
(WebCore::CSSProperty::isInheritedProperty): Added font-variant-ligatures to the set of
inherited properties.
* css/CSSPropertyNames.in: Added -webkit-font-variant-ligatures.
* css/CSSStyleApplyProperty.cpp:
(WebCore::ApplyPropertyFontVariantLigatures::applyInheritValue): Added. Copies
{common,discretionary,historical}LigaturesState from the parent style font description.
(WebCore::ApplyPropertyFontVariantLigatures::applyInitialValue): Added. Sets
{common,discretionary,historical}LigaturesState to normal.
(WebCore::ApplyPropertyFontVariantLigatures::applyValue): Added.
(WebCore::ApplyPropertyFontVariantLigatures::createHandler): Added.
(WebCore::CSSStyleApplyProperty::CSSStyleApplyProperty): Added a handler for
font-variant-ligatures.
* css/CSSStyleSelector.cpp:
(WebCore::CSSStyleSelector::applyDeclaration): Updated for the number of properties that
affect the font.
(WebCore::CSSStyleSelector::applyProperty): Added CSSPropertyWebkitFontVariantLigatures to
the switch statement, which needs to list all values in SVG-disabled builds.
* css/CSSValueKeywords.in: Added the value keywords
{no-}{common,discretionary,historical}-ligatures.
* platform/graphics/Font.h:
(WebCore::Font::typesettingFeatures): Changed to enable ligatures if common ligatures are
enabled in the font description, disable them if they are disabled, and leave them to the
default (determined by the text-rendering property) if they are in the normal state.
* platform/graphics/FontDescription.h:
(WebCore::FontDescription::FontDescription): Added initializers.
(WebCore::FontDescription::commonLigaturesState): Added this accessor.
(WebCore::FontDescription::discretionaryLigaturesState): Ditto.
(WebCore::FontDescription::historicalLigaturesState): Ditto.
(WebCore::FontDescription::setCommonLigaturesState): Ditto.
(WebCore::FontDescription::setDiscretionaryLigaturesState): Ditto.
(WebCore::FontDescription::setHistoricalLigaturesState): Ditto.
(WebCore::FontDescription::operator==): Updated to compare the ligatures state members.

LayoutTests:

* fast/css/getComputedStyle/computed-style-expected.txt:
* fast/css/getComputedStyle/computed-style-without-renderer-expected.txt:
* fast/css/parsing-font-variant-ligatures.html: Added.
* fast/text/font-variant-ligatures-expected.html: Added.
* fast/text/font-variant-ligatures.html: Added.
* platform/chromium-mac-snowleopard/svg/css/getComputedStyle-basic-expected.txt:
* platform/chromium-win/fast/css/getComputedStyle/computed-style-expected.txt:
* platform/chromium-win/fast/css/getComputedStyle/computed-style-without-renderer-expected.txt:
* platform/chromium-win/svg/css/getComputedStyle-basic-expected.txt:
* platform/gtk/fast/css/getComputedStyle/computed-style-without-renderer-expected.txt:
* platform/mac/fast/css/getComputedStyle/computed-style-without-renderer-expected.txt:
* platform/qt/fast/css/getComputedStyle/computed-style-without-renderer-expected.txt:
* svg/css/getComputedStyle-basic-expected.txt:

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

9 years agoOverflow on flexitems doesn't work
tony@chromium.org [Thu, 12 Jan 2012 03:55:38 +0000 (03:55 +0000)]
Overflow on flexitems doesn't work
https://bugs.webkit.org/show_bug.cgi?id=70979

Reviewed by Ojan Vafai.

Add test cases for flex items that overflow. There should be
non-disabled scrollbars.

* css3/flexbox/child-overflow-expected.html: Added.
* css3/flexbox/child-overflow.html: Added.

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

9 years agoMerge 'Getter'/'Setter' attributes into 'Accessor'
barraclough@apple.com [Thu, 12 Jan 2012 03:53:22 +0000 (03:53 +0000)]
Merge 'Getter'/'Setter' attributes into 'Accessor'
https://bugs.webkit.org/show_bug.cgi?id=76141

Reviewed by Filip Pizlo.

These are currently ambiguous (and used inconsistently). It would logically appear
that either being bit set implies that the corresponding type of accessor is present
but (a) we don't correctly enforce this, and (b) this means the attributes would not
be able to distinguish between a data descriptor and an accessor descriptor with
neither a getter nor setter defined (which is a descriptor permissible under the spec).
This ambiguity would lead to unsafe property caching behavior (though this does not
represent an actual current bug, since we are currently unable to create descriptors
that have neither a getter nor setter, it just prevents us from doing so).

* runtime/Arguments.cpp:
(JSC::Arguments::createStrictModeCallerIfNecessary):
(JSC::Arguments::createStrictModeCalleeIfNecessary):
* runtime/JSArray.cpp:
(JSC::SparseArrayValueMap::put):
(JSC::JSArray::putDescriptor):
* runtime/JSBoundFunction.cpp:
(JSC::JSBoundFunction::finishCreation):
* runtime/JSFunction.cpp:
(JSC::JSFunction::getOwnPropertySlot):
(JSC::JSFunction::getOwnPropertyDescriptor):
* runtime/JSObject.cpp:
(JSC::JSObject::defineGetter):
(JSC::JSObject::initializeGetterSetterProperty):
(JSC::JSObject::defineSetter):
(JSC::putDescriptor):
(JSC::JSObject::defineOwnProperty):
* runtime/JSObject.h:
* runtime/ObjectConstructor.cpp:
(JSC::objectConstructorDefineProperty):
* runtime/PropertyDescriptor.cpp:
(JSC::PropertyDescriptor::setDescriptor):
(JSC::PropertyDescriptor::setAccessorDescriptor):
(JSC::PropertyDescriptor::setSetter):
(JSC::PropertyDescriptor::setGetter):
(JSC::PropertyDescriptor::attributesOverridingCurrent):

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

9 years agomargin test for CSS3 calc
mikelawther@chromium.org [Thu, 12 Jan 2012 03:53:00 +0000 (03:53 +0000)]
margin test for CSS3 calc
https://bugs.webkit.org/show_bug.cgi?id=76000

Reviewed by Daniel Bates.

Tests for future implementation of CSS3 calc() (see http://webkit.org/b/16662)

These tests are expected to 'fail', and will pass once calc() functionality is landed.
For now, they serve to demonstrate that the current code doesn't crash on these tests.

* css3/calc/margin-expected.txt: Added.
* css3/calc/margin.html: Added.

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

9 years agoRepaint all graphics layers when their renderer offset changes
enne@google.com [Thu, 12 Jan 2012 03:46:47 +0000 (03:46 +0000)]
Repaint all graphics layers when their renderer offset changes
https://bugs.webkit.org/show_bug.cgi?id=75730

Reviewed by Simon Fraser.

Source/WebCore:

In RenderLayerBacking, only the main graphics layer gets repainted
when the offset changes. If the offset on other graphics layers (e.g.
the foreground layer) changes, they should get repainted as well.

Test: compositing/geometry/foreground-offset-change.html

* platform/graphics/GraphicsLayer.cpp:
(WebCore::GraphicsLayer::setOffsetFromRenderer):
(WebCore::GraphicsLayer::paintGraphicsLayerContents):
* platform/graphics/GraphicsLayer.h:
* rendering/RenderLayerBacking.cpp:
(WebCore::RenderLayerBacking::updateGraphicsLayerGeometry):
(WebCore::RenderLayerBacking::paintContents):

LayoutTests:

* compositing/geometry/foreground-offset-change-expected.png: Added.
* compositing/geometry/foreground-offset-change-expected.txt: Added.
* compositing/geometry/foreground-offset-change.html: Added.

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

9 years ago[Chromium] Rebaseline test images for input controls
dimich@chromium.org [Thu, 12 Jan 2012 02:30:39 +0000 (02:30 +0000)]
[Chromium] Rebaseline test images for input controls
after http://src.chromium.org/viewvc/chrome?view=rev&revision=117217
https://bugs.webkit.org/show_bug.cgi?id=76134

Unreviewed.

* platform/chromium-mac-leopard/fast/forms/basic-selects-expected.png:
* platform/chromium-mac-leopard/fast/forms/menulist-restrict-line-height-expected.png:
* platform/chromium-mac-leopard/fast/forms/menulist-style-color-expected.png:
* platform/chromium-mac-leopard/fast/forms/number/input-appearance-spinbutton-layer-expected.png:
* platform/chromium-mac-leopard/fast/forms/select-baseline-expected.png:
* platform/chromium-mac-snowleopard/fast/forms/basic-selects-expected.png:
* platform/chromium-mac-snowleopard/fast/forms/menulist-restrict-line-height-expected.png:
* platform/chromium-mac-snowleopard/fast/forms/menulist-separator-painting-expected.png:
* platform/chromium-mac-snowleopard/fast/forms/menulist-style-color-expected.png:
* platform/chromium-mac-snowleopard/fast/forms/number/input-appearance-spinbutton-layer-expected.png:
* platform/chromium-mac-snowleopard/fast/forms/select-baseline-expected.png:

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

9 years ago[chromium] TiledLayerChromium drops invalidates that occur during
commit-queue@webkit.org [Thu, 12 Jan 2012 02:26:02 +0000 (02:26 +0000)]
[chromium] TiledLayerChromium drops invalidates that occur during
LayerTextureUpdater::prepareToUpdate
https://bugs.webkit.org/show_bug.cgi?id=76067

Patch by Scott Violet <sky@google.com> on 2012-01-11
Reviewed by James Robinson.

Source/WebCore:

Test coverage in TiledLayerChromiumTest.

* platform/graphics/chromium/TiledLayerChromium.cpp:
(WebCore::TiledLayerChromium::prepareToUpdateTiles):

Source/WebKit/chromium:

* tests/TiledLayerChromiumTest.cpp:
(WTF::FakeLayerTextureUpdater::FakeLayerTextureUpdater):
(WTF::FakeLayerTextureUpdater::prepareCount):
(WTF::FakeLayerTextureUpdater::clearPrepareCount):
(WTF::FakeLayerTextureUpdater::lastUpdateRect):
(WTF::FakeTiledLayerChromium::fakeLayerTextureUpdater):
(WTF::FakeLayerTextureUpdater::setRectToInvalidate):
(WTF::FakeLayerTextureUpdater::prepareToUpdate):
(WTF::TEST):

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

9 years ago[JSC] Remove redundant arguments from [Supplemental] custom methods
haraken@chromium.org [Thu, 12 Jan 2012 01:57:45 +0000 (01:57 +0000)]
[JSC] Remove redundant arguments from [Supplemental] custom methods
https://bugs.webkit.org/show_bug.cgi?id=76127

Reviewed by Adam Barth.

Since in JSC a callback of custom methods is non-static, we do not need
to pass a pointer of an implementation object.

Before (JSTestInterface.cpp):
    JSValue jsTestInterfaceSupplementalStr3(ExecState* exec, JSValue slotBase, ...)
    {
        JSTestInterface* castedThis = static_cast<JSTestInterface*>(asObject(slotBase));
        TestInterface* impl = static_cast<TestInterface*>(castedThis->impl());
        return castedThis->supplementalStr3(impl, exec);
    }

After (JSTestInterface.cpp):
    JSValue jsTestInterfaceSupplementalStr3(ExecState* exec, JSValue slotBase, ...)
    {
        JSTestInterface* castedThis = static_cast<JSTestInterface*>(asObject(slotBase));
         return castedThis->supplementalStr3(exec);  // JSTestInterface knows 'impl'.
    }

Tests: bindings/scripts/test/TestInterface.idl
       http/tests/websocket/tests/*
       webaudio/*

* bindings/scripts/CodeGeneratorJS.pm:
(GenerateHeader): Previously when we specify [CustomGetter, CustomSetter], the header for
the custom setter was not generated. This patch fixes the bug.
(GenerateImplementation):

* bindings/js/JSDOMWindowWebAudioCustom.cpp: Removed redundant DOMWindow* from webkitAudioContext().
(WebCore::JSDOMWindow::webkitAudioContext):
* bindings/js/JSDOMWindowWebSocketCustom.cpp: Removed redundant DOMWindow* from webSocket().
(WebCore::JSDOMWindow::webSocket):

* bindings/scripts/test/JS/JSTestInterface.cpp: Updated the test result.
(WebCore::jsTestInterfaceSupplementalStr3):
(WebCore::setJSTestInterfaceSupplementalStr3):
* bindings/scripts/test/JS/JSTestInterface.h: Ditto.

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

9 years agoObject.defineProperty([], 'length', {}) should not make length read-only
barraclough@apple.com [Thu, 12 Jan 2012 01:30:19 +0000 (01:30 +0000)]
Object.defineProperty([], 'length', {}) should not make length read-only
https://bugs.webkit.org/show_bug.cgi?id=76097

Reviewed by Oliver Hunt.

Source/JavaScriptCore:

* runtime/JSArray.cpp:
(JSC::JSArray::defineOwnProperty):
    - We should be checking writablePresent().

LayoutTests:

* fast/js/array-defineOwnProperty-expected.txt:
* fast/js/script-tests/array-defineOwnProperty.js:
    - Added test.

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

9 years ago[WK2] Share cairo specific codes with EFL port.
ryuan.choi@samsung.com [Thu, 12 Jan 2012 01:29:27 +0000 (01:29 +0000)]
[WK2] Share cairo specific codes with EFL port.
https://bugs.webkit.org/show_bug.cgi?id=75457

Reviewed by Brent Fulgham.

Change PLATFORM(GTK) to USE(CAIRO) in WebGraphicsContext{h,cpp} to share
with EFL port.

* Shared/WebGraphicsContext.cpp:
(WebKit::WebGraphicsContext::WebGraphicsContext):
* Shared/WebGraphicsContext.h:

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

9 years agoiframe sandbox doesn't block autofocus (IETC automatic-feature-block-autofocus-form...
abarth@webkit.org [Thu, 12 Jan 2012 01:24:23 +0000 (01:24 +0000)]
iframe sandbox doesn't block autofocus (IETC automatic-feature-block-autofocus-form-control)
https://bugs.webkit.org/show_bug.cgi?id=76120

Reviewed by Eric Seidel.

Source/WebCore:

Test: fast/forms/no-autofocus-in-sandbox.html

* html/HTMLFormControlElement.cpp:
(WebCore::shouldAutofocus):
    - The HTML5 spec says that we shouldn't autofocus elements when the
      automatic features are sandboxed.

LayoutTests:

* fast/forms/no-autofocus-in-sandbox-expected.txt: Added.
* fast/forms/no-autofocus-in-sandbox.html: Added.

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

9 years agoCode duplication for invoking the JIT and DFG should be reduced
fpizlo@apple.com [Thu, 12 Jan 2012 01:23:49 +0000 (01:23 +0000)]
Code duplication for invoking the JIT and DFG should be reduced
https://bugs.webkit.org/show_bug.cgi?id=76117
<rdar://problem/10680189>

Rubber stamped by Geoff Garen.

* GNUmakefile.list.am:
* JavaScriptCore.xcodeproj/project.pbxproj:
* jit/JITDriver.h: Added.
(JSC::jitCompileIfAppropriate):
(JSC::jitCompileFunctionIfAppropriate):
* runtime/Executable.cpp:
(JSC::EvalExecutable::compileInternal):
(JSC::ProgramExecutable::compileInternal):
(JSC::FunctionExecutable::compileForCallInternal):
(JSC::FunctionExecutable::compileForConstructInternal):

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

9 years agohttps://bugs.webkit.org/show_bug.cgi?id=75904
bdakin@apple.com [Thu, 12 Jan 2012 01:17:47 +0000 (01:17 +0000)]
https://bugs.webkit.org/show_bug.cgi?id=75904
WebKit 1: Scrollbar uiStateTransitionProgress requires tracking the mouse all
the time
-and corresponding-
<rdar://problem/10498816>

Reviewed by Darin Adler.

Source/WebCore:

This patch gets rid of the optional parameter called onlyUpdateScrollbars for
mouseMoved() and instead moves that functionality into its own function
called passMouseMovedEventToScrollbars().
* WebCore.exp.in:
* page/EventHandler.cpp:
(WebCore::EventHandler::mouseMoved):
(WebCore::EventHandler::passMouseMovedEventToScrollbars):
* page/EventHandler.h:
* page/mac/EventHandlerMac.mm:
(WebCore::EventHandler::passMouseMovedEventToScrollbars):

Source/WebKit/mac:

New ivar trackingAreaForNonKeyWindow stores our NSTrackingArea whenever we
have one.
* WebView/WebHTMLView.mm:
(-[WebHTMLViewPrivate dealloc]):
(-[WebHTMLViewPrivate clear]):

When we know that mouse movements won't affect anything other than
scrollbars, call our new function passMouseMovedEventToScrollbars(),
otherwise we'll call the old mouseMoved().
(mouseEventIsPartOfClickOrDrag):
(-[WebHTMLView _updateMouseoverWithEvent:]):

Make sure not to remove the mouse observer when there are legacy scrollbars.
(-[WebHTMLView removeMouseMovedObserver]):

Set up a tracking area when the window is not key to ensure that the WebView
gets the relevant events. Remove it when the window is key again so that we
rely on the existing mechanism.
(-[WebHTMLView windowDidBecomeKey:]):
(-[WebHTMLView windowDidResignKey:]):

Source/WebKit2:

This patch gets rid of the optional parameter called onlyUpdateScrollbars for
WebCore::EventHandler::mouseMoved() and instead moves that functionality into
its own function called passMouseMovedEventToScrollbars().
* WebProcess/WebPage/WebPage.cpp:
(WebKit::handleMouseEvent):

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

9 years agoIndexedDB: Methods should throw TRANSACTION_INACTIVE_ERR when transaction is complete...
commit-queue@webkit.org [Thu, 12 Jan 2012 01:02:49 +0000 (01:02 +0000)]
IndexedDB: Methods should throw TRANSACTION_INACTIVE_ERR when transaction is completed/aborted
https://bugs.webkit.org/show_bug.cgi?id=76108

Source/WebCore:

Updated IDBDatabaseException error codes to match spec (the pre-DOM4 version),
including updated description strings, and changed relevant store and index
methods to raise the expected exception type now that it is detailed in the spec.

Patch by Joshua Bell <jsbell@chromium.org> on 2012-01-11
Reviewed by Tony Chang.

Tests: storage/indexeddb/transaction-basics.html

* storage/IDBCursorBackendImpl.cpp:
(WebCore::IDBCursorBackendImpl::continueFunction):
(WebCore::IDBCursorBackendImpl::prefetchContinue):
* storage/IDBDatabaseException.cpp:
* storage/IDBDatabaseException.h:
* storage/IDBDatabaseException.idl:
* storage/IDBIndexBackendImpl.cpp:
(WebCore::IDBIndexBackendImpl::openCursor):
(WebCore::IDBIndexBackendImpl::openKeyCursor):
(WebCore::IDBIndexBackendImpl::count):
(WebCore::IDBIndexBackendImpl::get):
(WebCore::IDBIndexBackendImpl::getKey):
* storage/IDBObjectStoreBackendImpl.cpp:
(WebCore::IDBObjectStoreBackendImpl::get):
(WebCore::IDBObjectStoreBackendImpl::put):
(WebCore::IDBObjectStoreBackendImpl::deleteFunction):
(WebCore::IDBObjectStoreBackendImpl::clear):
(WebCore::IDBObjectStoreBackendImpl::createIndex):
(WebCore::IDBObjectStoreBackendImpl::deleteIndex):
(WebCore::IDBObjectStoreBackendImpl::openCursor):
(WebCore::IDBObjectStoreBackendImpl::count):

LayoutTests:

Patch by Joshua Bell <jsbell@chromium.org> on 2012-01-11
Reviewed by Tony Chang.

* storage/indexeddb/constants-expected.txt:
* storage/indexeddb/constants.html:
* storage/indexeddb/deleteIndex-expected.txt:
* storage/indexeddb/deleteIndex.html:
* storage/indexeddb/set_version_queue-expected.txt:
* storage/indexeddb/set_version_queue.html:
* storage/indexeddb/transaction-abort-expected.txt:
* storage/indexeddb/transaction-abort.html:
* storage/indexeddb/transaction-basics-expected.txt:
* storage/indexeddb/transaction-basics.html:

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

9 years agoBytecode dumping is broken for call opcodes (due to two new operands)
ggaren@apple.com [Thu, 12 Jan 2012 01:00:58 +0000 (01:00 +0000)]
Bytecode dumping is broken for call opcodes (due to two new operands)
https://bugs.webkit.org/show_bug.cgi?id=75886

Reviewed by Oliver Hunt.

* bytecode/CodeBlock.cpp:
(JSC::CodeBlock::printCallOp): Made a helper function, so I wouldn't have
to fix this more than once. The helper function skips the extra two operands
at the end of the opcode, used for optimization.

(JSC::CodeBlock::dump): Used the helper function.

* bytecode/CodeBlock.h: Declared the helper function.

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

9 years agotest-webkitpy: push more logic into webkitpy.test.main, clean up code
dpranke@chromium.org [Thu, 12 Jan 2012 00:58:52 +0000 (00:58 +0000)]
test-webkitpy: push more logic into webkitpy.test.main, clean up code
https://bugs.webkit.org/show_bug.cgi?id=76021

Reviewed by Eric Seidel.

I plan to add more functionality to test-webkitpy, but it is
difficult to hack on now; this patch is the first of two that
brings test-webkitpy more inline with current coding style by
pushing more logic into the webkitpy.test.main.Tester class (so
that it will be testable itself).

There should be no functional changes in this patch.

* Scripts/test-webkitpy:
(_path_from_webkit_root):
* Scripts/webkitpy/test/main.py:
(Tester):
(Tester.init):
(Tester.configure_logging):
(Tester.configure_logging.filter):
(Tester.clean_packages):
(Tester.run_tests):

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

9 years agoImplement the [Supplemental] IDL for custom methods
haraken@chromium.org [Thu, 12 Jan 2012 00:56:24 +0000 (00:56 +0000)]
Implement the [Supplemental] IDL for custom methods
https://bugs.webkit.org/show_bug.cgi?id=76036

Reviewed by Adam Barth.

We have implemented the [Supplemental] IDL for non-custom methods in bug 75944.
This patch implements it for custom methods. This patch modifies only CodeGeneratorV8.pm,
since CodeGeneratorJS.pm requires no change and other code generators
do not support custom methods.

Test: bindings/scripts/test/TestSupplemental.idl

* bindings/scripts/CodeGeneratorV8.pm:
(GenerateHeader):

* bindings/scripts/test/TestSupplemental.idl: Added a custom method with the [Supplemental] IDL.

* bindings/scripts/test/JS/JSTestInterface.cpp: Updated the test result.
(WebCore::jsTestInterfacePrototypeFunctionSupplementalMethod3):
* bindings/scripts/test/JS/JSTestInterface.h: Ditto.
* bindings/scripts/test/ObjC/DOMTestInterface.h: Ditto.
* bindings/scripts/test/ObjC/DOMTestInterface.mm: Ditto.
(-[DOMTestInterface supplementalMethod3]):
* bindings/scripts/test/V8/V8TestInterface.cpp: Ditto.

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

9 years agoimplement layout tests for <video> with media stream
commit-queue@webkit.org [Thu, 12 Jan 2012 00:26:57 +0000 (00:26 +0000)]
implement layout tests for <video> with media stream
https://bugs.webkit.org/show_bug.cgi?id=74882

Patch by Wei Jia <wjia@chromium.org> on 2012-01-11
Reviewed by Kent Tamura.

Tools:

* DumpRenderTree/DumpRenderTree.gypi:
* DumpRenderTree/chromium/WebUserMediaClientMock.cpp: Added.
(WebKit::WebUserMediaClientMock::create):
(WebKit::WebUserMediaClientMock::IsMockStream):
(WebKit::WebUserMediaClientMock::requestUserMedia):
(WebKit::WebUserMediaClientMock::cancelUserMediaRequest):
* DumpRenderTree/chromium/WebUserMediaClientMock.h: Added.
(WebKit::WebUserMediaClientMock::~WebUserMediaClientMock):
(WebKit::WebUserMediaClientMock::WebUserMediaClientMock):
* DumpRenderTree/chromium/WebViewHost.cpp:
(WebViewHost::userMediaClient):
(WebViewHost::userMediaClientMock):
(WebViewHost::createMediaPlayer):
(WebViewHost::mediaStreamUtil):
(WebViewHost::testMediaStreamClient):
* DumpRenderTree/chromium/WebViewHost.h:

LayoutTests:

* platform/chromium/media/video-capture-preview-expected.txt: Added.
* platform/chromium/media/video-capture-preview.html: Added.

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

9 years agoUnreviewed, build fix.
dpranke@chromium.org [Thu, 12 Jan 2012 00:24:39 +0000 (00:24 +0000)]
Unreviewed, build fix.

Fix chromium-win's version remapping to work correctly on Win 7 SP1.

* Scripts/webkitpy/layout_tests/port/chromium_win.py:
(ChromiumWinPort.__init__):

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