Timeline
Sep 21, 2011:
- 9:06 PM Changeset in webkit [95698] by
-
- 3 edits in trunk/Source/WebKit/chromium
Implement WebKit side of IDBFactory::getDatabaseNames
https://bugs.webkit.org/show_bug.cgi?id=68037
Patch by Joshua Bell <jsbell@chromium.org> on 2011-09-21
Reviewed by Tony Chang.
Interface changes and stub implementations for
new IndexedDB IDBFactory.getDatabaseNames. This is
part one of a two-sided patch.
- public/WebIDBCallbacks.h:
(WebKit::WebIDBCallbacks::onSuccess):
- public/WebIDBFactory.h:
(WebKit::WebIDBFactory::getDatabaseNames):
- 8:29 PM Changeset in webkit [95697] by
-
- 7 edits in trunk/Source/WebCore
https://bugs.webkit.org/show_bug.cgi?id=67415
Text drawn via -webkit-background-clip:text is blurry at device scale factors >1.0
-and corresponding-
<rdar://problem/10060379>
Reviewed by Darin Adler.
New helper function RenderBoxModelObject scales the mask image by the
deviceScaleFactor to get an image of the appropriate resolution. It also scales
the image's GraphicsContext so that the clip is set up on the same scale. Back in
paintFillLayerExtended() we still clip the image to the original maskRect to get
everything scaled back to the appropriate size.
- rendering/RenderBoxModelObject.cpp:
(WebCore::createDeviceScaledImageBuffer):
(WebCore::RenderBoxModelObject::paintFillLayerExtended):
Make the deviceScaleFactor convenience function just a namespace-level function in
Page rather than a static member or Page.
- page/Page.cpp:
(WebCore::deviceScaleFactor):
- page/Page.h:
Pre-existing callers of Page::deviceScaleFactor(Frame*) must now use
WebCore::deviceScaleFactor(Frame*)
- editing/DeleteButtonController.cpp:
(WebCore::DeleteButtonController::createDeletionUI):
- rendering/RenderImage.cpp:
(WebCore::RenderImage::imageSizeForError):
(WebCore::RenderImage::paintReplaced):
- rendering/RenderLayer.cpp:
(WebCore::RenderLayer::drawPlatformResizerImage):
- 7:14 PM Changeset in webkit [95696] by
-
- 6 edits4 adds in trunk/LayoutTests
Unreviewed. Chromium rebaselines for r95671.
- platform/chromium-linux/fast/table/quote-text-around-iframe-expected.png: Added.
- platform/chromium-mac/fast/table/quote-text-around-iframe-expected.png: Added.
- platform/chromium-win/fast/css-generated-content/table-cell-before-content-expected.txt:
- platform/chromium-win/fast/table/quote-text-around-iframe-expected.png: Added.
- platform/chromium-win/fast/table/quote-text-around-iframe-expected.txt: Added.
- platform/chromium-win/fast/table/table-cell-after-child-in-block-expected.txt:
- platform/chromium-win/fast/table/table-cell-before-child-in-block-expected.txt:
- platform/chromium-win/fast/table/table-row-after-child-in-block-expected.txt:
- platform/chromium-win/fast/table/table-row-before-child-in-block-expected.txt:
- 7:04 PM Changeset in webkit [95695] by
-
- 2 edits in trunk/Source/WebCore
[CG] ImageBufferData::getData has an invariant comparison in the inner part of a loop which doesn't get optimized out
https://bugs.webkit.org/show_bug.cgi?id=68588
<rdar://problem/10164955>
Reviewed by Simon Fraser.
Factor the unmultiplied check out of the inner loop, resulting in a
speed bump in ImageBufferData::getData.
No new tests, performance improvement.
- platform/graphics/cg/ImageBufferDataCG.cpp:
(WebCore::ImageBufferData::getData):
- 6:52 PM Changeset in webkit [95694] by
-
- 3 edits2 adds in trunk
:hover selector fails when hovering over a child select element with size attribute
https://bugs.webkit.org/show_bug.cgi?id=67594
Patch by Sameer Patil <mkrp87@motorola.com> on 2011-09-21
Reviewed by Darin Adler.
Source/WebCore:
Test: fast/css/hover-affects-ancestor.html
This patch addresses the problem of deactivation of the ancestor element :hover rules
when hovered its contained elements.
- rendering/RenderLayer.cpp:
(WebCore::RenderLayer::updateHoverActiveState):
LayoutTests:
- fast/css/hover-affects-ancestor-expected.txt: Added.
- fast/css/hover-affects-ancestor.html: Added.
- 6:46 PM Changeset in webkit [95693] by
-
- 2 edits in trunk/Source/JavaScriptCore
Add missing addPtr->add32 mapping for X86.
Rubber stamped by Sam Weinig.
- assembler/MacroAssembler.h:
(JSC::MacroAssembler::addPtr):
- 6:10 PM Changeset in webkit [95692] by
-
- 3 edits in trunk/Source/JavaScriptCore
Add missing addDouble for AbsoluteAddress to X86
Rubber stamped by Geoff Garen.
- assembler/MacroAssemblerX86.h:
(JSC::MacroAssemblerX86::addDouble):
- assembler/X86Assembler.h:
(JSC::X86Assembler::addsd_mr):
(JSC::X86Assembler::cvtsi2sd_rr):
(JSC::X86Assembler::cvtsi2sd_mr):
- 6:06 PM Changeset in webkit [95691] by
-
- 34 edits12 adds in trunk/LayoutTests
Rebaseline for bug 65583 (path based border radius drawing on skia) part 4
https://bugs.webkit.org/show_bug.cgi?id=68339
Patch by Ben Wells <benwells@chromium.org> on 2011-09-21
Reviewed by James Robinson.
- platform/chromium-linux/css1/box_properties/border_style-expected.png:
- platform/chromium-linux/css1/box_properties/border_style_inline-expected.png:
- platform/chromium-linux/css2.1/: 14 changes
- platform/chromium-linux/fast/borders/border-radius-inset-outset-expected.png: Added.
- platform/chromium-linux/fast/borders/border-styles-split-expected.png: Added.
- platform/chromium-linux/fast/writing-mode/border-styles-vertical-lr-expected.png: Added.
- platform/chromium-linux/fast/writing-mode/border-styles-vertical-rl-expected.png: Added.
- platform/chromium-win/css1/box_properties/border_style-expected.png:
- platform/chromium-win/css1/box_properties/border_style_inline-expected.png:
- platform/chromium-win/css2.1/: 14 changes
- platform/chromium-win/fast/borders/border-radius-inset-outset-expected.png: Added.
- platform/chromium-win/fast/borders/border-radius-inset-outset-expected.txt: Added.
- platform/chromium-win/fast/borders/border-styles-split-expected.png: Added.
- platform/chromium-win/fast/borders/border-styles-split-expected.txt: Added.
- platform/chromium-win/fast/writing-mode/border-styles-vertical-lr-expected.png: Added.
- platform/chromium-win/fast/writing-mode/border-styles-vertical-lr-expected.txt: Added.
- platform/chromium-win/fast/writing-mode/border-styles-vertical-rl-expected.png: Added.
- platform/chromium-win/fast/writing-mode/border-styles-vertical-rl-expected.txt: Added.
- platform/chromium/test_expectations.txt:
- 6:01 PM Changeset in webkit [95690] by
-
- 2 edits in trunk/Source/WebKit2
[WK2] UIProcess should check that WebProcess isn't sending unexpected file: URLs to it
https://bugs.webkit.org/show_bug.cgi?id=68573
Unreviewed follow-up fix.
- UIProcess/WebProcessProxy.cpp: (WebKit::WebProcessProxy::checkURLReceivedFromWebProcess): Just like we allow null URLs, also allow empty strings.
- 5:17 PM Changeset in webkit [95689] by
-
- 3 edits2 adds in trunk
[Chromium] Protect message ports from being deleted in V8MessageEvent::portsAccessorGetter
https://bugs.webkit.org/show_bug.cgi?id=68584
Patch by Sergey Glazunov <serg.glazunov@gmail.com> on 2011-09-21
Reviewed by Adam Barth.
Source/WebCore:
Test: fast/dom/message-port-deleted-by-accessor.html
- bindings/v8/custom/V8MessageEventCustom.cpp:
(WebCore::V8MessageEvent::portsAccessorGetter):
LayoutTests:
- fast/dom/message-port-deleted-by-accessor-expected.txt: Added.
- fast/dom/message-port-deleted-by-accessor.html: Added.
- 5:05 PM Changeset in webkit [95688] by
-
- 3 edits6 adds1 delete in trunk/LayoutTests
[chromium] Rebaselines for passing tests and expectation updates/narrowing.
- platform/chromium-cg-mac-leopard/editing/inserting/editable-inline-element-expected.png: Added.
- platform/chromium-mac-leopard/css2.1/t090204-display-change-01-b-ao-expected.png: Added.
- platform/chromium-mac-leopard/editing/inserting/editable-inline-element-expected.png: Added.
- platform/chromium-mac/css2.1/t090204-display-change-01-b-ao-expected.png:
- platform/chromium-mac/css2.1/t090204-display-change-01-b-ao-expected.txt: Removed.
- platform/chromium/test_expectations.txt:
- 5:04 PM Changeset in webkit [95687] by
-
- 3 edits in trunk/Source/JavaScriptCore
Build fix following fix for bug #68586.
- jit/JIT.cpp:
- jit/JITInlineMethods.h:
- 4:58 PM Changeset in webkit [95686] by
-
- 2 edits in trunk/Source/WebCore
Add back protection against the NSView going away while handling mouseDown
https://bugs.webkit.org/show_bug.cgi?id=68585
Reviewed by Darin Adler.
Add calls to RenderWidget::suspendWidgetHierarchyUpdates() and RenderWidget::resumeWidgetHierarchyUpdates(),
as a followup fix to https://bugs.webkit.org/show_bug.cgi?id=68570.
- page/mac/EventHandlerMac.mm:
(WebCore::EventHandler::passMouseDownEventToWidget):
- 4:50 PM Changeset in webkit [95685] by
-
- 21 edits10 adds in trunk
Crash in RenderBox::paintMaskImages when GraphicsContext's painting is disabled
https://bugs.webkit.org/show_bug.cgi?id=68133
Reviewed by Darin Adler.
.:
- Source/autotools/symbols.filter: Added the mangled symbols needed for window.internals
Source/WebCore:
Tests: fast/css/webkit-mask-crash-fieldset-legend.html
fast/css/webkit-mask-crash-figure.html
fast/css/webkit-mask-crash-table.html
fast/css/webkit-mask-crash-td-2.html
fast/css/webkit-mask-crash-td.html
GraphicsContext::getCTM crashes if called with a GraphicsContext that has painting
disabled. RenderBox::paintMaskImages would thus crash if called in this condition.
This change just modifies the different GraphicsContext::getCTM method to bail early
if painting is disabled on the GraphicsContext. The rest of the change is exposing
paintControlTints that exposes this.
- WebCore.exp.in: Added symbols of the newly export window.internals function.
- page/FrameView.cpp:
(WebCore::FrameView::updateControlTints): Split this function in 2 so that
I can expose the internal paintControlTints.
(WebCore::FrameView::paintControlTints):
This is the one exposed to Internals as we want to be testable regardless of
whether the platform supports control tints.
- page/FrameView.h: Added paintControlTints.
- testing/Internals.cpp:
(WebCore::Internals::paintControlTints):
- testing/Internals.h:
- testing/Internals.idl:
Added a way to force a fake painting so that we can easily reproduce the bugs.
- platform/graphics/cairo/GraphicsContextCairo.cpp:
(WebCore::GraphicsContext::getCTM):
- platform/graphics/cg/GraphicsContextCG.cpp:
(WebCore::GraphicsContext::getCTM):
- platform/graphics/qt/GraphicsContextQt.cpp:
(WebCore::GraphicsContext::getCTM):
- platform/graphics/skia/GraphicsContextSkia.cpp:
(WebCore::GraphicsContext::getCTM):
- platform/graphics/wince/GraphicsContextWinCE.cpp:
(WebCore::GraphicsContext::getCTM):
- platform/graphics/wx/GraphicsContextWx.cpp:
(WebCore::GraphicsContext::getCTM):
Fixed all our back-end to exit early if painting is disabled.
Source/WebKit2:
- win/WebKit2.def:
- win/WebKit2CFLite.def:
Exported the new FrameView::paintControlTints function.
LayoutTests:
Those tests checks that we do not crash when calling internals.paintControlTints.
- platform/mac/Skipped: Skipped 2 tests as they are hitting an ASSERT unrelated to
this change on Mac.
- fast/css/webkit-mask-crash-fieldset-legend-expected.txt: Added.
- fast/css/webkit-mask-crash-fieldset-legend.html: Added.
- fast/css/webkit-mask-crash-figure-expected.txt: Added.
- fast/css/webkit-mask-crash-figure.html: Added.
- fast/css/webkit-mask-crash-table-expected.txt: Added.
- fast/css/webkit-mask-crash-table.html: Added.
- fast/css/webkit-mask-crash-td-2-expected.txt: Added.
- fast/css/webkit-mask-crash-td-2.html: Added.
- fast/css/webkit-mask-crash-td-expected.txt: Added.
- fast/css/webkit-mask-crash-td.html: Added.
- 4:49 PM Changeset in webkit [95684] by
-
- 2 edits in trunk/Source/JavaScriptCore
DFG JIT should be able to compile op_throw
https://bugs.webkit.org/show_bug.cgi?id=68571
Patch by Filip Pizlo <fpizlo@apple.com> on 2011-09-21
Reviewed by Geoffrey Garen.
This compiles op_throw in the simplest way possible: it's an OSR
point back to the old JIT. This is a good step towards increasing
coverage, particularly on Kraken, but it's neutral because the
same functions that do throw also use some other unsupported
opcodes.
- dfg/DFGByteCodeParser.cpp:
(JSC::DFG::ByteCodeParser::parseBlock):
- dfg/DFGCapabilities.h:
(JSC::DFG::canCompileOpcode):
- dfg/DFGNode.h:
- dfg/DFGPropagator.cpp:
(JSC::DFG::Propagator::propagateNodePredictions):
- dfg/DFGSpeculativeJIT.cpp:
(JSC::DFG::SpeculativeJIT::compile):
- 4:46 PM Changeset in webkit [95683] by
-
- 6 edits in trunk/Source/JavaScriptCore
DFG JIT should be able to compile op_throw
https://bugs.webkit.org/show_bug.cgi?id=68571
Reviewed by Geoffrey Garen.
This compiles op_throw in the simplest way possible: it's an OSR
point back to the old JIT. This is a good step towards increasing
coverage, particularly on Kraken, but it's neutral because the
same functions that do throw also use some other unsupported
opcodes.
- dfg/DFGByteCodeParser.cpp:
(JSC::DFG::ByteCodeParser::parseBlock):
- dfg/DFGCapabilities.h:
(JSC::DFG::canCompileOpcode):
- dfg/DFGNode.h:
- dfg/DFGPropagator.cpp:
(JSC::DFG::Propagator::propagateNodePredictions):
- dfg/DFGSpeculativeJIT.cpp:
(JSC::DFG::SpeculativeJIT::compile):
- 4:44 PM Changeset in webkit [95682] by
-
- 4 edits in trunk
IndexedDB: compare strings without decoding
https://bugs.webkit.org/show_bug.cgi?id=68554
Patch by Joshua Bell <jsbell@chromium.org> on 2011-09-21
Reviewed by Tony Chang.
Resolves a FIXME in IndexedDB that was also identified as a hotspot
during profiling. Yields a small performance improvement.
- Source/WebCore/storage/IDBLevelDBCoding.cpp:
- Source/WebCore/storage/IDBLevelDBCoding.h:
- Source/WebKit/chromium/tests/IDBLevelDBCodingTest.cpp:
- 4:36 PM Changeset in webkit [95681] by
-
- 24 edits3 adds in trunk/Source/JavaScriptCore
DFG should support continuous optimization
https://bugs.webkit.org/show_bug.cgi?id=68329
Reviewed by Geoffrey Garen.
This adds the ability to reoptimize a code block if speculation
failures happen frequently. 6% speed-up on Kraken, 1% slow-down
on V8, neutral on SunSpider.
- CMakeLists.txt:
- GNUmakefile.list.am:
- JavaScriptCore.pro:
- JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.vcproj:
- JavaScriptCore.vcproj/WTF/WTF.vcproj:
- JavaScriptCore.xcodeproj/project.pbxproj:
- bytecode/CodeBlock.cpp:
(JSC::CodeBlock::CodeBlock):
(JSC::ProgramCodeBlock::jettison):
(JSC::EvalCodeBlock::jettison):
(JSC::FunctionCodeBlock::jettison):
(JSC::CodeBlock::shouldOptimizeNow):
(JSC::CodeBlock::dumpValueProfiles):
- bytecode/CodeBlock.h:
- dfg/DFGByteCodeParser.cpp:
(JSC::DFG::ByteCodeParser::getStrongPrediction):
- dfg/DFGJITCompiler.cpp:
(JSC::DFG::JITCompiler::exitSpeculativeWithOSR):
(JSC::DFG::JITCompiler::compileEntry):
(JSC::DFG::JITCompiler::compileBody):
- dfg/DFGJITCompiler.h:
(JSC::DFG::JITCompiler::noticeOSREntry):
- dfg/DFGOSREntry.cpp:
(JSC::DFG::prepareOSREntry):
- dfg/DFGOSREntry.h:
(JSC::DFG::getOSREntryDataBytecodeIndex):
- dfg/DFGSpeculativeJIT.cpp:
(JSC::DFG::SpeculativeJIT::compile):
- heap/ConservativeRoots.cpp:
(JSC::ConservativeRoots::ConservativeRoots):
(JSC::ConservativeRoots::~ConservativeRoots):
(JSC::DummyMarkHook::mark):
(JSC::ConservativeRoots::genericAddPointer):
(JSC::ConservativeRoots::genericAddSpan):
(JSC::ConservativeRoots::add):
- heap/ConservativeRoots.h:
- heap/Heap.cpp:
(JSC::Heap::addJettisonCodeBlock):
(JSC::Heap::markRoots):
- heap/Heap.h:
- heap/JettisonedCodeBlocks.cpp: Added.
(JSC::JettisonedCodeBlocks::JettisonedCodeBlocks):
(JSC::JettisonedCodeBlocks::~JettisonedCodeBlocks):
(JSC::JettisonedCodeBlocks::addCodeBlock):
(JSC::JettisonedCodeBlocks::clearMarks):
(JSC::JettisonedCodeBlocks::deleteUnmarkedCodeBlocks):
(JSC::JettisonedCodeBlocks::traceCodeBlocks):
- heap/JettisonedCodeBlocks.h: Added.
(JSC::JettisonedCodeBlocks::mark):
- interpreter/RegisterFile.cpp:
(JSC::RegisterFile::gatherConservativeRoots):
- interpreter/RegisterFile.h:
- jit/JITStubs.cpp:
(JSC::DEFINE_STUB_FUNCTION):
- runtime/Executable.cpp:
(JSC::jettisonCodeBlock):
(JSC::EvalExecutable::jettisonOptimizedCode):
(JSC::ProgramExecutable::jettisonOptimizedCode):
(JSC::FunctionExecutable::jettisonOptimizedCodeForCall):
(JSC::FunctionExecutable::jettisonOptimizedCodeForConstruct):
- runtime/Executable.h:
(JSC::FunctionExecutable::jettisonOptimizedCodeFor):
- wtf/BitVector.h: Added.
(WTF::BitVector::BitVector):
(WTF::BitVector::~BitVector):
(WTF::BitVector::operator=):
(WTF::BitVector::size):
(WTF::BitVector::ensureSize):
(WTF::BitVector::resize):
(WTF::BitVector::clearAll):
(WTF::BitVector::get):
(WTF::BitVector::set):
(WTF::BitVector::clear):
(WTF::BitVector::bitsInPointer):
(WTF::BitVector::maxInlineBits):
(WTF::BitVector::byteCount):
(WTF::BitVector::makeInlineBits):
(WTF::BitVector::OutOfLineBits::numBits):
(WTF::BitVector::OutOfLineBits::numWords):
(WTF::BitVector::OutOfLineBits::bits):
(WTF::BitVector::OutOfLineBits::create):
(WTF::BitVector::OutOfLineBits::destroy):
(WTF::BitVector::OutOfLineBits::OutOfLineBits):
(WTF::BitVector::isInline):
(WTF::BitVector::outOfLineBits):
(WTF::BitVector::resizeOutOfLine):
(WTF::BitVector::bits):
- 4:32 PM Changeset in webkit [95680] by
-
- 2 edits in trunk/Tools
Update committers.py with a new contributor contact
https://bugs.webkit.org/show_bug.cgi?id=68565
Reviewed by Eric Carlson.
- Scripts/webkitpy/common/config/committers.py:
- 4:25 PM Changeset in webkit [95679] by
-
- 8 edits in trunk/Source/WebKit2
[WK2] UIProcess should check that WebProcess isn't sending unexpected file: URLs to it
https://bugs.webkit.org/show_bug.cgi?id=68573
Reviewed by Anders Carlsson.
- UIProcess/API/mac/WKView.mm: (maybeCreateSandboxExtensionFromPasteboard): Return a boolean, telling the caller whether an extension actually needed to be created (-[WKView performDragOperation:]): Tell process proxy when the process is going to get universal file read sandbox extension.
- UIProcess/WebContext.cpp: (WebKit::WebContext::didPerformClientRedirect): Check the URLs. (WebKit::WebContext::didPerformServerRedirect): Ditto. (WebKit::WebContext::didUpdateHistoryTitle): Ditto. (WebKit::WebContext::getPluginPath): Ditto. Also, properly parse the URL - we can never assume that a string coming from WebProcess is a ParsedURLString.
- UIProcess/WebPageProxy.cpp: (WebKit::WebPageProxy::reattachToWebProcessWithItem): Tell process proxy when the process is going to get universal file read sandbox extension. (WebKit::WebPageProxy::maybeInitializeSandboxExtensionHandle): Changed to return a boolean, telling the caller whether an extension actually needed to be created. (WebKit::WebPageProxy::loadURL): Tell process proxy about extension. (WebKit::WebPageProxy::loadURLRequest): Ditto. (WebKit::WebPageProxy::loadHTMLString): Tell process proxy if a file URL was used as a base one for a string. In this case, WebKit2 assumes that WebProcess has access to a subdirectory, (typically, one where error page resources live), and can load from it. (WebKit::WebPageProxy::loadAlternateHTMLString): Ditto. (WebKit::WebPageProxy::goForward): Tell process proxy about extension. (WebKit::WebPageProxy::goBack): Tell process proxy about extension. (WebKit::WebPageProxy::goToBackForwardItem): Tell process proxy about extension. (WebKit::WebPageProxy::didStartProvisionalLoadForFrame): Check the URL. (WebKit::WebPageProxy::didReceiveServerRedirectForProvisionalLoadForFrame): Ditto. (WebKit::WebPageProxy::didSameDocumentNavigationForFrame): Ditto. (WebKit::WebPageProxy::decidePolicyForNavigationAction): Ditto. (WebKit::WebPageProxy::decidePolicyForNewWindowAction): Ditto. (WebKit::WebPageProxy::decidePolicyForResponse): Ditto. (WebKit::WebPageProxy::didInitiateLoadForResource): Ditto. (WebKit::WebPageProxy::didSendRequestForResource): Ditto. (WebKit::WebPageProxy::didReceiveResponseForResource): Ditto. (WebKit::WebPageProxy::missingPluginButtonClicked): Ditto.
- UIProcess/WebPageProxy.h: Changed initializeSandboxExtensionHandle() to return a bool, and renamed to maybeInitializeSandboxExtensionHandle (matching WKView counterpart).
- UIProcess/WebProcessProxy.cpp: (WebKit::WebProcessProxy::WebProcessProxy): Initialize m_mayHaveUniversalFileReadSandboxExtension. It's going to be true if we ever granted an extension for "/". (WebKit::WebProcessProxy::willLoadHTMLStringWithBaseURL): Remember the path, we should expect that WebProcess will load subresources from it. (WebKit::WebProcessProxy::checkURLReceivedFromWebProcess): Check that it's reasonable to expect WebProcess send us a URL like this. (WebKit::WebProcessProxy::addBackForwardItem): Check the URLs.
- UIProcess/WebProcessProxy.h: Added data members remembering what to expect from this process.
- UIProcess/cf/WebPageProxyCF.cpp: (WebKit::WebPageProxy::restoreFromSessionStateData): Tell process proxy when the process is going to get universal file read sandbox extension.
- 4:06 PM Changeset in webkit [95678] by
-
- 9 edits in trunk/Source
Add settings to control the availability of the Web Audio API to WebKit and WebKit2.
https://bugs.webkit.org/show_bug.cgi?id=68382
Source/WebCore:
Reviewed by Darin Adler.
Only create a AudioContext object if the Web Audio feature is runtime-enabled in Settings.
No new tests, as this feature is not yet enabled by default.
- bindings/js/JSDOMWindowCustom.cpp:
(WebCore::JSDOMWindow::webkitAudioContext):
Source/WebKit/mac:
Reviewed by Darin Adler.
Initialize the webAudioEnabled preference to NO by default.
- WebView/WebPreferences.mm:
(+[WebPreferences initialize]):
Source/WebKit2:
Add support for the webAudioEnabled preference in WebKit2.
Reviewed by Darin Adler.
- Shared/WebPreferencesStore.h: Add WebAudioEnabled getter and setter macro.
- UIProcess/API/C/WKPreferences.cpp:
(WKPreferencesSetWebAudioEnabled): Added.
(WKPreferencesGetWebAudioEnabled): Added.
- UIProcess/API/C/WKPreferences.h:
- WebProcess/WebPage/WebPage.cpp:
(WebKit::WebPage::updatePreferences): Update the webAudioEnabled preference.
- 3:54 PM Changeset in webkit [95677] by
-
- 2 edits in trunk/Source/WebKit/chromium
[chromium] Code cleanup in gesture recognizer unit tests
https://bugs.webkit.org/show_bug.cgi?id=68561
Fix some style nits in the gesture recognizer unit tests.
Patch by Robert Kroeger <rjkroege@chromium.org> on 2011-09-21
Reviewed by David Levin.
- tests/InnerGestureRecognizerTest.cpp:
(InspectableGestureRecognizerChromium::stubEdgeFunction):
(BuildablePlatformTouchPoint::BuildablePlatformTouchPoint):
(TEST_F):
- 3:43 PM Changeset in webkit [95676] by
-
- 7 edits in trunk/Source/JavaScriptCore
Should support value profiling on CPU(X86)
https://bugs.webkit.org/show_bug.cgi?id=68575
Reviewed by Sam Weinig.
Fix verbose profiling in ToT (SlowCaseProfile had been
partially renamed to RareCaseProfile), add in-memory
bucket counter for CPU(X86), move JIT::m_canBeOptimized
out of the DFG_JIT ifdef.
- bytecode/CodeBlock.cpp:
(JSC::CodeBlock::resetRareCaseProfiles):
(JSC::CodeBlock::dumpValueProfiles):
- bytecode/CodeBlock.h:
- dfg/DFGByteCodeParser.cpp:
(JSC::DFG::ByteCodeParser::makeSafe):
- jit/JIT.cpp:
(JSC::JIT::privateCompileSlowCases):
(JSC::JIT::privateCompile):
- jit/JIT.h:
- jit/JITInlineMethods.h:
(JSC::JIT::emitValueProfilingSite):
- 3:41 PM Changeset in webkit [95675] by
-
- 7 edits in trunk/Source
Remove checks for Leopard-only Objective-C APIs
https://bugs.webkit.org/show_bug.cgi?id=68579
Reviewed by Sam Weinig.
We can always assume that OBJC_API_VERSION is at least 2, it's been 2 since Leopard.
../WebCore:
- bridge/objc/objc_class.mm:
(JSC::Bindings::ObjcClass::methodsNamed):
(JSC::Bindings::ObjcClass::fieldNamed):
- bridge/objc/objc_instance.mm:
(allocateAutoReleasePool):
- bridge/objc/objc_runtime.mm:
(JSC::Bindings::ObjcField::ObjcField):
- page/mac/EventHandlerMac.mm:
../WebKit/mac:
- Misc/WebNSObjectExtras.h:
- 3:33 PM Changeset in webkit [95674] by
-
- 1 edit in trunk/LayoutTests/ChangeLog
Fix resolve-Changelog's strange butchery of the LayoutTests/Changelog.
- 3:20 PM Changeset in webkit [95673] by
-
- 5 edits in trunk/Source/WebCore
Remove Widget::beforeMouseDown and Widget::afterMouseDown
https://bugs.webkit.org/show_bug.cgi?id=68570
Reviewed by Sam Weinig.
These two member functions were originally added to avoid crashes due to removing NSViews while they were
being tracked by AppKit. Since they were added, we've moved away from NSViews for form controls, and the bugs in
AppKit that lead to crashes have been fixed.
- page/mac/EventHandlerMac.mm:
(WebCore::EventHandler::passMouseDownEventToWidget):
- platform/Widget.h:
- platform/mac/WidgetMac.mm:
(WebCore::Widget::Widget):
(WebCore::Widget::removeFromSuperview):
- rendering/RenderWidget.cpp:
Change widgetHierarchyUpdateSuspendCount to be an unsigned integer instead of a size_t.
- 3:17 PM Changeset in webkit [95672] by
-
- 10 edits in trunk/Source/JavaScriptCore
DFG does not support compiling functions as constructors
https://bugs.webkit.org/show_bug.cgi?id=68500
Reviewed by Oliver Hunt.
This adds support for compiling constructors to the DFG. It's a
1% speed-up on V8, mostly due to a 6% speed-up on early-boyer.
It's also a 13% win on access-binary-trees, but it's neutral in
the SunSpider and Kraken averages.
- dfg/DFGByteCodeParser.cpp:
(JSC::DFG::ByteCodeParser::parseBlock):
- dfg/DFGCapabilities.h:
(JSC::DFG::mightCompileFunctionForConstruct):
(JSC::DFG::canCompileOpcode):
- dfg/DFGNode.h:
- dfg/DFGOperations.cpp:
- dfg/DFGOperations.h:
- dfg/DFGPropagator.cpp:
(JSC::DFG::Propagator::propagateNodePredictions):
(JSC::DFG::Propagator::performNodeCSE):
- dfg/DFGSpeculativeJIT.cpp:
(JSC::DFG::SpeculativeJIT::compile):
- runtime/Executable.cpp:
(JSC::FunctionExecutable::compileOptimizedForConstruct):
(JSC::FunctionExecutable::compileForConstructInternal):
- runtime/Executable.h:
(JSC::FunctionExecutable::compileForConstruct):
(JSC::FunctionExecutable::compileFor):
(JSC::FunctionExecutable::compileOptimizedFor):
- 3:05 PM Changeset in webkit [95671] by
-
- 16 edits3 adds in trunk
Source/WebCore: Not use anonymousContainer on beforeChild calculation
and let later code handle it. Fix style update on block-level
anonymous objects.
https://bugs.webkit.org/show_bug.cgi?id=67656
Reviewed by David Hyatt.
Test: fast/table/quote-text-around-iframe.html
- rendering/RenderTable.cpp:
(WebCore::RenderTable::addChild):
- rendering/RenderTableCell.cpp:
(WebCore::RenderTableCell::styleDidChange):
- rendering/RenderTableRow.cpp:
(WebCore::RenderTableRow::addChild):
- rendering/RenderObject.cpp:
(WebCore::RenderObject::propagateStyleToAnonymousChildren):
LayoutTests: Not use anonymousContainer on beforeChild calculation
and let later code handle it.
https://bugs.webkit.org/show_bug.cgi?id=67656
Reviewed by David Hyatt.
- fast/table/quote-text-around-iframe.html: Added.
- fast/table/table-row-style-not-updated-with-after-content-expected.txt:
- platform/mac/fast/table/quote-text-around-iframe-expected.png: Added.
- platform/mac/fast/table/quote-text-around-iframe-expected.txt: Added.
and lot of style propagation rebaselines.
- 2:56 PM Changeset in webkit [95670] by
-
- 4 edits3 adds in trunk
Source/WebCore: https://bugs.webkit.org/show_bug.cgi?id=68562
Pagination struts don't update properly when collapsing margin estimates are wrong.
Refactor the pagination adjustments that happen during block layout to allow for
a 3-pass layout system instead of just a 2-pass layout system. The basic idea is
to come up with an estimate that includes collapsing, clearance and pagination.
If the estimate only with collapsing and clearance was wrong, then we lay out again
using the correct collapsing margin values and clearance before applying pagination breaks.
After this second layout, the normal code that runs when unpaginated compares estimates
and lays out a third time to account for adjustments as a result of pagination movement.
Reviewed by Sam Weinig.
Added fast/regions/text-regions-split-small-pagination.html
- rendering/RenderBlock.cpp:
(WebCore::RenderBlock::estimateLogicalTopPosition):
(WebCore::RenderBlock::layoutBlockChild):
(WebCore::RenderBlock::adjustBlockChildForPagination):
- rendering/RenderBlock.h:
LayoutTests: https://bugs.webkit.org/show_bug.cgi?id=68562
Pagination struts don't update properly when collapsing margin estimates are wrong.
Add a new regions result to test the bug fix.
Reviewed by Sam Weinig.
- fast/regions/text-region-split-small-pagination.html: Added.
- platform/mac/fast/regions/text-region-split-small-pagination-expected.png: Added.
- platform/mac/fast/regions/text-region-split-small-pagination-expected.txt: Added.
- 2:21 PM Changeset in webkit [95669] by
-
- 3 edits in trunk/Source/WebKit/chromium
Remove old and busted context notification APIs
https://bugs.webkit.org/show_bug.cgi?id=68381
Reviewed by David Levin.
- public/WebFrameClient.h:
- src/FrameLoaderClientImpl.cpp:
(WebKit::FrameLoaderClientImpl::didCreateScriptContext):
(WebKit::FrameLoaderClientImpl::willReleaseScriptContext):
- 1:39 PM Changeset in webkit [95668] by
-
- 2 edits in trunk/Source/WebCore
[chromium] SharedGraphicsContext3D's context should not be destroyed during atexit
https://bugs.webkit.org/show_bug.cgi?id=68558
Reviewed by Stephen White.
The SharedGraphicsContext3D's internal context is lazily created and then leaked intentionally, but since the
last ref is in a function-static RefPtr<> it ends up being destroyed at process exit time. This is bad, since
by the time we get this far in process shutdown we can't actually cleanly run the destruction logic and we
crash. Since we are explicitly leaking this for the lifetime of the process there's no point in keeping it in a
RefPtr<>
- platform/graphics/gpu/SharedGraphicsContext3D.cpp:
(WebCore::SharedGraphicsContext3D::get):
- 1:13 PM Changeset in webkit [95667] by
-
- 3 edits2 adds in trunk
[Chromium] Protect the Frame in V8HTMLDocument::openCallback
https://bugs.webkit.org/show_bug.cgi?id=68555
Patch by Sergey Glazunov <serg.glazunov@gmail.com> on 2011-09-21
Reviewed by Nate Chapin.
Source/WebCore:
Test: fast/dom/frame-deleted-in-document-open.html
- bindings/v8/custom/V8HTMLDocumentCustom.cpp:
(WebCore::V8HTMLDocument::openCallback):
LayoutTests:
- fast/dom/frame-deleted-in-document-open-expected.txt: Added.
- fast/dom/frame-deleted-in-document-open.html: Added.
- 12:59 PM Changeset in webkit [95666] by
-
- 16 edits in trunk/Source/JavaScriptCore
Replace jsFunctionVPtr compares with a type check on the Structure.
https://bugs.webkit.org/show_bug.cgi?id=68557
Reviewed by Oliver Hunt.
This will permit calls to still optimize to subclasses of JSFunction
that have the correct type (but a different C++ vptr).
This patch stops passing the globalData into numerous functions.
- dfg/DFGByteCodeParser.cpp:
(JSC::DFG::ByteCodeParser::parseBlock):
- dfg/DFGGraph.h:
(JSC::DFG::Graph::isFunctionConstant):
(JSC::DFG::Graph::valueOfFunctionConstant):
- dfg/DFGJITCompiler.h:
(JSC::DFG::JITCompiler::isFunctionConstant):
(JSC::DFG::JITCompiler::valueOfFunctionConstant):
- dfg/DFGOperations.cpp:
- interpreter/Interpreter.cpp:
(JSC::Interpreter::privateExecute):
- jit/JIT.h:
- jit/JITCall.cpp:
(JSC::JIT::compileOpCallVarargs):
(JSC::JIT::compileOpCallSlowCase):
- jit/JITCall32_64.cpp:
(JSC::JIT::compileOpCallVarargs):
(JSC::JIT::compileOpCallSlowCase):
- jit/JITInlineMethods.h:
(JSC::JIT::emitJumpIfNotType):
- jit/JITStubs.cpp:
(JSC::DEFINE_STUB_FUNCTION):
- runtime/Executable.h:
(JSC::isHostFunction):
- runtime/JSFunction.h:
(JSC::JSFunction::createStructure):
- runtime/JSObject.cpp:
(JSC::JSObject::put):
(JSC::JSObject::putWithAttributes):
- runtime/JSObject.h:
(JSC::getJSFunction):
(JSC::JSObject::putDirect):
(JSC::JSObject::putDirectWithoutTransition):
- runtime/JSType.h:
- 12:49 PM Changeset in webkit [95665] by
-
- 3 edits in trunk
Unreviewed. Remove unused ENABLE_AS_IMAGE flag after r95234 from
Options{Efl,WinCE}.cmake.
- Source/cmake/OptionsEfl.cmake:
- Source/cmake/OptionsWinCE.cmake:
- 12:47 PM Changeset in webkit [95664] by
-
- 8 edits2 adds in trunk
Clean up CSS Counter code
https://bugs.webkit.org/show_bug.cgi?id=68492
Reviewed by Tony Chang.
Source/WebCore:
Several cleanups/fixes:
- Make Counter::listStyle() return the actual list style string, rather than empty string.
- Handle a specified list style of "none" correctly when generating cssText and in Counter::listStyle().
- Use StringBuilder when generating cssText.
Test: fast/css/counters/getCounterValue.html
- css/CSSParser.cpp:
(WebCore::CSSParser::parseCounterContent):
Simplify processing (moving conversion to CSSStyleSelector),
pass a CSS_IDENT as the listStyle to Counter::create.
- css/CSSPrimitiveValue.cpp:
(WebCore::CSSPrimitiveValue::cssText):
Use StringBuilder.
- css/CSSStyleSelector.cpp:
(WebCore::CSSStyleSelector::applyProperty):
Convert from a CSS_IDENT to an EListStyleType.
- css/Counter.h:
(WebCore::Counter::listStyleIdent):
Renamed from listStyleNumber to match its new functionality.
LayoutTests:
Added tests for setting the list style to "none"
as well as tests for getCounterValue.
- fast/css/counters/counter-cssText-expected.txt:
- fast/css/counters/counter-cssText.html:
- fast/css/counters/getCounterValue-expected.txt: Added.
- fast/css/counters/getCounterValue.html: Added.
- 12:34 PM Changeset in webkit [95663] by
-
- 3 edits in trunk/Source/JavaScriptCore
Removed WTFTHREADDATA_MULTITHREADED, making it always true
https://bugs.webkit.org/show_bug.cgi?id=68549
Reviewed by Darin Adler.
Another part of making threads exist in WebKit.
- wtf/WTFThreadData.cpp:
- wtf/WTFThreadData.h:
(WTF::wtfThreadData):
- 12:33 PM Changeset in webkit [95662] by
-
- 2 edits in trunk/Source/WebCore
2011-09-21 Chris Marrin <cmarrin@apple.com>
Check in WebCore.vcproj file unchanged but written like MSDev likes it
Unreviewed.
- WebCode.vcproj/WebCore.vcproj:
- 12:30 PM Changeset in webkit [95661] by
-
- 8 edits in trunk/Source/WebKit2
Use the prefix "WK" instead of "Web" for Objective-C classes defined in WebKit2.
Reviewed by Anders Carlsson.
Renamed WebInspectorProxyObjCAdapter to WKWebInspectorProxyObjCAdapter.
Renamed WebInspectorWKView to WKWebInspectorWKView.
Renamed WebFindIndicatorWindowAnimation to WKFindIndicatorWindowAnimation.
Renamed WebFindIndicatorView to WKFindIndicatorView.
Renamed WebUserDataWrapper to WKUserDataWrapper.
Updated the build phase checking for inappropriate Objective-C class names to disallow the prefix
"Web" and only allow "WK".
- UIProcess/API/mac/FindIndicatorWindow.h:
- UIProcess/API/mac/FindIndicatorWindow.mm:
(WebKit::FindIndicatorWindow::setFindIndicator):
(WebKit::FindIndicatorWindow::startFadeOutTimerFired):
- UIProcess/WebInspectorProxy.h:
- UIProcess/mac/WebContextMenuProxyMac.mm:
(-[WKMenuTarget forwardContextMenuAction:]):
(WebKit::nsMenuItemVector):
- UIProcess/mac/WebInspectorProxyMac.mm:
(WebKit::WebInspectorProxy::platformCreateInspectorPage):
(WebKit::WebInspectorProxy::platformOpen):
- WebKit2.xcodeproj/project.pbxproj:
- WebProcess/FullScreen/mac/WebFullScreenManagerMac.mm:
(WebKit::WebFullScreenManagerMac::WebFullScreenManagerMac):
- 12:24 PM Changeset in webkit [95660] by
-
- 18 edits in trunk
[WK2] [Mac] Implement a more-complete MouseDown/MouseUp/MouseMoveTo functions for WebKit2 EventSender
https://bugs.webkit.org/show_bug.cgi?id=68108
This patch implements the event sender mouse events through WebKit2 UIProcess which is
closer to the real simulation than a WebProcess-only approach. The patch only supports Mac
platform as the first step so the existing code is still kept for other platforms.
Source/WebKit2:
Patch by Chang Shu <cshu@webkit.org> on 2011-09-21
Reviewed by Darin Adler.
- UIProcess/API/C/WKPage.cpp:
(WKPageSetShouldSendEventsSynchronously):
- UIProcess/API/C/WKPagePrivate.h:
- UIProcess/WebPageProxy.cpp:
(WebKit::WebPageProxy::WebPageProxy):
(WebKit::WebPageProxy::handleMouseEvent):
(WebKit::WebPageProxy::handleKeyboardEvent):
- UIProcess/WebPageProxy.h:
(WebKit::WebPageProxy::setShouldSendEventsSynchronously):
- WebProcess/WebPage/WebPage.cpp:
(WebKit::WebPage::mouseEventSyncForTesting):
- WebProcess/WebPage/WebPage.h:
- WebProcess/WebPage/WebPage.messages.in:
Tools:
Patch by Chang Shu <cshu@webkit.org> on 2011-09-21
Reviewed by Darin Adler.
- WebKitTestRunner/EventSenderProxy.h:
(WTR::EventSenderProxy::EventSenderProxy):
(WTR::EventSenderProxy::leapForward):
(WTR::EventSenderProxy::currentEventTime):
- WebKitTestRunner/InjectedBundle/EventSendingController.cpp:
(WTR::EventSendingController::EventSendingController):
(WTR::EventSendingController::mouseDown):
(WTR::EventSendingController::mouseUp):
(WTR::EventSendingController::mouseMoveTo):
(WTR::EventSendingController::leapForward):
(WTR::EventSendingController::keyDown):
- WebKitTestRunner/InjectedBundle/EventSendingController.h:
- WebKitTestRunner/TestController.cpp:
(WTR::TestController::didReceiveSynchronousMessageFromInjectedBundle):
- WebKitTestRunner/mac/EventSenderProxy.mm:
(WTR::eventTypeForMouseButtonAndAction):
(WTR::operator==):
(WTR::EventSenderProxy::updateClickCountForButton):
(WTR::EventSenderProxy::mouseDown):
(WTR::EventSenderProxy::mouseUp):
(WTR::EventSenderProxy::mouseMoveTo):
(WTR::EventSenderProxy::keyDown):
- WebKitTestRunner/qt/EventSenderProxyQt.cpp:
(WTR::EventSenderProxy::keyDown):
(WTR::EventSenderProxy::mouseDown):
(WTR::EventSenderProxy::mouseUp):
(WTR::EventSenderProxy::mouseMoveTo):
LayoutTests:
Unskip the passed tests.
Patch by Chang Shu <cshu@webkit.org> on 2011-09-21
Reviewed by Darin Adler.
- platform/mac-wk2/Skipped:
- platform/wk2/Skipped:
- 12:17 PM Changeset in webkit [95659] by
-
- 28 edits in trunk/Source/WebKit/efl
[EFL] Revert pointer operator coding style in ewk
https://bugs.webkit.org/show_bug.cgi?id=68231
Reviewed by Antonio Gomes.
The WebKit coding style mandates that "(...) in C++ code - Both pointer
types and reference types should be written with no space between the
type name and the * or &.". Until now EFL port was using the
coding-style of the library for platform code instead of WebKit's.
We are now trying to be more compliant with WebKit coding-style so it's
easier for other reviewers to review EFL code. The first step in this
direction is to move the '*' and '&' of pointers and references to the
right place.
This patch was generated with 'uncrustify' with the configure file
attached to the respective but report. There was one fix that had to be
manually made in order to keep the 'check-webkit-style' happy: a
function definition with a meaningless name. Other functions like this
exist but they will be fixed by a later patch.
Some nice side-effects of using uncrustify:
- Whitespace cleanup on comments
- Function parameters are aligned to the open parenthesis
- Remove tab characters
- 12:11 PM Changeset in webkit [95658] by
-
- 4 edits in trunk/Source/WebCore
[chromium] Optimize ImageBuffer constructor when accelerated
https://bugs.webkit.org/show_bug.cgi?id=68501
If the accelerated rendering mode is passed in to ImageBuffer, instead
of creating a bitmap PlatformCanvas and subsequently replacing its
device with an SkGpuDevice, create an SkCanvas and SkGpuDevice first,
and fall back to raster creation only failure. This saves on system
RAM for the backing store (and possibly GDI resources).
Reviewed by James Robinson.
Covered by existing tests.
- platform/graphics/gpu/SharedGraphicsContext3D.cpp:
(WebCore::SharedGraphicsContext3D::get):
- platform/graphics/gpu/SharedGraphicsContext3D.h:
Rename "SharedGraphicsContext3D::create()" to "get()" to more
accurately reflect its function.
- platform/graphics/skia/ImageBufferSkia.cpp:
(WebCore::createAcceleratedCanvas):
Refactor creation of accelerated ImageBuffer.
(WebCore::ImageBuffer::ImageBuffer):
Attempt creation of accelerated ImageBuffer first, and only fall back
to bitmap-backed canvas creation if it fails.
- 12:06 PM Changeset in webkit [95657] by
-
- 3 edits4 copies in branches/chromium/874
Merge 95471 - [Chromium] Crash after magic iframe transfer for Pepper/NaCl plugins.
https://bugs.webkit.org/show_bug.cgi?id=68267
Make adoptNode() to not enable live iframe transfer when the iframe's subtree contains plugins.
Reviewed by Adam Barth.
Source/WebCore:
Test: fast/frames/iframe-reparenting-embed-elements.html
- dom/Document.cpp:
(WebCore::Document::adoptNode):
- html/HTMLFrameElementBase.cpp:
(WebCore::hasPluginElements):
(WebCore::HTMLFrameElementBase::canRemainAliveOnRemovalFromTree):
- html/HTMLFrameElementBase.h:
LayoutTests:
- fast/frames/iframe-reparenting-embed-elements-expected.txt: Added.
- fast/frames/iframe-reparenting-embed-elements.html: Added.
- fast/frames/resources/iframe-reparenting-embed-frame1.html: Added.
- fast/frames/resources/iframe-reparenting-embed-iframe.html: Added.
TBR=dimich@chromium.org
Review URL: http://codereview.chromium.org/7980042
- 11:59 AM Changeset in webkit [95656] by
-
- 2 edits in trunk/Source/WebKit/efl
[EFL] Don't try to free user-provided list
https://bugs.webkit.org/show_bug.cgi?id=68356
Reviewed by Antonio Gomes.
A coding-style cleanup revealed that we were using EINA_LIST_FREE in a
wrong manner. If we intended to free the data, we should call free()
(or whatever function is required to destroy it). However not only did
it use the wrong EFL api but it also introduced a change in behavior,
freeing user-provided data.
- ewk/ewk_frame.cpp:
(ewk_frame_feed_touch_event): do not free user-provided data.
- 11:48 AM Changeset in webkit [95655] by
-
- 9 edits1 copy in trunk
Source/JavaScriptCore: JavaScriptCore Part of: Prevent the WebKit frameworks from defining inappropriately-named Objective-C classes
https://bugs.webkit.org/show_bug.cgi?id=68451
Reviewed by Darin Adler.
- JavaScriptCore.xcodeproj/project.pbxproj: Added a script build phase that invokes
check-for-inappropriate-objc-class-names, allowing only class names prefixed with "JS".
Source/WebCore: WebCore part of: Prevent the WebKit frameworks from defining inappropriately-named Objective-C classes
https://bugs.webkit.org/show_bug.cgi?id=68451
Reviewed by Darin Adler.
- WebCore.xcodeproj/project.pbxproj: Added a script build phase that invokes
check-for-inappropriate-objc-class-names, allowing only class names prefixed with "DOM" or "Web".
Source/WebKit: WebKit part of: Prevent the WebKit frameworks from defining inappropriately-named Objective-C classes
https://bugs.webkit.org/show_bug.cgi?id=68451
Reviewed by Darin Adler.
- WebKit.xcodeproj/project.pbxproj: Added a script build phase that invokes
check-for-inappropriate-objc-class-names, allowing only class names prefixed with "Web" or "_Web".
Source/WebKit2: WebKit2 part of: Prevent the WebKit frameworks from defining inappropriately-named Objective-C classes
https://bugs.webkit.org/show_bug.cgi?id=68451
Reviewed by Darin Adler.
- WebKit2.xcodeproj/project.pbxproj: Added a script build phase that invokes
check-for-inappropriate-objc-class-names, allowing only class names prefixed with "WK" or "Web".
Tools: Tools part of: Prevent the WebKit frameworks from defining inappropriately-named Objective-C classes
https://bugs.webkit.org/show_bug.cgi?id=68451
Reviewed by Darin Adler.
- Scripts/check-for-inappropriate-objc-class-names: Added. Checks for
Objective-C classes with names not having one of a list of prefixes
passed on the command line.
- 11:45 AM Changeset in webkit [95654] by
-
- 3 edits2 adds in trunk
<rdar://problem/9768483> REGRESSION: Crash in RenderBlock::removeFloatingObjectsBelow()
https://bugs.webkit.org/show_bug.cgi?id=68550
Reviewed by Darin Adler.
Source/WebCore:
Test: fast/multicol/null-lastFloat-in-removeFloatingObjectsBelow.html
- rendering/RenderBlock.cpp:
(WebCore::RenderBlock::removeFloatingObjectsBelow): Break out of the while() loop when the
floating object set is empty, which can happen if there were no floats on previous lines
(in which case, lastFloat is 0).
LayoutTests:
- fast/multicol/null-lastFloat-in-removeFloatingObjectsBelow-expected.txt: Added.
- fast/multicol/null-lastFloat-in-removeFloatingObjectsBelow.html: Added.
- 11:38 AM Changeset in webkit [95653] by
-
- 2 edits in trunk/LayoutTests
Fixed bug number in test expectations.
- platform/chromium/test_expectations.txt:
- 11:33 AM Changeset in webkit [95652] by
-
- 8 edits in trunk/Source/JavaScriptCore
MacroAssembler fixes.
https://bugs.webkit.org/show_bug.cgi?id=68494
Reviewed by Sam Weinig.
Add X86-64's 3 operand or32 to other MacroAssembler, fix load32's [const] void* mismatch
- assembler/MacroAssembler.h:
(JSC::MacroAssembler::orPtr):
(JSC::MacroAssembler::loadPtr):
- assembler/MacroAssemblerARM.h:
(JSC::MacroAssemblerARM::or32):
- assembler/MacroAssemblerARMv7.h:
(JSC::MacroAssemblerARMv7::or32):
- assembler/MacroAssemblerMIPS.h:
(JSC::MacroAssemblerMIPS::or32):
- assembler/MacroAssemblerSH4.h:
(JSC::MacroAssemblerSH4::or32):
(JSC::MacroAssemblerSH4::load32):
- assembler/MacroAssemblerX86.h:
(JSC::MacroAssemblerX86::load32):
- assembler/MacroAssemblerX86_64.h:
(JSC::MacroAssemblerX86_64::load32):
- 11:18 AM Changeset in webkit [95651] by
-
- 4 edits in trunk/Source/WebCore
[GTK] Fix build break when enabling webgl on r95593
https://bugs.webkit.org/show_bug.cgi?id=68502
Patch by ChangSeok Oh <ChangSeok Oh> on 2011-09-21
Reviewed by Martin Robinson.
Add PassOwnPtr.h to GC3DPrivate.h and remove useless one from GC3DGtk.cpp & GC3DPrivate.cpp
No tests required.
- platform/graphics/gtk/GraphicsContext3DGtk.cpp:
- platform/graphics/gtk/GraphicsContext3DPrivate.cpp:
- platform/graphics/gtk/GraphicsContext3DPrivate.h:
- 11:14 AM Changeset in webkit [95650] by
-
- 2 edits in trunk/Source/WebKit/win
Branch builds don't launch on Windows when run against trunk WebKit
https://bugs.webkit.org/show_bug.cgi?id=68546
Reviewed by Darin Adler.
- Interfaces/IWebPreferences.idl: Swap avFoundation and pictographicFontFamily
in IDL for binary compatibility between branch and trunk.
- 11:01 AM Changeset in webkit [95649] by
-
- 3 edits2 adds in trunk
Web Inspector: clear resource agent resource cache upon resource agent's disable.
https://bugs.webkit.org/show_bug.cgi?id=67995
Reviewed by Pavel Feldman.
Source/WebCore:
Test: http/tests/inspector/network/network-disabling-check-no-memory-leak.html
- inspector/InspectorResourceAgent.cpp:
(WebCore::InspectorResourceAgent::disable):
LayoutTests:
- http/tests/inspector/network/network-disabling-check-no-memory-leak-expected.txt: Added.
- http/tests/inspector/network/network-disabling-check-no-memory-leak.html: Added.
- 10:58 AM Changeset in webkit [95648] by
-
- 9 edits2 adds in trunk
https://bugs.webkit.org/show_bug.cgi?id=68543
Make sure that when regions change dimensions we recompute pagination slices.
Reviewed by Simon Fraser.
Source/WebCore:
Added new tests in fast/regions.
- rendering/LayoutState.cpp:
(WebCore::LayoutState::LayoutState):
- rendering/LayoutState.h:
- rendering/RenderFlowThread.cpp:
(WebCore::RenderFlowThread::layout):
(WebCore::RenderFlowThread::renderRegionForLine):
(WebCore::RenderFlowThread::regionLogicalWidthForLine):
- rendering/RenderRegion.cpp:
(WebCore::RenderRegion::layout):
- rendering/RenderView.cpp:
(WebCore::RenderView::pushLayoutState):
- rendering/RenderView.h:
(WebCore::LayoutStateMaintainer::LayoutStateMaintainer):
(WebCore::LayoutStateMaintainer::push):
LayoutTests:
- fast/regions/text-region-split-after-resize-expected.txt: Added.
- fast/regions/text-region-split-after-resize.html: Added.
- fast/regions/webkit-flow-floats-inside-regions-bounds-expected.txt:
- 10:37 AM Changeset in webkit [95647] by
-
- 8 edits2 adds in trunk
Ensure TestWebKitAPI works on mac, win, chromium-mac and chromium-linux
https://bugs.webkit.org/show_bug.cgi?id=68206
Patch by Xianzhu Wang <wangxianzhu@chromium.org> on 2011-09-21
Reviewed by Tony Chang.
Source/WebCore:
Added two new wtf headers into ForwardingHeaders/wtf to make
#include <wtf/...h> cross-platform.
No new tests needed.
- ForwardingHeaders/wtf/MetaAllocator.h: Added.
- ForwardingHeaders/wtf/RedBlackTree.h: Added.
Source/WebKit/chromium:
- WebKit.gyp:
Tools:
- Scripts/webkitdirs.pm:
(determineBaseProductDir): add support for chromium-mac
- TestWebKitAPI/Tests/WTF/MetaAllocator.cpp:
- TestWebKitAPI/Tests/WTF/RedBlackTree.cpp:
- 10:10 AM Changeset in webkit [95646] by
-
- 2 edits in trunk/Source/WebCore
[WinCairo] IconDatabase::defaultIcon always fails for non-CAN_THEME_URL_ICON builds.
https://bugs.webkit.org/show_bug.cgi?id=67469
Patch by David Delaune <david.delaune@googlemail.com> on 2011-09-21
Reviewed by Brent Fulgham.
No new functionality added in this change.
- loader/icon/IconDatabase.cpp: defining CAN_THEME_URL_ICON for the WIN_CAIRO
- 10:06 AM Changeset in webkit [95645] by
-
- 10 edits2 adds in trunk
Span element gets produced using backspace/delete to merge header with paragraph
https://bugs.webkit.org/show_bug.cgi?id=68413
Reviewed by Darin Adler.
Source/WebCore:
Add p element to the list of elements to retain appearance. Also modified removeStyleFromNode
(and renamed to removeStyleFromRules) not to remove inline style declarations because
inline styles need to stay on copy.
Test: editing/deleting/merge-paragraph-from-p-with-style.html
- editing/DeleteSelectionCommand.cpp:
(WebCore::DeleteSelectionCommand::saveTypingStyleState):
- editing/EditingStyle.cpp:
(WebCore::EditingStyle::removeStyleFromRules): Renamed from removeStyleFromNode.
- editing/EditingStyle.h:
- editing/markup.cpp:
(WebCore::isBlockNodeToRetainAppearance):
(WebCore::StyledMarkupAccumulator::serializeNodes):
LayoutTests:
Add a test to remove the line break before a p element. WebKit should not preserve
the font color from the style rule but should preserve the font style from inline style declaration.
Also fix merge-paragraph-from-h6* to actually h6 instead of h1.
- editing/deleting/merge-paragraph-from-h6-expected.txt:
- editing/deleting/merge-paragraph-from-h6-with-style-expected.txt:
- editing/deleting/merge-paragraph-from-h6-with-style.html:
- editing/deleting/merge-paragraph-from-h6.html:
- editing/deleting/merge-paragraph-from-p-with-style-expected.txt: Added.
- editing/deleting/merge-paragraph-from-p-with-style.html: Added.
- 10:00 AM Changeset in webkit [95644] by
-
- 7 edits in trunk/LayoutTests
[flexbox] rename classnames and methods in the tests to not assume horizontal
https://bugs.webkit.org/show_bug.cgi?id=68498
Reviewed by Tony Chang.
- css3/flexbox/001.html:
- css3/flexbox/002.html:
- css3/flexbox/003.html:
- css3/flexbox/004.html:
- css3/flexbox/resources/flexbox.js:
(checkFlexBoxen):
- css3/flexbox/writing-modes.html:
- platform/mac/Skipped:
- 9:51 AM Changeset in webkit [95643] by
-
- 2 edits in trunk/LayoutTests
need rebaseline for gradient speedup in skia
https://bugs.webkit.org/show_bug.cgi?id=68531
Reviewed by Stephen White.
- platform/chromium/test_expectations.txt:
- 9:48 AM Changeset in webkit [95642] by
-
- 3 edits in trunk/LayoutTests
Unreviewed, move today's skipped flaky tests to test_expectations
as suggested by mrobinson.
- platform/gtk/Skipped:
- platform/gtk/test_expectations.txt:
- 9:45 AM Changeset in webkit [95641] by
-
- 5 edits2 adds in trunk
Report AXValueChanged when value changes in element with role=textbox.
https://bugs.webkit.org/show_bug.cgi?id=68201
Patch by Alice Boxhall <aboxhall@chromium.org> on 2011-09-21
Reviewed by Chris Fleizach.
Source/WebCore:
Test: platform/mac/accessibility/textbox-role-reports-notifications.html
- accessibility/AccessibilityObject.cpp:
(WebCore::AccessibilityObject::isARIATextControl):
- accessibility/AccessibilityObject.h:
- accessibility/AccessibilityRenderObject.cpp:
(WebCore::AccessibilityRenderObject::contentChanged):
(WebCore::AccessibilityRenderObject::childrenChanged):
LayoutTests:
- platform/mac/accessibility/textbox-role-reports-notifications-expected.txt: Added.
- platform/mac/accessibility/textbox-role-reports-notifications.html: Added.
- 9:39 AM Changeset in webkit [95640] by
-
- 2 edits in trunk/Source/WebKit/chromium
[chromium]ClearFocusedNode doesn't clear the cursor or selection in editable div element.
https://bugs.webkit.org/show_bug.cgi?id=68351
Patch by chandra shekar vallala <chandra.vallala@gmail.com> on 2011-09-21
Reviewed by Darin Fisher.
- src/WebViewImpl.cpp:
(WebKit::WebViewImpl::clearFocusedNode):
- 9:27 AM Changeset in webkit [95639] by
-
- 1 edit6 adds in trunk/LayoutTests
New layout tests for the JS bindings related to <track>:
e.g. TextTrack, TextTrackCue, TextTrackCueList, MutableTextTrack.
https://bugs.webkit.org/show_bug.cgi?id=68194
Reviewed by Eric Carlson.
- media/track/track-mutable-expected.txt: Added.
- media/track/track-mutable.html: Added.
- media/track/track-text-track-cue-list-expected.txt: Added.
- media/track/track-text-track-cue-list.html: Added.
- media/track/track-text-track-expected.txt: Added.
- media/track/track-text-track.html: Added.
- 9:19 AM Changeset in webkit [95638] by
-
- 1 edit in trunk/LayoutTests/platform/qt-wk2/Skipped
Actually skip the test (forgot in the previous commit). Sorry for the noise.
- 9:15 AM Changeset in webkit [95637] by
-
- 2 edits in trunk/LayoutTests
[Qt][WK2] plugins/mouse-click-iframe-to-plugin.html fails since enabled in r95626
https://bugs.webkit.org/show_bug.cgi?id=68539
Unreviewed gardening.
- platform/qt-wk2/Skipped: skip the test.
- 9:13 AM Changeset in webkit [95636] by
-
- 7 edits in trunk/Source/WebCore
Web Inspector: introduce Page.enable and Page.disable
https://bugs.webkit.org/show_bug.cgi?id=68530
Otherwise protocol is violating the contract of not sending
notifications by default.
Reviewed by Yury Semikhatsky.
- inspector/Inspector.json:
- 8:51 AM Changeset in webkit [95635] by
-
- 2 edits in trunk/LayoutTests
Unreviewed; new baselines (Skia on Mac)
This separates test failures that are specific to CG Mac from failures
for Skia on Mac. Most of these changes are specific to Leopard, but a
handful add new fail flavors for all Mac variations.
- LayoutTests/platform/chromium/test_expectations.txt:
- 8:39 AM Changeset in webkit [95634] by
-
- 3 edits in trunk/Source/WebCore
Web Inspector: add minimal error handling to the DOM breakpoints.
https://bugs.webkit.org/show_bug.cgi?id=68537
Reviewed by Yury Semikhatsky.
- inspector/InspectorDOMAgent.h:
- inspector/InspectorDOMDebuggerAgent.cpp:
(WebCore::domTypeForName):
(WebCore::InspectorDOMDebuggerAgent::setDOMBreakpoint):
(WebCore::InspectorDOMDebuggerAgent::removeDOMBreakpoint):
- 8:36 AM Changeset in webkit [95633] by
-
- 1 edit1 add in trunk/LayoutTests
Unreviewed, GTK baselines for
cross-origin-xsl-redirect-BLOCKED.html which were removed by mistake.
- platform/gtk/http/tests/security/cross-origin-xsl-redirect-BLOCKED-expected.txt: Added.
- 8:19 AM Changeset in webkit [95632] by
-
- 3 edits in trunk/Source/WebCore
Web Inspector: make WebInspector a bit more timeline friendly.
https://bugs.webkit.org/show_bug.cgi?id=68534
I found that the maximum captured stack frame depth tracked by timeline is not
very convenient because the average depth of call stack considerably more than five.
Another useful trick is console.timeStamp for all backend calls.
Reviewed by Yury Semikhatsky.
- inspector/CodeGeneratorInspector.pm:
- inspector/front-end/TimelinePanel.js:
(WebInspector.TimelinePanel.prototype._toggleTimelineButtonClicked):
- 8:10 AM Changeset in webkit [95631] by
-
- 11 edits2 adds in trunk/Source
[Qt][WK2] Implement Download support in WebProcess
https://bugs.webkit.org/show_bug.cgi?id=68153
Patch by Jesus Sanchez-Palencia <jesus.palencia@openbossa.org> on 2011-09-21
Reviewed by Andreas Kling.
Source/WebCore:
Refactored QNetworkReplyHandler::finish() in order to add
and use the static function QNetworkReplyHandler::errorForReply().
This will be used by our Download implementation in WebKit2 (WebProcess)
when handling ResourceError.
- platform/network/qt/QNetworkReplyHandler.cpp:
(WebCore::QNetworkReplyHandler::finish):
(WebCore::QNetworkReplyHandler::errorForReply):
- platform/network/qt/QNetworkReplyHandler.h:
- platform/network/qt/ResourceRequest.h:
Source/WebKit2:
We implement the necessary functions of Download.h, and our QtFileDownloader
to handle all network communication and call the necessary functions of Download.
We use the download policy for any MIME type not supported by WebKit. This
behaves like Qt non-WebKit2 except that we don't force download when
we encounter Content-Disposition: attachment. We still use the "filename="
field for file name suggestion though.
Based on original patches by: Kimmo Kinnunen <kimmo.t.kinnunen@nokia.com>,
Jocelyn Turcotte <jocelyn.turcotte@nokia.com>, Simon Hausmann <simon.hausmann@nokia.com>
and Zalan Bujtas <zalan.bujtas@nokia.com>.
- UIProcess/API/qt/qweberror.cpp: Adding DownloadError
(QWebError::type):
- UIProcess/API/qt/qweberror.h: Adding DownloadError
- WebKit2.pro:
- WebProcess/Downloads/Download.cpp: Adding QtFileDownloader, Qt platform specific
(WebKit::Download::Download):
- WebProcess/Downloads/Download.h: Adding QtFileDownloader, Qt platform specific
- WebProcess/Downloads/qt/DownloadQt.cpp:
(WebKit::Download::start):
(WebKit::Download::startWithHandle):
(WebKit::Download::cancel):
(WebKit::Download::platformInvalidate):
(WebKit::Download::didDecideDestination):
- WebProcess/Downloads/qt/QtFileDownloader.cpp: Added.
(WebKit::QtFileDownloader::QtFileDownloader):
(WebKit::QtFileDownloader::~QtFileDownloader):
(WebKit::QtFileDownloader::determineFilename):
(WebKit::QtFileDownloader::decidedDestination):
(WebKit::QtFileDownloader::abortDownloadWritingAndEmitError):
(WebKit::QtFileDownloader::onReadyRead):
(WebKit::QtFileDownloader::onFinished):
(WebKit::QtFileDownloader::onError):
(WebKit::QtFileDownloader::cancel):
- WebProcess/Downloads/qt/QtFileDownloader.h: Added.
- 7:59 AM Changeset in webkit [95630] by
-
- 2 edits in trunk/LayoutTests
Unreviewed, skip flaky media test on GTK.
- platform/gtk/Skipped: Skip media/media-blocked-by-beforeload.html
- 7:58 AM Changeset in webkit [95629] by
-
- 2 edits in trunk/Tools
garden-o-matic command should explain that it is starting a local server
https://bugs.webkit.org/show_bug.cgi?id=68486
Reviewed by Dimitri Glazkov.
In the user study, both participants didn't understand why the
garden-o-matic command appeared to hang. This patch adds an
explaination of what's going on. It also adds a confirmation prompt
before launching the browser to give the user a chance to read the
text. If that's too much of a speed bump, we can iterate.
- Scripts/webkitpy/tool/commands/gardenomatic.py:
- 7:48 AM Changeset in webkit [95628] by
-
- 2 edits in trunk/LayoutTests
Syntax error in media/audio-delete-while-step-button-clicked.html
https://bugs.webkit.org/show_bug.cgi?id=68507
Reviewed by Eric Carlson.
- media/audio-delete-while-step-button-clicked.html: Some curly
braces were missing in a try/catch statement.
- 7:28 AM Changeset in webkit [95627] by
-
- 2 edits in trunk/Source/WebKit/efl
[EFL] Fix alphabetical sorting problem
https://bugs.webkit.org/show_bug.cgi?id=68505
Reviewed by Philippe Normand.
- ewk/ewk_util.cpp: Fix wrong alphabetical sorting problem.
- 7:20 AM Changeset in webkit [95626] by
-
- 7 edits1 add in trunk
[Qt] Implement KeyDown function for WebKit2 EventSender.
https://bugs.webkit.org/show_bug.cgi?id=56485
Tools:
Implement the KeyDown function on Qt platform.
Patch by Chang Shu <cshu@webkit.org> on 2011-09-21
Reviewed by Andreas Kling.
- WebKitTestRunner/PlatformWebView.h:
- WebKitTestRunner/TestController.cpp:
(WTR::TestController::TestController):
(WTR::TestController::didReceiveSynchronousMessageFromInjectedBundle):
- WebKitTestRunner/qt/EventSenderProxyQt.cpp: Added.
(WTR::getModifiers):
(WTR::EventSenderProxy::keyDown):
(buildModifierFlags):
(EventSenderProxy::keyDown):
- WebKitTestRunner/qt/PlatformWebViewQt.cpp:
(WTR::PlatformWebView::sendEvent):
- WebKitTestRunner/qt/WebKitTestRunner.pro:
LayoutTests:
Unskip passed tests.
Patch by Chang Shu <cshu@webkit.org> on 2011-09-21
Reviewed by Andreas Kling.
- platform/qt-wk2/Skipped:
- 7:06 AM Changeset in webkit [95625] by
-
- 1 edit1 add in trunk/LayoutTests
Web Inspector: UI performance test for Resource panel first open experience.
https://bugs.webkit.org/show_bug.cgi?id=68527
Reviewed by Pavel Feldman.
- inspector/performance/resources/first-open-resources.html: Added.
- 7:04 AM Changeset in webkit [95624] by
-
- 2 edits1 add in trunk/LayoutTests
Web Inspector: extend UI perf tests coverage. Elements panel opens first time.
https://bugs.webkit.org/show_bug.cgi?id=68432
Reviewed by Pavel Feldman.
- inspector/performance/resources/first-open-elements.html: Added.
- inspector/performance/resources/performance-test.js:
- 6:53 AM Changeset in webkit [95623] by
-
- 2 edits in trunk/LayoutTests
Unreviewed, skip some more flaky SVG tests on GTK.
- platform/gtk/Skipped:
- 6:34 AM Changeset in webkit [95622] by
-
- 3 edits4 copies2 moves5 adds1 delete in trunk/LayoutTests
Unreviewed, fix baselines for cross-origin-xsl-redirect-BLOCKED
- http/tests/security/cross-origin-xsl-redirect-BLOCKED-expected.txt:
- platform/chromium-cg-mac/http/tests/security/cross-origin-xsl-redirect-BLOCKED-expected.txt:
- platform/chromium-mac/http/tests/security/cross-origin-xsl-redirect-BLOCKED-expected.txt:
- platform/chromium-win/http/tests/security/cross-origin-xsl-redirect-BLOCKED-expected.txt:
- platform/gtk/http/tests/security/cross-origin-xsl-redirect-BLOCKED-expected.txt: Removed
- platform/mac-wk2/http/tests/security/cross-origin-xsl-redirect-BLOCKED-expected.txt:
- platform/qt-wk2/Skipped:
- platform/qt-wk2/http/tests/security/cross-origin-xsl-redirect-BLOCKED-expected.txt:
- platform/qt/http/tests/security/cross-origin-xsl-redirect-BLOCKED-expected.png: Removed
- platform/qt/http/tests/security/cross-origin-xsl-redirect-BLOCKED-expected.txt: Removed
- platform/win-wk2/http/tests/security/cross-origin-xsl-redirect-BLOCKED-expected.txt:
- 6:33 AM Changeset in webkit [95621] by
-
- 9 edits in trunk/Source/WebCore
Web Inspector: paint box model colors in Metrics sidebar at all times, do not draw box outlines.
https://bugs.webkit.org/show_bug.cgi?id=68240
Today we paint backgrounds in Metrics box model on hover only - should be painted at all
times for the reference. Outlining boxes is highlight is wrong since outlines are outside
the corresponding box regions. We've seen few reports on that + Firebug does not do borders
for that reason.
Reviewed by Yury Semikhatsky.
- inspector/DOMNodeHighlighter.cpp:
- inspector/DOMNodeHighlighter.h:
- inspector/Inspector.json:
- inspector/InspectorDOMAgent.cpp:
(WebCore::InspectorDOMAgent::setHighlightDataFromConfig):
- inspector/front-end/Color.js:
- inspector/front-end/MetricsSidebarPane.js:
(WebInspector.MetricsSidebarPane.prototype._highlightDOMNode):
(WebInspector.MetricsSidebarPane.prototype._updateMetrics):
- inspector/front-end/inspector.css:
(.metrics .label):
- inspector/front-end/inspector.js:
(WebInspector.buildHighlightConfig):
- 6:14 AM Changeset in webkit [95620] by
-
- 1 edit5 adds in trunk/LayoutTests
[chromium] rebaseline caused by r95567
- platform/chromium-cg-mac-leopard/fast/clip/overflow-border-radius-fixed-position-expected.png: Added.
- platform/chromium-mac-leopard: Added.
- platform/chromium-mac-leopard/fast: Added.
- platform/chromium-mac-leopard/fast/clip: Added.
- platform/chromium-mac-leopard/fast/clip/overflow-border-radius-fixed-position-expected.png: Added.
- 6:08 AM Changeset in webkit [95619] by
-
- 3 edits in trunk/Source/WebCore
Protect against misuse of EventListenerIterator.
https://bugs.webkit.org/show_bug.cgi?id=68364
Patch by Andreas Kling <kling@webkit.org> on 2011-09-21
Reviewed by Darin Adler.
In debug mode, keep track of the number of active EventListenerIterators
on an EventListenerMap, and assert that there are no iterators when the
map is being modified.
- dom/EventListenerMap.cpp:
(WebCore::EventListenerMap::EventListenerMap):
(WebCore::EventListenerMap::clear):
(WebCore::EventListenerMap::add):
(WebCore::EventListenerMap::remove):
(WebCore::EventListenerMap::find):
(WebCore::EventListenerMap::removeFirstEventListenerCreatedFromMarkup):
(WebCore::EventListenerMap::copyEventListenersNotCreatedFromMarkupToTarget):
(WebCore::EventListenerIterator::EventListenerIterator):
(WebCore::EventListenerIterator::~EventListenerIterator):
- dom/EventListenerMap.h:
- 6:05 AM Changeset in webkit [95618] by
-
- 2 edits4 adds2 deletes in trunk/LayoutTests
[chromium] rebaseline caused by r95599
- fast/dom/HTMLMeterElement/meter-element-repaint-on-update-value-expected.txt: Added.
- platform/chromium-mac-leopard: Removed.
- platform/chromium-mac/fast/dom/HTMLMeterElement/meter-element-repaint-on-update-value-expected.png: Added.
- platform/chromium-win/fast/dom/HTMLMeterElement/meter-element-repaint-on-update-value-expected.png: Added.
- platform/chromium-win/fast/dom/HTMLMeterElement/meter-element-repaint-on-update-value-expected.txt: Added.
- platform/chromium/test_expectations.txt:
- platform/gtk/fast/dom/HTMLMeterElement/meter-element-repaint-on-update-value-expected.txt: Removed.
- 5:52 AM Changeset in webkit [95617] by
-
- 2 edits in trunk/LayoutTests
Unreviewed, skip 2 GTK flaky tests.
- platform/gtk/Skipped: Skip
http/tests/websocket/tests/hixie76/error-detect.html and
svg/zoom/page/zoom-svg-through-object-with-auto-size.html
- 5:13 AM Changeset in webkit [95616] by
-
- 2 edits in trunk/LayoutTests
[Qt][WK2] Unskip some cookies related layout tests.
https://bugs.webkit.org/show_bug.cgi?id=68484
Reviewed by Csaba Osztrogonác.
Unskip some cookies related layout tests as they seems to work fine with
--iterations 1000.
- platform/qt-wk2/Skipped:
- 4:57 AM Changeset in webkit [95615] by
-
- 2 edits in trunk/LayoutTests
[Qt][Mac] Unreviewed gardening after r95601.
- platform/qt-mac/Skipped: Paint the Qt-Mac bot green.
- 4:50 AM Changeset in webkit [95614] by
-
- 5 edits in trunk/Source/WebCore
Web Inspector: minor fixes in the DOM domain of the protocol.
https://bugs.webkit.org/show_bug.cgi?id=68517
Reviewed by Yury Semikhatsky.
- inspector/Inspector.json:
- inspector/InspectorDOMAgent.cpp:
(WebCore::InspectorDOMAgent::setAttributesAsText):
- inspector/InspectorDOMAgent.h:
- inspector/front-end/DOMAgent.js:
(WebInspector.DOMNode.prototype.setAttribute):
- 4:45 AM Changeset in webkit [95613] by
-
- 6 edits in trunk/Source/WebCore
Web Inspector: limit the use of "Resource" term in the protocol.
https://bugs.webkit.org/show_bug.cgi?id=68250
Reviewed by Yury Semikhatsky.
- inspector/Inspector.json:
- inspector/InspectorResourceAgent.cpp:
(WebCore::InspectorResourceAgent::markResourceAsCached):
(WebCore::InspectorResourceAgent::didLoadResourceFromMemoryCache):
(WebCore::InspectorResourceAgent::setExtraHTTPHeaders):
(WebCore::InspectorResourceAgent::getResponseBody):
- inspector/InspectorResourceAgent.h:
- inspector/front-end/ExtensionServer.js:
(WebInspector.ExtensionServer.prototype._onAddRequestHeaders):
- inspector/front-end/NetworkManager.js:
(WebInspector.NetworkManager.prototype.requestContent):
(WebInspector.NetworkDispatcher.prototype.requestServedFromCache):
(WebInspector.NetworkDispatcher.prototype.requestServedFromMemoryCache):
- 4:39 AM Changeset in webkit [95612] by
-
- 8 edits12 deletes in trunk
Unreviewed, rolling out r95608.
http://trac.webkit.org/changeset/95608
https://bugs.webkit.org/show_bug.cgi?id=68521
breaks GTK and Windows builds. Please check EWS next time.
(Requested by philn-tp on #webkit).
Patch by Sheriff Bot <webkit.review.bot@gmail.com> on 2011-09-21
Source/WebCore:
- html/HTMLBodyElement.cpp:
(WebCore::adjustForZoom):
(WebCore::HTMLBodyElement::setScrollLeft):
(WebCore::HTMLBodyElement::setScrollTop):
- loader/HistoryController.cpp:
(WebCore::HistoryController::saveScrollPositionAndViewStateToItem):
- page/DOMWindow.cpp:
(WebCore::DOMWindow::scrollX):
(WebCore::DOMWindow::scrollY):
(WebCore::DOMWindow::scrollTo):
- page/Frame.cpp:
(WebCore::Frame::pageScaleFactor):
- page/Frame.h:
- page/FrameView.cpp:
(WebCore::FrameView::applyOverflowToViewport):
(WebCore::FrameView::scrollXForFixedPosition):
(WebCore::FrameView::scrollYForFixedPosition):
LayoutTests:
- fast/events/scale-and-scroll-body-expected.png: Removed.
- fast/events/scale-and-scroll-body-expected.txt: Removed.
- fast/events/scale-and-scroll-body.html: Removed.
- fast/events/scale-and-scroll-iframe-body-expected.png: Removed.
- fast/events/scale-and-scroll-iframe-body-expected.txt: Removed.
- fast/events/scale-and-scroll-iframe-body.html: Removed.
- fast/events/scale-and-scroll-iframe-window-expected.png: Removed.
- fast/events/scale-and-scroll-iframe-window-expected.txt: Removed.
- fast/events/scale-and-scroll-iframe-window.html: Removed.
- fast/events/scale-and-scroll-window-expected.png: Removed.
- fast/events/scale-and-scroll-window-expected.txt: Removed.
- fast/events/scale-and-scroll-window.html: Removed.
- 4:37 AM Changeset in webkit [95611] by
-
- 2 edits in trunk/Source/WebCore
Web Inspector: console panel's scroller is not properly aligned.
https://bugs.webkit.org/show_bug.cgi?id=68448
Reviewed by Yury Semikhatsky.
- inspector/front-end/inspector.css:
(#console-view):
(#console-messages):
(#drawer #console-messages):
- 4:25 AM Changeset in webkit [95610] by
-
- 2 edits4 adds in trunk/LayoutTests
Unreviewed, GTK baseslines for 2 new tests and skip a flaky svg test.
- platform/gtk/Skipped: Skip svg/W3C-SVG-1.1-SE/filters-image-05-f.svg
- platform/gtk/fast/clip/overflow-border-radius-fixed-position-expected.png: Added.
- platform/gtk/fast/clip/overflow-border-radius-fixed-position-expected.txt: Added.
- platform/gtk/fast/dom/HTMLMeterElement/meter-element-repaint-on-update-value-expected.png: Added.
- platform/gtk/fast/dom/HTMLMeterElement/meter-element-repaint-on-update-value-expected.txt: Added.
- 4:16 AM Changeset in webkit [95609] by
-
- 2 edits in trunk/LayoutTests
[Qt][WK2] http/tests/security/cross-origin-xsl-redirect-BLOCKED.html fails
https://bugs.webkit.org/show_bug.cgi?id=68515
- platform/qt-wk2/Skipped: Skip http/tests/security/cross-origin-xsl-redirect-BLOCKED.html.
- 4:01 AM Changeset in webkit [95608] by
-
- 8 edits12 adds in trunk
Source/WebCore: https://bugs.webkit.org/show_bug.cgi?id=68081
Fix scroll in page scaling mode.
Reviewed by Simon Fraser.
The following things are done in this patch:
- Rename Frame::pageScaleFactor() to Frame::frameScaleFactor() to better reflect its purpose.
- Frame::frameScaleFactor() returns the scale factor of this frame with respect to the container. So for the main frame it'll return the scale factor of the page, inner frames will return 1.0
- scrollBy(), scrollX() and scrollY() to take into account of the frame scale factor, causing incorrect coordinates reported to Javascript.
Tests: fast/events/scale-and-scroll-body.html
fast/events/scale-and-scroll-iframe-body.html
fast/events/scale-and-scroll-iframe-window.html
fast/events/scale-and-scroll-window.html
- html/HTMLBodyElement.cpp:
(WebCore::adjustForZoom):
(WebCore::HTMLBodyElement::setScrollLeft):
(WebCore::HTMLBodyElement::setScrollTop):
- loader/HistoryController.cpp:
(WebCore::HistoryController::saveScrollPositionAndViewStateToItem):
- page/DOMWindow.cpp:
(WebCore::DOMWindow::scrollX):
(WebCore::DOMWindow::scrollY):
(WebCore::DOMWindow::scrollTo):
- page/Frame.cpp:
(WebCore::Frame::frameScaleFactor): Return page's scale factor if this is
main frame, otherwise 1.0
- page/Frame.h:
- page/FrameView.cpp:
(WebCore::FrameView::applyOverflowToViewport):
(WebCore::FrameView::scrollXForFixedPosition):
(WebCore::FrameView::scrollYForFixedPosition):
LayoutTests: https://bugs.webkit.org/show_bug.cgi?id=68081
Add layout test for page scale and scrolling.
Reviewed by Simon Fraser.
Add tests to cover the following cases:
- Scale and scroll window
- Scale and scroll document.body
- Scale and scroll iframe's contentWindow
- Scale and scroll iframe's contentDocument.body
- fast/events/scale-and-scroll-body-expected.png: Added.
- fast/events/scale-and-scroll-body-expected.txt: Added.
- fast/events/scale-and-scroll-body.html: Added.
- fast/events/scale-and-scroll-iframe-body-expected.png: Added.
- fast/events/scale-and-scroll-iframe-body-expected.txt: Added.
- fast/events/scale-and-scroll-iframe-body.html: Added.
- fast/events/scale-and-scroll-iframe-window-expected.png: Added.
- fast/events/scale-and-scroll-iframe-window-expected.txt: Added.
- fast/events/scale-and-scroll-iframe-window.html: Added.
- fast/events/scale-and-scroll-window-expected.png: Added.
- fast/events/scale-and-scroll-window-expected.txt: Added.
- fast/events/scale-and-scroll-window.html: Added.
- 3:16 AM Changeset in webkit [95607] by
-
- 2 edits in trunk/Source/WebKit2
<rdar://problem/9890932> "Open PDF in Preview" on two PDFs of the same name does nothing the second time
The logic in PDFViewController::pathToPDFOnDisk that deals with constructing a unique
file name if a file of the suggested name already exists was incorrect. It was appending
the template used by mkstemps to the directory name component of the path rather than
using it as a prefix on the filename portion of the path. This resulted in a template path
like WebKitPDFs-ABCDEFXXXXXX-/foo.pdf where WebKitPDFs-ABCDEF/XXXXXX-foo.pdf was expected.
Reviewed by Jon Honeycutt.
- UIProcess/API/mac/PDFViewController.mm:
(WebKit::PDFViewController::pathToPDFOnDisk): Append the template as a new path component,
then append the suggested file name to that component.
- 2:49 AM Changeset in webkit [95606] by
-
- 4 edits in trunk/LayoutTests
Unreviewed, GTK rebaseline, skip some flaky worker tests and 2
failing http tests.
- platform/gtk/Skipped:
- platform/gtk/editing/deleting/regional-indicators-expected.txt:
- platform/gtk/fast/text/justify-ideograph-complex-expected.txt:
- 2:19 AM Changeset in webkit [95605] by
-
- 3 edits1 add in trunk/LayoutTests
Unreviewed, GTK rebaseline and skip and a11y failing test.
- platform/gtk/Skipped: Skip accessibility/aria-hidden-updates-alldescendants.html
- platform/gtk/editing/deleting/merge-whitespace-pre-expected.txt:
Rebaseline after r95335.
- platform/gtk/http/tests/security/cross-origin-xsl-redirect-BLOCKED-expected.txt: Added.
- 1:59 AM Changeset in webkit [95604] by
-
- 18 edits in trunk/Source
[Qt] Remove Qt specific code from css/SelectorChecker.cpp
https://bugs.webkit.org/show_bug.cgi?id=67702
Reviewed by Csaba Osztrogonác.
Source/WebCore:
No new tests needed.
- css/SelectorChecker.cpp: Move Qt-specific code to the Qt-specific WebPlatformStrategies.
(WebCore::SelectorChecker::determineLinkStateSlowCase):
- platform/VisitedLinkStrategy.h:
Source/WebKit/mac:
- WebCoreSupport/WebPlatformStrategies.h:
- WebCoreSupport/WebPlatformStrategies.mm:
(WebPlatformStrategies::isLinkVisited):
Source/WebKit/qt:
- WebCoreSupport/WebPlatformStrategies.cpp: Check the Qt global history here, instead of a platform independent file.
(WebPlatformStrategies::isLinkVisited):
- WebCoreSupport/WebPlatformStrategies.h:
Source/WebKit/win:
- WebCoreSupport/WebPlatformStrategies.cpp: Modify to match new prototype.
(WebPlatformStrategies::isLinkVisited):
- WebCoreSupport/WebPlatformStrategies.h: Ditto.
Source/WebKit/wince:
- WebCoreSupport/PlatformStrategiesWinCE.cpp:
(PlatformStrategiesWinCE::addVisitedLink):
- WebCoreSupport/PlatformStrategiesWinCE.h:
Source/WebKit2:
- WebProcess/WebCoreSupport/WebPlatformStrategies.cpp: Modify to match new prototype.
(WebKit::WebPlatformStrategies::isLinkVisited):
(WebKit::WebPlatformStrategies::addVisitedLink):
- WebProcess/WebCoreSupport/WebPlatformStrategies.h: Ditto.
- 1:41 AM Changeset in webkit [95603] by
-
- 2 edits in trunk/LayoutTests
Unreviewed, GTK rebaseline after r95566.
- platform/gtk/mathml/xHeight-expected.txt:
- 12:09 AM Changeset in webkit [95602] by
-
- 2 edits in trunk/LayoutTests
Unreviewed Skipped list update for meter-element-repaint-on-update-value.html,
which needs windows
- platform/win/Skipped:
- 12:01 AM Changeset in webkit [95601] by
-
- 3 edits6 adds in trunk/LayoutTests
[Qt] Unreviewed gardening.
- platform/qt-mac/Skipped:
- platform/qt-wk2/Skipped:
- platform/qt/fast/clip/overflow-border-radius-fixed-position-expected.png: Added.
- platform/qt/fast/clip/overflow-border-radius-fixed-position-expected.txt: Added.
- platform/qt/fast/dom/HTMLMeterElement/meter-element-repaint-on-update-value-expected.png: Added.
- platform/qt/fast/dom/HTMLMeterElement/meter-element-repaint-on-update-value-expected.txt: Added.
- platform/qt/http/tests/security/cross-origin-xsl-redirect-BLOCKED-expected.png: Added.
- platform/qt/http/tests/security/cross-origin-xsl-redirect-BLOCKED-expected.txt: Added.
Sep 20, 2011:
- 11:31 PM WikiStart edited by
- (diff)
- 10:58 PM Changeset in webkit [95600] by
-
- 4 edits in trunk/Source/WebCore
Style changes on forwarded shadow children should trigger shadow renderer reconstruction.
https://bugs.webkit.org/show_bug.cgi?id=68228
Reviewed by Dimitri Glazkov.
Currently style changes on forwarded shadow child triggers
Node::reattach() only for the forwarded node. But it should
invalidate whole renderers on the shadow tree because
ShadowContentElement expects its inclusions to be attached and to
create renderers in the inclusion order. But single node
reattach() violates the expectation and possibly creates
inconsistent render tree.
This change makes NodeRenderingContext to go
AttachContentForwarded, where the ShadowContentElement::attach()
happens, only during ShadowRoot::attach(), not for style-change
triggered Node::attach() on the forwarded nodes.
Note that the altering phase AttachContentLight doesn't create
renderers for the forwarded nodes. Instead of that, it possibly
triggers shadow subtree reconstruction on
NodeRenderingContext::hostChildrenChanged().
No new tests. This is a defensive change. There is no visible
difference at this time.
- dom/NodeRenderingContext.cpp:
(WebCore::NodeRenderingContext::NodeRenderingContext):
- dom/ShadowRoot.cpp:
(WebCore::ShadowRoot::isInclusionSelectorActive):
- dom/ShadowRoot.h:
- 10:41 PM Changeset in webkit [95599] by
-
- 7 edits3 adds in trunk
<meter> doesn't update rendering when its value is changed.
https://bugs.webkit.org/show_bug.cgi?id=67614
Reviewed by Dimitri Glazkov.
Source/WebCore:
It lacks repaint() when the value is changed.
For non-native appearance it works because the indicator is
implemented in shadow DOM, for native appearance, repainting should be
handled explicitly.
Test: fast/dom/HTMLMeterElement/meter-element-repaint-on-update-value.html
- html/HTMLMeterElement.cpp:
(WebCore::HTMLMeterElement::didElementStateChange):
- rendering/RenderMeter.cpp:
(WebCore::RenderMeter::updateFromElement):
- rendering/RenderMeter.h:
- rendering/RenderProgress.cpp:
(WebCore::RenderProgress::updateAnimationState):
LayoutTests:
- fast/dom/HTMLMeterElement/meter-element-repaint-on-update-value-expected.png: Added.
- platform/chromium/test_expectations.txt:
- platform/mac/dom/HTMLMeterElement/meter-element-repaint-on-update-value-expected.txt: Added.
- platform/mac/dom/HTMLMeterElement/meter-element-repaint-on-update-value.html: Added.
- 10:38 PM Changeset in webkit [95598] by
-
- 3 edits in trunk/Source/WebCore
Move RenderObject::markContainingBlocksForLayout() to RenderObject.cpp.
https://bugs.webkit.org/show_bug.cgi?id=67989
Reviewed by Ryosuke Niwa.
No new tests because of no behavior change.
- rendering/RenderObject.cpp:
(WebCore::objectIsRelayoutBoundary): Moved from RenderObject.h.
(WebCore::RenderObject::markContainingBlocksForLayout): Moved from RenderObject.h
- rendering/RenderObject.h:
- 10:23 PM Changeset in webkit [95597] by
-
- 2 edits in trunk/LayoutTests
[chromium] changed test expectations for zoom-svg-through-object-with-auto-size.html:wq
- platform/chromium/test_expectations.txt:
- 9:19 PM Changeset in webkit [95596] by
-
- 4 edits in trunk/Source/JavaScriptCore
Some Heap cleanup.
Reviewed by Beth Dakin.
- heap/MarkedBlock.cpp:
(JSC::MarkedBlock::blessNewBlock): Removed blessNewBlockForSlowPath()
because it was unused; renamed blessNewBlockForFastPath() to blessNewBlock()
since there is only one now.
- heap/MarkedBlock.h: Removed ownerSet-related stuff since it was unused.
Updated mark bit overhead calculation. Deployed atomsPerBlock in one
place where we were recalculating it.
- heap/MarkedSpace.cpp:
(JSC::MarkedSpace::addBlock): Updated for rename.
- 8:37 PM Changeset in webkit [95595] by
-
- 5 edits in trunk/Tools
garden-o-matic unit test fail because Safari 5.1 doesn't enumerate dictionaries in the same order as V8
https://bugs.webkit.org/show_bug.cgi?id=68496
Reviewed by Dimitri Glazkov.
This patch adds a bunch of sorting to make sure things happen in a
predictable order in both JavaScriptCore and V8. We've talked before
about whether these two JavaScript engines should enumerate
dictionaries in the same order, but the consensus has been that they
shouldn't. Personally, I disagree with that consensus, but such is life.
- BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/base.js:
- BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/base_unittests.js:
- BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/ui/failures_unittests.js:
- BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/ui_unittests.js:
- 7:22 PM Changeset in webkit [95594] by
-
- 5 edits in trunk/Source/JavaScriptCore
DFG JIT always speculates integer on modulo
https://bugs.webkit.org/show_bug.cgi?id=68485
Reviewed by Oliver Hunt.
Added support for double modulo, which is a call to fmod().
Also added support for recording the old JIT's statistics
on op_mod and propagating them along the graph. Finally,
fixed a goof in the ArithNodeFlags propagation logic that
was made obvious when I started testing ArithMod.
- dfg/DFGByteCodeParser.cpp:
(JSC::DFG::ByteCodeParser::makeSafe):
(JSC::DFG::ByteCodeParser::parseBlock):
- dfg/DFGNode.h:
(JSC::DFG::Node::hasArithNodeFlags):
- dfg/DFGPropagator.cpp:
(JSC::DFG::Propagator::propagateArithNodeFlags):
(JSC::DFG::Propagator::propagateNodePredictions):
(JSC::DFG::Propagator::fixupNode):
- dfg/DFGSpeculativeJIT.cpp:
(JSC::DFG::SpeculativeJIT::compile):
- 6:49 PM Changeset in webkit [95593] by
-
- 14 edits in trunk/Source/WebCore
Support for multiple <link rel="icon"> favicon elements.
https://bugs.webkit.org/show_bug.cgi?id=65564
Patch by Rachel Blum <groby@chromium.org> on 2011-09-20
Reviewed by Darin Fisher.
No tests - purely an API change. (And API is not exposed to LayoutTests)
- dom/Document.cpp:
(WebCore::Document::iconURLs):
(WebCore::Document::addIconURL):
- dom/Document.h:
- dom/IconURL.cpp:
(WebCore::toIconIndex):
- dom/IconURL.h:
(WebCore::IconURL::IconURL):
- html/HTMLLinkElement.cpp:
(WebCore::HTMLLinkElement::process):
- loader/LinkLoader.cpp:
(WebCore::LinkLoader::loadLink):
- loader/LinkLoader.h:
- loader/icon/IconController.cpp:
(WebCore::IconController::urlsForTypes):
(WebCore::IconController::appendToIconURLs):
(WebCore::IconController::defaultURL):
- 6:48 PM Changeset in webkit [95592] by
-
- 2 edits in trunk/Tools
garden-o-matic doesn't work in Safari 5.1 because Safari 5.1 lacks Function.prototype.bind
https://bugs.webkit.org/show_bug.cgi?id=68495
Reviewed by Dimitri Glazkov.
This patch adds an implementation of Function.prototype.bind if the browser lacks one.
- BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/base.js:
- 6:30 PM Changeset in webkit [95591] by
-
- 3 edits in trunk/Source/WebCore
[css3-flexbox] cleanup padding width calculations
https://bugs.webkit.org/show_bug.cgi?id=68490
Reviewed by Tony Chang.
No new tests. Existing tests cover the refactor.
- rendering/RenderFlexibleBox.cpp:
(WebCore::RenderFlexibleBox::logicalBorderAndPaddingWidthForChild):
(WebCore::RenderFlexibleBox::logicalScrollbarHeightForChild):
(WebCore::RenderFlexibleBox::preferredLogicalContentWidthForFlexItem):
(WebCore::RenderFlexibleBox::computePreferredLogicalWidth):
(WebCore::RenderFlexibleBox::layoutAndPlaceChildrenInlineDirection):
- rendering/RenderFlexibleBox.h:
- 6:07 PM Changeset in webkit [95590] by
-
- 2 edits2 adds in trunk/Source/WebKit/chromium
This CL makes it possible to create a blob from Chromium.
https://bugs.webkit.org/show_bug.cgi?id=68286
Reviewed by Darin Fisher.
- WebKit.gyp:
- public/WebBlob.h: Added.
- src/WebBlob.cpp: Added.
- 6:04 PM Changeset in webkit [95589] by
-
- 1 edit5 adds1 delete in trunk/LayoutTests
[chromium] rebaseline caused by r95567
- platform/chromium-cg-mac/fast/clip/overflow-border-radius-fixed-position-expected.png: Added.
- platform/chromium-linux-x86/fast/clip: Removed.
- platform/chromium-linux/fast/clip/overflow-border-radius-fixed-position-expected.png: Added.
- platform/chromium-mac/fast/clip/overflow-border-radius-fixed-position-expected.png: Added.
- platform/chromium-win/fast/clip/overflow-border-radius-fixed-position-expected.png: Added.
- platform/chromium-win/fast/clip/overflow-border-radius-fixed-position-expected.txt: Added.
- 5:48 PM Changeset in webkit [95588] by
-
- 4 edits in trunk
[NRWT] REGRESSION: Local loader tests are failing on machines that lost /tmp/LayoutTests symlink
https://bugs.webkit.org/show_bug.cgi?id=65781
Reviewed by Ryosuke Niwa.
Instead of making NRWT create the symlink, I made DumpRenderTree smart enough
to resolve the passed in url relative to the absolute url for the test.
For http tests, since the test url is an http url, we can't resolve relative
to the test path, and thus use a new LOCAL_RESOURCE_ROOT environment variable
for resolving.
I believe this is a better approach than the on used in the Qt and Chromium DRT's
(which resolves the path relative to the built location of the DRT executable)
and we should move this new code into a shared location in a follow-up patch.
It turns out that there was a second use for pathToLocalResource, used by one
test (http/tests/plugins/post-url-file.html) used for getting a path to /tmp.
To support this test I made the new pathToLocalResource smart enough to map
/tmp to DUMPRENDERTREE_TEMP (which is already defined for all ports).
- DumpRenderTree/mac/LayoutTestControllerMac.mm:
(LayoutTestController::pathToLocalResource):
- Scripts/webkitpy/layout_tests/port/webkit.py: Set LOCAL_RESOURCE_ROOT for use by DRT.
- 5:34 PM Changeset in webkit [95587] by
-
- 3 edits in trunk/Tools
Need to specify a django version, instead of using default
https://bugs.webkit.org/show_bug.cgi?id=68398
Patch by Tom Zakrajsek <tomz@codeaurora.org> on 2011-09-20
Reviewed by Eric Seidel.
- QueueStatusServer/init.py:
- QueueStatusServer/main.py:
- 5:16 PM Changeset in webkit [95586] by
-
- 3 edits in trunk/Source/WebCore
Fix clang compile errors in Web Audio
https://bugs.webkit.org/show_bug.cgi?id=68384
Reviewed by David Levin.
No new tests; no net change in functionality.
- platform/graphics/MediaPlayer.h: Forward declare (instead of including directly)
AudioSourceProvider.
- webaudio/AudioChannelMerger.cpp:
(WebCore::AudioChannelMerger::checkNumberOfChannelsForInput): Remove unused parameter name.
- 5:05 PM Changeset in webkit [95585] by
-
- 3 edits in trunk/Source/WebKit2
Get rid of PluginView::setBoundsSize from WebKit2
https://bugs.webkit.org/show_bug.cgi?id=68489
Reviewed by Dan Bernstein.
Remove m_boundsSize and the setter since they aren't used anywhere.
- WebProcess/Plugins/PluginView.cpp:
- WebProcess/Plugins/PluginView.h:
- 5:04 PM Changeset in webkit [95584] by
-
- 2 edits in trunk/Tools
Update committers.py with a few more contributor contacts
https://bugs.webkit.org/show_bug.cgi?id=68487
Patch by Tom Zakrajsek <tomz@codeaurora.org> on 2011-09-20
Reviewed by Eric Seidel.
- Scripts/webkitpy/common/config/committers.py:
- 4:53 PM Changeset in webkit [95583] by
-
- 2 edits in trunk/Tools
Fix webkitpy unit tests after 95547 and 95549
https://bugs.webkit.org/show_bug.cgi?id=68483
Patch by Leandro Pereira <leandro@profusion.mobi> on 2011-09-20
Reviewed by Adam Barth.
Fix tests for ChangeLog.touched_files() and ChangeLog.parse_entries_from_file().
- Scripts/webkitpy/common/checkout/changelog_unittest.py: While testing
parse_entries_from_file(), use StringIO and entry.reviewer_text().
While testing parse_latest_entry_from_file(), expect the correct
touched_files() list.
- 4:49 PM Changeset in webkit [95582] by
-
- 4 edits in trunk
Directory Upload: parent path can truncate first char of the correct path
https://bugs.webkit.org/show_bug.cgi?id=66695
Source/WebCore:
In some cases, if the parent path we compute ends with a separator
character like '/' or 'C:\', by adding one in an attempt to grab the
subsequent separator we actually grab a character of the real path,
which is incorrect.
Reviewed by Darin Fisher.
- html/FileInputType.cpp:
(WebCore::FileInputType::setFileList):
LayoutTests:
Add a test case for when the parent path is '/'.
Reviewed by Darin Fisher.
- fast/forms/input-file-directory-upload.html:
- 4:43 PM Changeset in webkit [95581] by
-
- 2 edits in trunk/Tools
garden-o-matic makes it hard to compare images when scroll bars appear
https://bugs.webkit.org/show_bug.cgi?id=68482
Reviewed by Eric Seidel.
Because we autoscale image width, the images rescale if we overflow
vertically and get a scrollbar. That makes it hard to compare two sets
of images. This patch reserves space for the scrollbar so we won't
have the layout change.
- BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/styles/common.css:
- 4:31 PM Changeset in webkit [95580] by
-
- 6 edits3 adds in trunk
Invoke CachedResourceLoader::canRequest for all URLs in a redirect chain
https://bugs.webkit.org/show_bug.cgi?id=68279
Reviewed by Adam Barth.
Source/WebCore:
- loader/cache/CachedResourceLoader.h:
- loader/cache/CachedResourceRequest.cpp:
(WebCore::CachedResourceRequest::willSendRequest):
LayoutTests:
- http/tests/security/resources/cross-origin-xsl-redirect.xml:
- http/tests/security/cross-origin-xsl-redirect-BLOCKED-expected.txt:
- http/tests/security/cross-origin-xsl-redirect-BLOCKED.html:
- platform/chromium/http/tests/permissionclient/image-permissions-expected.txt:
- platform/chromium/http/tests/permissionclient/image-permissions.html:
- 4:17 PM Changeset in webkit [95579] by
-
- 2 edits in trunk/Websites/webkit.org
Generate WebKit team's page out of committers.py
https://bugs.webkit.org/show_bug.cgi?id=68045
Fix per Daniel's review comment since I had misunderstood the code.
- team.html:
- 3:57 PM Changeset in webkit [95578] by
-
- 1 edit1 add in trunk/Websites/webkit.org
Generate WebKit team's page out of committers.py
https://bugs.webkit.org/show_bug.cgi?id=68045
Reviewed by Daniel Bates.
Add the initial implementation of team.html. This page automatically pulls data from committers.py
There are no areas of expertise but that'll be added once the bug 68061 is fixed.
- team.html: Added.
- 3:46 PM Changeset in webkit [95577] by
-
- 7 edits2 adds in trunk
change RenderFlexibleBox to act on logical coordinates
https://bugs.webkit.org/show_bug.cgi?id=68129
Reviewed by David Hyatt.
Source/WebCore:
This makes RenderFlexibleBox respect direction and writing-mode.
We now properly support the default flex-flow value of "row".
Test: css3/flexbox/writing-modes.html
- rendering/RenderBlock.cpp:
(WebCore::RenderBlock::setLogicalLocationForChild):
- rendering/RenderBlock.h:
- rendering/RenderFlexibleBox.cpp:
(WebCore::RenderFlexibleBox::layoutBlock):
(WebCore::RenderFlexibleBox::logicalBorderWidthForChild):
(WebCore::RenderFlexibleBox::logicalPaddingWidthForChild):
(WebCore::RenderFlexibleBox::logicalScrollbarHeightForChild):
(WebCore::RenderFlexibleBox::marginStartStyleForChild):
(WebCore::RenderFlexibleBox::marginEndStyleForChild):
(WebCore::RenderFlexibleBox::preferredLogicalContentWidthForFlexItem):
(WebCore::RenderFlexibleBox::layoutInlineDirection):
(WebCore::RenderFlexibleBox::logicalPositiveFlexForChild):
(WebCore::RenderFlexibleBox::logicalNegativeFlexForChild):
(WebCore::RenderFlexibleBox::computePreferredLogicalWidth):
(WebCore::RenderFlexibleBox::runFreeSpaceAllocationAlgorithmInlineDirection):
(WebCore::RenderFlexibleBox::setLogicalOverrideSize):
(WebCore::RenderFlexibleBox::layoutAndPlaceChildrenInlineDirection):
- rendering/RenderFlexibleBox.h:
LayoutTests:
- css3/flexbox/resources/flexbox.js:
- css3/flexbox/writing-modes-expected.txt: Added.
- css3/flexbox/writing-modes.html: Added.
- 3:39 PM Changeset in webkit [95576] by
-
- 2 edits in trunk/Source/WebCore
Use DEFINE_STATIC_LOCAL to intentionally leak the static RefCountedHFONT object returned from
FontPlatformData::hashTableDeletedFontValue() to avoid global destructor ordering problems.
https://bugs.webkit.org/show_bug.cgi?id=67906
Patch by Marshall Greenblatt <marshall@chromium.org> on 2011-09-20
Reviewed by Adam Barth.
- platform/graphics/chromium/FontPlatformDataChromiumWin.cpp:
- 3:37 PM Changeset in webkit [95575] by
-
- 3 edits in trunk/Source/WebKit/chromium
[chromium] remove obsolete WebPermissionClient::allowImages method
https://bugs.webkit.org/show_bug.cgi?id=68380
Reviewed by Darin Fisher.
- DEPS:
- public/WebPermissionClient.h:
(WebKit::WebPermissionClient::allowImage):
- 3:33 PM Changeset in webkit [95574] by
-
- 3 edits4 adds in trunk
Hit testing on margins of body and head elements doesn't recur
https://bugs.webkit.org/show_bug.cgi?id=40753
Reviewed by Darin Adler.
Source/WebCore:
The bug was caused by positionForPointRespectingEditingBoundaries's comparing the editability
of head/body and html elements when hit testing was done inside margins of head and body elements.
Fixed the bug by special-casing html element since margins of head and body elements are special.
Tests: editing/selection/click-on-body-margin.html
editing/selection/click-on-head-margin.html
- rendering/RenderBlock.cpp:
(WebCore::positionForPointRespectingEditingBoundaries):
LayoutTests:
Add tests to click on margins of head and body elements. WebKit should not
(attempt to) place the caret after or before head and body elements.
- editing/selection/click-on-body-margin-expected.txt: Added.
- editing/selection/click-on-body-margin.html: Added.
- editing/selection/click-on-head-margin-expected.txt: Added.
- editing/selection/click-on-head-margin.html: Added.
- 3:23 PM Changeset in webkit [95573] by
-
- 9 edits in trunk/Source/WebCore
https://bugs.webkit.org/show_bug.cgi?id=68480
De-virtualize containingBlock() and make RenderView return 0 instead
of itself to make the construction of normal loops that terminate via
a null-check possible.
Fix the only two places in the tree that needed null checks.
Eliminating RenderTableCell::containingBlock() is fine since the base class
does the same thing anyway.
Reviewed by Simon Fraser.
- editing/VisiblePosition.cpp:
(WebCore::VisiblePosition::lineDirectionPointForBlockDirectionNavigation):
- rendering/RenderObject.cpp:
(WebCore::RenderObject::containingBlock):
- rendering/RenderObject.h:
- rendering/RenderTableCell.cpp:
- rendering/RenderTableCell.h:
- rendering/RenderTreeAsText.cpp:
(WebCore::RenderTreeAsText::writeRenderObject):
- rendering/RenderView.cpp:
- rendering/RenderView.h:
- 3:16 PM Changeset in webkit [95572] by
-
- 2 edits1 add in trunk/Source/WebKit2
[Qt] QTouchWebView missing signal tests for loadProgress
https://bugs.webkit.org/show_bug.cgi?id=68442
Patch by Gopal Raghavan <gopal.1.raghavan@nokia.com> on 2011-09-20
Reviewed by Chang Shu.
Added test case to check load progress signal for QTouchWebView
- UIProcess/API/qt/tests/qmltests/TouchWebView/tst_loadProgressSignal.qml: Added.
- UIProcess/API/qt/tests/qmltests/qmltests.pro:
- 2:59 PM Changeset in webkit [95571] by
-
- 2 edits2 adds in trunk/LayoutTests
[CSSRegions] Need test case for 66198 (sliced line box rendering)
https://bugs.webkit.org/show_bug.cgi?id=68257
Patch by Alan Stearns <stearns@adobe.com> on 2011-09-20
Reviewed by David Hyatt.
- fast/regions/resources/helper.js:
(assertTopLeftMatch):
(sameTopLeft):
- fast/regions/no-split-line-box-expected.txt: Added.
- fast/regions/no-split-line-box.html: Added.
- 2:47 PM Changeset in webkit [95570] by
-
- 7 edits in trunk/Source
Remove ScrollView::platformContentsSize
https://bugs.webkit.org/show_bug.cgi?id=68188
Reviewed by Darin Adler.
../WebCore:
Since ScrollView keeps track of the contents size in ScrollView::m_contentsSize, we never
have to ask the underlying platform scroll view for contents size since it should always just
be equal to m_contentsSize.
- platform/ScrollView.cpp:
(WebCore::ScrollView::contentsSize):
(WebCore::ScrollView::wheelEvent):
- platform/ScrollView.h:
- platform/mac/ScrollViewMac.mm:
- platform/wx/ScrollViewWx.cpp:
../WebKit/mac:
When creating the document view, make sure it's zero sized which matches the initial size
of the ScrollView. This is fine to do early since DocumentWriter::begin sets the contents
size to a zero size anyway.
- WebView/WebFrameView.mm:
(-[WebFrameView _makeDocumentViewForDataSource:]):
- 2:14 PM Changeset in webkit [95569] by
-
- 5 edits2 deletes in trunk
Unreviewed, rolling out r95565.
http://trac.webkit.org/changeset/95565
https://bugs.webkit.org/show_bug.cgi?id=68470
Broke builds (Requested by andersca on #webkit).
Patch by Sheriff Bot <webkit.review.bot@gmail.com> on 2011-09-20
Source/WebKit2:
- GNUmakefile.am:
- Shared/API/c/WKHitTestResult.cpp: Removed.
- Shared/API/c/WKHitTestResult.h: Removed.
- UIProcess/API/C/WebKit2.h:
Tools:
- MiniBrowser/gtk/BrowserWindow.c:
(mouseDidMoveOverElement):
- 2:08 PM Rebaseline edited by
- example out of date (?) (diff)
- 2:01 PM Changeset in webkit [95568] by
-
- 9 edits1 add in trunk/Source
[Qt] [WK2] Implement a persistent cookie storage.
https://bugs.webkit.org/show_bug.cgi?id=65309
Reviewed by Chang Shu.
Source/WebCore:
Implement a cookie storage for the Qt port on WebKit2.
The implementation is using a SQLite database to store the cookies
and restore them. It uses a static object as CookieJar is not an
object but a set of global functions. The actual saving/restoring is on
the WebProcess side where our network stack lives.
Existing tests cover the new implementation. Unfortunately there is one
case that we can't easily simulate : login in a website, make sure that the webprocess
is not running and then going back to this website and see that we are logged.
- WebCore.pri:
- WebCore.pro:
- platform/qt/CookieJarQt.cpp:
(WebCore::getHostnamesWithCookies):
(WebCore::deleteCookiesForHostname):
(WebCore::deleteAllCookies):
(WebCore::SharedCookieJarQt::shared):
(WebCore::SharedCookieJarQt::create):
(WebCore::SharedCookieJarQt::destroy):
(WebCore::SharedCookieJarQt::getHostnamesWithCookies):
(WebCore::SharedCookieJarQt::deleteCookiesForHostname):
(WebCore::SharedCookieJarQt::deleteAllCookies):
(WebCore::SharedCookieJarQt::SharedCookieJarQt):
(WebCore::SharedCookieJarQt::~SharedCookieJarQt):
(WebCore::SharedCookieJarQt::setCookiesFromUrl):
(WebCore::SharedCookieJarQt::ensureDatabaseTable):
(WebCore::SharedCookieJarQt::loadCookies):
- platform/qt/CookieJarQt.h: Added.
Source/WebKit2:
Add parameter to the WebProcess creation to specify where cookies should be saved.
It also use the new cookie storage implementation and set it to our network stack
so cookies are used when using it.
- Shared/WebProcessCreationParameters.cpp:
(WebKit::WebProcessCreationParameters::encode):
(WebKit::WebProcessCreationParameters::decode):
- Shared/WebProcessCreationParameters.h:
- UIProcess/qt/WebContextQt.cpp:
(WebKit::WebContext::platformInitializeWebProcess):
- WebProcess/qt/WebProcessQt.cpp:
(WebKit::WebProcess::platformInitializeWebProcess):
(WebKit::WebProcess::platformTerminate):
- 1:26 PM Changeset in webkit [95567] by
-
- 3 edits3 adds in trunk
Source/WebCore: https://bugs.webkit.org/show_bug.cgi?id=68314
Make sure that the containing block loop when clipping to border-radius
terminates by checking if you hit the RenderView. Null checking isn't sufficient
for stupid historical reasons that should be fixed (i.e., the RenderView returns itself
as its own containing block, even though this should just be changed).
Reviewed by Simon Fraser and Darin Adler.
Added new test in fast/clip.
- rendering/RenderLayer.cpp:
(WebCore::inContainingBlockChain):
LayoutTests: https://bugs.webkit.org/show_bug.cgi?id=68314
Added some more clipping tests for overflow to make sure the right things happen
when border-radius is specified.
Reviewed by Simon Fraser and Darin Adler.
- fast/clip/overflow-border-radius-fixed-position.html: Added.
- platform/mac/fast/clip/overflow-border-radius-fixed-position-expected.png: Added.
- platform/mac/fast/clip/overflow-border-radius-fixed-position-expected.txt: Added.
- 1:21 PM Changeset in webkit [95566] by
-
- 38 edits in trunk
MathML renderers do not override RenderObject::renderName()
https://bugs.webkit.org/show_bug.cgi?id=68461
Reviewed by Darin Adler.
Source/WebCore:
Added implementations of renderName() in MathML RenderObject subclasses.
- rendering/mathml/RenderMathMLBlock.h:
(WebCore::RenderMathMLBlock::renderName):
- rendering/mathml/RenderMathMLFenced.h:
(WebCore::RenderMathMLFenced::renderName):
- rendering/mathml/RenderMathMLFraction.h:
(WebCore::RenderMathMLFraction::renderName):
- rendering/mathml/RenderMathMLMath.h:
(WebCore::RenderMathMLMath::renderName):
- rendering/mathml/RenderMathMLOperator.h:
(WebCore::RenderMathMLOperator::renderName):
- rendering/mathml/RenderMathMLRoot.h:
(WebCore::RenderMathMLRoot::renderName):
- rendering/mathml/RenderMathMLRow.h:
(WebCore::RenderMathMLRow::renderName):
- rendering/mathml/RenderMathMLSquareRoot.h:
(WebCore::RenderMathMLSquareRoot::renderName):
- rendering/mathml/RenderMathMLSubSup.h:
(WebCore::RenderMathMLSubSup::renderName):
- rendering/mathml/RenderMathMLUnderOver.h:
(WebCore::RenderMathMLUnderOver::renderName):
LayoutTests:
- platform/mac/mathml/presentation/attributes-expected.txt:
- platform/mac/mathml/presentation/fenced-expected.txt:
- platform/mac/mathml/presentation/fenced-mi-expected.txt:
- platform/mac/mathml/presentation/fractions-expected.txt:
- platform/mac/mathml/presentation/fractions-vertical-alignment-expected.txt:
- platform/mac/mathml/presentation/mo-expected.txt:
- platform/mac/mathml/presentation/msub-base-changed-expected.txt:
- platform/mac/mathml/presentation/msub-sub-changed-expected.txt:
- platform/mac/mathml/presentation/msubsup-base-changed-expected.txt:
- platform/mac/mathml/presentation/msubsup-sub-changed-expected.txt:
- platform/mac/mathml/presentation/msubsup-sup-changed-expected.txt:
- platform/mac/mathml/presentation/msup-base-changed-expected.txt:
- platform/mac/mathml/presentation/msup-sup-changed-expected.txt:
- platform/mac/mathml/presentation/over-expected.txt:
- platform/mac/mathml/presentation/roots-expected.txt:
- platform/mac/mathml/presentation/row-alignment-expected.txt:
- platform/mac/mathml/presentation/row-expected.txt:
- platform/mac/mathml/presentation/style-expected.txt:
- platform/mac/mathml/presentation/sub-expected.txt:
- platform/mac/mathml/presentation/subsup-expected.txt:
- platform/mac/mathml/presentation/sup-expected.txt:
- platform/mac/mathml/presentation/tables-expected.txt:
- platform/mac/mathml/presentation/tokenElements-expected.txt:
- platform/mac/mathml/presentation/under-expected.txt:
- platform/mac/mathml/presentation/underover-expected.txt:
- platform/mac/mathml/xHeight-expected.txt:
- 1:16 PM Changeset in webkit [95565] by
-
- 5 edits2 copies in trunk
Source/WebKit2: Added WKHitTestResult API's.
WKHitTestResult API's are added. These API's can be used to
get the hover'ed link/image/media URL as well as link lable and
title.
https://bugs.webkit.org/show_bug.cgi?id=68426
Patch by Nayan Kumar K <nayankk@motorola.com> on 2011-09-20
Reviewed by Anders Carlsson.
- GNUmakefile.am:
- Shared/API/c/WKHitTestResult.cpp: Copied from Source/WebKit2/UIProcess/API/C/WebKit2.h.
(WKHitTestResultGetTypeID):
(WKHitTestResultCopyAbsoluteImageURL):
(WKHitTestResultCopyAbsoluteLinkURL):
(WKHitTestResultCopyAbsoluteMediaURL):
(WKHitTestResultCopyLinkLabel):
(WKHitTestResultCopyLinkTitle):
- Shared/API/c/WKHitTestResult.h: Copied from Source/WebKit2/UIProcess/API/C/WebKit2.h.
- UIProcess/API/C/WebKit2.h:
Tools: Get hover'ed element URL from HitTest.
mouseDidMoveOverElement now gets the hover'ed element link using
WKHitTestResult API's.
https://bugs.webkit.org/show_bug.cgi?id=68426
Patch by Nayan Kumar K <nayankk@motorola.com> on 2011-09-20
Reviewed by Anders Carlsson.
- MiniBrowser/gtk/BrowserWindow.c:
(mouseDidMoveOverElement):
- 1:13 PM Changeset in webkit [95564] by
-
- 7 edits in trunk
[GTK] requestAnimationFrame support for gtk port
https://bugs.webkit.org/show_bug.cgi?id=66280
Patch by ChangSeok Oh <ChangSeok Oh> on 2011-09-20
Reviewed by Martin Robinson.
.:
- configure.ac: Add an option to enable requestAnimationFrame for gtk port.
Source/JavaScriptCore:
Let GTK port use REQUEST_ANIMATION_FRAME_TIMER.
- wtf/Platform.h:
Source/WebCore:
Add some files to build-target & activate ENABLE_REQUEST_ANIMATION_FRAME flag
when enabling requestAnimationFrame option.
fast/animation/request-animation-frame-cancel.html
fast/animation/request-animation-frame-cancel2.html
fast/animation/request-animation-frame-display.html
fast/animation/request-animation-frame-during-modal.html
fast/animation/request-animation-frame-timestamps.html
fast/animation/request-animation-frame-within-callback.html
fast/animation/request-animation-frame.html
- GNUmakefile.am:
- GNUmakefile.list.am:
- 1:10 PM Changeset in webkit [95563] by
-
- 8 edits in trunk/Source/JavaScriptCore
DFG JIT performs too many negative zero checks, and too many
overflow checks
https://bugs.webkit.org/show_bug.cgi?id=68430
Reviewed by Oliver Hunt.
This adds comprehensive support for deciding how to perform an
arithmetic operations based on a combination of overflow profiling,
negative zero profiling, value profiling, and a static analysis of
how the results of these operations get used.
This is a 72% speed-up on stanford-crypto-sha256-iterative, and a
2.5% speed-up on the Kraken average, a 1.4% speed-up on the V8
geomean, and neutral on SunSpider. It's also an 8.5% speed-up on
V8-crypto, because apparenty everything we do speeds up crypto.
- dfg/DFGByteCodeParser.cpp:
(JSC::DFG::ByteCodeParser::toInt32):
(JSC::DFG::ByteCodeParser::toNumber):
(JSC::DFG::ByteCodeParser::isSmallInt32Constant):
(JSC::DFG::ByteCodeParser::valueOfInt32Constant):
(JSC::DFG::ByteCodeParser::weaklyPredictInt32):
(JSC::DFG::ByteCodeParser::makeSafe):
(JSC::DFG::ByteCodeParser::handleMinMax):
(JSC::DFG::ByteCodeParser::handleIntrinsic):
(JSC::DFG::ByteCodeParser::parseBlock):
(JSC::DFG::ByteCodeParser::processPhiStack):
(JSC::DFG::ByteCodeParser::parse):
- dfg/DFGGraph.cpp:
(JSC::DFG::Graph::dump):
- dfg/DFGJITCodeGenerator.cpp:
(JSC::DFG::JITCodeGenerator::nonSpeculativeBasicArithOp):
- dfg/DFGNode.h:
(JSC::DFG::nodeUsedAsNumber):
(JSC::DFG::nodeCanTruncateInteger):
(JSC::DFG::nodeCanIgnoreNegativeZero):
(JSC::DFG::nodeCanSpeculateInteger):
(JSC::DFG::arithNodeFlagsAsString):
(JSC::DFG::Node::Node):
(JSC::DFG::Node::hasArithNodeFlags):
(JSC::DFG::Node::rawArithNodeFlags):
(JSC::DFG::Node::arithNodeFlags):
(JSC::DFG::Node::arithNodeFlagsForCompare):
(JSC::DFG::Node::setArithNodeFlag):
(JSC::DFG::Node::mergeArithNodeFlags):
- dfg/DFGPropagator.cpp:
(JSC::DFG::Propagator::fixpoint):
(JSC::DFG::Propagator::isNotNegZero):
(JSC::DFG::Propagator::isNotZero):
(JSC::DFG::Propagator::propagateArithNodeFlags):
(JSC::DFG::Propagator::propagateArithNodeFlagsForward):
(JSC::DFG::Propagator::propagateArithNodeFlagsBackward):
(JSC::DFG::Propagator::propagateNodePredictions):
(JSC::DFG::Propagator::propagatePredictionsForward):
(JSC::DFG::Propagator::propagatePredictionsBackward):
(JSC::DFG::Propagator::toDouble):
(JSC::DFG::Propagator::fixupNode):
(JSC::DFG::Propagator::fixup):
(JSC::DFG::Propagator::startIndexForChildren):
(JSC::DFG::Propagator::endIndexForPureCSE):
(JSC::DFG::Propagator::pureCSE):
(JSC::DFG::Propagator::clobbersWorld):
(JSC::DFG::Propagator::setReplacement):
(JSC::DFG::Propagator::performNodeCSE):
(JSC::DFG::Propagator::localCSE):
- dfg/DFGSpeculativeJIT.cpp:
(JSC::DFG::SpeculativeJIT::compile):
(JSC::DFG::SpeculativeJIT::computeValueRecoveryFor):
- 1:05 PM Changeset in webkit [95562] by
-
- 2 edits in trunk/LayoutTests
Unreviewed; new baselines (Skia on Mac)
This separates test failures that are specific to CG Mac from failures
for Skia on Mac. Most of these changes are specific to Leopard, but a
handful add new fail flavors for all Mac variations.
- LayoutTests/platform/chromium/test_expectations.txt:
- 12:05 PM Changeset in webkit [95561] by
-
- 2 edits5 copies in branches/chromium/874/LayoutTests
Merge 95259 - Fragment navigations should interrupt a provisional load of a different document
https://bugs.webkit.org/show_bug.cgi?id=64556
Source/WebCore:
Reviewed by Adam Barth.
Tests: http/tests/history/back-with-fragment-change.php
http/tests/navigation/navigation-interrupted-by-fragment.html
- loader/FrameLoader.cpp: Stop provisional load if a fragment commits.
- loader/HistoryController.cpp: Don't commit the wrong provisional item.
LayoutTests:
Reviewed by Adam Barth.
Required page-dismissal-modal-dialogs-iframe.html to be updated since
the dummy <a href="#"> link was clicked after the provisional load was
kicked off, thus causing it to to be aborted.
- fast/loader/page-dismissal-modal-dialogs.html:
- fast/loader/resources/page-dismissal-modal-dialogs-iframe.html:
- http/tests/history/back-with-fragment-change-expected.txt: Added.
- http/tests/history/back-with-fragment-change.php: Added.
- http/tests/history/resources/back-with-fragment-change-target.html: Added.
- http/tests/navigation/navigation-interrupted-by-fragment-expected.txt: Added.
- http/tests/navigation/navigation-interrupted-by-fragment.html: Added.
TBR=mihaip@chromium.org
Review URL: http://codereview.chromium.org/7983013
- 11:58 AM Changeset in webkit [95560] by
-
- 11 edits2 adds in trunk/Source
Rework script context creation/release notifications
https://bugs.webkit.org/show_bug.cgi?id=67828
Reviewed by Adam Barth.
Source/WebCore:
- bindings/v8/V8DOMWindowShell.cpp:
(WebCore::V8DOMWindowShell::disposeContextHandles):
(WebCore::V8DOMWindowShell::initContextIfNeeded):
- bindings/v8/V8IsolatedContext.cpp:
(WebCore::V8IsolatedContext::V8IsolatedContext):
(WebCore::V8IsolatedContext::destroy):
- bindings/v8/V8IsolatedContext.h:
- loader/EmptyClients.h:
(WebCore::EmptyFrameLoaderClient::didCreateScriptContext):
(WebCore::EmptyFrameLoaderClient::willReleaseScriptContext):
- loader/FrameLoaderClient.h:
Source/WebKit/chromium:
- public/WebFrameClient.h:
(WebKit::WebFrameClient::didCreateScriptContext):
(WebKit::WebFrameClient::didDestroyScriptContext):
(WebKit::WebFrameClient::willReleaseScriptContext):
- src/FrameLoaderClientImpl.cpp:
(WebKit::FrameLoaderClientImpl::didCreateScriptContext):
(WebKit::FrameLoaderClientImpl::willReleaseScriptContext):
- src/FrameLoaderClientImpl.h:
- tests/WebFrameTest.cpp:
(WebKit::TEST_F):
(WebKit::ContextLifetimeTestWebFrameClient::Notification::Notification):
(WebKit::ContextLifetimeTestWebFrameClient::Notification::~Notification):
(WebKit::ContextLifetimeTestWebFrameClient::Notification::Equals):
(WebKit::ContextLifetimeTestWebFrameClient::~ContextLifetimeTestWebFrameClient):
(WebKit::ContextLifetimeTestWebFrameClient::reset):
(WebKit::ContextLifetimeTestWebFrameClient::didCreateScriptContext):
(WebKit::ContextLifetimeTestWebFrameClient::willReleaseScriptContext):
- tests/data/context_notifications_test.html: Added.
- tests/data/context_notifications_test_frame.html: Added.
- 11:31 AM Changeset in webkit [95559] by
-
- 15 edits3 adds in trunk/Source
Refactor Heap allocation logic into separate AllocationSpace class
https://bugs.webkit.org/show_bug.cgi?id=68409
Reviewed by Gavin Barraclough.
../../../../Volumes/Data/git/WebKit/OpenSource/Source/JavaScriptCore:
This patch hoists direct manipulation of the MarkedSpace and related
data out of Heap and into a separate class. This will allow us to
have multiple allocation spaces in future, so easing the way towards
having GC'd backing stores for objects.
- CMakeLists.txt:
- GNUmakefile.list.am:
- JavaScriptCore.exp:
- JavaScriptCore.gypi:
- JavaScriptCore.pro:
- JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.def:
- JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.vcproj:
- JavaScriptCore.xcodeproj/project.pbxproj:
- debugger/Debugger.cpp:
(JSC::Debugger::recompileAllJSFunctions):
- heap/AllocationSpace.cpp: Added.
(JSC::AllocationSpace::tryAllocate):
(JSC::AllocationSpace::allocateSlowCase):
(JSC::AllocationSpace::allocateBlock):
(JSC::AllocationSpace::freeBlocks):
(JSC::TakeIfEmpty::TakeIfEmpty):
(JSC::TakeIfEmpty::operator()):
(JSC::TakeIfEmpty::returnValue):
(JSC::AllocationSpace::shrink):
- heap/AllocationSpace.h: Added.
(JSC::AllocationSpace::AllocationSpace):
(JSC::AllocationSpace::blocks):
(JSC::AllocationSpace::sizeClassFor):
(JSC::AllocationSpace::setHighWaterMark):
(JSC::AllocationSpace::highWaterMark):
(JSC::AllocationSpace::canonicalizeBlocks):
(JSC::AllocationSpace::resetAllocator):
(JSC::AllocationSpace::forEachCell):
(JSC::AllocationSpace::forEachBlock):
(JSC::AllocationSpace::allocate):
- heap/Heap.cpp:
(JSC::Heap::Heap):
(JSC::Heap::reportExtraMemoryCostSlowCase):
(JSC::Heap::getConservativeRegisterRoots):
(JSC::Heap::markRoots):
(JSC::Heap::clearMarks):
(JSC::Heap::sweep):
(JSC::Heap::objectCount):
(JSC::Heap::size):
(JSC::Heap::capacity):
(JSC::Heap::globalObjectCount):
(JSC::Heap::objectTypeCounts):
(JSC::Heap::collect):
(JSC::Heap::canonicalizeBlocks):
(JSC::Heap::resetAllocator):
(JSC::Heap::freeBlocks):
(JSC::Heap::shrink):
- heap/Heap.h:
(JSC::Heap::objectSpace):
(JSC::Heap::sizeClassForObject):
(JSC::Heap::allocate):
- jit/JITInlineMethods.h:
(JSC::JIT::emitAllocateBasicJSObject):
- runtime/JSGlobalData.cpp:
(JSC::JSGlobalData::recompileAllJSFunctions):
(JSC::JSGlobalData::releaseExecutableMemory):
../../../../Volumes/Data/git/WebKit/OpenSource/Source/WebCore:
Adding a forwarding header.
- ForwardingHeaders/heap/AllocationSpace.h: Added.
- 11:20 AM Changeset in webkit [95558] by
-
- 2 edits in trunk/Source/WebCore
Build fix.
- WebCorePrefix.h: Removed stray text from accidental paste.
- 11:17 AM Changeset in webkit [95557] by
-
- 2 edits in trunk/LayoutTests
2011-09-20 Pavel Feldman <pfeldman@google.com>
Not reviewed: one line inspector's script-formatter.html fix.
- inspector/debugger/script-formatter.html:
- 11:09 AM Changeset in webkit [95556] by
-
- 2 edits in trunk/Source/WebKit/efl
[EFL] Call FrameLoader::detachFromParent() when destroying a frame.
https://bugs.webkit.org/show_bug.cgi?id=66855
Patch by Raphael Kubo da Costa <kubo@profusion.mobi> on 2011-09-20
Reviewed by Antonio Gomes.
Most other ports call this method somewhere when the frame is being
removed, as it performs some destruction calls which, in our case, at
least makes sure onunload events get delivered properly in
fast/frames/iframe-reparenting-adopt-node.html.
- ewk/ewk_frame.cpp:
(_ewk_frame_smart_del): Call FrameLoader::detachFromParent()
- 11:02 AM Changeset in webkit [95555] by
-
- 39 edits in trunk/Source
Removed BREWMP* platform #ifdefs
https://bugs.webkit.org/show_bug.cgi?id=68425
BREWMP* has no maintainer, and this is dead code.
Reviewed by Darin Adler.
- heap/MarkStack.h:
(JSC::::shrinkAllocation):
- jit/ExecutableAllocator.h:
(JSC::ExecutableAllocator::cacheFlush):
- runtime/TimeoutChecker.cpp:
(JSC::getCPUTime):
- wtf/Assertions.cpp:
- wtf/Assertions.h:
- wtf/CurrentTime.cpp:
- wtf/DateMath.cpp:
(WTF::calculateUTCOffset):
- wtf/FastMalloc.cpp:
(WTF::fastMalloc):
(WTF::fastCalloc):
(WTF::fastMallocSize):
- wtf/FastMalloc.h:
- wtf/MainThread.cpp:
- wtf/MathExtras.h:
- wtf/OwnPtrCommon.h:
- wtf/Platform.h:
- wtf/RandomNumber.cpp:
(WTF::randomNumber):
- wtf/RandomNumberSeed.h:
(WTF::initializeRandomNumberGenerator):
- wtf/text/WTFString.h:
- wtf/unicode/Unicode.h:
../WebCore:
- WebCorePrefix.h:
- loader/cache/CachedFont.cpp:
- platform/DragData.h:
- platform/DragImage.h:
- platform/FileSystem.h:
- platform/PlatformKeyboardEvent.h:
- platform/PlatformMouseEvent.h:
- platform/PlatformTouchEvent.h:
- platform/PlatformTouchPoint.h:
(WebCore::PlatformTouchPoint::PlatformTouchPoint):
- platform/Widget.h:
- platform/graphics/IntPoint.h:
- platform/graphics/IntSize.h:
- platform/graphics/WOFFFileFormat.cpp:
- platform/graphics/skia/FontCustomPlatformData.cpp:
(WebCore::FontCustomPlatformData::~FontCustomPlatformData):
(WebCore::FontCustomPlatformData::fontPlatformData):
(WebCore::createFontCustomPlatformData):
- platform/graphics/skia/FontCustomPlatformData.h:
- platform/image-decoders/jpeg/JPEGImageDecoder.cpp:
- platform/text/TextBoundaries.cpp:
- platform/text/TextEncoding.cpp:
(WebCore::TextEncoding::encode):
- platform/text/TextEncodingRegistry.cpp:
- plugins/PluginViewNone.cpp:
- 10:47 AM Changeset in webkit [95554] by
-
- 2 edits in trunk/Source/WebCore
Web Inspector: Copy Stack Trace lacks newlines on Windows
https://bugs.webkit.org/show_bug.cgi?id=68447
Reviewed by Joseph Pecoraro.
- inspector/front-end/CallStackSidebarPane.js:
(WebInspector.CallStackSidebarPane.prototype._copyStackTrace):
- 10:44 AM Changeset in webkit [95553] by
-
- 2 edits in trunk/Source/WebCore
2011-09-20 Pavel Feldman <pfeldman@google.com>
Not reviewed: inspector sanity test fix.
- inspector/front-end/inspector.js: (WebInspector.showConsole):
- 10:15 AM Changeset in webkit [95552] by
-
- 8 edits in branches/chromium/874/Source/WebCore
Merge 95506 - [chromium] ContentLayer's texture updater deleted during paint when compositing turns off in the middle of paint
https://bugs.webkit.org/show_bug.cgi?id=68405
Patch by James Robinson <jamesr@chromium.org> on 2011-09-19
Reviewed by Kenneth Russell.
Make TiledLayerChromium's textureUpdater refcounted and hold an explicit reference during paint in case
compositing is turned off halfway through a paint.
- platform/graphics/chromium/ContentLayerChromium.h:
- platform/graphics/chromium/ImageLayerChromium.cpp:
(WebCore::ImageLayerTextureUpdater::create):
- platform/graphics/chromium/ImageLayerChromium.h:
- platform/graphics/chromium/LayerTextureUpdater.h:
- platform/graphics/chromium/LayerTextureUpdaterCanvas.cpp:
(WebCore::LayerTextureUpdaterBitmap::create):
(WebCore::LayerTextureUpdaterSkPicture::create):
- platform/graphics/chromium/LayerTextureUpdaterCanvas.h:
- platform/graphics/chromium/TiledLayerChromium.cpp:
(WebCore::TiledLayerChromium::prepareToUpdate):
TBR=commit-queue@webkit.org
Review URL: http://codereview.chromium.org/7982004
- 10:08 AM Changeset in webkit [95551] by
-
- 6 edits4 adds in trunk/Source
[Qt][WK2] Add stubs for FULLSCREEN_API on Qt.
https://bugs.webkit.org/show_bug.cgi?id=68444
Reviewed by Andreas Kling.
Create all the stubs necessary for enabling FULLSCREEN_API on the Qt port.
Source/WebCore:
No new tests : just stubs.
- CodeGenerators.pri:
- WebCore.pro:
- features.pri:
Source/WebKit2:
- UIProcess/qt/WebFullScreenManagerProxyQt.cpp: Added.
(WebKit::WebFullScreenManagerProxy::invalidate):
(WebKit::WebFullScreenManagerProxy::enterFullScreen):
(WebKit::WebFullScreenManagerProxy::exitFullScreen):
(WebKit::WebFullScreenManagerProxy::beganEnterFullScreenAnimation):
(WebKit::WebFullScreenManagerProxy::finishedEnterFullScreenAnimation):
(WebKit::WebFullScreenManagerProxy::beganExitFullScreenAnimation):
(WebKit::WebFullScreenManagerProxy::finishedExitFullScreenAnimation):
(WebKit::WebFullScreenManagerProxy::enterAcceleratedCompositingMode):
(WebKit::WebFullScreenManagerProxy::exitAcceleratedCompositingMode):
(WebKit::WebFullScreenManagerProxy::getFullScreenRect):
- WebKit2.pro:
- WebProcess/FullScreen/qt: Added.
- WebProcess/FullScreen/qt/WebFullScreenManagerQt.cpp: Added.
(WebKit::WebFullScreenManagerQt::WebFullScreenManagerQt):
(WebKit::WebFullScreenManager::create):
(WebKit::WebFullScreenManagerQt::setRootFullScreenLayer):
(WebKit::WebFullScreenManagerQt::beginEnterFullScreenAnimation):
(WebKit::WebFullScreenManagerQt::beginExitFullScreenAnimation):
- WebProcess/FullScreen/qt/WebFullScreenManagerQt.h: Added.
- 9:46 AM Changeset in webkit [95550] by
-
- 3 edits4 deletes in trunk
Unreviewed, rolling out r95509.
http://trac.webkit.org/changeset/95509
https://bugs.webkit.org/show_bug.cgi?id=68446
crashes chromium fast/repaint/japanese-rl-selection-repaint-
in-regions.html on Win and Linux (Requested by dslomov on
#webkit).
Patch by Sheriff Bot <webkit.review.bot@gmail.com> on 2011-09-20
Source/WebCore:
- rendering/RenderBlock.cpp:
(WebCore::positionForPointRespectingEditingBoundaries):
LayoutTests:
- editing/selection/click-on-body-margin-expected.txt: Removed.
- editing/selection/click-on-body-margin.html: Removed.
- editing/selection/click-on-head-margin-expected.txt: Removed.
- editing/selection/click-on-head-margin.html: Removed.
- 9:45 AM Changeset in webkit [95549] by
-
- 3 edits in trunk/Tools
Changelog class should have a method to return all entries
https://bugs.webkit.org/show_bug.cgi?id=68399
Implement ChangeLog.parse_entries_from_file(). This method returns a generator
of ChangeLogEntry objects, ordered from the latest to the oldest entry in the file.
Patch by Leandro Pereira <leandro@profusion.mobi> on 2011-09-20
Reviewed by Ryosuke Niwa.
- Scripts/webkitpy/common/checkout/changelog.py: Copy parse_latest_entry_from_file()
and adapt it to become a generator.
- Scripts/webkitpy/common/checkout/changelog_unittest.py: Add test case.
- 9:41 AM Changeset in webkit [95548] by
-
- 10 edits8 adds in trunk
Source/WebCore: [Qt] Permit qrc resources to load in QWebSettings::setUserStyleSheetUrl()
https://bugs.webkit.org/show_bug.cgi?id=51159
Permit any URL with a local scheme to set a user style sheet. Allow qrc
resource URLs as arguments to QWebSettings::setUserStyleSheetUrl().
Patch by Jarred Nicholls <jarred@sencha.com> on 2011-09-20
Reviewed by Kenneth Rohde Christiansen.
- page/Page.cpp:
(WebCore::Page::userStyleSheetLocationChanged):
- platform/qt/KURLQt.cpp:
(WebCore::KURL::fileSystemPath):
Source/WebKit/qt: [Qt] Permit qrc resources to load in QWebSettings::setUserStyleSheetUrl()
https://bugs.webkit.org/show_bug.cgi?id=51159
Permit any URL with a local scheme to set a user style sheet. Allow qrc
resource URLs as arguments to QWebSettings::setUserStyleSheetUrl().
New test case makes sure a qrc URL will properly load a user stylesheet.
Patch by Jarred Nicholls <jarred@sencha.com> on 2011-09-20
Reviewed by Kenneth Rohde Christiansen.
(tst_QWebPage::userStyleSheetFromQrcUrl):
- tests/qwebpage/tst_qwebpage.qrc:
Tools: [Qt] Permit qrc resources to load in QWebSettings::setUserStyleSheetUrl()
https://bugs.webkit.org/show_bug.cgi?id=51159
Permit any URL with a local scheme to set a user style sheet. Allow qrc
resource URLs as arguments to QWebSettings::setUserStyleSheetUrl().
Add DRT/WKTR qrc resource to test loading user style sheets from a qrc URL.
Patch by Jarred Nicholls <jarred@sencha.com> on 2011-09-20
Reviewed by Kenneth Rohde Christiansen.
- DumpRenderTree/qt/DumpRenderTree.pro:
- DumpRenderTree/qt/DumpRenderTree.qrc: Added.
- DumpRenderTree/qt/resources/user.css: Added.
(body):
- WebKitTestRunner/qt/WebKitTestRunner.pro:
- WebKitTestRunner/qt/WebKitTestRunner.qrc: Added.
- WebKitTestRunner/qt/resources/user.css: Added.
(body):
LayoutTests: [Qt] Permit qrc resources to load in QWebSettings::setUserStyleSheetUrl()
https://bugs.webkit.org/show_bug.cgi?id=51159
Permit any URL with a local scheme to set a user style sheet. Allow qrc
resource URLs as arguments to QWebSettings::setUserStyleSheetUrl().
New platform layout test since user style sheet is testable from DRT.
Patch by Jarred Nicholls <jarred@sencha.com> on 2011-09-20
Reviewed by Kenneth Rohde Christiansen.
- platform/qt/fast/loader/user-stylesheet-qrc-path-expected.txt: Added.
- platform/qt/fast/loader/user-stylesheet-qrc-path.html: Added.
- 9:31 AM Changeset in webkit [95547] by
-
- 3 edits in trunk/Tools
ChangeLogEntry class should contain a list of touched files
https://bugs.webkit.org/show_bug.cgi?id=68115
Patch by Leandro Pereira <leandro@profusion.mobi> on 2011-09-20
Reviewed by Eric Seidel.
Add method to return the list of files touched in a ChangeLog entry.
- Scripts/webkitpy/common/checkout/changelog.py: Add
touched_files_regexp and touched_files() method.
- Scripts/webkitpy/common/checkout/changelog_unittest.py: Implement
unit tests for touched_files() method.
- 9:27 AM Changeset in webkit [95546] by
-
- 2 edits in trunk/LayoutTests
[Chromium] Rebaseline expectationd and file WK68445.
- platform/chromium/test_expectations.txt:
- 9:08 AM Changeset in webkit [95545] by
-
- 2 edits2 adds in trunk/Source/WebKit2
[Qt][WK2] Export QNetworkReply in the QtWebKit QML module.
https://bugs.webkit.org/show_bug.cgi?id=68401
Reviewed by Simon Hausmann.
Add QNetworkReply in the QtWebKit module. We use the enum QNetworkReply::NetworkError
as the error code when the load fails. It is not used in the QtQuick module therefore
the QML team thinks it should belong here. Also added some auto-tests to cover the
loading errors.
- UIProcess/API/qt/qmlplugin/plugin.cpp:
(WebKit2QmlPlugin::registerTypes):
- UIProcess/API/qt/tests/qmltests/DesktopWebView/tst_loadFail.qml: Added.
- UIProcess/API/qt/tests/qmltests/TouchWebView/tst_loadFail.qml: Added.
- 8:46 AM Changeset in webkit [95544] by
-
- 3 edits in trunk/Tools
Unreviewed, rolling out r95526 and r95541.
http://trac.webkit.org/changeset/95526
http://trac.webkit.org/changeset/95541
https://bugs.webkit.org/show_bug.cgi?id=68443
It broke 6 tests (Requested by ossy_ on #webkit).
Patch by Sheriff Bot <webkit.review.bot@gmail.com> on 2011-09-20
- DumpRenderTree/qt/main.cpp:
(main):
- WebKitTestRunner/InjectedBundle/qt/ActivateFontsQt.cpp:
(WTR::activateFonts):
- 8:43 AM Changeset in webkit [95543] by
-
- 16 edits in trunk/Tools
Fix patch and bug numbering in the mocktool simulation code
https://bugs.webkit.org/show_bug.cgi?id=68374
Patch by Tom Zakrajsek <tomz@codeaurora.org> on 2011-09-20
Reviewed by Adam Barth.
- Scripts/webkitpy/tool/bot/commitqueuetask_unittest.py:
- Scripts/webkitpy/tool/bot/feeders_unittest.py:
- Scripts/webkitpy/tool/bot/flakytestreporter_unittest.py:
- Scripts/webkitpy/tool/bot/irc_command_unittest.py:
- Scripts/webkitpy/tool/bot/layouttestresultsreader_unittest.py:
- Scripts/webkitpy/tool/bot/queueengine_unittest.py:
- Scripts/webkitpy/tool/commands/download_unittest.py:
- Scripts/webkitpy/tool/commands/earlywarningsystem_unittest.py:
- Scripts/webkitpy/tool/commands/queries_unittest.py:
- Scripts/webkitpy/tool/commands/queues_unittest.py:
- Scripts/webkitpy/tool/commands/queuestest.py:
- Scripts/webkitpy/tool/commands/upload_unittest.py:
- Scripts/webkitpy/tool/mocktool.py:
- Scripts/webkitpy/tool/steps/steps_unittest.py:
- Scripts/webkitpy/tool/steps/updatechangelogswithreview_unittest.py:
- 7:57 AM Changeset in webkit [95542] by
-
- 5 edits in trunk/Source
Source/WebCore: [Qt][Mac] Buildfix after r95513.
Forwarding headers for WebCore should be generated based on WebCore sources instead of WebKit2.
Rubber-stamped by Andras Becsi.
- DerivedSources.pro:
- WebCore.pro: Add platform/mac/DisplaySleepDisabler.cpp to SOURCES.
Source/WebKit2: [Qt][Mac] Buildfix after r95513.
Rubber-stamped by Andras Becsi.
- Scripts/generate-forwarding-headers.pl: Add mm file supporting.
- 7:22 AM Changeset in webkit [95541] by
-
- 3 edits in trunk/Tools
[Qt] Don't override default QApplication font for DRT and WTR
Revision 95526 moved the relevant code below the QApplication
constructor, to fix a potential crash, and that made the code
take effect, breaking 6 tests.
We should rely on the QWebSettings to set default fonts, and
this QApplication::setFont() is a relic from when we didn't
have that option, so we remove the code.
Reviewed by Csaba Osztrogonác.
- DumpRenderTree/qt/main.cpp:
- WebKitTestRunner/InjectedBundle/qt/ActivateFontsQt.cpp:
- 7:08 AM Changeset in webkit [95540] by
-
- 2 edits in trunk/Source/JavaScriptCore
Windows build fix after r95523
- wtf/CheckedArithmetic.h: Added stdint.h so we can have int64_t defined.
- 7:03 AM Changeset in webkit [95539] by
-
- 2 edits1 delete in trunk/LayoutTests
Unreviewed; new baselines (Skia on Mac)
Updated reference images.
- LayoutTests/platform/chromium-mac/fast/ruby/overhang-horizontal-expected.png: Removed.
- LayoutTests/platform/chromium-mac/fast/box-shadow/box-shadow-clipped-slices-expected.png:
- 7:00 AM Changeset in webkit [95538] by
-
- 13 edits in trunk
Web Inspector: document Debugger.paused, introduce types for ids in Debugger domain.
https://bugs.webkit.org/show_bug.cgi?id=68363
Migrates from poorly documented "details" object to explicit parameters
containing break type and data.
Reviewed by Tony Gentilcore.
Source/WebCore:
- inspector/InjectedScriptSource.js:
():
- inspector/Inspector.json:
- inspector/InspectorDOMDebuggerAgent.cpp:
(WebCore::InspectorDOMDebuggerAgent::didInvalidateStyleAttr):
(WebCore::InspectorDOMDebuggerAgent::willInsertDOMNode):
(WebCore::InspectorDOMDebuggerAgent::willRemoveDOMNode):
(WebCore::InspectorDOMDebuggerAgent::willModifyDOMAttr):
(WebCore::InspectorDOMDebuggerAgent::pauseOnNativeEventIfNeeded):
(WebCore::InspectorDOMDebuggerAgent::willSendXMLHttpRequest):
- inspector/InspectorDebuggerAgent.cpp:
(WebCore::InspectorDebuggerAgent::InspectorDebuggerAgent):
(WebCore::InspectorDebuggerAgent::schedulePauseOnNextStatement):
(WebCore::InspectorDebuggerAgent::cancelPauseOnNextStatement):
(WebCore::InspectorDebuggerAgent::pause):
(WebCore::InspectorDebuggerAgent::didPause):
(WebCore::InspectorDebuggerAgent::didContinue):
(WebCore::InspectorDebuggerAgent::breakProgram):
(WebCore::InspectorDebuggerAgent::clear):
(WebCore::InspectorDebuggerAgent::clearBreakDetails):
- inspector/InspectorDebuggerAgent.h:
- inspector/front-end/DOMBreakpointsSidebarPane.js:
(WebInspector.DOMBreakpointsSidebarPane.prototype.createBreakpointHitStatusMessage.didPushNodeToFrontend):
(WebInspector.DOMBreakpointsSidebarPane.prototype.createBreakpointHitStatusMessage):
(WebInspector.DOMBreakpointsSidebarPane.prototype.highlightBreakpoint):
- inspector/front-end/DebuggerModel.js:
(WebInspector.DebuggerModel.prototype._pausedScript):
(WebInspector.DebuggerDispatcher.prototype.paused):
- inspector/front-end/DebuggerPresentationModel.js:
(WebInspector.PresentationCallFrame.prototype.evaluate):
- inspector/front-end/ScopeChainSidebarPane.js:
(WebInspector.ScopeChainSidebarPane.prototype.update):
- inspector/front-end/ScriptsPanel.js:
(WebInspector.ScriptsPanel.prototype._debuggerPaused.didCreateBreakpointHitStatusMessage):
(WebInspector.ScriptsPanel.prototype._debuggerPaused.else.didGetSourceLocation):
(WebInspector.ScriptsPanel.prototype._debuggerPaused):
LayoutTests:
- http/tests/inspector/debugger-test.js:
(initialize_DebuggerTest):
- 6:58 AM Changeset in webkit [95537] by
-
- 2 edits2 adds in trunk/Source/WebKit2
[Qt] QDesktopWebView missing loadProgress tests
https://bugs.webkit.org/show_bug.cgi?id=68280
Patch by Gopal Raghavan <gopal.1.raghavan@nokia.com> on 2011-09-20
Reviewed by Andreas Kling.
Added test case to check load progress property and signal for QDesktopWebView
- UIProcess/API/qt/tests/qmltests/DesktopWebView/tst_loadProgress.qml: Added.
- UIProcess/API/qt/tests/qmltests/DesktopWebView/tst_loadProgressSignal.qml: Added.
- UIProcess/API/qt/tests/qmltests/qmltests.pro:
- 6:51 AM Changeset in webkit [95536] by
-
- 9 edits in trunk
Source/WebCore: Web Inspector: refactor ConsoleView, Drawer, ConsolePanel trio. Remove animation
from drawer -> panel transition.
https://bugs.webkit.org/show_bug.cgi?id=68155
ConsoleView, ConsolePanel and Drawer are all Views with custom show/hide implementations
and weird DOM element containment. As a result, we have a number of cases when switching
console from full panel to drawer mode and back result in UI glitches.
For the sake of code clarity and no glitches, I'd like to sacrifice the "grow into full
screen" console animation.
Reviewed by Tony Gentilcore.
- inspector/front-end/ConsoleModel.js:
(WebInspector.ConsoleModel):
- inspector/front-end/ConsolePanel.js:
(WebInspector.ConsolePanel):
(WebInspector.ConsolePanel.prototype.get statusBarItems):
(WebInspector.ConsolePanel.prototype.show):
(WebInspector.ConsolePanel.prototype.hide):
- inspector/front-end/ConsoleView.js:
(WebInspector.ConsoleView):
(WebInspector.ConsoleView.createFilterElement):
(WebInspector.ConsoleView.get this):
(WebInspector.ConsoleView.prototype.get statusBarItems):
(WebInspector.ConsoleView.prototype.wasShown):
- inspector/front-end/Drawer.js:
(WebInspector.Drawer):
(WebInspector.Drawer.prototype.get visible):
(WebInspector.Drawer.prototype._constrainHeight):
(WebInspector.Drawer.prototype.show.animationFinished):
(WebInspector.Drawer.prototype.show):
(WebInspector.Drawer.prototype.hide):
(WebInspector.Drawer.prototype.resize):
(WebInspector.Drawer.prototype._animationDuration):
- inspector/front-end/inspector.html:
- inspector/front-end/inspector.js:
(WebInspector._createGlobalStatusBarItems):
(WebInspector._toggleConsoleButtonClicked):
(WebInspector.set attached):
(WebInspector.windowResize):
(WebInspector.documentKeyDown):
LayoutTests: Web Inspector: refactor ConsoleView, Drawer, ConsolePanel trio.
https://bugs.webkit.org/show_bug.cgi?id=68155
Reviewed by Tony Gentilcore.
- inspector/console/console-dir.html:
- 6:46 AM Changeset in webkit [95535] by
-
- 14 edits1 add in trunk
Web Inspector: streamline Console's MessageType and MessageSource semantics.
https://bugs.webkit.org/show_bug.cgi?id=68342
Source/WebCore:
This change fixes semantics of the MessageSource and MessageType:
MessageSource is now the source of the message (be it Network, HTML
parser or Console API). MessageType is only defined for the Console API
messages and contains the name of the API call (log, dir, dirxml, etc.).
Subsequent https://bugs.webkit.org/show_bug.cgi?id=66371 will make MessageType
private to the inspector.
Reviewed by Tony Gentilcore.
- dom/Document.cpp:
(WebCore::Document::logExceptionToConsole):
- inspector/ConsoleMessage.cpp:
(WebCore::messageSourceValue):
(WebCore::messageTypeValue):
(WebCore::ConsoleMessage::addToFrontend):
- inspector/Inspector.json:
- inspector/InspectorConsoleAgent.cpp:
(WebCore::InspectorConsoleAgent::didReceiveResponse):
(WebCore::InspectorConsoleAgent::didFailLoading):
- inspector/front-end/ConsoleMessage.js:
(WebInspector.ConsoleMessage.createTextMessage):
(WebInspector.ConsoleMessage.prototype._formatMessage):
(WebInspector.ConsoleMessage.prototype.toString):
- page/Console.cpp:
(WebCore::printMessageSourceAndLevelPrefix):
(WebCore::Console::addMessage):
(WebCore::Console::dir):
(WebCore::Console::dirxml):
(WebCore::Console::group):
(WebCore::Console::groupCollapsed):
(WebCore::Console::groupEnd):
- page/ConsoleTypes.h:
- websockets/WebSocketChannel.cpp:
(WebCore::WebSocketChannel::didFailSocketStream):
Source/WebKit/mac:
This change fixes semantics of the MessageSource and MessageType:
MessageSource is now the source of the message (be it Network, HTML
parser or Console API). MessageType is only defined for the Console API
messages and contains the name of the API call (log, dir, dirxml, etc.).
Subsequent https://bugs.webkit.org/show_bug.cgi?id=66371 will make MessageType
private to the inspector.
Reviewed by Tony Gentilcore.
- WebCoreSupport/WebChromeClient.mm:
(stringForMessageSource):
(stringForMessageType):
- WebView/WebUIDelegatePrivate.h:
LayoutTests:
This change fixes semantics of the MessageSource and MessageType:
MessageSource is now the source of the message (be it Network, HTML
parser or Console API). MessageType is only defined for the Console API
messages and contains the name of the API call (log, dir, dirxml, etc.).
Subsequent https://bugs.webkit.org/show_bug.cgi?id=66371 will make MessageType
private to the inspector.
Reviewed by Tony Gentilcore.
- inspector/protocol/console-agent-expected.txt:
- platform/chromium/http/tests/inspector/console-resource-errors-expected.txt: Added.
- 6:37 AM Changeset in webkit [95534] by
-
- 3 edits in trunk/Source/WebKit/mac
Make WebViews in NSPopovers render as they would in active windows.
The NSWindowDid{Become,Resign}KeyNotifications are not fired when NSPopovers
are shown or hidden since they share key with the parent window. So WebView
and WebHTMLView need to also observe the will order on/off screen notifications.
https://webkit.org/b/68402
rdar://problem/9754099
Reviewed by John Sullivan.
- WebView/WebHTMLView.mm:
(-[WebHTMLView _removeWindowObservers]): Remove order on/off screen notification obversers.
(-[WebHTMLView addWindowObservers]): Add order on/off screen notification obversers.
(-[WebHTMLView windowWillOrderOnScreen:]): Check if the window is already a key window,
which can be the case for NSPopovers.
(-[WebHTMLView windowWillOrderOffScreen:]): Remove the mouse moved observer.
- WebView/WebView.mm:
(-[WebView addWindowObserversForWindow:]): Add order off screen notification obverser.
(-[WebView removeWindowObservers]): Remove order off screen notification obverser.
(-[WebView _windowWillOrderOnScreen:]): Call _updateActiveState.
(-[WebView _windowWillOrderOffScreen:]): Ditto.
- 5:45 AM Changeset in webkit [95533] by
-
- 1 edit58 adds in trunk/LayoutTests
Unreviewed, GTK baselines for new tests.
- platform/gtk/css3/bdi-element-expected.png: Added.
- platform/gtk/css3/bdi-element-expected.txt: Added.
- platform/gtk/css3/unicode-bidi-isolate-aharon-expected.png: Added.
- platform/gtk/css3/unicode-bidi-isolate-aharon-expected.txt: Added.
- platform/gtk/css3/unicode-bidi-isolate-basic-expected.png: Added.
- platform/gtk/css3/unicode-bidi-isolate-basic-expected.txt: Added.
- platform/gtk/fast/borders/block-mask-overlay-image-outset-expected.png: Added.
- platform/gtk/fast/borders/block-mask-overlay-image-outset-expected.txt: Added.
- platform/gtk/fast/borders/border-image-longhand-expected.png: Added.
- platform/gtk/fast/borders/border-image-longhand-expected.txt: Added.
- platform/gtk/fast/borders/border-image-massive-scale-expected.png: Added.
- platform/gtk/fast/borders/border-image-massive-scale-expected.txt: Added.
- platform/gtk/fast/borders/border-image-outset-expected.png: Added.
- platform/gtk/fast/borders/border-image-outset-expected.txt: Added.
- platform/gtk/fast/borders/border-image-outset-in-shorthand-expected.png: Added.
- platform/gtk/fast/borders/border-image-outset-in-shorthand-expected.txt: Added.
- platform/gtk/fast/borders/border-image-outset-split-inline-expected.png: Added.
- platform/gtk/fast/borders/border-image-outset-split-inline-expected.txt: Added.
- platform/gtk/fast/borders/border-image-outset-split-inline-vertical-lr-expected.png: Added.
- platform/gtk/fast/borders/border-image-outset-split-inline-vertical-lr-expected.txt: Added.
- platform/gtk/fast/borders/border-image-repeat-expected.png: Added.
- platform/gtk/fast/borders/border-image-repeat-expected.txt: Added.
- platform/gtk/fast/borders/border-image-scaled-expected.png: Added.
- platform/gtk/fast/borders/border-image-scaled-expected.txt: Added.
- platform/gtk/fast/borders/border-image-scaled-gradient-expected.png: Added.
- platform/gtk/fast/borders/border-image-scaled-gradient-expected.txt: Added.
- platform/gtk/fast/borders/border-image-scrambled-expected.png: Added.
- platform/gtk/fast/borders/border-image-scrambled-expected.txt: Added.
- platform/gtk/fast/borders/border-image-side-reduction-expected.png: Added.
- platform/gtk/fast/borders/border-image-side-reduction-expected.txt: Added.
- platform/gtk/fast/borders/border-image-slices-expected.png: Added.
- platform/gtk/fast/borders/border-image-slices-expected.txt: Added.
- platform/gtk/fast/borders/inline-mask-overlay-image-outset-expected.png: Added.
- platform/gtk/fast/borders/inline-mask-overlay-image-outset-expected.txt: Added.
- platform/gtk/fast/borders/inline-mask-overlay-image-outset-vertical-rl-expected.png: Added.
- platform/gtk/fast/borders/inline-mask-overlay-image-outset-vertical-rl-expected.txt: Added.
- platform/gtk/fast/clip/overflow-border-radius-combinations-expected.png: Added.
- platform/gtk/fast/clip/overflow-border-radius-combinations-expected.txt: Added.
- platform/gtk/fast/clip/overflow-border-radius-composited-expected.png: Added.
- platform/gtk/fast/clip/overflow-border-radius-composited-expected.txt: Added.
- platform/gtk/fast/clip/overflow-border-radius-transformed-expected.png: Added.
- platform/gtk/fast/clip/overflow-border-radius-transformed-expected.txt: Added.
- platform/gtk/fast/css/focus-ring-multiline-writingmode-vertical-expected.png: Added.
- platform/gtk/fast/css/focus-ring-multiline-writingmode-vertical-expected.txt: Added.
- platform/gtk/fast/css/line-after-floating-div-expected.png: Added.
- platform/gtk/fast/css/line-after-floating-div-expected.txt: Added.
- platform/gtk/fast/parser/innerhtml-with-prefixed-elements-expected.png: Added.
- platform/gtk/fast/parser/innerhtml-with-prefixed-elements-expected.txt: Added.
- platform/gtk/fast/reflections/reflection-masks-outset-expected.png: Added.
- platform/gtk/fast/reflections/reflection-masks-outset-expected.txt: Added.
- platform/gtk/fast/text/fallback-traits-fixup-expected.png: Added.
- platform/gtk/fast/text/fallback-traits-fixup-expected.txt: Added.
- platform/gtk/fast/text/hyphenate-limit-lines-expected.png: Added.
- platform/gtk/fast/text/hyphenate-limit-lines-expected.txt: Added.
- platform/gtk/svg/custom/pattern-rotate-gaps-expected.png: Added.
- platform/gtk/svg/custom/pattern-rotate-gaps-expected.txt: Added.
- platform/gtk/svg/custom/simple-text-double-shadow-expected.png: Added.
- platform/gtk/svg/custom/simple-text-double-shadow-expected.txt: Added.
- 5:34 AM Changeset in webkit [95532] by
-
- 2 edits in trunk/Tools
WebKitTestRunner: Provide usage if run without arguments
If WTR is run without either one or more filenames, or
a '-' to indicate server mode, we don't need to start
up the test machinery. Doing so might actually crash,
as we'll exit the application immedeatly after anyways.
Reviewed by Simon Hausmann.
- 5:25 AM Changeset in webkit [95531] by
-
- 1 edit2 adds in trunk/LayoutTests
Unreviewed, GTK baselines for tests added in r95489 and r95488.
- platform/gtk/http/tests/security/document-all-expected.txt: Added.
- platform/gtk/http/tests/security/window-named-proto-expected.txt: Added.
- 5:14 AM Changeset in webkit [95530] by
-
- 1 edit5 adds in trunk/LayoutTests
Unreviewed, GTK baselines for tests added in r95461.
- platform/gtk/fast/table/table-cell-before-after-content-around-table-block-expected.txt: Added.
- platform/gtk/fast/table/table-cell-before-after-content-around-table-expected.txt: Added.
- platform/gtk/fast/table/table-cell-before-after-content-around-table-row-expected.txt: Added.
- platform/gtk/fast/table/table-row-before-after-content-around-block-expected.txt: Added.
- platform/gtk/fast/table/table-row-before-after-content-around-table-expected.txt: Added.
- 5:10 AM Changeset in webkit [95529] by
-
- 2 edits2 adds in trunk/LayoutTests
[Qt] Rebase and unskip tests introduced in r95489 and r95488.
Unreviewed gardening.
- platform/qt/Skipped:
- platform/qt/http/tests/security/document-all-expected.txt: Added.
- platform/qt/http/tests/security/window-named-proto-expected.txt: Added.
- 4:50 AM Changeset in webkit [95528] by
-
- 2 edits in trunk/LayoutTests
Unreviewed, skip failing fast/files/create-blob-url-crash.html on
GTK because of bug 66045.
- platform/gtk/Skipped:
- 4:43 AM Changeset in webkit [95527] by
-
- 5 edits in trunk/LayoutTests
Unreviewed, GTK rebaseline after r95178 and r95362.
- platform/gtk/fast/dom/Window/window-properties-expected.txt:
- platform/gtk/fast/dom/Window/window-property-descriptors-expected.txt:
- platform/gtk/fast/dom/call-a-constructor-as-a-function-expected.txt:
- platform/gtk/fast/js/global-constructors-expected.txt:
- 4:36 AM Changeset in webkit [95526] by
-
- 2 edits in trunk/Tools
[Qt] Don't use QFont before initializing QApplication
Could potentially result in crash.
Reviewed by Simon Hausmann.
- 3:41 AM Changeset in webkit [95525] by
-
- 4 edits in trunk/Source
[Qt] resizeToContent seems to trigger infinite resize on some pages
https://bugs.webkit.org/show_bug.cgi?id=43852
Patch by Adenilson Cavalcanti <adenilson.silva@openbossa.org> on 2011-09-20
Reviewed by Kenneth Rohde Christiansen.
Source/WebCore:
InnerHeight and InnerWidth are now calculated using ScrollView::visibleContentRect
including the scrollbars (if any) instead of using ScrollView::frameRect as before.
This makes no behavior change while not using the tiled backing
store and is compliant with the W3C definition stated in the CSSOM
View Module.
Plus it will return the correct values for tiled backing store,
thus fixing the original bug report by avoiding infinite resize
events caused by wrong innerHeight and innerWidth values.
Test: innerWidth/Height are covered by existing tests. The
non-infinite resizing is covered by a new Qt autotest at
test_qgraphicswebview::windowResizeEvent()
- page/DOMWindow.cpp:
(WebCore::DOMWindow::innerHeight): using ScrollView::visibleContentRect.
(WebCore::DOMWindow::innerWidth): using ScrollView::visibleContentRect.
Source/WebKit/qt:
Test by Luiz Agostini.
- tests/qgraphicswebview/tst_qgraphicswebview.cpp:
(ResizeSpy::receiveResize):
(ResizeSpy::size):
(tst_QGraphicsWebView::windowResizeEvent):
- 3:22 AM Changeset in webkit [95524] by
-
- 5 edits in trunk
Web Inspector: implement reverse mapping for compiler source maps.
https://bugs.webkit.org/show_bug.cgi?id=67850
Source/WebCore:
Implement the mapping from source code to compiled code. It will be used for
setting breakpoints on source code.
Reviewed by Pavel Feldman.
- inspector/front-end/CompilerSourceMapping.js:
(WebInspector.ClosureCompilerSourceMapping):
(WebInspector.ClosureCompilerSourceMapping.prototype.compiledLocationToSourceLocation):
(WebInspector.ClosureCompilerSourceMapping.prototype.sourceLocationToCompiledLocation):
(WebInspector.ClosureCompilerSourceMapping.prototype._parseMappings):
LayoutTests:
Reviewed by Pavel Feldman.
- inspector/debugger/compiler-source-mapping.html:
- 2:41 AM Changeset in webkit [95523] by
-
- 12 edits in trunk/Source/JavaScriptCore
DFG JIT does not speculate aggressively enough on GetById
https://bugs.webkit.org/show_bug.cgi?id=68320
Reviewed by Oliver Hunt.
This adds the ability to access properties directly, by offset.
This optimization kicks in when at the time of DFG compilation,
it appears that the given get_by_id is self-cached by the old JIT.
Two new opcodes get introduced: CheckStructure and GetByOffset.
CheckStructure performs a speculation check on the object's
structure, and returns the storage pointer. GetByOffset performs
a direct read of the field from the storage pointer. Both
CheckStructure and GetByOffset can be CSE'd, so that we can
eliminate redundant structure checks, and redundant reads of the
same field.
This is a 4% speed-up on V8, a 2% slow-down on Kraken, and
neutral on SunSpider.
- bytecode/PredictedType.cpp:
(JSC::predictionFromClassInfo):
(JSC::predictionFromStructure):
(JSC::predictionFromCell):
- bytecode/PredictedType.h:
- dfg/DFGByteCodeParser.cpp:
(JSC::DFG::ByteCodeParser::parseBlock):
- dfg/DFGGenerationInfo.h:
(JSC::DFG::dataFormatToString):
(JSC::DFG::needDataFormatConversion):
(JSC::DFG::GenerationInfo::initStorage):
(JSC::DFG::GenerationInfo::spill):
(JSC::DFG::GenerationInfo::fillStorage):
- dfg/DFGGraph.h:
(JSC::DFG::Graph::predict):
(JSC::DFG::Graph::getPrediction):
- dfg/DFGJITCodeGenerator.cpp:
(JSC::DFG::JITCodeGenerator::fillInteger):
(JSC::DFG::JITCodeGenerator::fillDouble):
(JSC::DFG::JITCodeGenerator::fillJSValue):
(JSC::DFG::JITCodeGenerator::fillStorage):
(JSC::DFG::GPRTemporary::GPRTemporary):
- dfg/DFGJITCodeGenerator.h:
(JSC::DFG::JITCodeGenerator::silentSpillGPR):
(JSC::DFG::JITCodeGenerator::silentFillGPR):
(JSC::DFG::JITCodeGenerator::spill):
(JSC::DFG::JITCodeGenerator::storageResult):
(JSC::DFG::StorageOperand::StorageOperand):
(JSC::DFG::StorageOperand::~StorageOperand):
(JSC::DFG::StorageOperand::index):
(JSC::DFG::StorageOperand::gpr):
(JSC::DFG::StorageOperand::use):
- dfg/DFGNode.h:
(JSC::DFG::OpInfo::OpInfo):
(JSC::DFG::Node::Node):
(JSC::DFG::Node::hasPrediction):
(JSC::DFG::Node::hasStructure):
(JSC::DFG::Node::structure):
(JSC::DFG::Node::hasStorageAccessData):
(JSC::DFG::Node::storageAccessDataIndex):
- dfg/DFGPropagator.cpp:
(JSC::DFG::Propagator::propagateNode):
(JSC::DFG::Propagator::globalVarLoadElimination):
(JSC::DFG::Propagator::getMethodLoadElimination):
(JSC::DFG::Propagator::checkStructureLoadElimination):
(JSC::DFG::Propagator::getByOffsetLoadElimination):
(JSC::DFG::Propagator::performNodeCSE):
- dfg/DFGSpeculativeJIT.cpp:
(JSC::DFG::SpeculativeJIT::fillSpeculateIntInternal):
(JSC::DFG::SpeculativeJIT::fillSpeculateDouble):
(JSC::DFG::SpeculativeJIT::fillSpeculateCell):
(JSC::DFG::SpeculativeJIT::fillSpeculateBoolean):
(JSC::DFG::SpeculativeJIT::compile):
- wtf/StdLibExtras.h:
(WTF::safeCast):
- 2:28 AM Changeset in webkit [95522] by
-
- 2 edits in trunk/Source/WebCore
Web Inspector: extract RawSourceCode source mapping logic to helper classes.
https://bugs.webkit.org/show_bug.cgi?id=67789
Reviewed by Pavel Feldman.
- inspector/front-end/SourceFile.js:
(WebInspector.RawSourceCode.prototype.get uiSourceCode):
(WebInspector.RawSourceCode.prototype.rawLocationToUILocation):
(WebInspector.RawSourceCode.prototype.uiLocationToRawLocation):
(WebInspector.RawSourceCode.prototype._createSourceMapping.didRequestContent.didFormatContent):
(WebInspector.RawSourceCode.prototype._createSourceMapping.didRequestContent):
(WebInspector.RawSourceCode.prototype._createSourceMapping):
(WebInspector.RawSourceCode.prototype._saveSourceMapping):
(WebInspector.RawSourceCode.PlainSourceMapping):
(WebInspector.RawSourceCode.PlainSourceMapping.prototype.rawLocationToUILocation):
(WebInspector.RawSourceCode.PlainSourceMapping.prototype.uiLocationToRawLocation):
(WebInspector.RawSourceCode.PlainSourceMapping.prototype.get uiSourceCode):
(WebInspector.RawSourceCode.FormattedSourceMapping):
(WebInspector.RawSourceCode.FormattedSourceMapping.prototype.rawLocationToUILocation):
(WebInspector.RawSourceCode.FormattedSourceMapping.prototype.uiLocationToRawLocation):
(WebInspector.RawSourceCode.FormattedSourceMapping.prototype.get uiSourceCode):
- 1:58 AM Changeset in webkit [95521] by
-
- 11 edits2 adds in trunk/Source
[GTK] WebProcess shouldn't use the GTK+ API
https://bugs.webkit.org/show_bug.cgi?id=68062
Reviewed by Martin Robinson.
Source/WebCore:
Move errors code that is common between webki1 and webkit2 to
WebCore so that it can be shared.
- GNUmakefile.list.am: Add new files to compilation.
- platform/gtk/ErrorsGtk.cpp: Added.
(WebCore::cancelledError):
(WebCore::blockedError):
(WebCore::cannotShowURLError):
(WebCore::interruptedForPolicyChangeError):
(WebCore::cannotShowMIMETypeError):
(WebCore::fileDoesNotExistError):
(WebCore::pluginWillHandleLoadError):
- platform/gtk/ErrorsGtk.h: Added.
Source/WebKit/gtk:
Use WebCore API to create errors in frame loader.
- WebCoreSupport/AssertMatchingEnums.cpp:
- WebCoreSupport/FrameLoaderClientGtk.cpp:
(WebKit::FrameLoaderClient::cancelledError):
(WebKit::FrameLoaderClient::blockedError):
(WebKit::FrameLoaderClient::cannotShowURLError):
(WebKit::FrameLoaderClient::interruptedForPolicyChangeError):
(WebKit::FrameLoaderClient::cannotShowMIMETypeError):
(WebKit::FrameLoaderClient::fileDoesNotExistError):
(WebKit::FrameLoaderClient::pluginWillHandleLoadError):
- webkit/webkiterror.cpp:
(webkit_network_error_quark):
(webkit_policy_error_quark):
(webkit_plugin_error_quark):
Source/WebKit/gtk/po:
- POTFILES: Remove FrameLoaderGtk.cpp and add ErrorsGtk.cpp.
Source/WebKit2:
Use WebCore API to create errors in WebProcess.
- GNUmakefile.am: Don't use webkit/webkierror.h.
- WebProcess/WebCoreSupport/gtk/WebErrorsGtk.cpp:
(WebKit::cancelledError):
(WebKit::blockedError):
(WebKit::cannotShowURLError):
(WebKit::interruptedForPolicyChangeError):
(WebKit::cannotShowMIMETypeError):
(WebKit::fileDoesNotExistError):
(WebKit::pluginWillHandleLoadError):
- 1:36 AM Changeset in webkit [95520] by
-
- 1 edit10 adds in trunk/LayoutTests
[Qt] Add Qt specific expecteds to new tests introduced in r95461.
Unreviewed gardening.
- platform/qt/fast/table/table-cell-before-after-content-around-table-block-expected.png: Added.
- platform/qt/fast/table/table-cell-before-after-content-around-table-block-expected.txt: Added.
- platform/qt/fast/table/table-cell-before-after-content-around-table-expected.png: Added.
- platform/qt/fast/table/table-cell-before-after-content-around-table-expected.txt: Added.
- platform/qt/fast/table/table-cell-before-after-content-around-table-row-expected.png: Added.
- platform/qt/fast/table/table-cell-before-after-content-around-table-row-expected.txt: Added.
- platform/qt/fast/table/table-row-before-after-content-around-block-expected.png: Added.
- platform/qt/fast/table/table-row-before-after-content-around-block-expected.txt: Added.
- platform/qt/fast/table/table-row-before-after-content-around-table-expected.png: Added.
- platform/qt/fast/table/table-row-before-after-content-around-table-expected.txt: Added.
- 1:05 AM Changeset in webkit [95519] by
-
- 2 edits in trunk/LayoutTests
[Qt] Two tests fail after r95488 & r95489
https://bugs.webkit.org/show_bug.cgi?id=68428
Skip the failing tests.
Unreviewed gardening.
- platform/qt/Skipped:
- 12:57 AM Changeset in webkit [95518] by
-
- 4 edits in trunk
2011-09-20 Carlos Garcia Campos <cgarcia@igalia.com>
[GTK] Update NEWS and configure.ac for 1.5.90 release
Reviewed by Martin Robinson.
- configure.ac:
2011-09-20 Philippe Normand <pnormand@igalia.com>
[GTK] Update NEWS and configure.ac for 1.5.90 release
Reviewed by Martin Robinson.
- NEWS: