Timeline
May 7, 2010:
- 11:56 PM Changeset in webkit [59003] by
-
- 1 edit in trunk/WebCore/platform/graphics/win/QTMovieVisualContext.cpp
Fix the windows build.
- 11:27 PM Changeset in webkit [59002] by
-
- 2 edits in trunk/WebCore
Fixed the inverse function of f(x) = ((x + 0.055) / 1.055) 2.4
https://bugs.webkit.org/show_bug.cgi?id=38735
Reviewed by Dirk Schulze
It is ((x (1 / 2.4)) * 1.055) - 0.055
Chromium pixel tests cover the issue.
- platform/graphics/ImageBuffer.cpp:
(WebCore::ImageBuffer::transformColorSpace):
- 11:24 PM Changeset in webkit [59001] by
-
- 14 edits4 copies2 moves10 adds in trunk
JavaScriptCore: Safari pegs CPU and drops tons of frames using HTML5 Vimeo player
<https://bugs.webkit.org/show_bug.cgi?id=34005>
<rdar://problem/7569713>
Reviewed by Maciej Stachowiak
Added cancelCallOnMainThread. callOnMainThread should always now be paired
with cancelCallOnMainThread in situations where the refcon passed to callOnMainThread
may be dealloced before the main thread function can be dispatched.
- wtf/MainThread.cpp:
(WTF::FunctionWithContext::operator == ): Supports the FunctionWithContextFinder predicate functor.
(WTF::FunctionWithContextFinder::FunctionWithContextFinder): Predicate functor for use with Dequeue::findIf
(WTF::FunctionWithContextFinder::operator()):
(WTF::cancelCallOnMainThread):
- wtf/MainThread.h:
WebCore: Safari pegs CPU and drops tons of frames using HTML5 Vimeo player
<https://bugs.webkit.org/show_bug.cgi?id=34005>
<rdar://problem/7569713>
Reviewed by Eric Carlson
The original functionality of QTMovieWin has been split between QTMovieGWorld,
and a new class: QTMovie. QTMovie contains all the "controller" parts (changing
the rate, seeking, etc) while QTMovieGWorld retains all the drawing code. QTMovieGWorld
now takes a QTMovie, and as such QTMovie is now retainable. QTMovieGWorld registers
itself as a client of QTMovie, so that it can receive load-state notifications,
and thus QTMovie must now support multiple clients. Movie tasking timer support
has been moved into its own class (QTMovieTask) and will be addressed in a future
patch. Most of the functions listed below only changed so much as their class name changed.
- platform/graphics/win/QTMovie.cpp: Copied from WebCore/platform/graphics/win/QTMovieWin.cpp.
(QTMoviePrivate::QTMoviePrivate):
(QTMoviePrivate::~QTMoviePrivate):
(QTMoviePrivate::startTask):
(QTMoviePrivate::endTask):
(QTMoviePrivate::task):
(QTMoviePrivate::createMovieController):
(QTMovie::QTMovie):
(QTMovie::~QTMovie):
(QTMovie::addClient):
(QTMovie::removeClient):
(QTMovie::play):
(QTMovie::pause):
(QTMovie::rate):
(QTMovie::setRate):
(QTMovie::duration):
(QTMovie::currentTime):
(QTMovie::setCurrentTime):
(QTMovie::setVolume):
(QTMovie::setPreservesPitch):
(QTMovie::dataSize):
(QTMovie::maxTimeLoaded):
(QTMovie::loadState):
(QTMovie::getNaturalSize):
(QTMovie::load):
(QTMovie::disableUnsupportedTracks):
(QTMovie::isDisabled):
(QTMovie::setDisabled):
(QTMovie::hasVideo):
(QTMovie::hasAudio):
(QTMovie::hasClosedCaptions):
(QTMovie::setClosedCaptionsVisible):
(QTMovie::countSupportedTypes):
(QTMovie::getSupportedType):
(QTMovie::initializeQuickTime):
(QTMovie::getMovieHandle):
- platform/graphics/win/QTMovie.h: Copied from WebCore/platform/graphics/win/QTMovieWin.h.
- platform/graphics/win/QTMovieGWorld.cpp: Copied from WebCore/platform/graphics/win/QTMovieWin.cpp.
(QTMovieGWorldPrivate::QTMovieGWorldPrivate):
(QTMovieGWorldPrivate::~QTMovieGWorldPrivate):
(QTMovieGWorldPrivate::cacheMovieScale):
(movieDrawingCompleteProc):
(QTMovieGWorldPrivate::registerDrawingCallback):
(QTMovieGWorldPrivate::unregisterDrawingCallback):
(QTMovieGWorldPrivate::drawingComplete):
(QTMovieGWorldPrivate::updateGWorld):
(QTMovieGWorldPrivate::createGWorld):
(QTMovieGWorldPrivate::clearGWorld):
(QTMovieGWorldPrivate::setSize):
(QTMovieGWorldPrivate::updateMovieSize):
(QTMovieGWorldPrivate::deleteGWorld):
(QTMovieGWorldPrivate::movieEnded):
(QTMovieGWorldPrivate::movieLoadStateChanged):
(QTMovieGWorldPrivate::movieTimeChanged):
(QTMovieGWorld::QTMovieGWorld):
(QTMovieGWorld::~QTMovieGWorld):
(QTMovieGWorld::setSize):
(QTMovieGWorld::setVisible):
(QTMovieGWorld::getCurrentFrameInfo):
(QTMovieGWorld::paint):
(QTMovieGWorld::setDisabled):
(QTMovieGWorld::isDisabled):
(QTMovieGWorld::fullscreenWndProc):
(QTMovieGWorld::enterFullscreen):
(QTMovieGWorld::exitFullscreen):
(QTMovieGWorld::setMovie):
(QTMovieGWorld::movie):
- platform/graphics/win/QTMovieGWorld.h: Copied from WebCore/platform/graphics/win/QTMovieWin.h.
- platform/graphics/win/QTMovieTask.cpp: Added.
(QTMovieTask::QTMovieTask):
(QTMovieTask::~QTMovieTask):
(QTMovieTask::sharedTask):
(QTMovieTask::updateTaskTimer):
(QTMovieTask::fireTaskClients):
(QTMovieTask::addTaskClient):
(QTMovieTask::removeTaskClient):
(QTMovieTask::setTaskTimerFuncs):
- platform/graphics/win/QTMovieTask.h: Added.
WebKit/win: Safari pegs CPU and drops tons of frames using HTML5 Vimeo player
https://bugs.webkit.org/show_bug.cgi?id=34005
Reviewed by Adele Peterson.
QTMovieWin is now QTMovieGWorld.
- FullscreenVideoController.cpp:
(FullscreenVideoController::movie):
- FullscreenVideoController.h:
- 11:10 PM Changeset in webkit [59000] by
-
- 25 edits1 add3 deletes in trunk
2010-05-06 Eric Seidel <eric@webkit.org>
Reviewed by Daniel Bates.
test-webkitpy fails under cygwin
https://bugs.webkit.org/show_bug.cgi?id=38718
- Scripts/webkitpy/common/system/executive.py:
- Add _KILL_PROCESS_KILLED_PROCESS_EXIT_CODE and _KILL_ALL_KILLED_PROCESS_EXIT_CODE to store the expected exit codes of processes killed by kill_process and kill_all. These two constants are only used by the unit tests but are stored in executive.py so they can be right next to the platform ifs.
- Remove unnecessary str() conversion, run_command does that for us.
- Make os.kill retry on cygwin on EAGAIN. It's unclear why CYGWIN throws EAGAIN, but it only does so sometimes. 3 may not be enough retries, but we'll try it to start with.
- Add _windows_image_name to automatically convert "yes" to "yes.exe" for use with taskkill.exe /im. Various callers to kill_all could be updated to remove the .exe, but that can be done in another patch.
- Use taskkill.exe for killall on cygwin.
- Scripts/webkitpy/common/system/executive_unittest.py:
- Use the new *_KILLED_PROCESS_EXIT_CODE constants which are correctly set to 0 on windows/cygwin systems where taskkill.exe is used.
- Test _windows_image_name
- Scripts/webkitpy/layout_tests/port/chromium_win.py:
- Add FIXME about including mac-snowleopard in baseline_search_path.
- Scripts/webkitpy/layout_tests/port/webkit.py:
- Make default_configuration actually read from the Configuration file.
- Scripts/webkitpy/layout_tests/port/webkit_unittest.py: Added.
- Test default_configuration
- Scripts/webkitpy/layout_tests/port/win.py:
- Need a basic baseline_search_path if --platform dryrun is to work.
- 11:03 PM Changeset in webkit [58999] by
-
- 2 edits in trunk/WebKitTools
2010-05-07 Eric Seidel <eric@webkit.org>
Reviewed by Nikolas Zimmermann.
DryrunTest fails on every platform other than mac
https://bugs.webkit.org/show_bug.cgi?id=38796
The test uses the port detection logic to find a suitable
port to use results from. However that detection logic assumes
chromium on linux, which requires a chromium checkout which the
bots don't have. The test is broken and we'll need to fix it.
For now I'm just going to disable the test on all platforms besides mac.
- Scripts/webkitpy/layout_tests/run_webkit_tests_unittest.py:
- 11:01 PM Changeset in webkit [58998] by
-
- 6 edits in trunk/WebCore
2010-05-07 Eric Uhrhane <ericu@chromium.org>
Reviewed by Dmitry Titov.
JSCallbackData is deleted on the Main thread, not the Context thread.
https://bugs.webkit.org/show_bug.cgi?id=38623
No new tests; you'll only see a problem after the worker-access-to-DB
code goes in. Without this fix, the GTK bots assert, but it's
timing-sensitive and not truly platform-specific.
- bindings/js/JSCallbackData.h: (WebCore::JSCallbackData::JSCallbackData): (WebCore::JSCallbackData::~JSCallbackData): Store the allocating thread, then assert that we're on it at deletion.
(WebCore::DeleteCallbackDataTask):
This is the task that can get posted to the context thread for cleanup.
- bindings/js/JSCustomVoidCallback.cpp:
- bindings/js/JSCustomVoidCallback.h: This callback isn't autogenerated, so we have to do the cleanup manually.
- bindings/scripts/CodeGeneratorJS.pm: Add the proper cleanup to all autogenerated callbacks.
- workers/WorkerThread.cpp: (WebCore::WorkerThreadShutdownFinishTask::performTask): (WebCore::WorkerThreadShutdownStartTask::performTask): WorkerContext::clearScript can't be called until the posted deletion tasks have completed; move the call from shutdown start to shutdown finish.
- 10:51 PM Changeset in webkit [58997] by
-
- 2 edits in trunk/LayoutTests
2010-05-07 Nikolas Zimmermann <nzimmermann@rim.com>
Not reviewed. Attempt to turn Windows bots green again.
Skip two failing tests:
https://bugs.webkit.org/show_bug.cgi?id=38794
fast/css/display-none-inline-style-change-crash.html (fails on Windows Release bot)
https://bugs.webkit.org/show_bug.cgi?id=38795
inspector/timeline-paint.html
- platform/win/Skipped:
- 10:35 PM Changeset in webkit [58996] by
-
- 5 edits in trunk/WebKitTools
2010-05-07 Eric Seidel <eric@webkit.org>
Reviewed by Daniel Bates.
Clean up baseline_search_path to use map to reduce copy/paste code
https://bugs.webkit.org/show_bug.cgi?id=38792
Reading which portnames a port falls back to is easier if
we convert port names to paths with map instead of using copy/paste code.
- Scripts/webkitpy/layout_tests/port/chromium_linux.py:
- Scripts/webkitpy/layout_tests/port/chromium_mac.py:
- Scripts/webkitpy/layout_tests/port/chromium_win.py:
- Scripts/webkitpy/layout_tests/port/mac.py:
- 9:17 PM Changeset in webkit [58995] by
-
- 3 edits in trunk/JavaScriptCore
2010-05-07 Eric Seidel <eric@webkit.org>
Unreviewed, rolling out r58990.
http://trac.webkit.org/changeset/58990
Broke 4 tests on Snow Leopard and Qt.
- jit/JITStubs.cpp: (JSC::DEFINE_STUB_FUNCTION):
- runtime/JSCell.h:
- 9:00 PM Changeset in webkit [58994] by
-
- 3 edits in trunk/WebKitTools
2010-05-07 Eric Seidel <eric@webkit.org>
Reviewed by Daniel Bates.
rollout commands fail when commit is missing bug number
https://bugs.webkit.org/show_bug.cgi?id=38791
- Scripts/webkitpy/tool/commands/download.py:
- _commit_info failed to actually return the CommitInfo in the no-bug-id case.
- Scripts/webkitpy/tool/commands/download_unittest.py:
- Test that the fix worked.
- 8:19 PM Changeset in webkit [58993] by
-
- 3 edits3 adds in trunk
Optimize access to the global object from a function that uses eval
https://bugs.webkit.org/show_bug.cgi?id=38644
Reviewed by Gavin Barraclough.
Fix bug where cross scope access to a global var (vs. property) would
be allowed without checking for intervening dynamic scopes.
- bytecompiler/BytecodeGenerator.cpp:
(JSC::BytecodeGenerator::emitResolve):
LayoutTests:
Add test case to ensure we don't incorrectly allow dynamic scopes
to be skipped when doing direct var access.
- fast/js/global-resolve-through-eval-expected.txt: Added.
- fast/js/global-resolve-through-eval.html: Added.
- fast/js/script-tests/global-resolve-through-eval.js: Added.
(accessGlobal):
(accessLocal):
- 8:16 PM Changeset in webkit [58992] by
-
- 4 edits in trunk/WebCore
2010-05-07 Eric Seidel <eric@webkit.org>
Reviewed by Adam Barth.
Fix JSC binding generation to match webkit style
https://bugs.webkit.org/show_bug.cgi?id=38173
Add spaces around "|" to match webkit style.
- bindings/scripts/CodeGeneratorJS.pm:
- bindings/scripts/test/JS/JSTestObj.cpp:
- 7:49 PM Changeset in webkit [58991] by
-
- 2 edits in trunk/JavaScriptCore
Macro expansion I stab at thee!
32bit test fix
- 7:18 PM Changeset in webkit [58990] by
-
- 3 edits in trunk/JavaScriptCore
Optimized o[s] where o is a cell and s is a string, removing some old
code that wasn't really tuned for the JIT.
Reviewed by Darin Adler.
SunSpider says 0.8% faster.
- jit/JITStubs.cpp:
(JSC::DEFINE_STUB_FUNCTION):
- runtime/JSCell.h:
- 6:27 PM Changeset in webkit [58989] by
-
- 25 edits8 adds in trunk/WebCore
Adding the IDL files for the sync DB API and the stubs for the JS and V8 bindings.
https://bugs.webkit.org/show_bug.cgi?id=34994
Reviewed by Brady Eidson.
- DerivedSources.cpp:
- DerivedSources.make:
- GNUmakefile.am:
- WebCore.gypi:
- WebCore.pri:
- WebCore.pro:
- WebCore.vcproj/WebCore.vcproj:
- WebCore.xcodeproj/project.pbxproj:
- bindings/js/JSBindingsAllInOne.cpp:
- bindings/js/JSDatabaseSyncCustom.cpp: Added.
(WebCore::JSDatabaseSync::changeVersion):
(WebCore::createTransaction):
(WebCore::JSDatabaseSync::transaction):
(WebCore::JSDatabaseSync::readTransaction):
- bindings/js/JSSQLTransactionSyncCustom.cpp: Added.
(WebCore::JSSQLTransactionSync::executeSql):
- bindings/js/JSWorkerContextCustom.cpp:
(WebCore::JSWorkerContext::openDatabaseSync):
- bindings/v8/custom/V8BindingMacros.h: Added.
- bindings/v8/custom/V8DatabaseSyncCustom.cpp: Added.
(WebCore::V8DatabaseSync::changeVersionCallback):
(WebCore::createTransaction):
(WebCore::V8DatabaseSync::transactionCallback):
(WebCore::V8DatabaseSync::readTransactionCallback):
- bindings/v8/custom/V8SQLTransactionSyncCustom.cpp: Added.
(WebCore::V8SQLTransactionSync::executeSqlCallback):
- bindings/v8/custom/V8WorkerContextCustom.cpp:
(WebCore::V8WorkerContext::openDatabaseSyncCallback):
- storage/Database.idl:
- storage/DatabaseCallback.h:
- storage/DatabaseCallback.idl:
- storage/DatabaseSync.cpp:
(WebCore::DatabaseSync::changeVersion):
(WebCore::DatabaseSync::transaction):
- storage/DatabaseSync.h:
- storage/DatabaseSync.idl: Added.
- storage/SQLError.idl:
- storage/SQLResultSet.idl:
- storage/SQLResultSetRowList.idl:
- storage/SQLTransaction.idl:
- storage/SQLTransactionSync.idl: Added.
- storage/SQLTransactionSyncCallback.h:
- storage/SQLTransactionSyncCallback.idl: Added.
- workers/WorkerContext.cpp:
(WebCore::WorkerContext::openDatabaseSync):
- workers/WorkerContext.h:
- workers/WorkerContext.idl:
- 6:05 PM Changeset in webkit [58988] by
-
- 2 edits in trunk/JavaScriptCore
Windows build fix
- 5:51 PM Changeset in webkit [58987] by
-
- 2 edits in trunk/JavaScriptCore
Windows build fix.
- 5:05 PM Changeset in webkit [58986] by
-
- 20 edits in trunk/JavaScriptCore
2010-05-07 Oliver Hunt <oliver@apple.com>
Reviewed by Geoffrey Garen.
Optimize access to the global object from a function that uses eval
https://bugs.webkit.org/show_bug.cgi?id=38644
Add op_resolve_global_dynamic, a variant of op_resolve_global that
checks each node in the scope chain for dynamically inserted properties
and falls back to the normal resolve logic in that case.
- JavaScriptCore.exp:
- bytecode/CodeBlock.cpp: (JSC::isGlobalResolve): (JSC::CodeBlock::printStructures): (JSC::CodeBlock::dump): (JSC::CodeBlock::derefStructures):
- bytecode/Opcode.h:
- bytecompiler/BytecodeGenerator.cpp: (JSC::BytecodeGenerator::findScopedProperty):
Now take an additional reference parameter to used to indicate that
there were nodes that may gain dynamic properties
(JSC::BytecodeGenerator::emitResolve):
(JSC::BytecodeGenerator::emitResolveBase):
(JSC::BytecodeGenerator::emitResolveWithBase):
deal with additional argument to findScopedProperty
- bytecompiler/BytecodeGenerator.h:
- bytecompiler/NodesCodegen.cpp: (JSC::FunctionCallResolveNode::emitBytecode): (JSC::PostfixResolveNode::emitBytecode): (JSC::PrefixResolveNode::emitBytecode): (JSC::ReadModifyResolveNode::emitBytecode): (JSC::AssignResolveNode::emitBytecode):
These functions use findScopedProperty directly in order to
optimise lookup. They cannot trivially handle any degree of
dynamism in the lookup so we just give up in such case.
- interpreter/Interpreter.cpp: (JSC::Interpreter::resolveGlobalDynamic): (JSC::Interpreter::execute): (JSC::Interpreter::privateExecute):
- interpreter/Interpreter.h:
- jit/JIT.cpp: (JSC::JIT::privateCompileMainPass): (JSC::JIT::privateCompileSlowCases):
- jit/JIT.h:
- jit/JITOpcodes.cpp: (JSC::JIT::emit_op_resolve_global): (JSC::JIT::emit_op_resolve_global_dynamic): (JSC::JIT::emitSlow_op_resolve_global): (JSC::JIT::emitSlow_op_resolve_global_dynamic):
Happily resolve_global_dynamic can share the slow case!
- jit/JITStubs.h: (JSC::):
- runtime/JSActivation.cpp: (JSC::JSActivation::isDynamicScope):
- runtime/JSActivation.h:
- runtime/JSGlobalObject.cpp: (JSC::JSGlobalObject::isDynamicScope):
- runtime/JSGlobalObject.h:
- runtime/JSStaticScopeObject.cpp: (JSC::JSStaticScopeObject::isDynamicScope):
- runtime/JSStaticScopeObject.h:
- runtime/JSVariableObject.h:
- 4:53 PM Changeset in webkit [58985] by
-
- 2 edits in trunk/WebKit/chromium
2010-05-07 Darin Fisher <darin@chromium.org>
Fix build bustage. Update to Chromium code that avoids a bad
dependency from net/ on chrome/.
- DEPS:
- 4:51 PM Changeset in webkit [58984] by
-
- 3 edits in trunk/LayoutTests
2010-05-06 Dirk Pranke <dpranke@chromium.org>
Reviewed by Alexey Proskuryakov.
Rewrite test to fail faster if the inner frame doesn't load at all
for some reason (previous version would raise a TypeError before
the timeout was set).
- http/tests/security/sandbox-inherit-to-initial-document-2.html:
- platform/chromium/test_expectations.txt:
- 4:35 PM Changeset in webkit [58983] by
-
- 2 edits in trunk/WebCore
Fix for <rdar://problem/7956972> REGRESSION: Can't focus and type
in GMail due to bad repainting
-and corresponding-
https://bugs.webkit.org/show_bug.cgi?id=38782
Reviewed by Simon Fraser.
This patch reverts back to pre-r58797 behavior when
shouldPropagateCompositingToIFrameParent() is false.
- rendering/RenderLayerBacking.cpp:
(WebCore::RenderLayerBacking::paintingGoesToWindow):
- 4:23 PM Changeset in webkit [58982] by
-
- 8 edits in trunk/WebKit/mac
<rdar://problem/7947356>
QT Plug-in in hardware-accelerated WebKit is missing the controller
Reviewed by Sam Weinig and Simon Fraser.
Replace the useSoftwareRenderer boolean with an enum that lets the plug-in host opt into using a layer
backed NSView instead of inserting the layer into the WebCore layer hierarchy.
- Plugins/Hosted/NetscapePluginHostManager.mm:
(WebKit::NetscapePluginHostManager::instantiatePlugin):
- Plugins/Hosted/NetscapePluginHostProxy.mm:
(WKPCInstantiatePluginReply):
- Plugins/Hosted/NetscapePluginInstanceProxy.h:
(WebKit::NetscapePluginInstanceProxy::rendererType):
(WebKit::NetscapePluginInstanceProxy::setRendererType):
(WebKit::NetscapePluginInstanceProxy::InstantiatePluginReply::InstantiatePluginReply):
- Plugins/Hosted/NetscapePluginInstanceProxy.mm:
(WebKit::NetscapePluginInstanceProxy::NetscapePluginInstanceProxy):
Replace the useSoftwareRenderer boolean everywhere with the RendererType enum.
- Plugins/Hosted/WebHostedNetscapePluginView.mm:
(-[WebHostedNetscapePluginView createPlugin]):
Only go into full compositing mode when the renderer type returned is UseAcceleratedCompositing.
Otherwise, use a layer backed NSView.
- Plugins/Hosted/WebKitPluginHostTypes.h:
Add a RendererType enum.
- 4:15 PM Changeset in webkit [58981] by
-
- 2 edits in trunk/WebKit/chromium
2010-05-07 Darin Fisher <darin@chromium.org>
Fix build bustage. Update to Chromium code that no longer uses
deprecated methods.
- DEPS:
- 4:10 PM Changeset in webkit [58980] by
-
- 1 edit in branches/audio/WebCore/audio/AudioBasicProcessorNode.cpp
Pull more AudioBasicProcessorNode::process() code inside the lock
- 3:55 PM Changeset in webkit [58979] by
-
- 2 edits in branches/audio/WebCore/audio
Fix AudioBasicProcessorNode::inputHasBeenConnected() to allow dynamic re-initialization.
- this requires a lock around process()
- also fix uninitialize() method
- 3:55 PM Changeset in webkit [58978] by
-
- 2 edits in branches/audio/WebCore/audio
Initial rough implementation for buffer source gain - later to be more optimized
- 3:55 PM Changeset in webkit [58977] by
-
- 1 edit in branches/audio/WebCore/audio/AudioResampler.cpp
More descriptive debugging message for resampler channel mismatch
- 3:55 PM Changeset in webkit [58976] by
-
- 2 edits in branches/audio/WebCore/audio
Add temporary mono and stereo processing busses for use by any processing node.
- also change local variables from PassRefPtr to RefPtr
- 3:50 PM Changeset in webkit [58975] by
-
- 2 edits in trunk/WebKitTools
2010-05-07 Darin Fisher <darin@chromium.org>
Fix build bustage: toElement<T> should be to<T>.
- DumpRenderTree/chromium/LayoutTestController.cpp: (LayoutTestController::elementDoesAutoCompleteForElementWithId):
- 3:18 PM Changeset in webkit [58974] by
-
- 2 edits in trunk/JavaScriptCore
Fixed Sputnik failure seen on buildbot.
Reviewed by Gavin Barraclough.
- runtime/NumberPrototype.cpp:
(JSC::numberProtoFuncToString): Cast to unsigned before checking magnitude,
to efficiently exclude negative numbers, which require two characters
instead of one.
- 2:44 PM Changeset in webkit [58973] by
-
- 2 edits in trunk/WebCore
2010-05-07 Sheriff Bot <webkit.review.bot@gmail.com>
Unreviewed, rolling out r58963.
http://trac.webkit.org/changeset/58963
https://bugs.webkit.org/show_bug.cgi?id=38773
Broke Chromium layout tests. (Requested by dcheng on #webkit).
- platform/chromium/DragDataChromium.cpp: (WebCore::DragData::asURL):
- 2:18 PM Changeset in webkit [58972] by
-
- 2 edits6 adds in trunk/LayoutTests
2010-05-07 John Gregg <johnnyg@google.com>
Unreviewed [re-]baseline of chromium tests.
- platform/chromium-linux/fast/frames/take-focus-from-iframe-expected.checksum: Added.
- platform/chromium-linux/fast/frames/take-focus-from-iframe-expected.png: Added.
- platform/chromium-mac/fast/frames/take-focus-from-iframe-expected.checksum: Added.
- platform/chromium-win/fast/frames/take-focus-from-iframe-expected.checksum: Added.
- platform/chromium-win/fast/frames/take-focus-from-iframe-expected.png: Added.
- platform/chromium-win/fast/frames/take-focus-from-iframe-expected.txt: Added.
- platform/chromium-win/svg/hixie/error/017-expected.txt:
- 1:28 PM Changeset in webkit [58971] by
-
- 2 edits in trunk/LayoutTests
2010-05-07 Martin Robinson <mrobinson@igalia.com>
Reviewed by Gustavo Noronha Silva.
Adjust the position of the comment on the WOFF test and
link to the bug report. This should fix a spurious error
while running layout tests.
- platform/gtk/Skipped:
- 1:13 PM Changeset in webkit [58970] by
-
- 2 edits in trunk/JavaScriptCore
Slightly more effective way to guarantee a compile-time constant, at
least on gcc.
Reviewed by Alexey Proskuryakov.
- runtime/NumberPrototype.cpp:
(JSC::numberProtoFuncToString): Use pointer notation instead of array
notation, so the compiler treats the string and its contents as constant.
- 1:13 PM Changeset in webkit [58969] by
-
- 1 edit1 add in trunk/LayoutTests
2010-05-07 Dirk Schulze <krit@webkit.org>
Unreviewed fix of Windows test.
Windows need an platform dependent DRT result for clip-path-referencing-use2.svg,
Win doesn't have console output during DRT.
- platform/win/svg/custom/clip-path-referencing-use2-expected.txt: Added.
- 1:03 PM Changeset in webkit [58968] by
-
- 2 edits in trunk/WebCore
2010-05-07 Martin Robinson <mrobinson@igalia.com>
Reviewed by Gustavo Noronha Silva.
https://bugs.webkit.org/show_bug.cgi?id=38769
ClipboardGtk should write the URL label in the text portion of the DataObject
No tests as this code path is currently unused in the GTK+ port.
- platform/gtk/ClipboardGtk.cpp: (WebCore::ClipboardGtk::writeURL): Write the label to the text portion of the DataObject, instead of the URL.
- 12:57 PM Changeset in webkit [58967] by
-
- 6 edits in trunk/WebKit/chromium
2010-05-07 Darin Fisher <darin@chromium.org>
Reviewed by Dimitri Glazkov.
[chromium] clear out more deprecated methods that are no longer used
https://bugs.webkit.org/show_bug.cgi?id=38702
- public/WebFrame.h:
- public/WebNode.h:
- src/WebFrameImpl.cpp:
- src/WebFrameImpl.h:
- src/WebNode.cpp:
- 12:56 PM Changeset in webkit [58966] by
-
- 2 edits1 add in trunk/JavaScriptCore
2010-05-07 Adam Barth <abarth@webkit.org>
Reviewed by Alexey Proskuryakov.
[WTFURL] Add core URL parser
https://bugs.webkit.org/show_bug.cgi?id=38572
This patch adds the core of the URL parser. The URL parser uses a
templated notion of a code unit to support different string types.
Later we'll add some non-templated APIs with concrete types that
clients can use more conveniently.
The URLParser has a couple calls to ASSERT(), which I've commented out
for now. I'm not 100% sure how to handle the dependency issues there
yet, so I've punted on the issue for now.
Also, there are a number of methods that are declared public in this
patch that are only used by the canonicalizer. My plan is to make
those private or protected and make the canonicalizer a friend of the
parser. The details will be in a later patch.
- wtf/url/src/URLComponent.h: (WTF::URLComponent::fromRange): (WTF::URLComponent::isNonEmpty): (WTF::URLComponent::isEmptyOrInvalid):
- wtf/url/src/URLParser.h: Added. (WTF::URLParser::): (WTF::URLParser::isPossibleAuthorityTerminator): (WTF::URLParser::parseAuthority): (WTF::URLParser::extractScheme): (WTF::URLParser::parseAfterScheme): (WTF::URLParser::parseStandardURL): (WTF::URLParser::parsePath): (WTF::URLParser::parsePathURL): (WTF::URLParser::parseMailtoURL): (WTF::URLParser::parsePort): (WTF::URLParser::extractFileName): (WTF::URLParser::extractQueryKeyValue): (WTF::URLParser::isURLSlash): (WTF::URLParser::shouldTrimFromURL): (WTF::URLParser::trimURL): (WTF::URLParser::consecutiveSlashes): (WTF::URLParser::isPortDigit): (WTF::URLParser::nextAuthorityTerminator): (WTF::URLParser::parseUserInfo): (WTF::URLParser::parseServerInfo):
- 12:35 PM Changeset in webkit [58965] by
-
- 10 edits in trunk
2010-05-07 Nikolas Zimmermann <nzimmermann@rim.com>
Reviewed by Dirk Schulze.
RenderSVGResourceClipper assigns a temporary mutated RenderStyle but does not correctly preserve the old style
https://bugs.webkit.org/show_bug.cgi?id=38767
Fix small logic error leading to a problem in RenderSVGResourceClipper. It assigns a new temporary RenderStyle
to the target object, but fails to reset it correctly to the old style. Fixes all svg/clip-path errors on the windows bots.
- rendering/RenderSVGResourceClipper.cpp: (WebCore::RenderSVGResourceClipper::createClipData):
2010-05-07 Nikolas Zimmermann <nzimmermann@rim.com>
Reviewed by Dirk Schulze.
RenderSVGResourceClipper assigns a temporary mutated RenderStyle but does not correctly preserve the old style
https://bugs.webkit.org/show_bug.cgi?id=38767
Update baseline after fixing a logic error in RenderSVGResourceClipper.
- platform/mac/svg/clip-path/clip-path-child-clipped-expected.txt:
- platform/mac/svg/clip-path/clip-path-childs-clipped-expected.txt:
- platform/mac/svg/clip-path/clip-path-clipped-expected.txt:
- platform/mac/svg/clip-path/clip-path-evenodd-expected.txt:
- platform/mac/svg/clip-path/clip-path-evenodd-nonzero-expected.txt:
- platform/mac/svg/clip-path/clip-path-nonzero-evenodd-expected.txt:
- platform/mac/svg/clip-path/clip-path-text-and-shape-expected.txt:
- 12:30 PM Changeset in webkit [58964] by
-
- 2 edits in trunk/JavaScriptCore
Added a fast path for number-to-character conversion via
Number.prototype.toString base 36.
Reviewed by Oliver Hunt.
0.7% speedup on SunSpider.
- runtime/NumberPrototype.cpp:
(JSC::numberProtoFuncToString): Made radix interpretation a little more
efficient by keeping it in int space. Turned "const char" into
"static const char" just in case. Added a fast path for base 36
conversion of something that will turn into a character.
- 12:23 PM Changeset in webkit [58963] by
-
- 2 edits in trunk/WebCore
Add a few more files with Windows linefeeds to the .gitattributes file.
Patch by Simon Hausmann <simon.hausmann@nokia.com> on 2010-05-07
- .gitattributes:
- 11:46 AM Changeset in webkit [58962] by
-
- 2 edits in trunk/WebCore
2010-05-07 Simon Fraser <Simon Fraser>
Reviewed by Dan Bernstein.
Fix debug-only render tree output to show object addresses in hex.
- rendering/RenderTreeAsText.cpp: (WebCore::writeRenderObject): (WebCore::write):
- 11:40 AM Changeset in webkit [58961] by
-
- 3 edits4 adds in trunk
Reviewed by Adele Peterson.
https://bugs.webkit.org/show_bug.cgi?id=38546
Node.focus() fails to move focus from subframe properly
Test: fast/frames/take-focus-from-iframe.html
- html/HTMLFrameElementBase.cpp: (WebCore::HTMLFrameElementBase::setFocus): Don't clear focus if this frame doesn't have it. This can happen if page's and HTMLFrameElement's ideas of focused frame get out of sync temporarily.
- 11:24 AM Changeset in webkit [58960] by
-
- 9 edits in trunk
2010-05-07 Nikolas Zimmermann <nzimmermann@rim.com>
Reviewed by Dirk Schulze.
svg/custom/use-instanceRoot-as-event-target.xhtml crashes randomly
https://bugs.webkit.org/show_bug.cgi?id=37798
When creating JSEventListeners through attributes (onclick, etc..) or add/removeEventListener
calls on a SVGElementInstance, do NOT pass the element instance itself as JS wrapper object
but the correspondingElement(). SVGElementInstance redirects all event listener registrations
to the correspondingElement(), as they share an event listener list, per SVG spec. The old
code was very dangerous, leading to random assertions, when garbage collection teared down
the JSSVGElementInstance and event listeners fired, whose listeners were registered with
it, but residing in the correspondingElement() event listener list.
Removes the need for CustomToJS code for JSSVGElementInstance, which was wrong anyways. We hoped
to keep the event listeers alive by just creating a js wrapper of the correspondingElement(), that
could only work as long as garbage collection didn't tear it down, just luck. Also remove the
CustomPushEventHandlerScope marker, as it is only used for JSLazyEventListeners and only works
for JSNode derived objects, it was a no-op for SVGElementInstance, thus removed it.
Should fix all random crashes/assertions seen with svg/custom/use-instanceRoot-as-event-target.xhtml
See bug report for a detailed crash analysis.
- bindings/js/JSSVGElementInstanceCustom.cpp: Remove custom toJS()/pushEventHandlerScope() handling, not necessary anymore. (WebCore::JSSVGElementInstance::markChildren):
- bindings/scripts/CodeGeneratorJS.pm: For JSSVGElementInstance pass the correspondingElement() as JS wrapper object, not itself.
- svg/SVGElementInstance.cpp: (WebCore::SVGElementInstance::invalidateAllInstancesOfElement): Be sure to trigger a style update here, so dirty shadow trees for <use> get rebuild. Otherwhise DOM may be out-of-sync. (WebCore::SVGElementInstance::eventTargetData): Add ASSERT_NOT_REACHED(), all event listener calls are forwarded to the correspondingElement(). (WebCore::SVGElementInstance::ensureEventTargetData): Ditto.
- svg/SVGElementInstance.idl: Remove CustomToJS, CustomPushEventHandlerScope markers.
2010-05-07 Nikolas Zimmermann <nzimmermann@rim.com>
Reviewed by Dirk Schulze.
svg/custom/use-instanceRoot-as-event-target.xhtml crashes randomly
https://bugs.webkit.org/show_bug.cgi?id=37798
Make use-instanceRoot-as-event-target.xhtml behave more correctly. Due a copy & paste problem test #7 was not executed. Fixed.
Make destruction more reliable, by using the standard js-test-post.js injection through <script> before calling notifyDone(), and "TEST COMPLETE" magically appears.
- platform/mac/svg/hixie/error/017-expected.txt: Update result, now that invalidateAllInstancesOfElement(), correctly triggers <use> shadow tree rebuilds.
- svg/custom/use-instanceRoot-as-event-target-expected.txt: Update result, was missing a "TEST COMPLETE" marker, and Test #7 was not executed before.
- svg/custom/use-instanceRoot-as-event-target.xhtml: Fix typo, test #7 is now executed, it also had a bug which has been corrected.
- 11:20 AM Changeset in webkit [58959] by
-
- 1 edit1 add in trunk/JavaScriptCore
2010-05-07 Adam Barth <abarth@webkit.org>
Reviewed by Darin Fisher.
[WTFURL] Add a malloc-backed URLBuffer
https://bugs.webkit.org/show_bug.cgi?id=38694
This patch adds a URLBuffer that uses new/delete to manage the backing
store for the buffer.
- wtf/url/src/RawURLBuffer.h: Added. (WTF::RawURLBuffer::RawURLBuffer): (WTF::RawURLBuffer::~RawURLBuffer): (WTF::RawURLBuffer::resize):
- 11:05 AM Changeset in webkit [58958] by
-
- 2 edits in trunk/WebKit/chromium
2010-05-07 Finnur Thorarinsson <finnur.webkit@gmail.com>
Reviewed by Dimitri Glazkov.
[chromium]: Fixing Find in page crash on sites.google.com
https://bugs.webkit.org/show_bug.cgi?id=38591
setMarkerActive should not try to set a collapsed marker as
active. This can happen when you Edit a Sites page after doing
a Find operation and then you press FindNext.
- src/WebFrameImpl.cpp: (WebKit::WebFrameImpl::setMarkerActive):
- 10:52 AM Changeset in webkit [58957] by
-
- 38 edits4 adds in trunk
2010-05-06 Kenneth Russell <kbr@google.com>
Reviewed by Dimitri Glazkov.
WebCore::WebGLUnsignedIntArrayInternal::getCallback ReadAV@Arbitrary (deef89ee3d0345edebeaf13cf974c47c)
https://bugs.webkit.org/show_bug.cgi?id=38039
Web IDL now allows indexed getters and setters to be unnamed. Per
discussion in WebGL working group and recent update to spec,
removed the buggy get() and single-element set() methods from the
JavaScript bindings to the WebGL array types. Refactored set()
implementation in JSC bindings to share more code and modified V8
binding to look more like it. Added unit tests for indexed getter
with out-of-range indices and verifying removal of get and
single-element set methods. Updated existing WebGL array tests.
Tests: fast/canvas/webgl/array-get-and-set-method-removal.html
fast/canvas/webgl/array-get-out-of-bounds.html
- bindings/js/JSWebGLArrayHelper.h: (WebCore::setWebGLArrayHelper):
- bindings/js/JSWebGLByteArrayCustom.cpp: (WebCore::JSWebGLByteArray::set):
- 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::setWebGLArrayHelper):
- bindings/v8/custom/V8WebGLByteArrayCustom.cpp: (WebCore::V8WebGLByteArray::setCallback):
- bindings/v8/custom/V8WebGLFloatArrayCustom.cpp: (WebCore::V8WebGLFloatArray::setCallback):
- bindings/v8/custom/V8WebGLIntArrayCustom.cpp: (WebCore::V8WebGLIntArray::setCallback):
- bindings/v8/custom/V8WebGLShortArrayCustom.cpp: (WebCore::V8WebGLShortArray::setCallback):
- bindings/v8/custom/V8WebGLUnsignedByteArrayCustom.cpp: (WebCore::V8WebGLUnsignedByteArray::setCallback):
- bindings/v8/custom/V8WebGLUnsignedIntArrayCustom.cpp: (WebCore::V8WebGLUnsignedIntArray::setCallback):
- bindings/v8/custom/V8WebGLUnsignedShortArrayCustom.cpp: (WebCore::V8WebGLUnsignedShortArray::setCallback):
- html/canvas/WebGLByteArray.h:
- html/canvas/WebGLByteArray.idl:
- html/canvas/WebGLFloatArray.h:
- html/canvas/WebGLFloatArray.idl:
- html/canvas/WebGLIntArray.h:
- html/canvas/WebGLIntArray.idl:
- html/canvas/WebGLShortArray.h:
- html/canvas/WebGLShortArray.idl:
- html/canvas/WebGLUnsignedByteArray.h:
- html/canvas/WebGLUnsignedByteArray.idl:
- html/canvas/WebGLUnsignedIntArray.h:
- html/canvas/WebGLUnsignedIntArray.idl:
- html/canvas/WebGLUnsignedShortArray.h:
- html/canvas/WebGLUnsignedShortArray.idl:
2010-05-06 Kenneth Russell <kbr@google.com>
Reviewed by Dimitri Glazkov.
WebCore::WebGLUnsignedIntArrayInternal::getCallback ReadAV@Arbitrary (deef89ee3d0345edebeaf13cf974c47c)
https://bugs.webkit.org/show_bug.cgi?id=38039
Web IDL now allows indexed getters and setters to be unnamed. Per
discussion in WebGL working group and recent update to spec,
removed the buggy get() and single-element set() methods from the
JavaScript bindings to the WebGL array types. Refactored set()
implementation in JSC bindings to share more code and modified V8
binding to look more like it. Added unit tests for indexed getter
with out-of-range indices and verifying removal of get and
single-element set methods. Updated existing WebGL array tests.
- fast/canvas/webgl/array-get-and-set-method-removal-expected.txt: Added.
- fast/canvas/webgl/array-get-and-set-method-removal.html: Added.
- fast/canvas/webgl/array-get-out-of-bounds-expected.txt: Added.
- fast/canvas/webgl/array-get-out-of-bounds.html: Added.
- fast/canvas/webgl/array-setters-expected.txt:
- fast/canvas/webgl/array-setters.html:
- fast/canvas/webgl/array-unit-tests-expected.txt:
- fast/canvas/webgl/array-unit-tests.html:
- fast/canvas/webgl/bug-32456-expected.txt:
- fast/canvas/webgl/bug-32456.html:
- 10:32 AM Changeset in webkit [58956] by
-
- 2 edits in trunk/WebCore
2010-05-07 Pavel Feldman <pfeldman@chromium.org>
Not reviewed: chromium dev tools tests fix.
Add a more strict check prior to accessing constructor property in
Web Inspector frontend.
- inspector/front-end/InjectedScript.js: (injectedScriptConstructor):
- 10:30 AM Changeset in webkit [58955] by
-
- 3 edits in trunk/LayoutTests
2010-05-07 John Gregg <johnnyg@google.com>
Unreviewed, rebaseline for chromium.
- platform/chromium-mac/fast/layers/video-layer-expected.checksum:
- platform/chromium-mac/fast/layers/video-layer-expected.png:
- 10:03 AM Changeset in webkit [58954] by
-
- 3 edits in trunk/WebCore
2010-05-07 Pavel Feldman <pfeldman@chromium.org>
Reviewed by Joseph Pecoraro.
Web Inspector: On Linux/Windows panel history is
traversed while iterating over words in text prompt.
- inspector/front-end/TextPrompt.js: (WebInspector.TextPrompt):
- inspector/front-end/inspector.js: (WebInspector.documentKeyDown):
- 9:59 AM Changeset in webkit [58953] by
-
- 2 edits in trunk/WebCore
2010-05-07 Pavel Feldman <pfeldman@chromium.org>
Reviewed by Timothy Hatcher.
Web Inspector: come up with InjectedScript._className that works for both JSC and V8.
- inspector/front-end/InjectedScript.js: (injectedScriptConstructor):
- 9:32 AM Changeset in webkit [58952] by
-
- 17 edits in trunk/LayoutTests
2010-05-07 John Gregg <johnnyg@google.com>
Unreviewed, rebaseline for chromium.
- platform/chromium-mac/media/audio-controls-rendering-expected.checksum:
- platform/chromium-mac/media/audio-controls-rendering-expected.png:
- platform/chromium-mac/media/controls-after-reload-expected.checksum:
- platform/chromium-mac/media/controls-after-reload-expected.png:
- platform/chromium-mac/media/controls-strict-expected.checksum:
- platform/chromium-mac/media/controls-strict-expected.png:
- platform/chromium-mac/media/video-controls-rendering-expected.checksum:
- platform/chromium-mac/media/video-controls-rendering-expected.png:
- platform/chromium-mac/media/video-display-toggle-expected.checksum:
- platform/chromium-mac/media/video-display-toggle-expected.png:
- platform/chromium-mac/media/video-empty-source-expected.checksum:
- platform/chromium-mac/media/video-empty-source-expected.png:
- platform/chromium-mac/media/video-no-audio-expected.checksum:
- platform/chromium-mac/media/video-no-audio-expected.png:
- platform/chromium-mac/media/video-volume-slider-expected.checksum:
- platform/chromium-mac/media/video-volume-slider-expected.png:
- 8:54 AM Changeset in webkit [58951] by
-
- 6 edits in trunk/WebKitTools
Refactored VCSUtils.pm's parse-related methods to leave inapplicable
hash values unset instead of setting them to "undef".
Reviewed by Daniel Bates.
https://bugs.webkit.org/show_bug.cgi?id=38724
Preferring "not set" over "undef" keeps the unit tests smaller and
easier to maintain. Otherwise, we would have to update every unit
test case each time we add support for a new key-value pair --
instead of just the relevant ones.
- Scripts/VCSUtils.pm:
- In parseGitDiffHeader(), adjusted the handling of these key-values: executableBitDelta and isBinary.
- In parseSvnDiffHeader(), adjusted the handling of these key-values: copiedFromPath, isBinary, and sourceRevision.
- In parseDiffHeader(), adjusted the handling of these key-values: isGit and isSvn.
- In parseDiff(), adjusted the handling of these key-values: isBinary, isGit, isSvn, and sourceRevision.
- Scripts/webkitperl/VCSUtils_unittest/parseDiff.pl:
- Updated the unit tests as necessary.
- Scripts/webkitperl/VCSUtils_unittest/parseDiffHeader.pl:
- Updated the unit tests as necessary.
- Scripts/webkitperl/VCSUtils_unittest/parseGitDiffHeader.pl:
- Updated the unit tests as necessary.
- Scripts/webkitperl/VCSUtils_unittest/parseSvnDiffHeader.pl:
- Updated the unit tests as necessary.
- 8:42 AM Changeset in webkit [58950] by
-
- 4 edits1 add in trunk/WebCore
2010-05-07 Joseph Pecoraro <Joseph Pecoraro>
Reviewed by Adam Barth.
document.write is not synchronous after page load
https://bugs.webkit.org/show_bug.cgi?id=38146
If there are no pending scripts, a document.write call should be
synchronous. This matches other browsers and the HTML5 spec. Forcing
the tokenizer to be synchronous in Document::write does not affect
external scripts written by the write call. This should only change
behavior of document.write after the page is done loading.
Difficult to test reliably due to HTMLTokenizing relying on processing time.
I made a manual test because the test requires processing very large strings
synchronously and therefore can take some time.
Test: WebCore/manual-tests/dom/document-write-synchronous-after-page-load.html
- dom/Document.cpp: (WebCore::SynchronousHTMLTokenizerGuard::SynchronousHTMLTokenizerGuard): if the provided tokenizer is an HTMLTokenizer make it synchronous (WebCore::SynchronousHTMLTokenizerGuard::~SynchronousHTMLTokenizerGuard): if the provided tokenizer was an HTMLTokenizer return its synchronous state (WebCore::Document::write): temporarily set the tokenizer to synchronous during document.write
- dom/Tokenizer.h: (WebCore::Tokenizer::asHTMLTokenizer): default implementation returns 0, to be overridden by HTMLTokenizer
- html/HTMLTokenizer.h: allow access to to the force synchronous state (WebCore::HTMLTokenizer::forceSynchronous): accessor (WebCore::HTMLTokenizer::asHTMLTokenizer): override the default to return itself
- manual-tests/dom/document-write-synchronous-after-page-load.html: Added.
- 8:15 AM QtWebKitJournal edited by
- (diff)
- 8:13 AM Changeset in webkit [58949] by
-
- 2 edits in trunk/WebCore
[Qt] Fix rendering of -webkit-user-select: none
Reviewed by Simon Hausmann.
-webkit-user-select: none is implemented by filling
the area with an invalid default-constructed Color.
In most ports passing an invalid color down to the
graphics backend seems to produce transparent fills.
In Qt the behavior of painting with an invalid QColor
is undefined, and in practice it results in painting
black opaque areas.
One way to fix this would be to use Qt::transparent
when converting an undefined Color to a QColor, but
Qt does not have short circuits for fully transparent
painting, and we actually end up in slow code paths
due to the transparency. So, we're better of doing the
short circuit in WebKit.
https://bugs.webkit.org/show_bug.cgi?id=38523
- platform/graphics/qt/GraphicsContextQt.cpp:
- 8:04 AM Changeset in webkit [58948] by
-
- 2 edits in trunk/WebCore
2010-05-07 Ben Murdoch <benm@google.com>
Reviewed by Darin Adler.
Potential crash in EventHandler::handleTouchEvent
https://bugs.webkit.org/show_bug.cgi?id=38646
Fix a ref counting bug that can cause a crash if the m_originatingouchPointTargets
hashmap holds the last ref to an EventTarget when the user lifts their finger.
This is very hard to reproduce in a consistent way and clearly a
simple logic error in the code, therefore no new tests.
- page/EventHandler.cpp: (WebCore::EventHandler::handleTouchEvent): Don't let the RefPtr we get back from
the hasmap go out of scope so soon as it could delete the wrapped ptr if the
hashmap held the last ref (and we use the raw ptr that the RefPtr
wraps later in the WebCore::Touch constructor).
- 8:03 AM Changeset in webkit [58947] by
-
- 2 edits in trunk
Add a few more files with Windows linefeeds to the .gitattributes file.
- .gitattributes:
- 7:08 AM Changeset in webkit [58946] by
-
- 2 edits in trunk/WebCore
2010-05-07 Gustavo Noronha Silva <gustavo.noronha@collabora.co.uk>
Rubber-stamped by Kenneth Rohde Christiansen.
[GTK] Fails to build on GTK+ < 2.14
https://bugs.webkit.org/show_bug.cgi?id=38746
Build fix only. Do basically the same as gtk_adjustment_configure
would do if we are bellow GTK+ 2.14.
- platform/gtk/ScrollViewGtk.cpp: (WebCore::AdjustmentConfigure):
- 6:43 AM Changeset in webkit [58945] by
-
- 2 edits in trunk/WebCore
2010-05-07 Gustavo Noronha Silva <gustavo.noronha@collabora.co.uk>
Rubber-stamped by Xan Lopez.
Crash with MgOpenModerna font, with non-UTF-8 character
https://bugs.webkit.org/show_bug.cgi?id=37795
NULL-check the font platform data, for now, to avoid the crash.
Could not yet figure out a way to get a test written that does not
involve adding the font to the tree, but there are doubts about
licensing.
- platform/graphics/cairo/FontCacheCairo.cpp: (WebCore::FontCache::getFontDataForCharacters):
- 5:33 AM Changeset in webkit [58944] by
-
- 2 edits in trunk/LayoutTests
2010-05-07 Nikolas Zimmermann <nzimmermann@rim.com>
Not reviewed. Turn Tiger core builder green again, filed https://bugs.webkit.org/show_bug.cgi?id=38743 for failing webarchive/test-link-rel-icon.html.
- platform/mac-tiger/Skipped:
- 5:31 AM Changeset in webkit [58943] by
-
- 6 edits in trunk/WebCore
2010-05-07 MORITA Hajime <morrita@google.com>
Reviewed by Eric Seidel.
[Chromium] RenderThemeChromiumMac.mm should share the code with RenderThemeMac.mm
https://bugs.webkit.org/show_bug.cgi?id=37204
Made RenderThemeChromiumMac subclass of RenderThemeMac, instead of RenderTheme.
Added some method to RenderThemeMac for overriding on RenderThemeChromiumMac.
No new tests; Should have no behavioural change.
- WebCore.gyp/WebCore.gyp:
- rendering/RenderThemeChromiumMac.h:
- rendering/RenderThemeChromiumMac.mm: (WebCore::RenderThemeChromiumMac::usesTestModeFocusRingColor): (WebCore::RenderThemeChromiumMac::documentViewFor): (WebCore::RenderThemeChromiumMac::adjustMediaSliderThumbSize): (WebCore::RenderThemeChromiumMac::paintMediaVolumeSliderTrack): (WebCore::RenderThemeChromiumMac::paintMediaVolumeSliderThumb):
- rendering/RenderThemeMac.h: (WebCore::RenderThemeMac::updateActiveState): Added for overriding
- rendering/RenderThemeMac.mm: (WebCore::RenderThemeMac::usesTestModeFocusRingColor): Added for overriding (WebCore::RenderThemeMac::documentViewFor): Added for overriding (WebCore::RenderThemeMac::paintMenuList): (WebCore::RenderThemeMac::setPopupButtonCellState): (WebCore::RenderThemeMac::paintSliderThumb): (WebCore::RenderThemeMac::paintSearchField): (WebCore::RenderThemeMac::setSearchCellState): (WebCore::RenderThemeMac::paintSearchFieldCancelButton): (WebCore::RenderThemeMac::paintSearchFieldResultsDecoration): (WebCore::RenderThemeMac::paintSearchFieldResultsButton): (WebCore::RenderThemeMac::adjustSliderThumbSize): (WebCore::RenderThemeMac::adjustMediaSliderThumbSize): Added for overriding (WebCore::RenderThemeMac::extraMediaControlsStyleSheet):
- 4:53 AM Changeset in webkit [58942] by
-
- 2 edits in trunk/WebKit/qt
Symbian build fix.
[Qt] Updated the def file with absent exports.
- symbian/eabi/QtWebKitu.def:
- 12:32 AM Changeset in webkit [58941] by
-
- 5 edits in trunk
2010-05-06 Fumitoshi Ukai <ukai@chromium.org>
Reviewed by Alexey Proskuryakov.
JavaScriptCore/wtf/RandomNumber.h should provide using WTF::*
https://bugs.webkit.org/show_bug.cgi?id=38719
- wtf/RandomNumber.h: Add using directives.
2010-05-06 Fumitoshi Ukai <ukai@chromium.org>
Reviewed by Alexey Proskuryakov.
JavaScriptCore/wtf/RandomNumber.h should provide using WTF::*
https://bugs.webkit.org/show_bug.cgi?id=38719
- platform/graphics/wince/FontCustomPlatformData.cpp: (WebCore::createUniqueFontName):
- Remove WTF
- prefix from randomNumber()
- platform/network/FormDataBuilder.cpp: (WebCore::FormDataBuilder::generateUniqueBoundaryString): Ditto.
May 6, 2010:
- 11:42 PM Changeset in webkit [58940] by
-
- 2 edits in trunk/WebKitTools
Exclude leaks due to <rdar://problem/7815391> from the output.
Rubber-stamped by Dan Bernstein.
- Scripts/old-run-webkit-tests:
- 11:22 PM Changeset in webkit [58939] by
-
- 2 edits in trunk/JavaScriptCore
2010-05-06 Laszlo Gombos <Laszlo Gombos>
Reviewed by Kenneth Rohde Christiansen.
[Qt] Enable YARR_JIT for X86 Mac for QtWebKit
https://bugs.webkit.org/show_bug.cgi?id=38668
- wtf/Platform.h:
- 11:18 PM Changeset in webkit [58938] by
-
- 2 edits in trunk/LayoutTests
Skip compositing/layer-creation/overflow-scroll-overlap.html from r58936, since hardware
compositing is disabled on the Leopard test bot.
- platform/mac-leopard/Skipped:
- 10:12 PM Changeset in webkit [58937] by
-
- 4 edits3 adds in trunk
2010-04-27 Tony Chang <tony@chromium.org>
Reviewed by Eric Seidel.
[chromium] clicking a scrollbar in an iframe shouldn't lose the selection
https://bugs.webkit.org/show_bug.cgi?id=38189
- fast/events/mousedown-in-subframe-scrollbar-expected.txt: Added.
- fast/events/mousedown-in-subframe-scrollbar.html: Added.
- fast/events/resources/mousedown-in-subframe-scrollbar.html: Added.
- platform/win/Skipped:
2010-04-27 Tony Chang <tony@chromium.org>
Reviewed by Eric Seidel.
[chromium] clicking a scrollbar in an iframe shouldn't lose the selection
https://bugs.webkit.org/show_bug.cgi?id=38189
Test: fast/events/mousedown-in-subframe-scrollbar.html
- page/chromium/EventHandlerChromium.cpp: (WebCore::EventHandler::passMousePressEventToSubframe): If clicking on
a scrollbar, pass the event directly to the scrollbar. This matches
mac which passes the event to the NSScroller.
- 10:04 PM Changeset in webkit [58936] by
-
- 3 edits3 adds in trunk
2010-05-06 Simon Fraser <Simon Fraser>
Reviewed by Dan Bernstein.
Compositing layers that are clipped out by an overflow:scroll parent fail to get created on reveal
https://bugs.webkit.org/show_bug.cgi?id=38712
When compositing layer creation is testing layer overlap, we need to re-run the
algorithm when an overflow:scroll element scrolls, to create new layers for revealed
elements.
Test: compositing/layer-creation/overflow-scroll-overlap.html
- rendering/RenderLayer.cpp: (WebCore::RenderLayer::scrollToOffset): First, move the compositing updates until after the call to updateWidgetPositions(), so that this order is similar to what we done when a FrameView scrolls. This change has no known side effects. Second, if compositingConsultsOverlap() is true, we need to actually do a compositing layer update to compute whether revealed/hidden layers should be created/destroyed.
- 9:58 PM Changeset in webkit [58935] by
-
- 5 edits1 add in trunk/JavaScriptCore
Bug 38714 - Add result caching for Math.sin
Reviewed by Geoff Garen.
Math.sin is frequently called with the same operand, caching the result should
improve performance. CachedTranscendentalFunction adds a generic mechanism to
cache results for pure functions with the signature "double func(double)", and
where NaN maps to NaN.
CachedTranscendentalFunction uses a very simple hash function designed to be
fast to execute since we cannot cache the result, and trivial to JIT generate,
should we wish to do so.
- JavaScriptCore.xcodeproj/project.pbxproj:
- runtime/CachedTranscendentalFunction.h: Added.
(JSC::CachedTranscendentalFunction::CachedTranscendentalFunction):
(JSC::CachedTranscendentalFunction::~CachedTranscendentalFunction):
(JSC::CachedTranscendentalFunction::operator()):
(JSC::CachedTranscendentalFunction::initialize):
(JSC::CachedTranscendentalFunction::hash):
- runtime/JSGlobalData.h:
- runtime/MathObject.cpp:
(JSC::mathProtoFuncSin):
- wtf/Platform.h:
- 9:51 PM Changeset in webkit [58934] by
-
- 6 edits5 copies30 adds in trunk/WebKitTools
2010-05-06 Sheriff Bot <webkit.review.bot@gmail.com>
Unreviewed, rolling out r58933.
http://trac.webkit.org/changeset/58933
https://bugs.webkit.org/show_bug.cgi?id=38717
"Broke all websocket tests on Tiger" (Requested by eseidel on
#webkit).
- Scripts/new-run-webkit-websocketserver:
- Scripts/old-run-webkit-tests:
- Scripts/run-webkit-websocketserver:
- Scripts/webkitpy/layout_tests/port/websocket_server.py:
- Scripts/webkitpy/thirdparty/init.py:
- Scripts/webkitpy/thirdparty/pywebsocket/COPYING: Added.
- Scripts/webkitpy/thirdparty/pywebsocket/MANIFEST.in: Added.
- Scripts/webkitpy/thirdparty/pywebsocket/README: Added.
- Scripts/webkitpy/thirdparty/pywebsocket/README.webkit: Added.
- Scripts/webkitpy/thirdparty/pywebsocket/example/echo_client.py: Added.
- Scripts/webkitpy/thirdparty/pywebsocket/example/echo_wsh.py: Added.
- Scripts/webkitpy/thirdparty/pywebsocket/example/handler_map.txt: Added.
- Scripts/webkitpy/thirdparty/pywebsocket/mod_pywebsocket/init.py: Added.
- Scripts/webkitpy/thirdparty/pywebsocket/mod_pywebsocket/dispatch.py: Added.
- Scripts/webkitpy/thirdparty/pywebsocket/mod_pywebsocket/handshake.py: Added.
- Scripts/webkitpy/thirdparty/pywebsocket/mod_pywebsocket/headerparserhandler.py: Added.
- Scripts/webkitpy/thirdparty/pywebsocket/mod_pywebsocket/memorizingfile.py: Added.
- Scripts/webkitpy/thirdparty/pywebsocket/mod_pywebsocket/msgutil.py: Added.
- Scripts/webkitpy/thirdparty/pywebsocket/mod_pywebsocket/standalone.py: Added.
- Scripts/webkitpy/thirdparty/pywebsocket/mod_pywebsocket/util.py: Added.
- Scripts/webkitpy/thirdparty/pywebsocket/setup.py: Added.
- Scripts/webkitpy/thirdparty/pywebsocket/test/config.py: Added.
- Scripts/webkitpy/thirdparty/pywebsocket/test/mock.py: Added.
- Scripts/webkitpy/thirdparty/pywebsocket/test/run_all.py: Added.
- Scripts/webkitpy/thirdparty/pywebsocket/test/test_dispatch.py: Added.
- Scripts/webkitpy/thirdparty/pywebsocket/test/test_handshake.py: Added.
- Scripts/webkitpy/thirdparty/pywebsocket/test/test_memorizingfile.py: Added.
- Scripts/webkitpy/thirdparty/pywebsocket/test/test_mock.py: Added.
- Scripts/webkitpy/thirdparty/pywebsocket/test/test_msgutil.py: Added.
- Scripts/webkitpy/thirdparty/pywebsocket/test/test_util.py: Added.
- Scripts/webkitpy/thirdparty/pywebsocket/test/testdata/README: Added.
- Scripts/webkitpy/thirdparty/pywebsocket/test/testdata/handlers/blank_wsh.py: Added.
- Scripts/webkitpy/thirdparty/pywebsocket/test/testdata/handlers/origin_check_wsh.py: Added.
- Scripts/webkitpy/thirdparty/pywebsocket/test/testdata/handlers/sub/exception_in_transfer_wsh.py: Added.
- Scripts/webkitpy/thirdparty/pywebsocket/test/testdata/handlers/sub/no_wsh_at_the_end.py: Added.
- Scripts/webkitpy/thirdparty/pywebsocket/test/testdata/handlers/sub/non_callable_wsh.py: Added.
- Scripts/webkitpy/thirdparty/pywebsocket/test/testdata/handlers/sub/plain_wsh.py: Added.
- Scripts/webkitpy/thirdparty/pywebsocket/test/testdata/handlers/sub/wrong_handshake_sig_wsh.py: Added.
- Scripts/webkitpy/thirdparty/pywebsocket/test/testdata/handlers/sub/wrong_transfer_sig_wsh.py: Added.
- Scripts/webkitpy/thirdparty/pywebsocket/test/testdata/hello.pl: Added.
- 8:56 PM Changeset in webkit [58933] by
-
- 6 edits35 deletes in trunk/WebKitTools
2010-05-06 Fumitoshi Ukai <ukai@chromium.org>
Reviewed by David Levin.
WebSocket: pywebsocket 0.5
https://bugs.webkit.org/show_bug.cgi?id=38034
Remove pywebsocket from webkitpy/thirdparty.
Make pywebsocket autoinstalled.
- Scripts/new-run-webkit-websocketserver: Add --output-dir option.
- Scripts/old-run-webkit-tests: Use new-run-webkit-websocketserver, rather than directly run pywebsocket's standalone.py
- Scripts/run-webkit-websocketserver: Ditto.
- Scripts/webkitpy/layout_tests/port/websocket_server.py: Use autoinstalled pywebsocket.
- Scripts/webkitpy/thirdparty/init.py: Autoinstall pywebsocket
- Scripts/webkitpy/thirdparty/pywebsocket: Removed.
- 8:13 PM Changeset in webkit [58932] by
-
- 4 edits in trunk/WebKitTools
svn-apply now understands the Git diff "copy from" syntax when the
similarity index is 100%.
Reviewed by Daniel Bates.
https://bugs.webkit.org/show_bug.cgi?id=38628
- Scripts/VCSUtils.pm:
- Adjusted parseGitDiffHeader() to parse the "copy from" and "similarity index" lines.
- Scripts/svn-unapply:
- Adjusted the patch() subroutine so that copies are recognized as file additions.
- Scripts/webkitperl/VCSUtils_unittest/parseGitDiffHeader.pl:
- Added unit tests for the cases of a copy with similarity index 100% and less than 100%.
- 7:58 PM Changeset in webkit [58931] by
-
- 5 edits in trunk
Versioning.
- 7:58 PM Changeset in webkit [58930] by
-
- 1 copy in tags/Safari-533.8
New tag.
- 7:54 PM Changeset in webkit [58929] by
-
- 8 edits in trunk/WebKitTools
2010-05-06 Chris Jerdonek <Chris Jerdonek>
Reviewed by Daniel Bates.
Removed the need for svn-apply and -unapply to re-parse whether
a diff is binary or not.
- Scripts/VCSUtils.pm:
- Adjusted parseGitDiffHeader() to set the isBinary key.
- Adjusted parseSvnDiffHeader() to set the isBinary key.
- Adjusted parseDiffHeader() to set the isBinary key.
- Changed the scmFormat key set by parseDiffHeader() to isGit and isSvn keys.
- Adjusted parseDiff() to set the isBinary, isGit, and isSvn keys.
- Scripts/svn-apply:
- Updated the patch() method to use the isBinary, isGit, and isSvn keys.
- Scripts/svn-unapply:
- Updated the patch() method to use the isBinary and isSvn keys.
- Scripts/webkitperl/VCSUtils_unittest/parseDiff.pl:
- Updated the unit tests as necessary.
- Added a test case to test that the isBinary key is getting set properly.
- Scripts/webkitperl/VCSUtils_unittest/parseDiffHeader.pl:
- Updated the unit tests as necessary.
- Scripts/webkitperl/VCSUtils_unittest/parseGitDiffHeader.pl:
- Updated the unit tests as necessary.
- Scripts/webkitperl/VCSUtils_unittest/parseSvnDiffHeader.pl:
- Updated the unit tests as necessary.
- 7:37 PM Changeset in webkit [58928] by
-
- 6 edits2 moves2 adds in trunk/LayoutTests
2010-05-06 Dirk Pranke <dpranke@chromium.org>
Unreviewed, rebaseline and expectation changes from WK roll from a
few days ago.
- platform/chromium-linux/http/tests/loading/bad-scheme-subframe-expected.txt: Copied from LayoutTests/platform/chromium-mac/http/tests/loading/bad-scheme-subframe-expected.txt.
- platform/chromium-linux/svg/W3C-SVG-1.1/fonts-kern-01-t-expected.checksum:
- platform/chromium-linux/svg/W3C-SVG-1.1/fonts-kern-01-t-expected.png:
- platform/chromium-linux/svg/text/kerning-expected.checksum:
- platform/chromium-linux/svg/text/kerning-expected.png:
- platform/chromium-mac/editing/selection/caret-rtl-2-expected.checksum: Renamed from LayoutTests/platform/chromium-mac/editing/selection/caret-rtl-2-actual.checksum.
- platform/chromium-mac/editing/selection/caret-rtl-2-expected.png: Renamed from LayoutTests/platform/chromium-mac/editing/selection/caret-rtl-2-actual.png.
- platform/chromium-mac/svg/text/kerning-expected.checksum: Added.
- platform/chromium/test_expectations.txt:
- 6:56 PM Changeset in webkit [58927] by
-
- 4 edits in trunk
2010-05-06 Kent Tamura <tkent@chromium.org>
Reviewed by Dimitri Glazkov.
[DRT/Chromium] Add support for resources on Mac
https://bugs.webkit.org/show_bug.cgi?id=38637
- DEPS: Check out tools/data_pack.
2010-05-06 Kent Tamura <tkent@chromium.org>
Reviewed by Dimitri Glazkov.
[DRT/Chromium] Add support for resources on Mac
https://bugs.webkit.org/show_bug.cgi?id=38637
Repack webkit_chromium_resources.pak, webkit_strings_en-US.pak,
and webkit_resources.pak, and put them as Mac bundle resource.
The 'actions' section is almost same as a part of test_shell.gypi.
- DumpRenderTree/DumpRenderTree.gyp/DumpRenderTree.gyp:
- 6:29 PM Changeset in webkit [58926] by
-
- 1 edit2 adds in trunk/LayoutTests
2010-05-06 Dirk Pranke <dpranke@chromium.org>
Unreviewed, rebaseline a chromium test.
Need a linux baseline for fast/notifications/notifications-replace-expected.txt to override the windows version.
- platform/chromium-linux/fast/notifications/notifications-replace-expected.txt: Added.
- 5:47 PM Changeset in webkit [58925] by
-
- 2 edits in trunk/WebCore
Not reviewed, build fix.
Try again - with quotes this time. *facepalm*
- dom/Notation.cpp:
- 5:39 PM Changeset in webkit [58924] by
-
- 2 edits in trunk/WebCore
Not reviewed, build fix.
Speculative fix for Qt and Gtk.
- dom/Notation.cpp:
- 5:34 PM BuildingQtOnWindows edited by
- few words on how to generate MSVC project files (diff)
- 5:25 PM Changeset in webkit [58923] by
-
- 2 edits in trunk/WebCore
Not reviewed, build fix.
Fix an assert that I failed to update in my earlier change.
- dom/CharacterData.h:
(WebCore::CharacterData::CharacterData):
- 5:03 PM Changeset in webkit [58922] by
-
- 4 edits2 adds in trunk
Reviewed by Geoff Garen.
https://bugs.webkit.org/show_bug.cgi?id=38697
REGRESSION (r58299): Replying on reddit.com no longer works
- css/CSSSelector.cpp: (WebCore::CSSSelector::extractPseudoType): Don't recognize :first, :left and :right. The aren't allowed in all contexts, and properly implementing them is out of scope for this regression fix.
- 5:01 PM Changeset in webkit [58921] by
-
- 11 edits in trunk/WebCore
Improve code generator scripts to support converting ScriptString.
https://bugs.webkit.org/show_bug.cgi?id=38699
Reviewed by Adam Barth.
Change both JSC and V8 generators to introduce "ConvertScriptString"
attribute to allow converting from ScriptString. Also updated the
bindings test result.
These changes are necessary in order to avoid adding custom binding codes
when we add the FileReader interface.
- bindings/scripts/CodeGeneratorJS.pm:
- bindings/scripts/CodeGeneratorV8.pm:
- bindings/scripts/test/GObject/WebKitDOMTestObj.cpp:
(webkit_dom_test_obj_get_script_string_attr):
(webkit_dom_test_obj_get_property):
(webkit_dom_test_obj_class_init):
- bindings/scripts/test/GObject/WebKitDOMTestObj.h:
- bindings/scripts/test/JS/JSTestObj.cpp:
(WebCore::):
(WebCore::jsTestObjScriptStringAttr):
- bindings/scripts/test/JS/JSTestObj.h:
- bindings/scripts/test/ObjC/DOMTestObj.h:
- bindings/scripts/test/ObjC/DOMTestObj.mm:
(-[DOMTestObj scriptStringAttr]):
- bindings/scripts/test/TestObj.idl:
- bindings/scripts/test/V8/V8TestObj.cpp:
(WebCore::TestObjInternal::scriptStringAttrAttrGetter):
(WebCore::):
- 4:45 PM Changeset in webkit [58920] by
-
- 2 edits in trunk/WebKitTools
[Qt] Unreviewed buildfix after r58917.
- DumpRenderTree/qt/LayoutTestControllerQt.h: Missing function declaration added.
- 4:33 PM Changeset in webkit [58919] by
-
- 4 edits11 adds in trunk/WebCore
Improve code generator scripts to pass additional ScriptExecutionContext
argument to the constructor.
https://bugs.webkit.org/show_bug.cgi?id=38687
Reviewed by Adam Barth.
Change both JSC and V8 generators to introduce "CallWith=ScriptExecutionContext"
attribute to allow passing the additional ScriptExecutionContext argument to
the constructor. Also add another test IDL file to test interface-level
features.
These changes are necessary in order to avoid adding custom binding codes
when we add the FileReader interface.
- bindings/scripts/CodeGeneratorJS.pm:
- bindings/scripts/CodeGeneratorV8.pm:
- bindings/scripts/test/GObject/WebKitDOMTestInterface.cpp: Added.
- bindings/scripts/test/GObject/WebKitDOMTestInterface.h: Added.
- bindings/scripts/test/GObject/WebKitDOMTestInterfacePrivate.h: Added.
- bindings/scripts/test/JS/JSTestInterface.cpp: Added.
- bindings/scripts/test/JS/JSTestInterface.h: Added.
- bindings/scripts/test/ObjC/DOMTestInterface.h: Added.
- bindings/scripts/test/ObjC/DOMTestInterface.mm: Added.
- bindings/scripts/test/ObjC/DOMTestInterfaceInternal.h: Added.
- bindings/scripts/test/TestInterface.idl: Added.
- bindings/scripts/test/V8/V8TestInterface.cpp: Added.
- bindings/scripts/test/V8/V8TestInterface.h: Added.
- bindings/v8/V8Proxy.h:
(WebCore::V8Proxy::constructDOMObjectWithScriptExecutionContext):
- 4:23 PM Changeset in webkit [58918] by
-
- 2 edits in trunk/WebCore
Build fix, not reviewed.
Speculative Windows and Debug build fixes for the last change.
- dom/Node.h:
(WebCore::Node::inDocument):
(WebCore::Node::setFlag):
- 4:23 PM Changeset in webkit [58917] by
-
- 14 edits2 adds in trunk
2010-05-06 Anders Carlsson <andersca@apple.com>
Reviewed by Darin Adler and Dan Bernstein..
REGRESSION (r51617): when plugins are disabled, plugins show up as garbage characters
https://bugs.webkit.org/show_bug.cgi?id=38698
<rdar://problem/7942075>
When the plug-in database is initialized, we will register all the MIME types it supports with the global
WebView dictionary. When plug-ins are disabled for a single web view, the MIME types still need to be
in the global mapping (because other web views might still have plug-ins enabled).
Prior to r51617 we would always look at the plug-in database to determine that the MIME type belongs to a
plug-in, but now we won't even touch the plug-in database when plug-ins are disabled.
In order to fix this, a new set of registered MIME types that are known to be plug-ins is added. When
+[WebView _viewClass:andRepresentationClass:forMIMEType:allowingPlugins:] is called and allowingPlugins is FALSE
we check if the MIME type is a known plug-in MIME type and return false in that case.
- Plugins/WebPluginDatabase.mm: (-[WebPluginDatabase refresh]): (-[WebPluginDatabase _removePlugin:]):
- WebView/WebView.mm: (knownPluginMIMETypes): (+[WebView _registerPluginMIMEType:]): (+[WebView _unregisterPluginMIMEType:]): (+[WebView _viewClass:andRepresentationClass:forMIMEType:allowingPlugins:]):
- WebView/WebViewInternal.h:
2010-05-06 Anders Carlsson <andersca@apple.com>
Reviewed by Darin Adler and Dan Bernstein..
REGRESSION (r51617): when plugins are disabled, plugins show up as garbage characters
https://bugs.webkit.org/show_bug.cgi?id=38698
<rdar://problem/7942075>
Add tests.
- platform/mac/plugins/disable-plugins-expected.txt: Added.
- platform/mac/plugins/disable-plugins.html: Added.
2010-05-06 Anders Carlsson <andersca@apple.com>
Reviewed by Darin Adler and Dan Bernstein..
REGRESSION (r51617): when plugins are disabled, plugins show up as garbage characters
https://bugs.webkit.org/show_bug.cgi?id=38698
<rdar://problem/7942075>
Add a 'setPluginsEnabled' layoutTestController function for disabling plug-ins. This is only implemented on Mac currently
because the bug that needs this functionality is mac specific.
- DumpRenderTree/LayoutTestController.cpp: (setPluginsEnabledCallback): (LayoutTestController::staticFunctions):
- DumpRenderTree/LayoutTestController.h:
- DumpRenderTree/gtk/LayoutTestControllerGtk.cpp: (LayoutTestController::setPluginsEnabled):
- DumpRenderTree/mac/DumpRenderTree.mm: (resetDefaultsToConsistentValues):
- DumpRenderTree/mac/LayoutTestControllerMac.mm: (LayoutTestController::setPluginsEnabled):
- DumpRenderTree/qt/LayoutTestControllerQt.cpp: (LayoutTestController::setPluginsEnabled):
- DumpRenderTree/win/LayoutTestControllerWin.cpp: (LayoutTestController::setPluginsEnabled):
- DumpRenderTree/wx/LayoutTestControllerWx.cpp: (LayoutTestController::setPluginsEnabled):
- 4:18 PM Changeset in webkit [58916] by
-
- 10 edits in trunk/WebCore
2010-05-06 James Robinson <jamesr@chromium.org>
Reviewed by Eric Seidel.
Fix warnings emitted by gcc 4.4.1 on linux in chromium-specific platform graphics files.
https://bugs.webkit.org/show_bug.cgi?id=38158
Fixes:
- replace NULL with 0
- remove unusued locals
add parens around ambiguous looking compound predicates like (a b && c) This also adds a check for x >= 0 to FontLinux.cpp's in this statement:
if (x < walker.width())
This is more documentation than anything else since walker.width() returns
an unsigned the current behavior is that x is promoted to unsigned and as
long as x + walker.width() is less than 231 all negative values of x
end up wrapping around and not being < walker.width(). This behavior is
tested by fast/text/international/khmer-selection.html
- platform/graphics/chromium/FontLinux.cpp: (WebCore::adjustTextRenderMode): (WebCore::TextRunWalker::TextRunWalker): (WebCore::TextRunWalker::length): (WebCore::TextRunWalker::width): (WebCore::TextRunWalker::getTextRun): (WebCore::TextRunWalker::getNormalizedTextRun): (WebCore::Font::offsetForPositionForComplexText):
- platform/graphics/chromium/FontPlatformDataLinux.cpp: (WebCore::FontPlatformData::setupPaint):
- platform/graphics/chromium/HarfbuzzSkia.cpp: (WebCore::getOutlinePoint):
- platform/graphics/skia/GraphicsContext3DSkia.cpp: (WebCore::GraphicsContext3D::getImageData):
- platform/graphics/skia/GraphicsContextSkia.cpp: (WebCore::isCoordinateSkiaSafe): (WebCore::GraphicsContext::fillRect): (WebCore::GraphicsContext::strokePath): (WebCore::GraphicsContext::strokeRect):
- 3:53 PM Changeset in webkit [58915] by
-
- 2 edits in trunk/WebCore
https://bugs.webkit.org/show_bug.cgi?id=38695
Reviewed by David Kilzer.
Check the result from widget() for NULL before accessing it.
- rendering/RenderIFrame.cpp:
(WebCore::RenderIFrame::calcHeight):
(WebCore::RenderIFrame::calcWidth):
- 3:41 PM Changeset in webkit [58914] by
-
- 44 edits in trunk/WebCore
2010-05-06 Maciej Stachowiak <mjs@apple.com>
Reviewed by Darin Adler.
further fixes towards REGRESSION (r57292): 1% PLT regression from visited link information leak fix
https://bugs.webkit.org/show_bug.cgi?id=38682
<rdar://problem/7859794>
Looks like a 1-2% speedup on PLT.
- Reorder CSS properties.
- Remove short circuit tag check in matchRulesForList which costs more than it saves.
- Inline initForStyleResolve.
- Optimize applyDeclarations to avoid switch and take fewer branches in the inner loop.
- Change the way Node handles flags - replace bitfield with a uint32_t and explicit masking, to make it cheaper to initialize the bits and give faster access.
- Added new Node flags to check for isStyledElement, isHTMLElement, isSVGElement, isComment, and devirtualize those methods.
- Inline constructors for Node, Element, Text, CharacterData, StyledElement, etc since they are very simple and lots of nodes get constructed.
- css/CSSPropertyNames.in: Move a few of the properties up front so we can check for them with < instead of switch statements
- css/CSSStyleSelector.cpp: (WebCore::CSSStyleSelector::matchRulesForList): Remove unnecessary preflight check for tag match before checking selector. This check very rarely short circuits anything, since most rules with a tag end up in the appropriate tag bucket. So doing the check cost more time than the time saved. (WebCore::CSSStyleSelector::initForStyleResolve): Inline. Create RenderStyle in a better way. (WebCore::CSSStyleSelector::applyDeclarations): Get rid of switch statement and use <= to check for the high priority properties. Convert to template to avoid checking "applyFirst" each time through the loop. (WebCore::CSSStyleSelector::styleForElement): Adjust for new applyDeclarations() signature. (WebCore::CSSStyleSelector::keyframeStylesForAnimation): ditto (WebCore::CSSStyleSelector::pseudoStyleForElement): ditto
- css/CSSStyleSelector.h: Adjust for new applyDeclarations() signature.
- rendering/style/RenderStyle.cpp: (WebCore::RenderStyle::RenderStyle): Inline constructor.
- rendering/style/RenderStyle.h: Make constructor private so it can be inline.
- dom/Node.h: (WebCore::): See high-level description of changes above. Redid the way boolean flags work. (WebCore::Node::isElementNode): (WebCore::Node::isContainerNode): (WebCore::Node::isTextNode): (WebCore::Node::isHTMLElement): (WebCore::Node::isSVGElement): (WebCore::Node::isStyledElement): (WebCore::Node::isCommentNode): (WebCore::Node::hasID): (WebCore::Node::hasClass): (WebCore::Node::active): (WebCore::Node::inActiveChain): (WebCore::Node::inDetach): (WebCore::Node::hovered): (WebCore::Node::attached): (WebCore::Node::setAttached): (WebCore::Node::needsStyleRecalc): (WebCore::Node::styleChangeType): (WebCore::Node::childNeedsStyleRecalc): (WebCore::Node::isLink): (WebCore::Node::setHasID): (WebCore::Node::setHasClass): (WebCore::Node::setChildNeedsStyleRecalc): (WebCore::Node::clearChildNeedsStyleRecalc): (WebCore::Node::setInDocument): (WebCore::Node::clearInDocument): (WebCore::Node::setInActiveChain): (WebCore::Node::clearInActiveChain): (WebCore::Node::setIsLink): (WebCore::Node::clearIsLink): (WebCore::Node::setActive): (WebCore::Node::setHovered): (WebCore::Node::inDocument): (WebCore::Node::): (WebCore::Node::getFlag): (WebCore::Node::setFlag): (WebCore::Node::clearFlag): (WebCore::Node::hasRareData): (WebCore::Node::isParsingChildrenFinished): (WebCore::Node::setIsParsingChildrenFinished): (WebCore::Node::clearIsParsingChildrenFinished): (WebCore::Node::isStyleAttributeValid): (WebCore::Node::setIsStyleAttributeValid): (WebCore::Node::clearIsStyleAttributeValid): (WebCore::Node::isSynchronizingStyleAttribute): (WebCore::Node::setIsSynchronizingStyleAttribute): (WebCore::Node::clearIsSynchronizingStyleAttribute): (WebCore::Node::areSVGAttributesValid): (WebCore::Node::setAreSVGAttributesValid): (WebCore::Node::clearAreSVGAttributesValid): (WebCore::Node::isSynchronizingSVGAttributes): (WebCore::Node::setIsSynchronizingSVGAttributes): (WebCore::Node::clearIsSynchronizingSVGAttributes): (WebCore::Node::hasRareSVGData): (WebCore::Node::setHasRareSVGData): (WebCore::Node::clearHasRareSVGData): (WebCore::Node::initialRefCount):
- dom/Node.cpp: (WebCore::Node::trackForDebugging): Adjusted for changes in flag handling. (WebCore::Node::ensureRareData): ditto (WebCore::Node::setStyleChange): ditto (WebCore::Node::setNeedsStyleRecalc): ditto (WebCore::Node::lazyAttach): ditto (WebCore::Node::attach): ditto (WebCore::Node::detach): ditto (WebCore::Node::insertedIntoDocument): ditto (WebCore::Node::removedFromDocument): ditto
- dom/CharacterData.cpp:
- dom/CharacterData.h: (WebCore::CharacterData::CharacterData): Inline the constructor (moved from .cpp)
- dom/Comment.cpp: (WebCore::Comment::Comment): Tell the base class that we're a comment.
- dom/Comment.h: Remove isCommentNode override.
- dom/ContainerNode.cpp: (WebCore::ContainerNode::detach): Adjusted for changes in flag handling. (WebCore::ContainerNode::removedFromDocument): ditto
- dom/Document.cpp: (WebCore::Document::Document): Adjusted for changes in flag handling. (WebCore::Document::recalcStyle): ditto (WebCore::Document::setFocusedNode): ditto
- dom/Document.h: (WebCore::Node::Node): Inline the Node constructor - goes here because it uses Document.
- dom/DocumentFragment.cpp: include Document.h due to above change
- dom/EditingText.cpp: ditto
- dom/EntityReference.cpp: ditto
- dom/Element.cpp: (WebCore::Element::getAttribute): Adjusted for changes in flag handling. (WebCore::Element::setAttribute): ditto (WebCore::Element::hasAttributes): ditto (WebCore::Element::recalcStyle): ditto (WebCore::Element::finishParsingChildren): ditto
- dom/Element.h: (WebCore::Element::Element): Inline (moved from .cpp) (WebCore::Element::isFinishedParsingChildren): (WebCore::Element::beginParsingChildren): (WebCore::Element::attributes): Adjusted for changes in flag handling.
- dom/StyledElement.cpp: (WebCore::StyledElement::updateStyleAttribute): Adjust for changes to flag handling. (WebCore::StyledElement::mapToEntry): ditto (WebCore::StyledElement::parseMappedAttribute): ditto (WebCore::StyledElement::copyNonAttributeProperties): ditto
- dom/StyledElement.h: (WebCore::StyledElement::StyledElement): Inline (moved from.cpp) (WebCore::StyledElement::invalidateStyleAttribute): Adjust for changes in flag handling.
- dom/Text.h: (WebCore::Text::Text): Inline (moved from .cpp)
- dom/Text.cpp:
- html/HTMLAnchorElement.cpp: (WebCore::HTMLAnchorElement::HTMLAnchorElement): Adjust for changes in flag handling. (WebCore::HTMLAnchorElement::parseMappedAttribute): ditto
- html/HTMLElement.cpp: (WebCore::HTMLElement::create): Tell base class we're an HTML element.
- html/HTMLElement.h: ditto above; remove isHTMLElement override.
- html/HTMLFormControlElement.h: Tell base class we're an HTML element.
- html/HTMLFrameOwnerElement.cpp: (WebCore::HTMLFrameOwnerElement::HTMLFrameOwnerElement): ditto
- html/HTMLProgressElement.cpp: (WebCore::HTMLProgressElement::HTMLProgressElement): ditto
- mathml/MathMLElement.cpp: (WebCore::MathMLElement::MathMLElement): Tell base class we're a styled element.
- rendering/MediaControlElements.cpp: (WebCore::MediaControlShadowRootElement::MediaControlShadowRootElement): Adjust for changes in flag handling. (WebCore::MediaControlElement::MediaControlElement): ditto (WebCore::MediaControlInputElement::MediaControlInputElement): ditto
- rendering/RenderFileUploadControl.cpp: (WebCore::RenderFileUploadControl::updateFromElement): ditto
- rendering/RenderLayer.cpp: (WebCore::RenderLayer::updateHoverActiveState): ditto
- rendering/RenderProgress.cpp: (WebCore::RenderProgress::updateValuePartState): ditto
- rendering/RenderSlider.cpp: (WebCore::RenderSlider::updateFromElement): ditto
- rendering/SVGShadowTreeElements.cpp: (WebCore::SVGShadowTreeRootElement::SVGShadowTreeRootElement): ditto
- rendering/TextControlInnerElements.cpp: (WebCore::TextControlInnerElement::attachInnerElement): ditto
- svg/SVGAnimatedProperty.h: (WebCore::SVGAnimatedPropertyTearOff::setBaseVal): ditto (WebCore::SVGAnimatedPropertyTearOff::setAnimVal): ditto
- svg/SVGElement.cpp: (WebCore::SVGElement::SVGElement): Tell base class we're an svg element. (WebCore::SVGElement::ensureRareSVGData): Adjust for flag handling changes. (WebCore::SVGElement::updateAnimatedSVGAttribute): ditto
- svg/SVGElement.h: (WebCore::SVGElement::invalidateSVGAttributes): ditto
- svg/SVGPolyElement.cpp: (WebCore::SVGPolyElement::svgAttributeChanged): ditto
- wml/WMLAnchorElement.cpp: (WebCore::WMLAnchorElement::WMLAnchorElement): ditto
- wml/WMLElement.cpp: (WebCore::WMLElement::WMLElement): Tell base class we're a styled element.
- 3:28 PM Changeset in webkit [58913] by
-
- 4 edits in trunk/WebKit/mac
<rdar://problem/7951285> REGRESSION (r58847): Composited iframe content obscures Safari's application chrome
Reviewed by Simon Fraser.
Fixed this other regression from r58847. The regression was caused by overriding -visibleRect to
return the WebClipView’s full bounds. AppKit uses -visibleRect to determine the geometry
of the surface for the child WebFrameView. The fix is to restrict the special behavior of
-[WebClipView visibleRect] to when AppKit is consulting it for the purpose of invalidating
areas while scrolling.
- WebView/WebClipView.h:
- WebView/WebClipView.mm:
(-[WebClipView visibleRect]): If the WebClipView is not scrolling, always return
[super visibleRect].
(-[WebClipView _immediateScrollToPoint:]): Override this internal NSClipView method
to set a flag telling -visibleRect that the view is scrolling.
- WebView/WebView.mm:
(layerSyncRunLoopObserverCallBack): Ensure that screen updates, disabled by AppKit
when it thinks an upcoming window flush will re-enable them, are enabled here in
case the -setNeedsDisplayInRect: override has prevented the window from needing to be
flushed.
- 3:28 PM Changeset in webkit [58912] by
-
- 1 edit2 adds in trunk/LayoutTests
2010-05-06 John Gregg <johnnyg@google.com>
Unreviewed, rebaseline for chromium test.
[chromium] Deal with different local path structure on windows.
- platform/chromium-win/fast/notifications: Added.
- platform/chromium-win/fast/notifications/notifications-replace-expected.txt: Added.
- 3:19 PM Changeset in webkit [58911] by
-
- 3 edits in trunk/JavaScriptCore
Windows build fix.
- bytecode/SamplingTool.cpp:
(JSC::SamplingFlags::sample): Use a cast, so Windows will be happy when
this code is enabled.
- wtf/Platform.h: Reverted last change to this file, which seems to have
been accidental.
- 3:12 PM Changeset in webkit [58910] by
-
- 2 edits in trunk/WebCore
2010-05-06 Adam Barth <abarth@webkit.org>
Unreviewed. Fix indent. Sorry, my OCD was acting up.
- page/EventHandler.cpp: (WebCore::EventHandler::handleMouseReleaseEvent):
- 3:09 PM Changeset in webkit [58909] by
-
- 2 edits in trunk/LayoutTests
2010-05-06 Dirk Pranke <dpranke@chromium.org>
Unreviewed, expectations fix.
Delete a line for a test that is no longer failing on chromium linux.
- platform/chromium/test_expectations.txt:
- 2:20 PM BuildingQtOnSymbian edited by
- (diff)
- 1:50 PM Changeset in webkit [58908] by
-
- 3 edits in trunk/WebCore
2010-05-06 Pavel Feldman <pfeldman@chromium.org>
Reviewed by Joseph Pecoraro.
Web Inspector: store selected Headers / Content tab on explicit switch and/or explicit navigate only.
- inspector/front-end/ResourceView.js: (WebInspector.ResourceView): (WebInspector.ResourceView.prototype._selectHeadersTab): (WebInspector.ResourceView.prototype.selectContentTab):
- inspector/front-end/ResourcesPanel.js: (WebInspector.ResourcesPanel.prototype.showResource):
- 1:47 PM Changeset in webkit [58907] by
-
- 4 edits in trunk/JavaScriptCore
Add compile switch to make debugger keyword plant breakpoint instructions.
Reviewed by Oliver Hunt.
- bytecompiler/BytecodeGenerator.cpp:
(JSC::BytecodeGenerator::emitDebugHook):
- jit/JITOpcodes.cpp:
(JSC::JIT::emit_op_debug):
- wtf/Platform.h:
- 1:38 PM Changeset in webkit [58906] by
-
- 2 edits in trunk/WebCore
2010-05-06 Luiz Agostini <luiz.agostini@openbossa.org>
Rubber-stamped by Simon Hausmann.
[Qt] use QT_MOBILE_THEME in Symbian
https://bugs.webkit.org/show_bug.cgi?id=38440
Putting QT_MOBILE_THEME into use for Symbian.
- WebCore.pro:
- 1:26 PM Changeset in webkit [58905] by
-
- 3 edits1 move in trunk/WebCore
2010-05-06 Laszlo Gombos <Laszlo Gombos>
Unreviewed, build fix WinCE for QtWebKit.
[Qt] Compilation with Plugins disabled is broken
https://bugs.webkit.org/show_bug.cgi?id=31407
Rename platform/qt/TemporaryLinkStubs.cpp to avoid name collition on
Windows.
Thanks for Ismail "cartman" Donmez for help.
No new tests, as there is no new functionality.
- WebCore.gypi:
- WebCore.pro:
- platform/qt/TemporaryLinkStubs.cpp: Removed.
- platform/qt/TemporaryLinkStubsQt.cpp: Copied from WebCore/platform/qt/TemporaryLinkStubs.cpp.
- 1:04 PM Changeset in webkit [58904] by
-
- 3 edits in trunk/JavaScriptCore
Fix ARM builds
- 1:01 PM Changeset in webkit [58903] by
-
- 2 edits in trunk/WebCore
2010-05-06 Simon Hausmann <simon.hausmann@nokia.com>
Reviewed by Kenneth Rohde Christiansen.
[Qt] REGRESSION: Loading of external CSS and JS files over network fails in some cases
https://bugs.webkit.org/show_bug.cgi?id=36755
Enable the direct connection between QtNetwork and QtWebKit only for Qt versions
greater than 4.6.2, due to a bug in Qt that's been fixed after 4.6.2.
- platform/network/qt/QNetworkReplyHandler.cpp:
- 12:39 PM Changeset in webkit [58902] by
-
- 14 edits9 adds in trunk
2010-05-06 Oliver Hunt <oliver@apple.com>
Reviewed by Geoffrey Garen.
Improve performance of single character string compares
https://bugs.webkit.org/show_bug.cgi?id=38659
Add logic to the jit to identify comparisons to single character string literals
and then just perform the comparison inline, rather than ignoring the evidence
and attempting to perform an integer comparison.
Multiple changes required -- add jnlesseq opcode, add helper function to identify
single character string constants, add a helper to load single character strings.
Then add the 32_64 and normal codepaths to the JIT.
- assembler/MacroAssemblerX86Common.h: (JSC::MacroAssemblerX86Common::load16):
- bytecode/CodeBlock.cpp: (JSC::CodeBlock::dump):
- bytecode/Opcode.h:
- bytecompiler/BytecodeGenerator.cpp: (JSC::BytecodeGenerator::emitJumpIfTrue):
- interpreter/Interpreter.cpp: (JSC::Interpreter::privateExecute):
- jit/JIT.cpp: (JSC::JIT::privateCompileMainPass): (JSC::JIT::privateCompileSlowCases):
- jit/JIT.h:
- jit/JITArithmetic.cpp: (JSC::JIT::emit_op_jnless): (JSC::JIT::emitSlow_op_jnless): (JSC::JIT::emit_op_jless): (JSC::JIT::emitSlow_op_jless): (JSC::JIT::emit_op_jlesseq): (JSC::JIT::emit_op_jnlesseq): (JSC::JIT::emitSlow_op_jlesseq): (JSC::JIT::emitSlow_op_jnlesseq):
- jit/JITArithmetic32_64.cpp: (JSC::JIT::emit_op_jnless): (JSC::JIT::emitSlow_op_jnless): (JSC::JIT::emit_op_jless): (JSC::JIT::emitSlow_op_jless): (JSC::JIT::emit_op_jlesseq): (JSC::JIT::emit_op_jnlesseq): (JSC::JIT::emitSlow_op_jlesseq): (JSC::JIT::emitSlow_op_jnlesseq): (JSC::JIT::emitBinaryDoubleOp):
- jit/JITInlineMethods.h: (JSC::JIT::emitLoadCharacterString): (JSC::JIT::isOperandConstantImmediateChar):
- jit/JSInterfaceJIT.h: (JSC::ThunkHelpers::stringImplDataOffset): (JSC::ThunkHelpers::jsStringLengthOffset): (JSC::ThunkHelpers::jsStringValueOffset): Moved from ThunkGenerators to make it possible to share.
- jit/ThunkGenerators.cpp:
2010-05-06 Oliver Hunt <oliver@apple.com>
Reviewed by Geoffrey Garen.
Improve performance of single character string compares
https://bugs.webkit.org/show_bug.cgi?id=38659
Add many tests of <, >, <=, >=, ==, ===, !=, !== as the existing
tests were woefully inadequate.
- fast/js/comparison-operators-expected.txt: Added.
- fast/js/comparison-operators-greater-expected.txt: Added.
- fast/js/comparison-operators-greater.html: Added.
- fast/js/comparison-operators-less-expected.txt: Added.
- fast/js/comparison-operators-less.html: Added.
- fast/js/comparison-operators.html: Added.
- fast/js/script-tests/comparison-operators-greater.js: Added. (description.makeTest.func.f.toString): (description.makeTest): (doTest):
- fast/js/script-tests/comparison-operators-less.js: Added. (description.makeTest.func.f.toString): (description.makeTest): (doTest):
- fast/js/script-tests/comparison-operators.js: Added. (description.makeTest.func.f.toString): (description.makeTest): (doTest):
- 12:06 PM Changeset in webkit [58901] by
-
- 6 edits in trunk/WebKit/gtk
2010-05-06 Martin Robinson <Martin Robinson>
Reviewed by Xan Lopez.
Remove use of GOwnPtr to hold GObject types.
https://bugs.webkit.org/show_bug.cgi?id=38669
Change use of GOwnPtr to GRefPtr to types which are natively reference-counted.
- WebCoreSupport/FrameLoaderClientGtk.cpp: (WebKit::FrameLoaderClient::dispatchWillSendRequest): Change GOwnPtr to GRefPtr in some places. (WebKit::FrameLoaderClient::dispatchDecidePolicyForMIMEType): Ditto.
- webkit/webkitnetworkrequest.cpp: (webkit_network_request_new_with_core_request): Ditto.
- webkit/webkitnetworkresponse.cpp: (webkit_network_response_new_with_core_response): Ditto.
- webkit/webkitprivate.cpp: Remove GOwnPtr reference counting template specialization.
- webkit/webkitprivate.h: Ditto.
- 11:50 AM Changeset in webkit [58900] by
-
- 2 edits in trunk/WebKit/win
2010-05-06 Adam Roben <Adam Roben>
Bail out of WebView::paint when there's nothing to paint
Fixes <http://webkit.org/b/38670> <rdar://problem/7947105> REGRESSION
(r58067): Crash in WebView::paint when Web Inspector is docked and
window is resized so small that WebView disappears
When the WebView is 0-sized, ensureBackingStore() bails out without
creating a bitmap, leaving m_backingStoreBitmap null. Before r58067,
m_backingStoreBitmap was an HBITMAP, so we were happily passing along
a null HBITMAP to various Windows APIs. These calls would fail but not
crash. r58067 changed m_backingStoreBitmap to a RefCountedHBITMAP, and
dereferencing a null RefCountedHBITMAP* of course crashes.
Reviewed by Steve Falkenburg.
- WebView.cpp: (WebView::paint): Bail if the rect to paint is empty.
- 11:47 AM Changeset in webkit [58899] by
-
- 2 edits in trunk/LayoutTests
2010-05-06 John Gregg <johnnyg@google.com>
Unreviewed. Updating test expectations.
[chromium] enabling notifications tests after test_shell change.
- platform/chromium/test_expectations.txt:
- 11:46 AM Changeset in webkit [58898] by
-
- 2 edits in trunk/WebCore
2010-05-06 Gustavo Noronha Silva <gustavo.noronha@collabora.co.uk>
Reviewed by Xan Lopez.
Rework where we get page step and line step from, so we do not
depend on scrollbars existing. Caught by API test I forgot to run.
- platform/gtk/ScrollViewGtk.cpp: (WebCore::ScrollView::setGtkAdjustments):
- 10:47 AM Changeset in webkit [58897] by
-
- 2 edits in trunk/WebCore
2010-05-06 Gustavo Noronha Silva <gustavo.noronha@collabora.co.uk>
Reviewed by Xan Lopez.
[GTK] Adjustment resetting uses wrong values, and misses page_size and steps
https://bugs.webkit.org/show_bug.cgi?id=38657
Fix resetting adjustment values. In the page cache case, we were
confusing page_size and upper, leading to stray scrollbars
sometimes.
- platform/gtk/ScrollViewGtk.cpp: (WebCore::ScrollView::setGtkAdjustments):
- 10:42 AM Changeset in webkit [58896] by
-
- 3 edits in trunk/LayoutTests
2010-05-06 Ojan Vafai <ojan@chromium.org>
Reviewed by Adam Barth.
editing/selection/shift-click.html fails on GTK and QT
https://bugs.webkit.org/show_bug.cgi?id=38656
r58892 added this test. It's the first test for shift+click behavior,
so it exposed bugs in GTK/QT. Skipping to green the bots.
- platform/gtk/Skipped:
- platform/qt/Skipped:
- 10:37 AM Changeset in webkit [58895] by
-
- 2 edits in trunk/WebKit/win
2010-05-06 Steve Falkenburg <sfalken@apple.com>
Reviewed by Adam Roben.
WebFrame::paintDocumentRectToContext paints content at the wrong location
https://bugs.webkit.org/show_bug.cgi?id=38651
- WebFrame.cpp: (WebFrame::paintDocumentRectToContext):
- 10:12 AM Changeset in webkit [58894] by
-
- 2 edits in trunk/WebCore
2010-05-06 Darin Adler <Darin Adler>
Reviewed by Beth Dakin.
Page::setCanStartMedia does not properly handle the case where a media listener is removed
https://bugs.webkit.org/show_bug.cgi?id=38602
We can't find any real case where this causes a crash at this time, but
we want to harden the code anyway. Thus there are no new regression tests.
- page/Page.cpp: (WebCore::Page::removeMediaCanStartListener): Removed incorrect assertion. (WebCore::Page::setCanStartMedia): Change algorithm so we notify listeners one at a time and don't notify any listener that has already been removed from the set.
- 10:05 AM Changeset in webkit [58893] by
-
- 9 edits in trunk/LayoutTests
2010-05-06 Evan Martin <evan@chromium.org>
Unreviewed. Updating test expectations.
[chromium] new baselines for r58886
https://bugs.webkit.org/show_bug.cgi?id=38652
- platform/chromium-linux/fast/lists/w3-css3-list-styles-numeric-expected.txt:
- platform/chromium-linux/fast/text/international/danda-space-expected.checksum:
- platform/chromium-linux/fast/text/international/danda-space-expected.png:
- platform/chromium-linux/fast/text/international/danda-space-expected.txt:
- platform/chromium-linux/fast/text/international/thai-baht-space-expected.checksum:
- platform/chromium-linux/fast/text/international/thai-baht-space-expected.png:
- platform/chromium-linux/fast/text/international/thai-baht-space-expected.txt:
- platform/chromium/test_expectations.txt:
- 9:58 AM Changeset in webkit [58892] by
-
- 3 edits4 adds in trunk
2010-05-05 Ojan Vafai <ojan@chromium.org>
Reviewed by Darin Adler.
shift+click on an existing selection doesn't work right
https://bugs.webkit.org/show_bug.cgi?id=36542
NSTextView behavior is to move the end of the selection
closest to the shift-click. Win/Linux behavior is to always
move the focus end of the selection.
- editing/selection/script-tests/shift-click.js: Added. (shiftClick): (assertSelectionString):
- editing/selection/shift-click-expected.txt: Added.
- editing/selection/shift-click.html: Added.
- platform/win/editing/selection/shift-click-expected.txt: Added.
2010-05-05 Ojan Vafai <ojan@chromium.org>
Reviewed by Darin Adler.
shift+click on an existing selection doesn't work right
https://bugs.webkit.org/show_bug.cgi?id=36542
NSTextView behavior is to move the end of the selection
closest to the shift-click. Win/Linux behavior is to always
move the focus end of the selection.
Test: editing/selection/shift-click.html
- page/EventHandler.cpp: (WebCore::textDistance): (WebCore::EventHandler::handleMousePressEventSingleClick):
- 9:53 AM Changeset in webkit [58891] by
-
- 2 edits in trunk/WebCore
2010-05-06 Pavel Feldman <pfeldman@chromium.org>
Reviewed by Timothy Hatcher.
Web Inspector: implement panels history traversal on Cmd+Left/Right.
- inspector/front-end/inspector.js: (WebInspector.set currentPanel): (WebInspector.loaded): (WebInspector.documentKeyDown): (WebInspector.PanelHistory): (WebInspector.PanelHistory.prototype.canGoBack): (WebInspector.PanelHistory.prototype.goBack): (WebInspector.PanelHistory.prototype.canGoForward): (WebInspector.PanelHistory.prototype.goForward): (WebInspector.PanelHistory.prototype.setPanel):
- 9:49 AM Changeset in webkit [58890] by
-
- 4 edits in trunk
2010-05-06 Pavel Feldman <pfeldman@chromium.org>
Reviewed by Timothy Hatcher.
Chromium Dev Tools: Large toolbar icons flash when dev
tools is opened in docked mode.
- src/js/DevTools.js: (devtools.domContentLoaded):
- 9:46 AM Changeset in webkit [58889] by
-
- 2 edits in trunk/WebKitTools
2010-05-06 Jochen Eisinger <jochen@chromium.org>
Reviewed by Dimitri Glazkov.
Make ImageDiff depend on WebKit. When compiled from within Chromium, WTF is not a standalone dynamic library but depends on WebKit.
https://bugs.webkit.org/show_bug.cgi?id=38632
- DumpRenderTree/DumpRenderTree.gyp/DumpRenderTree.gyp:
- 9:43 AM Changeset in webkit [58888] by
-
- 4 edits4 deletes in trunk/LayoutTests
2010-05-05 Antonio Gomes <tonikitoo@webkit.org>
Rubber-stamped by Kenneth Christiansen.
Spatial Navigation: use data url in layout tests
https://bugs.webkit.org/show_bug.cgi?id=38584
In order to make Spatial Navigation layout tests more readable, patch
changes the use or src=resources/iframeXXX.html by inlined sources via
data uri schema.
It is a polishment.
- fast/events/spatial-navigation/resources/iframe.html: Removed.
- fast/events/spatial-navigation/resources/iframe2.html: Removed.
- fast/events/spatial-navigation/resources/iframe3.html: Removed.
- fast/events/spatial-navigation/resources/iframe4.html: Removed.
- fast/events/spatial-navigation/snav-iframe-no-focusable-content.html:
- fast/events/spatial-navigation/snav-iframe-no-scrollable-content.html:
- fast/events/spatial-navigation/snav-iframe-with-offscreen-focusable-element.html:
- 9:42 AM Changeset in webkit [58887] by
-
- 1 edit in trunk/LayoutTests/platform/gtk/Skipped
2010-05-06 Antonio Gomes <tonikitoo@webkit.org>
[Gtk] Skipped fast/events/spatial-navigation/snav-iframe-flattening-simple.html
DRT does not support frame flattening testing.
https://bugs.webkit.org/show_bug.cgi?id=38650
- platform/gtk/Skipped:
- 9:34 AM Changeset in webkit [58886] by
-
- 2 edits in trunk/WebCore
2010-05-03 Evan Martin <evan@chromium.org>
Reviewed by Eric Seidel.
[chromium] use glyphDataForCharacter so we hit the glyphdata cache
https://bugs.webkit.org/show_bug.cgi?id=38500
Calling fontDataForCharacters() while rendering text is expensive.
Examining the relevant Mac code in WebKit revealed that calling the
similarly-named glyphDataForCharacters() results in caching the font
data on a per-glyph basis.
Since we now choose a font based on the first character in a run, we
need to be careful that all the glyphs within the run use the same font.
This is also similar to the WebKit Mac code. We need to remove all of
the script run bits eventually and this is a step in that direction.
Tests: fast/text/international/danda-space.html spacing changes slightly
(now matches Firefox better) and fast/text/international/thai-baht-space.html
now picks the correct (serif) font for the digits.
- platform/graphics/chromium/FontLinux.cpp: (WebCore::TextRunWalker::nextScriptRun): (WebCore::TextRunWalker::setupFontForScriptRun):
- 9:32 AM Changeset in webkit [58885] by
-
- 11 edits in trunk
2010-05-06 Martin Robinson <Martin Robinson>
Reviewed by Gustavo Noronha Silva.
[GTK] Enable DOM clipboard and drag-and-drop access
https://bugs.webkit.org/show_bug.cgi?id=30623
Convert dragging portion of drag-and-drop to use DataObjectGtk.
- wtf/gobject/GRefPtr.h: Add forward declarations for GObject functions.
2010-05-06 Martin Robinson <Martin Robinson>
Reviewed by Gustavo Noronha Silva.
[GTK] Enable DOM clipboard and drag-and-drop access
https://bugs.webkit.org/show_bug.cgi?id=30623
Convert dragging portion of drag-and-drop to use DataObjectGtk.
No new tests, because functionality has not changed.
- page/gtk/EventHandlerGtk.cpp: (WebCore::EventHandler::createDraggingClipboard): Pass the DataObjectGtk as a parameter here.
- platform/gtk/ClipboardGtk.h: (WebCore::ClipboardGtk::create): Take the DataObject as a parameter instead of creating it here. (WebCore::ClipboardGtk::helper): Added. (WebCore::ClipboardGtk::dataObject): Added.
- platform/gtk/PasteboardHelper.h: Make targetListForDataObject a public method.
2010-05-06 Martin Robinson <Martin Robinson>
Reviewed by Gustavo Noronha Silva.
[GTK] Enable DOM clipboard and drag-and-drop access
https://bugs.webkit.org/show_bug.cgi?id=30623
Convert dragging portion of drag-and-drop to use DataObjectGtk.
- WebCoreSupport/DragClientGtk.cpp: (WebKit::DragClient::willPerformDragDestinationAction): Remove the notImplemented. It is implemented, it's just a no-op. (WebKit::DragClient::startDrag): Start the drag context via the ClipboardGtk and PasteboardHelper now.
- WebCoreSupport/DragClientGtk.h: Small style fix.
- webkit/webkitprivate.h: Add a HashMap of contexts and DataObjects here to to represent all current drag operations.
- webkit/webkitwebview.cpp: (webkit_web_view_dispose): Clear all data objects during disposal. (webkit_web_view_drag_end): When a drag is over, just remove it from the map. (webkit_web_view_drag_data_get): To get the drag data, just grab it from the DataObject.
- 9:30 AM Changeset in webkit [58884] by
-
- 6 edits in trunk/WebCore
2010-05-06 Pavel Feldman <pfeldman@chromium.org>
Reviewed by Timothy Hatcher.
Web Inspector: Do not show content tab for resources
not supporting content preview.
- English.lproj/localizedStrings.js:
- inspector/front-end/FontView.js: (WebInspector.FontView.prototype.hasContentTab):
- inspector/front-end/ImageView.js: (WebInspector.ImageView.prototype.hasContentTab):
- inspector/front-end/ResourceView.js: (WebInspector.ResourceView): (WebInspector.ResourceView.prototype._selectTab): (WebInspector.ResourceView.prototype.hasContentTab):
- inspector/front-end/SourceView.js: (WebInspector.SourceView.prototype.hasContentTab):
- 9:23 AM Changeset in webkit [58883] by
-
- 1 edit2 adds in trunk/LayoutTests
2010-05-05 Antonio Gomes <tonikitoo@webkit.org>
Reviewed by Kenneth Christiansen.
Spatial Navigation: Add LayoutTest with frame flattening feature on.
https://bugs.webkit.org/show_bug.cgi?id=38585
- fast/events/spatial-navigation/snav-iframe-flattening-simple-expected.txt: Added.
- fast/events/spatial-navigation/snav-iframe-flattening-simple.html: Added.
- 9:17 AM Changeset in webkit [58882] by
-
- 3 edits in trunk/WebCore
2010-05-06 Antonio Gomes <tonikitoo@webkit.org>
Reviewed by Kenneth Christiansen.
Spatial Navigation: adapt the logic of {deep}findFocusableNodeInDirection to do traversal starting from Node* not Document*
https://bugs.webkit.org/show_bug.cgi?id=37803
Instead of receiving a Document pointer as incoming parameter, patch modifies
findFocusableNodeInDirection and deepFindFocusableNodeInDirection methods to
receive a Node pointer as start for content traversal.
This way we can make good use of deepFindFocusableNodeInDirection to traverse
other scrollable container like scrollable div's, and not only frames or iframes.
Patch also makes use of 'while' instead of 'for' to loop control, that gives move
flexibility to the incremental step: e.g. if a scrollable div was processed, the incremental
step in the loop does not have to do node->traverseNextNode() but node->traverseNextSibling().
No behavior change. It is a preparation for supporting scrollable containers in Spatial
Navigation.
- page/FocusController.cpp: (WebCore::FocusController::advanceFocusDirectionally): (WebCore::FocusController::findFocusableNodeInDirection): (WebCore::FocusController::deepFindFocusableNodeInDirection):
- page/FocusController.h:
- 9:04 AM Changeset in webkit [58881] by
-
- 2 edits in trunk/WebCore
Unreviewed WinCE buildfix after r58842.
Preprocessor doesn't understand "true", changed to "1"
- platform/graphics/MediaPlayer.cpp:
- 8:31 AM Changeset in webkit [58880] by
-
- 2 edits in trunk/WebCore
2010-05-06 Mikhail Naganov <mnaganov@chromium.org>
Reviewed by Pavel Feldman.
Temporarily disable 'console.profiles' until we can distinguish
functions from different frames
- bindings/v8/custom/V8ConsoleCustom.cpp: (WebCore::V8Console::profilesAccessorGetter):
- 8:13 AM Changeset in webkit [58879] by
-
- 2 edits6 adds in trunk/LayoutTests
2010-05-06 Vitaly Repeshko <vitalyr@chromium.org>
[chromium] Unreviewed. Updating expectations.
- platform/chromium-linux/fast/url/segments-expected.txt: Added.
- platform/chromium-linux/fast/url/segments-from-data-url-expected.txt: Added.
- platform/chromium-mac/fast/url/segments-expected.txt: Added.
- platform/chromium-mac/fast/url/segments-from-data-url-expected.txt: Added.
- platform/chromium-win/fast/url/segments-expected.txt: Added.
- platform/chromium-win/fast/url/segments-from-data-url-expected.txt: Added.
- platform/chromium/test_expectations.txt:
- 7:12 AM QtWebKitTriageRoster edited by
- (diff)
- 7:09 AM Changeset in webkit [58878] by
-
- 26 edits in trunk
2010-05-06 Steve Block <steveblock@google.com>
Reviewed by Eric Seidel.
MAC_JAVA_BRIDGE should be renamed JAVA_BRIDGE
https://bugs.webkit.org/show_bug.cgi?id=38544
- wtf/Platform.h:
2010-05-06 Steve Block <steveblock@google.com>
Reviewed by Eric Seidel.
MAC_JAVA_BRIDGE should be renamed JAVA_BRIDGE
https://bugs.webkit.org/show_bug.cgi?id=38544
No new tests, build fix only.
- DerivedSources.make:
- bindings/js/ScriptController.cpp: (WebCore::ScriptController::ScriptController):
- bindings/js/ScriptController.h:
- bindings/js/ScriptControllerMac.mm: (WebCore::ScriptController::createScriptInstanceForWidget):
- bridge/jni/JNIBridge.cpp:
- bridge/jni/JNIBridge.h:
- bridge/jni/JNIUtility.cpp:
- bridge/jni/JNIUtility.h:
- bridge/jni/jni_jsobject.h:
- bridge/jni/jni_jsobject.mm:
- bridge/jni/jni_objc.mm:
- bridge/jni/jsc/JNIBridgeJSC.cpp:
- bridge/jni/jsc/JNIBridgeJSC.h:
- bridge/jni/jsc/JNIUtilityPrivate.cpp:
- bridge/jni/jsc/JNIUtilityPrivate.h:
- bridge/jni/jsc/JavaClassJSC.cpp:
- bridge/jni/jsc/JavaClassJSC.h:
- bridge/jni/jsc/JavaInstanceJSC.cpp:
- bridge/jni/jsc/JavaInstanceJSC.h:
- loader/FrameLoaderClient.h:
2010-05-06 Steve Block <steveblock@google.com>
Reviewed by Eric Seidel.
MAC_JAVA_BRIDGE should be renamed JAVA_BRIDGE
https://bugs.webkit.org/show_bug.cgi?id=38544
- WebCoreSupport/WebFrameLoaderClient.h:
- WebCoreSupport/WebFrameLoaderClient.mm:
- 6:12 AM Changeset in webkit [58877] by
-
- 2 edits in trunk/WebKit/qt
2010-05-06 Andreas Kling <andreas.kling@nokia.com>
Reviewed by Simon Hausmann.
[Qt] Patch to fix compilation warnings for QGraphicsWebView
https://bugs.webkit.org/show_bug.cgi?id=37428
Patch by Alexis Menard <alexis.menard@nokia.com>
- Api/qgraphicswebview.cpp: (QGraphicsWebView::itemChange):
- 6:00 AM Changeset in webkit [58876] by
-
- 8 edits in trunk
2010-05-06 Simon Hausmann <simon.hausmann@nokia.com>
Reviewed by Kenneth Rohde Christiansen.
[Qt] Replace public inspector url with private property for QtLauncher
https://bugs.webkit.org/show_bug.cgi?id=35340
Replace the public API with a private dynamic property until this feature
is ready.
- Api/qwebsettings.cpp:
- Api/qwebsettings.h:
- WebCoreSupport/InspectorClientQt.cpp: (WebCore::InspectorClientQt::openInspectorFrontend):
- symbian/bwins/QtWebKitu.def:
- symbian/eabi/QtWebKitu.def:
2010-05-06 Simon Hausmann <simon.hausmann@nokia.com>
Reviewed by Kenneth Rohde Christiansen.
[Qt] Replace public inspector url with private property for QtLauncher
https://bugs.webkit.org/show_bug.cgi?id=35340
Replace the public API with a private dynamic property until this feature
is ready.
- QtLauncher/main.cpp: (LauncherWindow::init):
- 2:44 AM Changeset in webkit [58875] by
-
- 4 edits in trunk
2010-05-05 Alejandro G. Castro <alex@igalia.com>
Reviewed by Xan Lopez.
Fixed the gobject introspection compilation with the new DOM
bindings, we needed to add DOM objects.
- GNUmakefile.am:
- 2:31 AM Changeset in webkit [58874] by
-
- 2 edits2 adds in trunk/JavaScriptCore
2010-05-06 Adam Barth <abarth@webkit.org>
Reviewed by Maciej Stachowiak.
[WTFURL] Add a class to represent the segments of a URL
https://bugs.webkit.org/show_bug.cgi?id=38566
When paired with a string, this class represents a parsed URL.
- wtf/url/src/URLSegments.cpp: Added. (WTF::URLSegments::length): (WTF::URLSegments::charactersBefore):
- wtf/url/src/URLSegments.h: Added. (WTF::URLSegments::): (WTF::URLSegments::URLSegments):
- wtf/url/wtfurl.gyp:
- 2:19 AM Changeset in webkit [58873] by
-
- 11 edits in trunk
2010-05-06 Adam Barth <abarth@webkit.org>
Reviewed by Eric Seidel.
drop support for sessionStorage in sandbox iframes
https://bugs.webkit.org/show_bug.cgi?id=38151
Update test expectation. This test was originally created to show that
we complied with the letter of the spec, but our behavior is insecure.
In the future, we might revert this change and implement a separate
storage area for each unique origin.
- fast/frames/resources/sandboxed-iframe-storage-disallowed.html:
- fast/frames/sandboxed-iframe-storage-expected.txt:
2010-05-06 Adam Barth <abarth@webkit.org>
Reviewed by Eric Seidel.
drop support for sessionStorage in sandbox iframes
https://bugs.webkit.org/show_bug.cgi?id=38151
This patch causes us to throw a security exception when a sandboxed
iframe attempts to access sessionStorage, matching our behavior for
localStorage. The letter of the spec asks us to create a separate
storage area for each unique origin. We might want to do that in a
future patch, but throwing a security error seems like a safe move now.
- page/DOMWindow.cpp: (WebCore::DOMWindow::sessionStorage): (WebCore::DOMWindow::localStorage):
- page/DOMWindow.h:
- page/DOMWindow.idl:
- page/SecurityOrigin.h: (WebCore::SecurityOrigin::canAccessSessionStorage):
- storage/StorageEventDispatcher.cpp: (WebCore::StorageEventDispatcher::dispatch):
2010-05-06 Adam Barth <abarth@webkit.org>
Reviewed by Eric Seidel.
drop support for sessionStorage in sandbox iframes
https://bugs.webkit.org/show_bug.cgi?id=38151
Update client of sessionStorage to handle exceptions.
- src/StorageAreaProxy.cpp: (WebCore::StorageAreaProxy::storageEvent):
- 1:51 AM Changeset in webkit [58872] by
-
- 4 edits3 adds in trunk
WebCore: Allow forms submitting to target="_blank" to open popups if the submission
originated from a user gesture.
Reviewed by Maciej Stachowiak.
https://bugs.webkit.org/show_bug.cgi?id=37335
<rdar://problem/7884980>
Test: fast/events/popup-allowed-from-gesture-initiated-form-submit.html
- bindings/js/ScriptController.cpp:
(WebCore::ScriptController::processingUserGesture): If no DOM event is
being processed, consult UserGestureIndicator to determine return value.
- bindings/js/ScriptController.h: Moved the logic of processingUserGestureEvent()
into processingUserGesture().
LayoutTests: Add a test to ensure popups are allowed when the user submits a form with target="_blank".
Reviewed by Maciej Stachowiak.
https://bugs.webkit.org/show_bug.cgi?id=37335
<rdar://problem/7884980>
- fast/events/popup-allowed-from-gesture-initiated-form-submit-expected.txt: Added.
- fast/events/popup-allowed-from-gesture-initiated-form-submit.html: Added.
- fast/events/resources/popup-allowed-from-gesture-initiated-form-submit-target.html: Added.
- 1:10 AM Changeset in webkit [58871] by
-
- 3 edits in trunk/WebCore
2010-05-06 Xan Lopez <xlopez@igalia.com>
Rubber-stamped by Eric Seidel.
[GTK] Refactor GenerateProperties in CodeGenerationGObject.pm
https://bugs.webkit.org/show_bug.cgi?id=38577
Thinko caught while refactoring, $custom variable was not
initialized.
- bindings/scripts/CodeGeneratorGObject.pm:
- bindings/scripts/test/GObject/WebKitDOMTestObj.cpp: (webkit_dom_test_obj_set_property): (webkit_dom_test_obj_get_property): (webkit_dom_test_obj_class_init):
- 1:09 AM Changeset in webkit [58870] by
-
- 2 edits in trunk/WebCore
2010-05-06 Xan Lopez <xlopez@igalia.com>
Rubber-stamped by Eric Seidel.
[GTK] Refactor GenerateProperties in CodeGenerationGObject.pm
https://bugs.webkit.org/show_bug.cgi?id=38577
Refactor GenerateProperty out of GenerateProperties. This is in
preparation for EventListeren attributes, which won't generate
normal GObject properties.
- bindings/scripts/CodeGeneratorGObject.pm:
- 1:01 AM Changeset in webkit [58869] by
-
- 5 edits in trunk/WebCore
2010-05-06 Pavel Feldman <pfeldman@chromium.org>
Reviewed by Joseph Pecoraro.
Web Inspector: follow up to linkify event listeners.
- bindings/js/ScriptEventListener.cpp: (WebCore::eventListenerHandlerLocation):
- bindings/v8/ScriptEventListener.cpp: (WebCore::eventListenerHandlerLocation):
- inspector/front-end/ElementsPanel.js: (WebInspector.ElementsPanel.prototype.linkifyNodeReference):
- inspector/front-end/EventListenersSidebarPane.js:
- 12:05 AM Changeset in webkit [58868] by
-
- 2 edits in trunk/WebKitTools
2010-05-05 Joseph Pecoraro <Joseph Pecoraro>
Reviewed by Pavel Feldman.
Web Inspector: build-webkit --inspector-frontend Should Exclude *.re2js
https://bugs.webkit.org/show_bug.cgi?id=38449
- Scripts/webkitdirs.pm: