⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Timeline



Dec 12, 2009:

8:45 PM Changeset in webkit [52063] by weinig@apple.com
  • 13 edits in trunk/WebCore

Rubber-stamped by Dan Bernstein.

Fix the EXPERIMENTAL_SINGLE_VIEW_MODE build.

  • Configurations/WebCore.xcconfig:
  • page/EventHandler.cpp:

(WebCore::EventHandler::EventHandler):
(WebCore::EventHandler::clearDragState):

  • page/mac/DragControllerMac.mm:

(WebCore::DragController::isCopyKeyDown):

  • page/mac/EventHandlerMac.mm:

(WebCore::EventHandler::eventActivatedView):

  • platform/PlatformKeyboardEvent.h:
  • platform/PlatformMouseEvent.h:
  • platform/PlatformWheelEvent.h:

(WebCore::PlatformWheelEvent::PlatformWheelEvent):

  • platform/ScrollView.cpp:

(WebCore::ScrollView::wheelEvent):

  • platform/mac/KeyEventMac.mm:

(WebCore::PlatformKeyboardEvent::PlatformKeyboardEvent):

  • platform/mac/PlatformMouseEventMac.mm:

(WebCore::PlatformMouseEvent::PlatformMouseEvent):

  • platform/mac/PopupMenuMac.mm:

(WebCore::PopupMenu::show):

  • platform/mac/WidgetMac.mm:
8:26 PM Changeset in webkit [52062] by mjs@apple.com
  • 5 edits
    2 moves
    1 add in trunk/SunSpider

2009-12-12 Maciej Stachowiak <mjs@apple.com>

Reviewed by Oliver Hunt.

Enable Web-hosted version of SunSpider to handle multiple versions
https://bugs.webkit.org/show_bug.cgi?id=32478

  • make-hosted: Now generate the hosted version to be able to run both the 0.9 and the 0.9.1 test suites.
  • hosted: Modified property svn:ignore.
  • hosted/sunspider-driver.html: Removed.
  • hosted/sunspider-results.html: Removed.
  • hosted/sunspider.html:
  • hosted/versions.html: Added.
  • resources/TEMPLATE.html:
  • resources/driver-TEMPLATE.html: Copied from hosted/sunspider-driver.html.
  • resources/driver-TEMPLATE.html: Copied from hosted/sunspider-results.html.
7:59 PM Changeset in webkit [52061] by weinig@apple.com
  • 2 edits in trunk/WebCore

Rubber-stamped by Dan Bernstein.

Fix the !ENABLE(VIDEO) build.

  • rendering/RenderLayerCompositor.cpp:

(WebCore::RenderLayerCompositor::requiresCompositingForVideo):

7:56 PM Changeset in webkit [52060] by weinig@apple.com
  • 6 edits in trunk/WebCore

Rubber-stamped by Dan Bernstein.

Fix the !ENABLE(DATABASE) build.

  • storage/SQLTransactionClient.cpp:
  • storage/SQLTransactionClient.h:
  • storage/SQLTransactionCoordinator.cpp:
  • storage/SQLTransactionCoordinator.h:
  • loader/FrameLoader.cpp:

(WebCore::FrameLoader::stopLoading):

7:28 PM Changeset in webkit [52059] by eric.carlson@apple.com
  • 22 edits in trunk

2009-12-12 Eric Carlson <eric.carlson@apple.com>

Reviewed by Dan Bernstein.

<rdar://problem/6293979> Adopt shared control drawing for <video> controls on Leopard and Windows

Use MediaControllerThemeQuickTime on Leopard.

  • rendering/RenderThemeMac.mm: (WebCore::mediaControllerTheme):

2009-12-12 Eric Carlson <eric.carlson@apple.com>

Reviewed by Dan Bernstein.

<rdar://problem/6293979> Adopt shared control drawing for <video> controls on Leopard and Windows

Regenerate layout and pixel test results for the new UI.

  • platform/mac-leopard/Skipped:
  • platform/mac-leopard/media/controls-after-reload-expected.txt:
  • platform/mac-leopard/media/controls-drag-timebar-expected.txt:
  • platform/mac-leopard/media/controls-strict-expected.txt:
  • platform/mac-leopard/media/controls-styling-expected.txt:
  • platform/mac-leopard/media/video-controls-rendering-expected.checksum:
  • platform/mac-leopard/media/video-controls-rendering-expected.png:
  • platform/mac-leopard/media/video-controls-rendering-expected.txt:
  • platform/mac-leopard/media/video-display-toggle-expected.checksum:
  • platform/mac-leopard/media/video-display-toggle-expected.png:
  • platform/mac-leopard/media/video-display-toggle-expected.txt:
  • platform/mac-leopard/media/video-no-audio-expected.txt:
  • platform/mac-leopard/media/video-zoom-controls-expected.checksum:
  • platform/mac-leopard/media/video-zoom-controls-expected.png:
  • platform/mac-leopard/media/video-zoom-controls-expected.txt:
  • platform/mac/media/audio-controls-rendering-expected.checksum:
  • platform/mac/media/audio-controls-rendering-expected.png:
  • platform/mac/media/video-zoom-expected.checksum:
  • platform/mac/media/video-zoom-expected.png:
7:02 PM Changeset in webkit [52058] by eric@webkit.org
  • 12 edits
    2 adds in trunk

2009-12-12 Kenneth Russell <kbr@google.com>

Reviewed by Oliver Hunt.

Errors in WebGL[T]Array set() and get() methods
https://bugs.webkit.org/show_bug.cgi?id=32456

Test: fast/canvas/webgl/bug-32456.html

  • fast/canvas/webgl/array-unit-tests.html:
  • fast/canvas/webgl/bug-32456-expected.txt: Added.
  • fast/canvas/webgl/bug-32456.html: Added.

2009-12-12 Kenneth Russell <kbr@google.com>

Reviewed by Oliver Hunt.

Errors in WebGL[T]Array set() and get() methods
https://bugs.webkit.org/show_bug.cgi?id=32456

Test: fast/canvas/webgl/bug-32456.html

  • bindings/js/JSWebGLFloatArrayCustom.cpp: (WebCore::JSWebGLFloatArray::set):
  • bindings/js/JSWebGLIntArrayCustom.cpp: (WebCore::JSWebGLIntArray::set):
  • bindings/js/JSWebGLShortArrayCustom.cpp: (WebCore::JSWebGLShortArray::set):
  • bindings/js/JSWebGLUnsignedByteArrayCustom.cpp: (WebCore::JSWebGLUnsignedByteArray::set):
  • bindings/js/JSWebGLUnsignedIntArrayCustom.cpp: (WebCore::JSWebGLUnsignedIntArray::set):
  • bindings/js/JSWebGLUnsignedShortArrayCustom.cpp: (WebCore::JSWebGLUnsignedShortArray::set):
  • bindings/v8/custom/V8WebGLArrayCustom.h: (WebCore::setWebGLArray):
  • html/canvas/WebGLFloatArray.idl:
  • html/canvas/WebGLUnsignedIntArray.idl:
6:18 PM Changeset in webkit [52057] by mjs@apple.com
  • 10 edits
    27 copies
    37 moves
    3 adds in trunk

2009-12-12 Maciej Stachowiak <mjs@apple.com>

Reviewed by Oliver Hunt.

Give command-line sunspider the ability to handle multiple suites and versions
https://bugs.webkit.org/show_bug.cgi?id=32477

  • Scripts/run-sunspider: Updated for changes to command-line parameters.
  • Scripts/sunspider-compare-results: ditto

2009-12-12 Maciej Stachowiak <mjs@apple.com>

Reviewed by Oliver Hunt.

Give command-line sunspider the ability to handle multiple suites and versions
https://bugs.webkit.org/show_bug.cgi?id=32477


Each suite/version's set of tests are now in a separate subdirectory of tests/, with a file named LIST
enumerating the tests. Current suites are:


sunspider-0.9 - riginal SunSpider content
sunspider-0.9.1 - SunSpider suite with a few tests fixed (and a few more to come)
ubench - "ubench" microbenchmark suite
v8-v4 - version 4 of the v8 benchmark
parse-only - some parser tests


Sunspider can now be run with the --suite= parameter to select a
suite. The default is --suite=sunspider-0.9.

  • .: Modified property svn:ignore to ignore new results directories.
  • make-hosted: Generate based on sunspider-0.9 suite.
  • resources/TEMPLATE.html: Fix an HTML compliance problem.
  • resources/sunspider-standalone-driver.js: Become aware of suite names.
  • sunspider: Modified to handle multiple suites as described above.
  • sunspider-compare-results: ditto
  • tests/LIST: Moved to tests/sunspider-0.9/ and tests/sunspider-0.9.1/
  • tests/LIST-PARSE-ONLY: Moved to parse-only/LIST
  • tests/LIST-UBENCH: Removed.
  • tests/LIST-V8: Removed.
  • tests/3d-cube.js: Moved to tests/sunspider-0.9 and tests/sunspider-0.9.1
  • tests/3d-morph.js: ditto
  • tests/3d-raytrace.js: ditto
  • tests/access-binary-trees.js: ditto
  • tests/access-fannkuch.js: ditto
  • tests/access-nbody.js: ditto
  • tests/access-nsieve.js: ditto
  • tests/bitops-3bit-bits-in-byte.js: ditto
  • tests/bitops-bits-in-byte.js: ditto
  • tests/bitops-bitwise-and.js: ditto
  • tests/bitops-nsieve-bits.js: ditto
  • tests/controlflow-recursive.js: ditto
  • tests/crypto-aes.js: ditto
  • tests/crypto-md5.js: ditto
  • tests/crypto-sha1.js: ditto
  • tests/date-format-tofte.js: ditto
  • tests/date-format-xparb.js: ditto
  • tests/math-cordic.js: ditto
  • tests/math-partial-sums.js: ditto
  • tests/math-spectral-norm.js: ditto
  • tests/regexp-dna.js: ditto
  • tests/string-base64.js: ditto
  • tests/string-fasta.js: ditto
  • tests/string-tagcloud.js: ditto
  • tests/string-unpack-code.js: ditto
  • tests/string-validate-input.js: ditto
  • tests/sunspider-0.9/: Added
  • tests/sunspider-0.9/*.js: Moved from one level up
  • tests/sunspider-0.9.1: Added.
  • tests/sunspider-0.9.1/*.js: Moved from one level up.
  • tests/v8-crypto.js: Moved to v8-v4/ directory.
  • tests/v8-deltablue.js: ditto
  • tests/v8-earley-boyer.js: ditto
  • tests/v8-raytrace.js: ditto
  • tests/v8-regexp.js: ditto
  • tests/v8-richards.js: ditto
  • tests/v8-splay.js: ditto
  • tests/v8-v4: Added.
3:12 PM Changeset in webkit [52056] by eric@webkit.org
  • 10 edits in trunk

2009-12-12 Kenneth Russell <kbr@google.com>

Reviewed by Oliver Hunt.

Update WebGL tests to released versions
https://bugs.webkit.org/show_bug.cgi?id=32457

  • fast/canvas/webgl/resources/utils3d.js: (initWebGL.gl.console.window.console.log): (initWebGL): (loadShader): (makeBox): (makeSphere): (processLoadObj): (doLoadObj): (doLoadImageTexture):

2009-12-12 Kenneth Russell <kbr@google.com>

Reviewed by Oliver Hunt.

Update WebGL tests to released versions
https://bugs.webkit.org/show_bug.cgi?id=32457

  • manual-tests/webgl/Earth.html:
  • manual-tests/webgl/ManyPlanetsDeep.html:
  • manual-tests/webgl/SpinningBox.html:
  • manual-tests/webgl/TeapotPerPixel.html:
  • manual-tests/webgl/TeapotPerVertex.html:
  • manual-tests/webgl/resources/CanvasMatrix.js: (CanvasMatrix4.prototype.getAsWebGLFloatArray):
  • manual-tests/webgl/resources/utils3d.js: (initWebGL.gl.console.window.console.log): (initWebGL): (loadShader): (makeBox): (makeSphere): (processLoadObj): (doLoadObj): (doLoadImageTexture):
1:29 PM Changeset in webkit [52055] by eric.carlson@apple.com
  • 11 edits in trunk

2009-12-12 Eric Carlson <eric.carlson@apple.com>

Reviewed by Darin Adler.

<rdar://problem/7453726> Pull shared UI code into WebKit

  • WebKitSystemInterface.h:
  • libWebKitSystemInterfaceLeopard.a:
  • libWebKitSystemInterfaceSnowLeopard.a:
  • libWebKitSystemInterfaceTiger.a:

2009-12-12 Eric Carlson <eric.carlson@apple.com>

Reviewed by Darin Adler.

<rdar://problem/7453726> Pull shared UI code into WebKit

Update media tests for small change in timeline slider thumb position

  • platform/mac/media/audio-controls-rendering-expected.txt:
  • platform/mac/media/controls-after-reload-expected.txt:
  • platform/mac/media/controls-styling-expected.txt:
  • platform/mac/media/video-no-audio-expected.txt:
  • platform/mac/media/video-zoom-controls-expected.txt:
11:10 AM Changeset in webkit [52054] by christian@webkit.org
  • 2 edits in trunk/WebCore

2009-12-12 Christian Dywan <christian@twotoasts.de>

Reviewed by Dirk Schulze.

Remove the include to SVGFEDisplacementMap.h, it's not needed at all.

  • platform/graphics/filters/FEComponentTransfer.h:
10:32 AM Changeset in webkit [52053] by mjs@apple.com
  • 2 edits in trunk/WebKitTools

Not reviewed, fixing previous comment.

Remove accidental change to sunspider-compare-results

  • Scripts/sunspider-compare-results:
10:24 AM Changeset in webkit [52052] by christian@webkit.org
  • 2 edits in trunk/WebCore

2009-12-12 Christian Dywan <christian@twotoasts.de>

Rubber-stamped by Maciej Stachowiak.

Only include SVGFEDisplacementMap.h if SVG is enabled.

  • platform/graphics/filters/FEComponentTransfer.h:
9:52 AM Changeset in webkit [52051] by mjs@apple.com
  • 4 edits in trunk

2009-12-11 Maciej Stachowiak <mjs@apple.com>

Reviewed by Oliver Hunt.

Unify codegen for forward and backward variants of branches
https://bugs.webkit.org/show_bug.cgi?id=32463

  • jit/JIT.h: (JSC::JIT::emit_op_loop): Implemented in terms of forward variant. (JSC::JIT::emit_op_loop_if_true): ditto (JSC::JIT::emitSlow_op_loop_if_true): ditto (JSC::JIT::emit_op_loop_if_false): ditto (JSC::JIT::emitSlow_op_loop_if_false): ditto (JSC::JIT::emit_op_loop_if_less): ditto (JSC::JIT::emitSlow_op_loop_if_less): ditto
  • jit/JITOpcodes.cpp:
9:14 AM Changeset in webkit [52050] by christian@webkit.org
  • 2 edits in trunk/WebKit/gtk

2009-12-11 Christian Dywan <christian@twotoasts.de>

Reviewed by Eric Seidel.

[GTK] Build with --disable-svg is broken
http://bugs.webkit.org/show_bug.cgi?id=32361

  • webkit/webkitwebframe.cpp: (webkit_web_frame_pause_svg_animation): Fix ENABLE(SVG) guards.
2:20 AM Changeset in webkit [52049] by eric@webkit.org
  • 3 edits in trunk/WebCore

2009-12-12 Dirk Schulze <krit@webkit.org>

Reviewed by Eric Seidel.

[Cairo][Qt] Alpha blending in SVG filters is wrong
https://bugs.webkit.org/show_bug.cgi?id=32427

This patch is a follow-up to:
http://trac.webkit.org/changeset/51950
It fixes the alpha blending for Cairo and Qt on SVG Filters.

Covered by: * LayoutTests/svg/filters/feGaussianBlur.svg

  • LayoutTests/svg/filters/feComposite.svg and others.
  • platform/graphics/cairo/ImageBufferCairo.cpp: (WebCore::ImageBuffer::platformTransformColorSpace):
  • platform/graphics/qt/ImageBufferQt.cpp: (WebCore::ImageBuffer::platformTransformColorSpace):
2:13 AM Changeset in webkit [52048] by Csaba Osztrogonác
  • 2 edits in trunk/LayoutTests

[Qt] Missing forward entries when dumping back/forward list
https://bugs.webkit.org/show_bug.cgi?id=32470

Failing tests added to skiplist until bug fixed.

  • platform/qt/Skipped:
  • http/tests/navigation/dynamic-iframe-dynamic-form-back-entry.html added
  • http/tests/navigation/parsed-iframe-dynamic-form-back-entry.html added

Dec 11, 2009:

11:20 PM Changeset in webkit [52047] by ggaren@apple.com
  • 33 edits
    2 deletes in trunk

Rolled out my last patch because the bots were crashing

10:30 PM Changeset in webkit [52046] by weinig@apple.com
  • 3 edits in trunk/JavaScriptCore

Allow WTFs concept of the main thread to differ from pthreads when necessary.

Reviewed by Anders Carlsson.

  • wtf/ThreadingPthreads.cpp:

(WTF::initializeThreading):
(WTF::isMainThread):

  • wtf/mac/MainThreadMac.mm:

(WTF::initializeMainThreadPlatform):
(WTF::scheduleDispatchFunctionsOnMainThread):

10:22 PM Changeset in webkit [52045] by ggaren@apple.com
  • 2 edits in trunk/JavaScriptCore

Windows build fix: Export some new symbols.

10:08 PM QtWebKit/CodeCamp200912 edited by zecke@selfish.org
Add another talk. I don't remember the name of this guy though. (diff)
10:02 PM Changeset in webkit [52044] by ggaren@apple.com
  • 2 edits in trunk/WebCore

Windows build fix: Removed an incorrect #ifdef.

  • bindings/js/GCController.cpp:
9:50 PM Changeset in webkit [52043] by eroman@chromium.org
  • 3 edits in trunk/WebCore

Unreviewed build fix.

[V8] Add a method on ScriptController to get it compiling after http://trac.webkit.org/changeset/52033.

  • bindings/v8/ScriptController.cpp: (WebCore::ScriptController::anyPageIsProcessingUserGesture):
  • bindings/v8/ScriptController.h:
9:49 PM Changeset in webkit [52042] by ggaren@apple.com
  • 2 edits in trunk/JavaScriptCore

Windows build fix: Removed some old exports.

9:39 PM Changeset in webkit [52041] by ggaren@apple.com
  • 2 edits in trunk/JavaScriptCore

Windows build fix: Use unsigned instead of uint32_t to avoid dependencies.

  • wtf/StdLibExtras.h:

(WTF::bitCount):

9:29 PM Changeset in webkit [52040] by ggaren@apple.com
  • 32 edits
    4 adds in trunk

JavaScriptCore: Changed GC from mark-sweep to mark-allocate.

Reviewed by Sam Weinig.

Added WeakGCMap to keep WebCore blissfully ignorant about objects that
have become garbage but haven't run their destructors yet.

1% SunSpider speedup.
7.6% v8 speedup (37% splay speedup).
17% speedup on bench-alloc-nonretained.js.
18% speedup on bench-alloc-retained.js.

  • API/JSBase.cpp:

(JSGarbageCollect):

files.

  • debugger/Debugger.cpp:

(JSC::Debugger::recompileAllJSFunctions): Updated to use the Collector
iterator abstraction.

  • jsc.cpp:

(functionGC): Updated for rename.

  • runtime/Collector.cpp: Slightly reduced the number of allocations per

collection, so that small workloads only allocate on collector block,
rather than two.

(JSC::Heap::Heap): Updated to use the new allocateBlock function.

(JSC::Heap::destroy): Updated to use the new freeBlocks function.

(JSC::Heap::allocateBlock): New function to initialize a block when
allocating it.

(JSC::Heap::freeBlock): Consolidated the responsibility for running
destructors into this function.

(JSC::Heap::freeBlocks): Updated to use freeBlock.

(JSC::Heap::recordExtraCost): Sweep the heap in this reporting function,
so that allocation, which is more common, doesn't have to check extraCost.

(JSC::Heap::heapAllocate): Run destructors right before recycling a
garbage cell. This has better cache utilization than a separate sweep phase.

(JSC::Heap::resizeBlocks):
(JSC::Heap::growBlocks):
(JSC::Heap::shrinkBlocks): New set of functions for managing the size of
the heap, now that the heap doesn't maintain any information about its
size.

(JSC::isPointerAligned):
(JSC::isHalfCellAligned):
(JSC::isPossibleCell):
(JSC::isCellAligned):
(JSC::Heap::markConservatively): Cleaned up this code a bit.

(JSC::Heap::clearMarkBits):
(JSC::Heap::markedCells): Some helper functions for examining the the mark
bitmap.

(JSC::Heap::sweep): Simplified this function by using a DeadObjectIterator.

(JSC::Heap::markRoots): Reordered some operations for clarity.

(JSC::Heap::objectCount):
(JSC::Heap::addToStatistics):
(JSC::Heap::statistics): Rewrote these functions to calculate an object
count on demand, since the heap doesn't maintain this information by
itself.

(JSC::Heap::reset): New function for resetting the heap once we've
exhausted heap space.

(JSC::Heap::collectAllGarbage): This function matches the old collect()
behavior, but it's now an uncommon function used only by API.

  • runtime/Collector.h:

(JSC::CollectorBitmap::count):
(JSC::CollectorBitmap::isEmpty): Added some helper functions for managing
the collector mark bitmap.

(JSC::Heap::reportExtraMemoryCost): Changed reporting from cell equivalents
to bytes, so it's easier to understand.

  • runtime/CollectorHeapIterator.h:

(JSC::CollectorHeapIterator::CollectorHeapIterator):
(JSC::CollectorHeapIterator::operator!=):
(JSC::CollectorHeapIterator::operator*):
(JSC::CollectorHeapIterator::advance):
(JSC::::LiveObjectIterator):
(JSC::::operator):
(JSC::::DeadObjectIterator):
(JSC::::ObjectIterator): New iterators for encapsulating details about
heap layout, and what's live and dead on the heap.

  • runtime/JSArray.cpp:

(JSC::JSArray::putSlowCase):
(JSC::JSArray::increaseVectorLength): Delay reporting extra cost until
we're fully constructed, so the heap mark phase won't visit us in an
invalid state.

  • runtime/JSCell.h:

(JSC::JSCell::):
(JSC::JSCell::createDummyStructure):
(JSC::JSCell::JSCell):

  • runtime/JSGlobalData.cpp:

(JSC::JSGlobalData::JSGlobalData):

  • runtime/JSGlobalData.h: Added a dummy cell to simplify allocation logic.
  • runtime/JSString.h:

(JSC::jsSubstring): Don't report extra cost for substrings, since they
share a buffer that's already reported extra cost.

  • runtime/Tracing.d:
  • runtime/Tracing.h: Changed these dtrace hooks not to report object

counts, since they're no longer cheap to compute.

  • runtime/UString.h: Updated for renames.
  • runtime/WeakGCMap.h: Added.

(JSC::WeakGCMap::isEmpty):
(JSC::WeakGCMap::uncheckedGet):
(JSC::WeakGCMap::uncheckedBegin):
(JSC::WeakGCMap::uncheckedEnd):
(JSC::::get):
(JSC::::take):
(JSC::::set):
(JSC::::uncheckedRemove): Mentioned above.

  • wtf/StdLibExtras.h:

(WTF::bitCount): Added a bit population count function, so the heap can
count live objects to fulfill statistics questions.

JavaScriptGlue: Changed GC from mark-sweep to mark-allocate.

Reviewed by Sam Weinig.

  • JavaScriptGlue.cpp:

(JSCollect): Updated for rename. Fixed a bug where JSGlue would not check
to avoid nested GC calls.

WebCore: Changed GC from mark-sweep to mark-allocate.

Reviewed by Sam Weinig.

  • ForwardingHeaders/runtime/WeakGCMap.h: Added.
  • bindings/js/GCController.cpp:

(WebCore::collect):
(WebCore::GCController::gcTimerFired):
(WebCore::GCController::garbageCollectNow): Updated for rename.

  • bindings/js/JSDOMBinding.cpp:

(WebCore::removeWrappers):
(WebCore::hasCachedDOMObjectWrapperUnchecked):
(WebCore::hasCachedDOMObjectWrapper):
(WebCore::hasCachedDOMNodeWrapperUnchecked):
(WebCore::forgetDOMObject):
(WebCore::forgetDOMNode):
(WebCore::isObservableThroughDOM):
(WebCore::markDOMNodesForDocument):
(WebCore::markDOMObjectWrapper):
(WebCore::markDOMNodeWrapper):

  • bindings/js/JSDOMBinding.h: Changed DOM wrapper maps to be WeakGCMaps.

Don't ASSERT that an item must be in the WeakGCMap when its destructor
runs, since it might have been overwritten in the map first.

  • bindings/js/JSDocumentCustom.cpp:

(WebCore::toJS): Changed Document from a DOM object wrapper to a DOM node
wrapper, to simplify some code.

  • bindings/js/JSInspectedObjectWrapper.cpp:

(WebCore::JSInspectedObjectWrapper::JSInspectedObjectWrapper):
(WebCore::JSInspectedObjectWrapper::~JSInspectedObjectWrapper):

  • bindings/js/JSInspectorCallbackWrapper.cpp: Use a WeakGCMap for these

wrappers.

  • bindings/js/JSNodeCustom.cpp:

(WebCore::JSNode::markChildren): Updated for WeakGCMap and Document using
a DOM node wrapper instead of a DOM object wrapper.

  • bindings/js/JSSVGPODTypeWrapper.h:

(WebCore::JSSVGDynamicPODTypeWrapperCache::wrapperMap):
(WebCore::JSSVGDynamicPODTypeWrapperCache::lookupOrCreateWrapper):
(WebCore::JSSVGDynamicPODTypeWrapperCache::forgetWrapper):
(WebCore::::~JSSVGDynamicPODTypeWrapper): Shined a small beam of sanity
on this code. Use hashtable-based lookup in JSSVGPODTypeWrapper.h instead
of linear lookup through iteration, since that's what hashtables were
invented for. Make JSSVGPODTypeWrapper.h responsible for reomving itself
from the table, instead of its JS wrapper, to decouple these objects from
GC, and because these objects are refCounted, not solely owned by their
JS wrappers.

  • bindings/scripts/CodeGeneratorJS.pm:
  • dom/Document.h: Adopted changes above.
8:56 PM Changeset in webkit [52039] by Dimitri Glazkov
  • 2 edits in trunk/WebCore

2009-12-11 Dimitri Glazkov <Dimitri Glazkov>

Unreviewed, build fix.

[V8] Change bindings to catch up with http://trac.webkit.org/changeset/52033.

  • bindings/v8/custom/V8HTMLFormElementCustom.cpp: (WebCore::CALLBACK_FUNC_DECL): Added retrieval of calling frame and passing to the submit method.
6:43 PM Changeset in webkit [52038] by weinig@apple.com
  • 2 edits in trunk/WebCore

Put -umbrella linker flag into a variable so that it can be overridden.

Reviewed by Mark Rowe.

  • Configurations/WebCore.xcconfig:
6:31 PM Changeset in webkit [52037] by yael.aharon@nokia.com
  • 6 edits in trunk

WebKit/qt: Unreviewed build fix for Qt versions < 4.6.

  • tests/qwebframe/tst_qwebframe.cpp:
  • tests/qwebview/tst_qwebview.cpp:

WebKitTools: Unreviewed build fix for Qt versions < 4.6.
Guard every slot individually with #ifdef.

  • DumpRenderTree/qt/EventSenderQt.cpp:
  • DumpRenderTree/qt/EventSenderQt.h:
5:50 PM Changeset in webkit [52036] by hamaji@chromium.org
  • 3 edits
    4 adds in trunk

2009-12-11 Shinichiro Hamaji <hamaji@chromium.org>

Reviewed by Darin Adler.

body with display:inline causes crash
https://bugs.webkit.org/show_bug.cgi?id=32371

  • fast/inline/inline-body-crash-expected.txt: Copied from LayoutTests/fast/css-generated-content/absolute-position-inside-inline-expected.txt.
  • fast/inline/inline-body-crash.html: Added.
  • fast/inline/inline-body-with-scrollbar-crash-expected.txt: Copied from LayoutTests/fast/css-generated-content/absolute-position-inside-inline-expected.txt.
  • fast/inline/inline-body-with-scrollbar-crash.html: Added.

2009-12-11 Shinichiro Hamaji <hamaji@chromium.org>

Reviewed by Darin Adler.

body with display:inline causes crash
https://bugs.webkit.org/show_bug.cgi?id=32371

Tests: fast/inline/inline-body-crash.html

fast/inline/inline-body-with-scrollbar-crash.html

  • page/FrameView.cpp: (WebCore::FrameView::createScrollbar): (WebCore::FrameView::layout):
5:40 PM Changeset in webkit [52035] by beidson@apple.com
  • 2 edits in trunk/WebCore

Rubberstamped by Sam Weinig.

https://webkit.org/b/22851 - Remove defunct FIXME.

  • html/HTMLPlugInElement.cpp:

(WebCore::HTMLPlugInElement::HTMLPlugInElement): This flag was removed completely

from the HTMLFrameOwnerElement chain of classes.

5:38 PM Changeset in webkit [52034] by Darin Adler
  • 5 edits in trunk/WebCore

Small refactoring to get rid of some extra unneeded selection-related work
in RenderLayer::scrollToOffset and separate caret and range selection
logic in FrameView::layout. This may be useful later when changing how
the range selection logic works to fix layout reentrancy problems.

Reviewed by Dan Bernstein.

  • page/Frame.cpp: Removed invalidateSelection.
  • page/Frame.h: Ditto.
  • page/FrameView.cpp:

(WebCore::FrameView::layout): Call SelectionController::setNeedsLayout
and Frame::selectionLayoutChanged instead of calling
Frame::invalidateSelection, which was just a function that called
both of those others.

  • rendering/RenderLayer.cpp:

(WebCore::RenderLayer::scrollToOffset): Call
SelectionController::setNeedsLayout instead of calling
Frame::invalidateSelection. This call site only needs the caret-related
work in that first function, not the other work formerly done by
Frame::invalidateSelection. The caret works outside the normal
painting and rendering system, and the range selection highlight is
more or less inside it and doesn't need special handling when scrolling.

5:34 PM Changeset in webkit [52033] by beidson@apple.com
  • 9 edits
    5 adds in trunk

<rdar://problem/7342725> and https://webkit.org/b/32383
Selecting article text at sfgate.com results in spurious back/forward entries

Reviewed by Darin Adler.

WebCore:

If an iframe had a form and that form is submitted by javascript, IE and Opera don't add back/forward entries.

In the case where the frame was added dynamically via createElement(), Firefox would like to add a back entry
but has a bug that prevents this.

Therefore by a bizarre coincidence, WebKit is the loner and the only engine affected by sfgate.com's technique.

This patch changes us to willfully match IE and Opera and fixes sfgate.com in the process.

Tests: http/tests/navigation/dynamic-iframe-dynamic-form-back-entry.html

http/tests/navigation/parsed-iframe-dynamic-form-back-entry.html

Capture whether the form was submitted by javascript:

  • loader/FormState.cpp:

(WebCore::FormState::FormState):
(WebCore::FormState::create):

  • loader/FormState.h:

(WebCore::FormState::formSubmissionTrigger):

When deciding the value of the lockBackForwardList variable, take formSubmissionTrigger() into account:

  • loader/RedirectScheduler.cpp:

(WebCore::RedirectScheduler::scheduleFormSubmission):

Rearrange the public HTMLFormElement::submit() method to be called only from DOM or JS bindings,
and figure out the rest of the parameters for an internal submit() call including the formSubmissionTrigger:

  • bindings/js/JSHTMLFormElementCustom.cpp:

(WebCore::JSHTMLFormElement::submit):

  • html/HTMLFormElement.cpp:

(WebCore::HTMLFormElement::prepareSubmit):
(WebCore::HTMLFormElement::submit):

  • html/HTMLFormElement.h:

LayoutTests:

  • http/tests/navigation/dynamic-iframe-dynamic-form-back-entry-expected.txt: Added.
  • http/tests/navigation/dynamic-iframe-dynamic-form-back-entry.html: Added.
  • http/tests/navigation/parsed-iframe-dynamic-form-back-entry-expected.txt: Added.
  • http/tests/navigation/parsed-iframe-dynamic-form-back-entry.html: Added.
  • http/tests/navigation/resources/notify-done.html: Added.
  • http/tests/navigation/onload-navigation-iframe-timeout-expected.txt: Updated.
5:10 PM Changeset in webkit [52032] by ap@apple.com
  • 3 edits in trunk/WebCore

Reviewed by Darin Adler.

https://bugs.webkit.org/show_bug.cgi?id=32445
REGRESSION: http://www.mcafee.com/japan/ displays unstyled

  • css/CSSImportRule.cpp: (WebCore::CSSImportRule::setCSSStyleSheet):
  • html/HTMLLinkElement.cpp: (WebCore::HTMLLinkElement::setCSSStyleSheet): Add a quirk for mcafee.com/japan (http or https, with or without www).
5:09 PM Changeset in webkit [52031] by weinig@apple.com
  • 2 edits in trunk/WebCore

Make PlatformWheelEvent.h private instead of project.

Reviewed by Dan Bernstein.

  • WebCore.xcodeproj/project.pbxproj:
4:39 PM Changeset in webkit [52030] by cmarrin@apple.com
  • 4 edits
    5 adds in trunk/WebKit/win

Added icons for full-screen video on Windows
https://bugs.webkit.org/show_bug.cgi?id=31318

3:49 PM Changeset in webkit [52029] by Simon Fraser
  • 3 edits in trunk/WebCore

2009-12-11 Simon Fraser <Simon Fraser>

Reviewed by Darin Adler.

Support reflections on composited layers
https://bugs.webkit.org/show_bug.cgi?id=31885

First part of supporting composited reflections on compositing layers.

Rename the m_transformLayer member variable to m_structuralLayer, since it
will get used both for transform layers (for preserve-3d) and to hold a flattening
layer related to reflections, both of which have similar requirements, and are
mutually exclusive.

  • platform/graphics/mac/GraphicsLayerCA.h: primaryLayer(), hostLayerForSublayers() and layerForSuperlayer() all now return a CALayer, since m_structuralLayer isn't always a WebLayer.
  • platform/graphics/mac/GraphicsLayerCA.mm: (WebCore::GraphicsLayerCA::commitLayerChanges): updateLayerPreserves3D() renamed to updateStructuralLayer()

(WebCore::GraphicsLayerCA::updateLayerNames):
New "update" method for updating layer names.

(WebCore::GraphicsLayerCA::updateSublayerList):
m_transformLayer -> m_structuralLayer. Also minor refactor to only
allocate newSublayers in one place.

(WebCore::GraphicsLayerCA::updateLayerSize):
(WebCore::GraphicsLayerCA::removeAnimationFromLayer):
(WebCore::GraphicsLayerCA::hostLayerForSublayers):
(WebCore::GraphicsLayerCA::layerForSuperlayer):
m_transformLayer -> m_structuralLayer

(WebCore::GraphicsLayerCA::updateStructuralLayer):
Call ensureStructuralLayer() which handles any deltas to the
structural layer type.

(WebCore::GraphicsLayerCA::ensureStructuralLayer):
Handle changes to the structural layer requirements

(WebCore::GraphicsLayerCA::structuralLayerPurpose):
Return an enum describing the purpose of the structural layer; for now
this only returns NoStructuralLayer or StructuralLayerForPreserves3D, but
will in future also have a value related to reflections.

3:34 PM Changeset in webkit [52028] by barraclough@apple.com
  • 17 edits in trunk/JavaScriptCore

https://bugs.webkit.org/show_bug.cgi?id=32454
Refactor construction of simple strings to avoid string concatenation.

Reviewed by Oliver Hunt.

Building strings through concatenation has a memory and performance cost -
a memory cost since we must over-allocate the buffer to leave space to append
into, and performance in that the string may still require reallocation (and
thus copying during construction). Instead move the full construction to
within a single function call (makeString), so that the arguments' lengths
can be calculated and an appropriate sized buffer allocated before copying
any characters.

~No performance change (~2% progression on date tests).

  • bytecode/CodeBlock.cpp:

(JSC::escapeQuotes):
(JSC::valueToSourceString):
(JSC::constantName):
(JSC::idName):
(JSC::CodeBlock::registerName):
(JSC::regexpToSourceString):
(JSC::regexpName):

  • bytecompiler/NodesCodegen.cpp:

(JSC::substitute):

  • profiler/Profiler.cpp:

(JSC::Profiler::createCallIdentifier):

  • runtime/DateConstructor.cpp:

(JSC::callDate):

  • runtime/DateConversion.cpp:

(JSC::formatDate):
(JSC::formatDateUTCVariant):
(JSC::formatTime):
(JSC::formatTimeUTC):

  • runtime/DateConversion.h:

(JSC::):

  • runtime/DatePrototype.cpp:

(JSC::dateProtoFuncToString):
(JSC::dateProtoFuncToUTCString):
(JSC::dateProtoFuncToDateString):
(JSC::dateProtoFuncToTimeString):
(JSC::dateProtoFuncToGMTString):

  • runtime/ErrorPrototype.cpp:

(JSC::errorProtoFuncToString):

  • runtime/ExceptionHelpers.cpp:

(JSC::createUndefinedVariableError):
(JSC::createErrorMessage):
(JSC::createInvalidParamError):

  • runtime/FunctionPrototype.cpp:

(JSC::insertSemicolonIfNeeded):
(JSC::functionProtoFuncToString):

  • runtime/ObjectPrototype.cpp:

(JSC::objectProtoFuncToString):

  • runtime/RegExpConstructor.cpp:

(JSC::constructRegExp):

  • runtime/RegExpObject.cpp:

(JSC::RegExpObject::match):

  • runtime/RegExpPrototype.cpp:

(JSC::regExpProtoFuncCompile):
(JSC::regExpProtoFuncToString):

  • runtime/StringPrototype.cpp:

(JSC::stringProtoFuncBig):
(JSC::stringProtoFuncSmall):
(JSC::stringProtoFuncBlink):
(JSC::stringProtoFuncBold):
(JSC::stringProtoFuncFixed):
(JSC::stringProtoFuncItalics):
(JSC::stringProtoFuncStrike):
(JSC::stringProtoFuncSub):
(JSC::stringProtoFuncSup):
(JSC::stringProtoFuncFontcolor):
(JSC::stringProtoFuncFontsize):
(JSC::stringProtoFuncAnchor):

  • runtime/UString.h:

(JSC::):
(JSC::makeString):

3:03 PM Changeset in webkit [52027] by Nate Chapin
  • 3 edits in trunk/WebKit/chromium

2009-12-11 Nate Chapin <Nate Chapin>

Reviewed by Darin Fisher.

Expose shouldHideReferrer() in WebSecurityPolicy.

https://bugs.webkit.org/show_bug.cgi?id=32398

  • public/WebSecurityPolicy.h: Add shouldHideReferrer().
  • src/WebSecurityPolicy.cpp:
(WebKit
WebSecurityPolicy::shouldHideReferrer): Added.
2:57 PM Changeset in webkit [52026] by barraclough@apple.com
  • 6 edits in trunk/JavaScriptCore

https://bugs.webkit.org/show_bug.cgi?id=32400
Switch remaining cases of string addition to use ropes.

Reviewed by Oliver Hunt.

Re-landing r51975 - added toPrimitiveString method,
performs toPrimitive then subsequent toString operations.

~1% progression on Sunspidey.

  • jit/JITStubs.cpp:

(JSC::DEFINE_STUB_FUNCTION):

  • runtime/JSString.h:

(JSC::JSString::JSString):
(JSC::JSString::appendStringInConstruct):

  • runtime/Operations.cpp:

(JSC::jsAddSlowCase):

  • runtime/Operations.h:

(JSC::jsString):
(JSC::jsAdd):

2:39 PM Changeset in webkit [52025] by eric@webkit.org
  • 4 edits in trunk/WebKitTools

2009-12-11 Eric Seidel <eric@webkit.org>

Reviewed by Adam Barth.

CommandsTest.assert_execute_outputs doesn't check stderr
https://bugs.webkit.org/show_bug.cgi?id=32352

Fix assert_execute_outputs to check stderr
and then fix all the unit tests which needed to
pass stderr output.

  • Scripts/modules/commands/commandtest.py:
  • Scripts/modules/commands/download_unittest.py:
  • Scripts/modules/commands/upload_unittest.py:
2:29 PM Changeset in webkit [52024] by mrowe@apple.com
  • 4 edits in trunk

Versioning.

2:28 PM Changeset in webkit [52023] by mrowe@apple.com
  • 1 copy in tags/Safari-532.6

New tag.

1:50 PM Changeset in webkit [52022] by Simon Fraser
  • 2 edits in trunk/WebCore

2009-12-11 Simon Fraser <Simon Fraser>

Build fix for platforms where ACCELERATED_COMPOSITING is not defined.

  • page/animation/KeyframeAnimation.cpp: (WebCore::KeyframeAnimation::pauseAnimation):
1:35 PM Changeset in webkit [52021] by Simon Fraser
  • 2 edits in trunk/WebCore

2009-12-11 Simon Fraser <Simon Fraser>

Build fix, no review.

Build fix for platforms where ACCELERATED_COMPOSITING is not defined.

  • page/animation/KeyframeAnimation.cpp: (WebCore::KeyframeAnimation::startAnimation):
1:31 PM Changeset in webkit [52020] by Adam Roben
  • 4 edits in trunk

Windows build fix

JavaScriptCore:

$(WebKitOutputDir)/include/private to the include path.

WebCore:

  • platform/graphics/win/WKCACFLayerRenderer.cpp: Removed #include of

non-existent header.

1:24 PM Changeset in webkit [52019] by Simon Fraser
  • 2 edits in trunk/WebCore

2009-12-11 Simon Fraser <Simon Fraser>

Build fix, no review.

Build fix for platforms where ACCELERATED_COMPOSITING is not defined.

  • page/animation/ImplicitAnimation.cpp: (WebCore::ImplicitAnimation::startAnimation):
1:02 PM Changeset in webkit [52018] by Simon Fraser
  • 3 edits
    4 adds in trunk

2009-12-11 Simon Fraser <Simon Fraser>

Reviewed by Darin Adler.

Negative values for animation-delay are ignored (treated as zero)
https://bugs.webkit.org/show_bug.cgi?id=26150

When we get the m_startTime for an animation or transition, subtract any negative
delay so the animation/transition behaves like it started in the past, per spec.

Tests: animations/negative-delay.html

transitions/negative-delay.html

  • page/animation/AnimationBase.cpp: (WebCore::AnimationBase::updateStateMachine):
12:57 PM Changeset in webkit [52017] by Simon Fraser
  • 12 edits
    1 add in trunk/WebCore

2009-12-11 Simon Fraser <Simon Fraser>

Reviewed by Dan Bernstein.

Accelerated transitions broken when mixed with paused animations
https://bugs.webkit.org/show_bug.cgi?id=32387

Synchronization of a mixture of accelerated and software animations occurs via
a callback from GraphicsLayerCA, which ends up in
AnimationControllerPrivate::receivedStartTimeResponse(). The time passed in is
the exact time at which the accelerated animations started, so is used as the
start time for all animations and transitions which are marked as waiting.

The bug was that the callback called when re-starting animations that were
paused sent back an old time value, but this was used to start normal
transitions. Therefore the transition would start with a stale start time, and
thus end prematurely.

The fix is to change the way that GraphicsLayerCA handles paused animations.
Rather than setting the beginTime of the animation, it uses a beginTime of 0
and a timeOffset that gets passed down. Thus the callbacks always come with
beginTime for 'now'.

Also clarify the role of AnimationBase::endAnimation() by splitting it into
pauseAnimation() and endAnimation(), and pass down timeOffsets, rather than
beginTimes when starting and pausing.

Manual test only, because the bug requires a non-trivial combination of
animation pausing and transitions which take time, and the bug only shows in
pixel results.

  • manual-tests/animation/transitions-and-paused-animations.html
  • page/animation/AnimationBase.cpp: (WebCore::AnimationBase::updateStateMachine):
  • page/animation/AnimationBase.h: (WebCore::AnimationBase::startAnimation): (WebCore::AnimationBase::pauseAnimation): (WebCore::AnimationBase::endAnimation):
  • page/animation/ImplicitAnimation.cpp: (WebCore::ImplicitAnimation::~ImplicitAnimation): (WebCore::ImplicitAnimation::startAnimation): (WebCore::ImplicitAnimation::endAnimation): (WebCore::ImplicitAnimation::onAnimationEnd):
  • page/animation/ImplicitAnimation.h: (WebCore::ImplicitAnimation::pauseAnimation):
  • page/animation/KeyframeAnimation.cpp: (WebCore::KeyframeAnimation::~KeyframeAnimation): (WebCore::KeyframeAnimation::startAnimation): (WebCore::KeyframeAnimation::pauseAnimation): (WebCore::KeyframeAnimation::endAnimation): (WebCore::KeyframeAnimation::onAnimationEnd):
  • page/animation/KeyframeAnimation.h:
  • platform/graphics/GraphicsLayer.h: (WebCore::GraphicsLayer::addAnimation): (WebCore::GraphicsLayer::pauseAnimation):
  • platform/graphics/mac/GraphicsLayerCA.h: (WebCore::GraphicsLayerCA::LayerAnimation::LayerAnimation): (WebCore::GraphicsLayerCA::AnimationProcessingAction::AnimationProcessingAction):
  • platform/graphics/mac/GraphicsLayerCA.mm: (WebCore::GraphicsLayerCA::addAnimation): (WebCore::GraphicsLayerCA::removeAnimationsForKeyframes): (WebCore::GraphicsLayerCA::pauseAnimation): (WebCore::GraphicsLayerCA::updateLayerAnimations): (WebCore::GraphicsLayerCA::setAnimationOnLayer): (WebCore::GraphicsLayerCA::pauseAnimationOnLayer): (WebCore::GraphicsLayerCA::createAnimationFromKeyframes): (WebCore::GraphicsLayerCA::createTransformAnimationsFromKeyframes):
  • rendering/RenderLayerBacking.cpp: (WebCore::RenderLayerBacking::startAnimation): (WebCore::RenderLayerBacking::startTransition): (WebCore::RenderLayerBacking::animationPaused):
  • rendering/RenderLayerBacking.h:
12:50 PM Changeset in webkit [52016] by eric@webkit.org
  • 3 edits in trunk/WebKitTools

2009-12-11 Adam Barth <abarth@webkit.org>

Reviewed by Eric Seidel.

[check-webkit-style] False positive for tst_QWebFrame
https://bugs.webkit.org/show_bug.cgi?id=32436

Add an exception for function names that start with "tst_". These are
used by the Qt unit testing framework.

  • Scripts/modules/cpp_style.py:
  • Scripts/modules/cpp_style_unittest.py:
12:46 PM Changeset in webkit [52015] by Adam Roben
  • 5 edits in trunk/JavaScriptCore

Move QuartzCorePresent.h to include/private

This fixes other projects that use wtf/Platform.h

Rubber-stamped by Steve Falkenburg.

  • JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.vcproj: Let VS do its thang.
  • JavaScriptCore.vcproj/JavaScriptCore/build-generated-files.sh: Write

QuartzCorePresent.h to $(WebKitOutputDir)/include/private.

Added $(WebKitOutputDir)/include/private to the include path.

12:38 PM Changeset in webkit [52014] by eric@webkit.org
  • 2 edits in trunk/LayoutTests

2009-12-11 Drew Wilson <atwilson@chromium.org>

Reviewed by Darin Adler.

REGRESSION: fast/workers/dedicated-worker-lifecycle.html failing intermittently on leopard bot
https://bugs.webkit.org/show_bug.cgi?id=29344

dedicated-worker-lifecycle.html relies on a Worker object getting GC'd, which is never guaranteed (due to conservative GC)
but is especially unreliable on Leopard, so disabling on that platform.

  • platform/mac-leopard/Skipped: disabled dedicated-worker-lifecycle.html.
12:30 PM Changeset in webkit [52013] by Adam Roben
  • 2 edits in trunk/JavaScriptCore

Fix clean builds and everything rebuilding on every build

Reviewed by Sam Weinig.

write out QuartzCorePresent.h if it exists but is older than
QuartzCore.h. Also, create the directory we write QuartzCorePresent.h
into first.

11:59 AM Changeset in webkit [52012] by bweinstein@apple.com
  • 3 edits
    2 adds in trunk

Fixes <http://webkit.org/b/32399>.
Pan Scrolling Jumps out of frames if the initial location is in a frame that can't be scrolled.

Reviewed by Darin Adler.

WebCore:

When we initially figure out the layer that we should begin scrolling, don't try to jump out
of frames/iFrames to look at the owner document. We don't want to jump out of frames, so we
don't need that logic anymore.

Added a test to make sure that we don't pan scroll if we start to scroll in an empty
iFrame that has a scrollable owner document.

Test: platform/win/fast/events/panScroll-no-iframe-jump.html

  • dom/Node.cpp:

(WebCore::Node::defaultEventHandler):

LayoutTests:

Added a test to make sure that we don't pan scroll if we start to scroll in an empty
iFrame that has a scrollable owner document.

  • platform/win/fast/events/panScroll-no-iframe-jump-expected.txt: Added.
  • platform/win/fast/events/panScroll-no-iframe-jump.html: Added.
11:45 AM Changeset in webkit [52011] by Adam Roben
  • 2 edits in trunk/JavaScriptCore

Windows build fix for systems with spaces in their paths

  • JavaScriptCore.vcproj/JavaScriptCore/build-generated-files.sh: Quote some paths.
11:33 AM Changeset in webkit [52010] by bweinstein@apple.com
  • 1 edit in trunk/JavaScriptCore/JavaScriptCore.vcproj/JavaScriptCore/build-generated-files.sh

Copy QuartzCore header file into Include/JavaScriptCore so Platform.h can find it.

11:10 AM Changeset in webkit [52009] by kov@webkit.org
  • 2 edits in trunk/LayoutTests

Skip test that is failing because script is not executed after the
view it is on is destroyed.
See https://bugs.webkit.org/show_bug.cgi?id=32441

  • platform/gtk/Skipped:
10:46 AM Changeset in webkit [52008] by bweinstein@apple.com
  • 5 edits
    4 adds in trunk

Fixes <http://webkit.org/b/32303>.
Middle-mouse button not firing mousedown DOM event when autoscroll happens.

Reviewed by Adam Roben.

WebCore:

This fix moves the pan scrolling code into Node.cpp, as part of the default event handler.
We get two wins out of this:

1) Mousedown DOM events are now fired before pan scrolling.
2) Calling event.preventDefault() on a middle mouse button will now prevent pan scrolling.


Added tests to show that middle mousedown DOM events are fired when panscrolling happens, and
that when event.preventDefault is called, pan scrolling doesn't happen.

Tests: platform/win/fast/events/panScroll-event-fired.html

platform/win/fast/events/panScroll-preventDefault.html

  • dom/Node.cpp:

(WebCore::Node::defaultEventHandler): Moved pan scrolling starting code to here.

  • page/EventHandler.cpp:

(WebCore::EventHandler::startPanScrolling): Function to initialize scrolling variables and start timer.
(WebCore::EventHandler::handleMousePressEvent): From here.

  • page/EventHandler.h:

LayoutTests:

Added tests to show that middle mousedown DOM events are fired when panscrolling happens, and
that when event.preventDefault is called, pan scrolling doesn't happen.

  • platform/win/fast/events/panScroll-event-fired-expected.txt: Added.
  • platform/win/fast/events/panScroll-event-fired.html: Added.
  • platform/win/fast/events/panScroll-preventDefault-expected.txt: Added.
  • platform/win/fast/events/panScroll-preventDefault.html: Added.
10:31 AM Changeset in webkit [52007] by cmarrin@apple.com
  • 1 edit in trunk/WebCore/ChangeLog

forgot to save Changelog

10:29 AM Changeset in webkit [52006] by cmarrin@apple.com
  • 11 edits
    5 adds in trunk

Delay load DLLs for accelerated compositing
https://bugs.webkit.org/show_bug.cgi?id=31856

10:24 AM Changeset in webkit [52005] by eric@webkit.org
  • 2 edits
    2 adds in trunk/WebCore

2009-12-11 Steve Block <steveblock@google.com>

Reviewed by Darin Fisher.

Adds an Android-specific implementation of initializeMaximumHTTPConnectionCountPerHost.
https://bugs.webkit.org/show_bug.cgi?id=31810

  • platform/network/ResourceRequestBase.cpp: Modified. Disable default implementation

of initializeMaximumHTTPConnectionCountPerHost for Android.

  • platform/network/android: Added.
  • platform/network/android/ResourceRequestAndroid.cpp: Added. (WebCore::initializeMaximumHTTPConnectionCountPerHost): Android-specific implementation.
10:16 AM Changeset in webkit [52004] by eric@webkit.org
  • 2 edits in trunk/WebKit/chromium

2009-12-11 Avi Drissman <avi@chromium.org>

Reviewed by Darin Fisher.

Tickmarks in the scrollbar are not cleared for non-main frames
https://bugs.webkit.org/show_bug.cgi?id=32385

  • src/WebFrameImpl.cpp: (WebKit::WebFrameImpl::stopFinding):
10:13 AM Changeset in webkit [52003] by tkent@chromium.org
  • 4 edits in trunk/WebCore

2009-12-11 Kent Tamura <tkent@chromium.org>

Reviewed by Darin Fisher.

Add acceptTypes() method to FileChooser.
https://bugs.webkit.org/show_bug.cgi?id=32429

This method returns an 'accept' attribute value of the
corresponding INPUT element. A ChromeClient::runOpenPanel()
implementation can refer it through a FileChooser instance to
support type-restricted file selecting.

This makes no user-visible changes for now.

  • platform/FileChooser.h: (WebCore::FileChooser::acceptTypes):
  • rendering/RenderFileUploadControl.cpp: (WebCore::RenderFileUploadControl::acceptTypes):
  • rendering/RenderFileUploadControl.h:
10:06 AM Changeset in webkit [52002] by Csaba Osztrogonác
  • 2 edits in trunk/LayoutTests

[Qt][LayoutTestController] Output of document.write() is vanished by waitUntilDone()/notifyDone()
https://bugs.webkit.org/show_bug.cgi?id=32437

  • platform/qt/Skipped: http/tests/misc/percent-sign-in-form-field-name.html added until bug fixed.
10:03 AM Changeset in webkit [52001] by eric@webkit.org
  • 2 edits
    1 add in trunk/WebCore

2009-12-11 Victor Wang <victorw@chromium.org>

Reviewed by Darin Fisher.

Changed PopupMenuChromium to keep the value selected from
keyboard when popup is closed.

The problem is Chromium does not fire the onchange event
when the popup is closed if an item is selected via
keyboard by typing the first char of the item. This makes
chromium popup not having consistent behaviours and also
behaves differently from other major browsers.
Calling popup->hide() instead of popup->hidePopup() in
PopupMenu fixes the issues as it does extra step to check
whethere there is a keyboard selection changed when closing
the popup.

https://bugs.webkit.org/show_bug.cgi?id=32403

TEST: add a manual test as the current layout test shell
does not support sending keyboard events to popup list.

  • manual-tests/chromium/select-close-popup-value-change.html: Added.
  • platform/chromium/PopupMenuChromium.cpp: (WebCore::PopupMenu::hide):
9:31 AM Changeset in webkit [52000] by kov@webkit.org
  • 2 edits in trunk/LayoutTests

Skip two tests that require infrastructure our DRT doesn't have,
or functionality our port does not implement.

  • platform/gtk/Skipped:
9:30 AM Changeset in webkit [51999] by Csaba Osztrogonác
  • 2 edits in trunk/LayoutTests

[Qt] Unreviewed. Skip a timeouter flakey test.

  • platform/qt/Skipped: fast/frames/sandboxed-iframe-storage.html added.
9:21 AM Changeset in webkit [51998] by eric@webkit.org
  • 6 edits in trunk/WebCore

2009-12-11 anton muhin <antonm@chromium.org>

Reviewed by Adam Barth.

[v8] refactor WeakReferenceMap.
Move common bits of functionality to reduce duplication.

https://bugs.webkit.org/show_bug.cgi?id=32389

Should be covered by buildbots.

  • bindings/v8/DOMData.h: (WebCore::DOMData::WrapperMapObjectRemover::visitDOMWrapper): (WebCore::DOMData::handleWeakObject): (WebCore::DOMData::removeObjectsFromWrapperMap):
  • bindings/v8/DOMDataStore.cpp: (WebCore::DOMDataStore::weakDOMObjectCallback): (WebCore::DOMDataStore::weakActiveDOMObjectCallback): (WebCore::DOMDataStore::weakNodeCallback): (WebCore::DOMDataStore::weakSVGElementInstanceCallback): (WebCore::DOMDataStore::weakSVGObjectWithContextCallback):
  • bindings/v8/DOMDataStore.h:
  • bindings/v8/V8DOMMap.cpp: (WebCore::visitDOMNodesInCurrentThread): (WebCore::visitDOMObjectsInCurrentThread): (WebCore::visitActiveDOMObjectsInCurrentThread): (WebCore::visitDOMSVGElementInstancesInCurrentThread): (WebCore::visitSVGObjectsInCurrentThread):
  • bindings/v8/V8DOMMap.h: (WebCore::WeakReferenceMap::removeIfPresent): (WebCore::WeakReferenceMap::clear): (WebCore::WeakReferenceMap::visit):
9:19 AM Changeset in webkit [51997] by Csaba Osztrogonác
  • 4 edits
    1 delete in trunk/LayoutTests

Rubber-stamped by Simon Hausmann.

[Qt] TouchEvent related tests have platform dependent results until all platform implement it.

  • platform/qt/fast/dom/Window/window-properties-expected.txt: TouchEvent related output added.
  • platform/qt/fast/dom/prototype-inheritance-expected.txt: TouchEvent related output added.
  • platform/qt/fast/dom/prototype-inheritance.html: Removed. (added by mistake previously)
  • platform/qt/fast/js/global-constructors-expected.txt: TouchEvent related output added.
9:15 AM Changeset in webkit [51996] by kov@webkit.org
  • 2 edits in trunk/LayoutTests

Fixed typo in test result.

  • platform/gtk/editing/execCommand/toggle-compound-styles-expected.txt:
9:14 AM Changeset in webkit [51995] by eric@webkit.org
  • 2 edits in trunk/WebCore

2009-12-11 anton muhin <antonm@chromium.org>

Reviewed by Adam Barth.

[v8] in Debug builds create an additional handle scope
when doing debug build checks.
https://bugs.webkit.org/show_bug.cgi?id=32335

Should be covered by buildbots.

  • bindings/v8/V8DOMWrapper.h: (WebCore::V8DOMWrapper::convertDOMWrapperToNative): (WebCore::V8DOMWrapper::convertDOMWrapperToNode):
9:07 AM Changeset in webkit [51994] by Csaba Osztrogonác
  • 1 edit
    4 copies in trunk/LayoutTests

Rubber-stamped by Simon Hausmann.

[Qt] TouchEvent related tests have platform dependent results until all platform implement it.
Original expected files copied.

  • platform/qt/fast/dom/Window/window-properties-expected.txt: Copied from LayoutTests/fast/dom/Window/window-properties-expected.txt.
  • platform/qt/fast/dom/prototype-inheritance-expected.txt: Copied from LayoutTests/fast/dom/prototype-inheritance-expected.txt.
  • platform/qt/fast/dom/prototype-inheritance.html: Copied from LayoutTests/fast/dom/prototype-inheritance.html.
  • platform/qt/fast/js/global-constructors-expected.txt: Copied from LayoutTests/fast/js/global-constructors-expected.txt.
8:52 AM Changeset in webkit [51993] by pfeldman@chromium.org
  • 11 edits
    1 move in trunk/WebCore

2009-12-11 Pavel Feldman <pfeldman@chromium.org>

Reviewed by Timothy Hatcher.

Web Inspector: Do not use ContextMenuItem as value type in custom
context menu implementation.

https://bugs.webkit.org/show_bug.cgi?id=32411

  • GNUmakefile.am:
  • WebCore.gypi:
  • WebCore.pro:
  • WebCore.vcproj/WebCore.vcproj:
  • WebCore.xcodeproj/project.pbxproj:
  • bindings/js/JSInspectorFrontendHostCustom.cpp: (WebCore::JSInspectorFrontendHost::showContextMenu):
  • inspector/InspectorFrontendHost.cpp: (WebCore::InspectorFrontendHost::InspectorFrontendHost): (WebCore::InspectorFrontendHost::~InspectorFrontendHost): (WebCore::InspectorFrontendHost::showContextMenu): (WebCore::InspectorFrontendHost::contextMenuCleared):
  • inspector/InspectorFrontendHost.h: (WebCore::InspectorFrontendHost::MenuProvider::create): (WebCore::InspectorFrontendHost::MenuProvider::~MenuProvider): (WebCore::InspectorFrontendHost::MenuProvider::disconnect): (WebCore::InspectorFrontendHost::MenuProvider::populateContextMenu): (WebCore::InspectorFrontendHost::MenuProvider::contextMenuCleared): (WebCore::InspectorFrontendHost::MenuProvider::MenuProvider):
  • page/ContextMenuController.cpp: (WebCore::ContextMenuController::ContextMenuController): (WebCore::ContextMenuController::clearContextMenu): (WebCore::ContextMenuController::showContextMenu): (WebCore::ContextMenuController::contextMenuItemSelected):
  • page/ContextMenuController.h:
  • page/ContextMenuProvider.h: Added. (WebCore::ContextMenuProvider::~ContextMenuProvider):
  • page/ContextMenuSelectionHandler.h: Removed.
8:22 AM Changeset in webkit [51992] by Girish Ramakrishnan
  • 2 edits in trunk/WebKit/qt

[Qt] Updated QWebElement documentation

Reviewed by Tor Arne Vestbø.

findAll() returns a QWebElementCollection, not QList<QWebElement>.

8:20 AM Changeset in webkit [51991] by Simon Hausmann
  • 6 edits in trunk

WebCore: Basic cross-platform implementation of mapping platform touch events
to JavaScript touch events.

Patch by Simon Hausmann <Simon Hausmann>, Kim Grönholm <kim.gronholm@nomovok.com> on 2009-12-11
Reviewed by Antti Koivisto.

https://bugs.webkit.org/show_bug.cgi?id=32114

Test: fast/events/basic-touch-events.html

  • page/EventHandler.cpp:

(WebCore::EventHandler::handleTouchEvent):

  • page/EventHandler.h:

WebKit/qt: Forward Qt touch events to the event handler as platform touch events.

Patch by Simon Hausmann <Simon Hausmann>, Kim Grönholm <kim.gronholm@nomovok.com> on 2009-12-11
Reviewed by Antti Koivisto.

https://bugs.webkit.org/show_bug.cgi?id=32114

  • Api/qwebpage.cpp:

(QWebPagePrivate::touchEvent):
(QWebPage::event):

  • Api/qwebpage_p.h:
8:19 AM Changeset in webkit [51990] by zoltan@webkit.org
  • 2 edits in trunk/WebCore

2009-12-11 Zoltan Horvath <zoltan@webkit.org>

Reviewed by Darin Adler.

Allow custom memory allocation control for WebCore's EmptyFrameLoaderClient
https://bugs.webkit.org/show_bug.cgi?id=32110

Inherits the following class from Noncopyable because it is
instantiated by 'new' and no need to be copyable:

class name - instantiated at: WebCore/'location'

class EmptyFrameLoaderClient - svg/graphics/SVGImage.cpp:229

  • loader/FrameLoaderClient.h:
8:17 AM Changeset in webkit [51989] by zoltan@webkit.org
  • 3 edits in trunk/WebCore

2009-12-11 Zoltan Horvath <zoltan@webkit.org>

Reviewed by Darin Adler.

Allow custom memory allocation control for 3 classes in WebCore's svg and loader directory
https://bugs.webkit.org/show_bug.cgi?id=32106

Inherits the following classes from Noncopyable because these are instantiated
by 'new' and no need to be copyable:

class/struct name - instantiated at: WebCore/'location'

class EmptyContextMenuClient - instantiated at: svg/graphics/SVGImage.cpp:232
class EmptyDragClient - instantiated at: svg/graphics/SVGImage.cpp:237
class SVGImageChromeClient - instantiated at: svg/graphics/SVGImage.cpp:243

  • svg/graphics/SVGImage.cpp:
  • loader/EmptyClients.h:
7:51 AM Changeset in webkit [51988] by Simon Hausmann
  • 2 edits in trunk/LayoutTests

Skip the touch tests on Windows (somehow that hunk got lost).

  • platform/win/Skipped:
7:46 AM Changeset in webkit [51987] by Simon Hausmann
  • 3 edits in trunk/WebKitTools

Added support for creating synthetic touch events with EventSender
in Qt's DumpRenderTree.

Patch by Simon Hausmann <Simon Hausmann>, Kim Grönholm <kim.gronholm@nomovok.com> on 2009-12-11
Reviewed by Antti Koivisto.

https://bugs.webkit.org/show_bug.cgi?id=32114

  • DumpRenderTree/qt/EventSenderQt.cpp:

(EventSender::addTouchPoint):
(EventSender::updateTouchPoint):
(EventSender::touchStart):
(EventSender::touchMove):
(EventSender::touchEnd):
(EventSender::clearTouchPoints):
(EventSender::releaseTouchPoint):
(EventSender::sendTouchEvent):

  • DumpRenderTree/qt/EventSenderQt.h:
7:39 AM Changeset in webkit [51986] by eric@webkit.org
  • 3 edits
    3 adds in trunk

2009-12-11 Kent Tamura <tkent@chromium.org>

Reviewed by Darin Adler.

Fix a problem that JSC::gregorianDateTimeToMS() returns a negative
value for a huge year value.
https://bugs.webkit.org/show_bug.cgi?id=32304

  • wtf/DateMath.cpp: (WTF::dateToDaysFrom1970): Renamed from dateToDayInYear, and changed the return type to double. (WTF::calculateDSTOffset): Follow the dateToDaysFrom1970() change. (WTF::timeClip): Use maxECMAScriptTime. (JSC::gregorianDateTimeToMS): Follow the dateToDaysFrom1970() change.

2009-12-11 Kent Tamura <tkent@chromium.org>

Reviewed by Darin Adler.

Fix a problem that JSC::gregorianDateTimeToMS() returns a negative
value for a huge year value.
https://bugs.webkit.org/show_bug.cgi?id=32304

  • fast/js/date-daysfrom1970-overflow-expected.txt: Added.
  • fast/js/date-daysfrom1970-overflow.html: Added.
  • fast/js/script-tests/date-daysfrom1970-overflow.js: Added.
7:35 AM QtWebKit/CodeCamp200912 edited by rgabor@inf.u-szeged.hu
(diff)
7:21 AM Changeset in webkit [51985] by eric@webkit.org
  • 8 edits in trunk

2009-12-11 Benjamin Poulain <benjamin.poulain@nokia.com>

Reviewed by Darin Adler.

The values of RuntimeArray are not enumerable
https://bugs.webkit.org/show_bug.cgi?id=29005

The indices of RuntimeArray should be enumerated like for a regular array.

  • platform/mac/fast/dom/wrapper-classes-objc-expected.txt:
  • platform/mac/fast/dom/wrapper-classes-objc.html:

2009-12-11 Benjamin Poulain <benjamin.poulain@nokia.com>

Reviewed by Darin Adler.

The values of RuntimeArray are not enumerable
https://bugs.webkit.org/show_bug.cgi?id=29005

The indices of RuntimeArray should be enumerated like for a regular array.

  • bridge/runtime_array.cpp: (JSC::RuntimeArray::getOwnPropertyNames):
  • bridge/runtime_array.h:

2009-12-11 Benjamin Poulain <benjamin.poulain@nokia.com>

Reviewed by Darin Adler.

The values of RuntimeArray are not enumerable
https://bugs.webkit.org/show_bug.cgi?id=29005

  • DumpRenderTree/mac/ObjCController.m: (+[ObjCController isSelectorExcludedFromWebScript:]): (+[ObjCController webScriptNameForSelector:]): (-[ObjCController arrayOfString]):
7:07 AM Changeset in webkit [51984] by yurys@chromium.org
  • 5 edits in trunk/WebKit/chromium

2009-12-11 Yury Semikhatsky <yurys@chromium.org>

Reviewed by Pavel Feldman.

Remove obsolete message handling methods from WebDevTools* interfaces

https://bugs.webkit.org/show_bug.cgi?id=32320

  • public/WebDevToolsAgent.h:
  • public/WebDevToolsAgentClient.h:
  • public/WebDevToolsFrontend.h:
  • public/WebDevToolsFrontendClient.h:
6:38 AM Changeset in webkit [51983] by eric@webkit.org
  • 2 edits in trunk/WebCore

2009-12-11 Andreas Kling <andreas.kling@nokia.com>

Reviewed by Simon Hausmann.

[Qt] ImageDecoderQt: Fix retrieval of image file extensions

QImageReader only allows retrieving the format() before actually reading the image.

https://bugs.webkit.org/show_bug.cgi?id=32428

  • platform/graphics/qt/ImageDecoderQt.cpp: (WebCore::ImageDecoderQt::setData): (WebCore::ImageDecoderQt::internalDecodeSize):
6:15 AM Changeset in webkit [51982] by eric@webkit.org
  • 3 edits
    3 adds in trunk/LayoutTests

2009-12-11 Simon Hausmann <Simon Hausmann>

Reviewed by Antti Koivisto.

Added basic layout test for DOM touch events.

https://bugs.webkit.org/show_bug.cgi?id=32114

  • fast/events/basic-touch-events-expected.txt: Added.
  • fast/events/basic-touch-events.html: Added.
  • fast/events/script-tests/basic-touch-events.js: Added. (appendEventLog): (verifyTouchEvent): (verifyTouchPoint): (singleTouchSequence): (multiTouchSequence): (touchTargets):
  • platform/gtk/Skipped:
  • platform/mac/Skipped:
  • platform/win/Skipped:
6:07 AM Changeset in webkit [51981] by eric@webkit.org
  • 15 edits
    13 adds in trunk/WebCore

2009-12-11 Simon Hausmann <Simon Hausmann>, Kim Grönholm <kim.gronholm@nomovok.com>

Reviewed by Antti Koivisto.

Added interfaces for touch event support in JavaScript.

https://bugs.webkit.org/show_bug.cgi?id=32114

The Touch, TouchEvent and TouchList interfaces come straight from
Android's copy of WebKit (eclaire branch).

The PlatformTouchEvent and PlatformTouchPoint code was written by
us.

No new tests added, we are just adding interfaces
with this patch.

  • WebCore.pro:
  • bindings/js/JSEventCustom.cpp: (WebCore::toJS):
  • dom/Document.cpp: (WebCore::Document::addListenerTypeIfNeeded):
  • dom/Document.h: (WebCore::Document::):
  • dom/Document.idl:
  • dom/Element.h:
  • dom/Element.idl:
  • dom/Event.cpp: (WebCore::Event::isTouchEvent):
  • dom/Event.h:
  • dom/EventNames.h:
  • dom/Touch.cpp: Added. (WebCore::contentsX): (WebCore::contentsY): (WebCore::Touch::Touch): (WebCore::Touch::updateLocation):
  • dom/Touch.h: Added. (WebCore::Touch::create): (WebCore::Touch::frame): (WebCore::Touch::target): (WebCore::Touch::identifier): (WebCore::Touch::clientX): (WebCore::Touch::clientY): (WebCore::Touch::screenX): (WebCore::Touch::screenY): (WebCore::Touch::pageX): (WebCore::Touch::pageY):
  • dom/Touch.idl: Added.
  • dom/TouchEvent.cpp: Added. (WebCore::TouchEvent::TouchEvent): (WebCore::TouchEvent::initTouchEvent):
  • dom/TouchEvent.h: Added. (WebCore::TouchEvent::create): (WebCore::TouchEvent::touches): (WebCore::TouchEvent::targetTouches): (WebCore::TouchEvent::changedTouches): (WebCore::TouchEvent::TouchEvent): (WebCore::TouchEvent::isTouchEvent):
  • dom/TouchEvent.idl: Added.
  • dom/TouchList.cpp: Added. (WebCore::TouchList::item):
  • dom/TouchList.h: Added. (WebCore::TouchList::create): (WebCore::TouchList::length): (WebCore::TouchList::append): (WebCore::TouchList::TouchList):
  • dom/TouchList.idl: Added.
  • html/HTMLAttributeNames.in:
  • html/HTMLElement.cpp: (WebCore::HTMLElement::parseMappedAttribute):
  • page/DOMWindow.h:
  • page/DOMWindow.idl:
  • platform/PlatformTouchEvent.h: Added. (WebCore::PlatformTouchEvent::PlatformTouchEvent): (WebCore::PlatformTouchEvent::touchPoints):
  • platform/PlatformTouchPoint.h: Added. (WebCore::PlatformTouchPoint::): (WebCore::PlatformTouchPoint::id): (WebCore::PlatformTouchPoint::state): (WebCore::PlatformTouchPoint::screenPos): (WebCore::PlatformTouchPoint::pos):
  • platform/qt/PlatformTouchEventQt.cpp: Added. (WebCore::PlatformTouchEvent::PlatformTouchEvent):
  • platform/qt/PlatformTouchPointQt.cpp: Added. (WebCore::PlatformTouchPoint::PlatformTouchPoint):
5:41 AM rgabor_buildbot.pdf attached to QtWebKit/CodeCamp200912 by rgabor@inf.u-szeged.hu
4:46 AM WebKit Team edited by maxime.simon@webkit.org
Add Haiku and myself. (diff)
4:20 AM Changeset in webkit [51980] by benm@google.com
  • 3 edits in trunk/WebCore

[Android] Add detachHistoryItem() to AndroidWebHistoryBridge. And the constructor takes
HistoryItem* now. As AndroidWebHistoryBridge holds a dumb pointer of HistoryItem and
HistoryItem holds a RefPtr of AndroidWebHistoryBridge, the dumb pointer needs to be cleared
when HistoryItem is deleted to avoid potential crash.
https://bugs.webkit.org/show_bug.cgi?id=32251

Patch by Grace Kloba <klobag@gmail.com> on 2009-12-11
Reviewed by Darin Adler.

  • history/HistoryItem.cpp:

(WebCore::HistoryItem::~HistoryItem):

  • history/android/AndroidWebHistoryBridge.h:

(WebCore::AndroidWebHistoryBridge::AndroidWebHistoryBridge):
(WebCore::AndroidWebHistoryBridge::detachHistoryItem):

3:04 AM QtWebKit/CodeCamp200912 edited by zherczeg@inf.u-szeged.hu
(diff)
2:44 AM Changeset in webkit [51979] by ukai@chromium.org
  • 7 edits in trunk

2009-12-11 Fumitoshi Ukai <ukai@chromium.org>

Reviewed by Pavel Feldman.

Log WebSocket error to Web Inspector console.
https://bugs.webkit.org/show_bug.cgi?id=32165

  • websocket/tests/handshake-error-expected.txt:
  • websocket/tests/handshake-fail-by-cross-origin-expected.txt:
  • websocket/tests/handshake-fail-by-sub-protocol-mismatch-expected.txt:

2009-12-11 Fumitoshi Ukai <ukai@chromium.org>

Reviewed by Pavel Feldman.

Log WebSocket error to Web Inspector console.
https://bugs.webkit.org/show_bug.cgi?id=32165

  • websockets/WebSocketChannel.cpp: (WebCore::WebSocketChannel::didOpen): (WebCore::WebSocketChannel::appendToBuffer):
  • websockets/WebSocketHandshake.cpp: (WebCore::WebSocketHandshake::readServerHandshake): (WebCore::WebSocketHandshake::readHTTPHeaders): (WebCore::WebSocketHandshake::checkResponseHeaders):
2:09 AM QtWebKitFeatures46 edited by Simon Hausmann
(diff)
12:31 AM QtWebKit/CodeCamp200912 edited by abecsi@inf.u-szeged.hu
(diff)
12:06 AM QtWebKit/CodeCamp200912 edited by zecke@selfish.org
add bug links (diff)
Note: See TracTimeline for information about the timeline view.