text:
Mar 20, 2009:
- 11:02 PM Changeset in webkit [41889] by
- 2 edits in trunk/WebCore
Reviewed by Mark Rowe.
- fix <rdar://problem/6574185> REGRESSION (3.2.2-TOT): hang in text drawing code
- platform/graphics/win/FontCGWin.cpp: (WebCore::drawGDIGlyphs): Changed glyph stroking to fill and stroke each glyph as a separate path, instead of all glyphs as a single path. This matches what CGContextShowGlyphsWithAdvances() does, and has comparable performance.
- 6:47 PM Changeset in webkit [41888] by
- 2 edits in trunk/WebCore
2009-03-20 Dean Jackson <firstname.lastname@example.com>
Reviewed by Simon Fraser
Build fix for ENABLE(3D_RENDERING)
- rendering/RenderObject.h: (WebCore::makeMatrixRenderable):
- 6:29 PM Changeset in webkit [41887] by
- 4 edits in trunk
2009-03-20 Mike Hommey <firstname.lastname@example.com>
Reviewed by Gavin Barraclough. Landed by Jan Alonzo.
Enable JIT on x86-64
Enable JIT on x86-64 gtk+
- configure.ac:
- JavaScriptCore/GNUmakefile.am:
- 6:18 PM Changeset in webkit [41886] by
- 2 edits in trunk/JavaScriptCore
2009-03-20 Mike Hommey <firstname.lastname@example.com>
Reviewed by Mark Rowe. Committed by Jan Alonzo.
Use the proper definition of RETURN_PAIR on !MSVC
The other version is actually a work around for a quirk in the windows
ABI, so checking whether we're under MSVC is more a appropriate check for
it. It also happens this workaround is not 64-bits safe, so we also error
out on x86-64 MSVC.
Thanks Gavin Barraclough.
- jit/JITStubs.h:
- 5:57 PM Changeset in webkit [41885] by
- 2 edits in trunk/WebKit/mac
2009-03-20 Adele Peterson <firstname.lastname@example.com>
Build fix.
Reviewed by Darin Adler.
- WebView/WebFrameView.mm: (-[WebFrameView initWithFrame:]):
- 5:15 PM Changeset in webkit [41884] by
- 2 edits in trunk/JavaScriptCore
2009-03-20 Geoffrey Garen <firstname.lastname@example.com>
Reviewed by Darin Adler.
Fixed a JavaScriptCore crash on the Windows buildbot.
- bytecompiler/BytecodeGenerator.h: Reduced the AST recursion limit. Apparently, Windows has small stacks.
- 4:46 PM Changeset in webkit [41883] by
- 2 edits1 add in trunk/LayoutTests
2009-03-20 Tony Chang <firstname.lastname@example.com>
Reviewed by Alexey Proskuryakov.
Change the layout test from using a data: URL to using a file:///
URL for the iframe. If DRT's frame loader has
AllowLocalLoadsForLocalOnly, then it's not possible to load an image
from disk into the iframe. Since this test is about D&D, not
local load checks, switch to a local file that doesn't have this
This should fix the test on win DRT as well.
- fast/events/resources/standalone-image-drag-to-editable-frame.html: Added.
- fast/events/standalone-image-drag-to-editable.html:
- 4:46 PM Changeset in webkit [41882] by
- 2 edits in trunk/WebCore
2009-03-20 Dave Moore <firstname.lastname@example.com>
Reviewed by Dimitri Glazkov.
A bug in the V8 bindings is preventing chromium from setting the href on the
location object...any attempt throws a security error, not just for javascript
- page/Location.idl:
- 4:46 PM Changeset in webkit [41881] by
- 2 edits in trunk/WebCore
2009-03-20 Craig Schlenter <firstname.lastname@example.com>
Reviewed by Dimitri Glazkov.
Include stdio.h needed for printf on gcc 4.4.0
- platform/KURLGoogle.cpp:
- 4:46 PM Changeset in webkit [41880] by
- 2 edits in trunk/WebCore
2009-03-20 Mike Belshe <email@example.com>
Reviewed by Darin Fisher.
Don't let comments at the end of an event handler
break the event handler.
No change in behavior, so no test.
- bindings/v8/V8LazyEventListener.cpp: (WebCore::V8LazyEventListener::getWrappedListenerFunction):
- 4:45 PM Changeset in webkit [41879] by
- 18 edits in trunk
2009-03-20 Norbert Leser <firstname.lastname@example.com>
Reviewed by Darin Adler.
Fixes missing line terminator character (;) after macro call.
It is common practice to add the trailing ";" where macros are substituted
and not where they are defined with #define.
This change is consistent with other macro declarations across webkit,
and it also solves compilation failure with symbian compilers.
- runtime/UString.cpp:
- wtf/Assertions.h:
2009-03-20 Norbert Leser <firstname.lastname@example.com>
Reviewed by Darin Adler.
Fixes missing line terminator character (;) after macro call.
It is common practice to add the trailing ";" where macros are substituted
and not where they are defined with #define.
This change is consistent with other macro declarations across webkit,
and it also solves compilation failure with symbian compilers.
No change in behavior, so no test.
- bindings/js/JSDOMWindowShell.cpp:
- bindings/js/JSEventListener.cpp:
- bindings/js/JSImageConstructor.cpp:
- bindings/js/JSInspectedObjectWrapper.cpp:
- bindings/js/JSInspectorCallbackWrapper.cpp:
- bindings/js/JSNamedNodesCollection.cpp:
- bindings/js/JSNodeFilterCondition.cpp:
- bindings/js/JSOptionConstructor.cpp:
- bindings/js/JSQuarantinedObjectWrapper.cpp:
- bindings/js/JSRGBColor.cpp:
- bindings/js/JSWorkerContextBase.cpp:
- bindings/js/JSXMLHttpRequestConstructor.cpp:
- bindings/js/JSXSLTProcessorConstructor.cpp:
- bindings/scripts/CodeGeneratorJS.pm:
- 4:45 PM Changeset in webkit [41878] by
- 3 edits in trunk/WebCore
2009-03-20 Mike Belshe <firstname.lastname@example.com>
Reviewed by Dimitri Glazkov and Dave Hyatt.
Make the minimum timer configurable for different platforms.
- page/DOMTimer.cpp: (WebCore::DOMTimer::DOMTimer): (WebCore::DOMTimer::fired):
- page/DOMTimer.h: (WebCore::DOMTimer::minTimerInterval): (WebCore::DOMTimer::setMinTimerInterval):
- 4:45 PM Changeset in webkit [41877] by
- 2 edits in trunk/WebCore
2009-03-20 Dean McNamee <firstname.lastname@example.com>
Reviewed by Darin Adler.
Make sure to consistently match new/delete and fastMalloc/fastFree.
- css/CSSSelectorList.cpp: (WebCore::CSSSelectorList::adoptSelectorVector): (WebCore::CSSSelectorList::deleteSelectors):
- 4:41 PM Changeset in webkit [41876] by
- 7 edits4 adds in trunk
Reviewed by Dave Hyatt.
- fix https://bugs.webkit.org/show_bug.cgi?id=23739 <rdar://problem/6556371> REGRESSION (r36513): iframe isn't sized properly upon load
- rendering/RenderBlock.cpp: (WebCore::RenderBlock::percentHeightDescendants): Added this accessor.
- rendering/RenderBlock.h:
- rendering/RenderTableSection.cpp: (WebCore::RenderTableSection::layoutRows): Extended the check for children that flex to include other descendants with percent height which is relative to the cell.
Reviewed by Dave Hyatt.
- test, updated test and results for https://bugs.webkit.org/show_bug.cgi?id=23739 <rdar://problem/6556371> REGRESSION (r36513): iframe isn't sized properly upon load
- fast/replaced/percent-height-in-anonymous-block-in-table.html: Added.
- fast/replaced/table-percent-height-expected.txt:
- fast/replaced/table-percent-height.html:
- platform/mac/fast/replaced/percent-height-in-anonymous-block-in-table-expected.checksum: Added.
- platform/mac/fast/replaced/percent-height-in-anonymous-block-in-table-expected.png: Added.
- platform/mac/fast/replaced/percent-height-in-anonymous-block-in-table-expected.txt: Added.
- 4:29 PM Changeset in webkit [41875] by
- 1 edit1 add in trunk/LayoutTests
2009-03-20 Dmitry Titov <firstname.lastname@example.com>
Fix broken LayoutTest/http/tests/workers/text-encoding.html.
Forgot to add a new file with the previous patch.
- http/tests/workers/resources/subworker-encoded.php: Added.
- 4:24 PM Changeset in webkit [41874] by
- 2 edits1 add1 delete in trunk/LayoutTests
2009-03-20 Alpha Lam <firstname.lastname@example.com>
Reviewed by Darin Fisher.
The test in this change is just to verify a no crash. Full tree
dump is not necessary, so change to test to dumpAsText and update
the affected test results.
- fast/block/float/crash-on-absolute-positioning-expected.txt: Added.
- fast/block/float/crash-on-absolute-positioning.html:
- platform/mac/fast/block/float/crash-on-absolute-positioning-expected.txt: Removed.
- 4:03 PM Changeset in webkit [41873] by
- 2 edits in trunk/WebKit/gtk
2009-03-20 Jan Michael Alonzo <firstname.lastname@example.com>
Not reviewed. Fix style issues with my previous commit (r41866) as
suggested by Holger in https://bugs.webkit.org/show_bug.cgi?id=24493
- tests/testwebhistoryitem.c: (test_webkit_web_history_item_get_data): (test_webkit_web_history_item_alternate_title):
- 3:56 PM Changeset in webkit [41872] by
- 3 edits in trunk/JavaScriptCore
2009-03-20 Geoffrey Garen <firstname.lastname@example.com>
Reviewed by Oliver Hunt.
A little cleanup in the RegisterFile code.
Moved large inline functions out of the class declaration, to make it
more readable.
Switched over to using the roundUpAllocationSize function to avoid
duplicate code and subtle bugs.
Renamed m_maxCommitted to m_commitEnd, to match m_end.
Renamed allocationSize to commitSize because it's the chunk size for
committing memory, not allocating memory.
SunSpider reports no change.
- interpreter/RegisterFile.h: (JSC::RegisterFile::RegisterFile): (JSC::RegisterFile::shrink): (JSC::RegisterFile::grow):
- jit/ExecutableAllocator.h: (JSC::roundUpAllocationSize):
- 3:52 PM Changeset in webkit [41871] by
- 16 edits in trunk
2009-03-20 Dmitry Titov <email@example.com>
Reviewed by Alexey Proskuryakov.
Remove ScriptExecutionContext::encoding() since Workers do not need it.
WorkerContext::encoding() is simply removed, while Document::encoding()
made non-virtual and private. Workers use UTF-8 now except when instructed
otherwise by http header. Also updated test.
- dom/Document.h: Made encoding() non-virtual and private.
- dom/ScriptExecutionContext.h: removed encoding().
- workers/Worker.cpp: (WebCore::Worker::Worker): (WebCore::Worker::notifyFinished):
- workers/WorkerContext.cpp: removed encoding() implementation. (WebCore::WorkerContext::WorkerContext): (WebCore::WorkerContext::completeURL):
- workers/WorkerContext.h: removed encoding() (WebCore::WorkerContext::create):
- workers/WorkerContextProxy.h:
- workers/WorkerImportScriptsClient.cpp: (WebCore::WorkerImportScriptsClient::didReceiveData):
- workers/WorkerMessagingProxy.cpp: (WebCore::WorkerMessagingProxy::startWorkerContext):
- workers/WorkerMessagingProxy.h:
- workers/WorkerThread.cpp: (WebCore::WorkerThreadStartupData::create): (WebCore::WorkerThreadStartupData::WorkerThreadStartupData): (WebCore::WorkerThread::create): (WebCore::WorkerThread::WorkerThread): (WebCore::WorkerThread::workerThread):
- workers/WorkerThread.h: In all these, removed storing encoding and 'inheriting' it from the parent. Instead, they are all using UTF-8 now.
2009-03-20 Dmitry Titov <firstname.lastname@example.com>
Reviewed by Alexey Proskuryakov.
Remove ScriptExecutionContext::encoding() since Workers do not need it.
WorkerContext::encoding() is simply removed, while Document::encoding()
made non-virtual and private. Workers use UTF-8 now except when instructed
otherwise by http header. Updated test.
Also, added test for encoding used by importScripts().
- http/tests/workers/resources/subworker-encoded.php: Added.
- http/tests/workers/resources/worker-encoded.php:
- http/tests/workers/text-encoding-expected.txt:
- http/tests/workers/text-encoding.html:
- 3:40 PM Changeset in webkit [41870] by
- 15 edits in trunk
Change how threading exceptions are checked so they are reported by what round they were added.
2009-03-20 Timothy Hatcher <email@example.com>
Change how threading exceptions are checked so they are reported
by what round they were added. That way WebKit can decided the
behavior per-round based on linked-on-or-after checks.
Reviewed by Darin Adler.
- WebCore.base.exp: Export the new symbols.
- bindings/objc/DOMAbstractView.mm: Use the new WebCoreThreadViolationCheckRoundOne macro.
- bindings/scripts/CodeGeneratorObjC.pm: Ditto.
- platform/ThreadCheck.h:
- platform/mac/ThreadCheck.mm: (WebCore::readThreadViolationBehaviorFromUserDefaults): Refactor how the default is read. (WebCore::setDefaultThreadViolationBehavior): Take a round argument. (WebCore::reportThreadViolation): Ditto. (WebCoreReportThreadViolation): Ditto.
2009-03-20 Timothy Hatcher <firstname.lastname@example.com>
Change how threading exceptions are checked so they are reported
by what round they were added. That way WebKit can decided the
behavior per-round based on linked-on-or-after checks.
Reviewed by Darin Adler.
- History/WebBackForwardList.mm: Use the new WebCoreThreadViolationCheckRoundOne macro.
- History/WebHistoryItem.mm: Ditto.
- Misc/WebIconDatabase.mm: Ditto.
- WebView/WebArchive.mm: Use the new WebCoreThreadViolationCheckRoundTwo macro.
- WebView/WebResource.mm: Ditto. (+[WebResource _needMailThreadWorkaroundIfCalledOffMainThread]): Check Mail's bundle version to truly decide if it is an old Mail client.
- WebView/WebView.mm: Ditto.
- Misc/WebKitVersionChecks.h: Add a new linked-on-or-after version define.
- WebView/WebFrameView.mm: (-[WebFrameView initWithFrame:]): Set the default thread violation behavior per-round based on difference version checks and the Mail workaround check.
- 3:25 PM Changeset in webkit [41869] by
- 2 edits in trunk/WebKitTools
2009-03-20 Anders Carlsson <email@example.com>
Reviewed by Darin Adler.
Only release the result NPVariant if the call to NPN_Invoke was successful.
- DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp: (testNPRuntime):
- 1:31 PM Changeset in webkit [41868] by
- 2 edits in trunk/WebCore
2009-03-20 Geoffrey Garen <firstname.lastname@example.com>
Reviewed by Sam Weinig.
Fixed up an out-of-date comment.
- bindings/js/JSDOMWindowCustom.h: (WebCore::JSDOMWindow::customPut):
- 1:25 PM Changeset in webkit [41867] by
- 2 edits in trunk/WebKit/mac
2009-03-20 Darin Adler <email@example.com>
Reviewed by Timothy Hatcher.
- WebView/WebTextIterator.h: Improved comments to point out some of the pitfalls of this SPI.
- 1:23 PM Changeset in webkit [41866] by
- 3 edits1 add in trunk
2009-03-20 Jan Michael Alonzo <firstname.lastname@example.com>
Reviewed by Holger Freyther.
[GTK] Misc patches for WebKitWebHistoryItem
Added build support for build the WebKitWebHistoryItem unit test.
- GNUmakefile.am:
2009-03-20 Jan Michael Alonzo <firstname.lastname@example.com>
Reviewed by Holger Freyther.
[GTK] Misc patches for WebKitWebHistoryItem
Add unit test for WebKitWebHistoryItem
- tests/testwebhistoryitem.c: Added. (web_history_item_fixture_setup): (web_history_item_fixture_teardown): (test_webkit_web_history_item_get_data): (test_webkit_web_history_item_alternate_title): (main):
- 12:56 PM Changeset in webkit [41865] by
- 4 edits4 adds in trunk
2009-03-20 Beth Dakin <firstname.lastname@example.com>
Reviewed by Dave Hyatt.
Fix for https://bugs.webkit.org/show_bug.cgi?id=20909 REGRESSION
(r35318): A press release at pfizer.com does not display correctly
- and corresponding - <rdar://problem/6680073>
- rendering/RenderObject.cpp: (WebCore::RenderObject::invalidateContainerPrefWidths):
- rendering/RenderObject.h: (WebCore::RenderObject::markContainingBlocksForLayout):
2009-03-20 Beth Dakin <email@example.com>
Reviewed by Dave Hyatt.
Test for https://bugs.webkit.org/show_bug.cgi?id=20909 REGRESSION
(r35318): A press release at pfizer.com does not display correctly
- and corresponding - <rdar://problem/6680073>
- http/tests/misc/generated-content-inside-table.html: Added.
- platform/mac/http/tests/misc/generated-content-inside-table-expected.checksum: Added.
- platform/mac/http/tests/misc/generated-content-inside-table-expected.png: Added.
- platform/mac/http/tests/misc/generated-content-inside-table-expected.txt: Added.
- 12:45 PM Changeset in webkit [41864] by
- 3 edits1 copy1 move in trunk
2009-03-20 Jan Michael Alonzo <firstname.lastname@example.com>
Reviewed by Holger Freyther.
Separate gtk unit tests
Build the unit tests accordingly.
- GNUmakefile.am:
2009-03-20 Jan Michael Alonzo <email@example.com>
Reviewed by Holger Freyther.
Separate gtk unit tests
Split the current single-file unit test to make it more
modularized and manageable in the future as more unit tests are
- tests/main.c: Removed.
- tests/testwebbackforwardlist.c: Copied from WebKit/gtk/tests/main.c. (main):
- tests/testwebframe.c: Copied from WebKit/gtk/tests/main.c. (main):
- 11:45 AM Changeset in webkit [41863] by
- 19 edits in trunk/WebCore
Reviewed by Justin Garcia.
maxDeepOffset is confusing and should be removed
Abstract some hard-to-read (but shared) logic into a new renderedAsNonInlineTableOrHR function.
Add first/lastDeepEditingPositionForNode Position creation functions
and deploy them to places we used to call maxDeepOffset.
Rename Position::atStart and atEnd to atStartOfTree atEndOfTree
Add a new Position::atFirst/atLastEditingPositionForNode() and use these
to replace a few more callers for maxDeepOffset()
Rename maxDeepOffset to lastEditingOffsetForNode (so that we mere mortals have some clue what it does)
"Editing positions" are confusing because they have one
of two behaviors, depending on if the container node is ignored
by editing (if editingIgnoresContent(node) returns true) or not.
Positions referring to nodes ignored by editing are
neighbor-relative (they are before or after the node) where as
positions reffering to other nodes are container-relative
(they are between two child nodes of the container, identified
by the offset() member). I will be fixing this confusion in
future patches. These renames hopefully make the current behavior clearer.
- dom/Position.cpp: (WebCore::Position::previous): (WebCore::Position::next): (WebCore::Position::atFirstEditingPositionForNode): (WebCore::Position::atLastEditingPositionForNode): (WebCore::Position::atStartOfTree): (WebCore::Position::atEndOfTree): (WebCore::Position::previousCharacterPosition): (WebCore::Position::nextCharacterPosition): (WebCore::Position::upstream): (WebCore::Position::isCandidate): (WebCore::firstDeepEditingPositionForNode): (WebCore::lastDeepEditingPositionForNode):
- dom/Position.h:
- dom/PositionIterator.cpp: (WebCore::PositionIterator::operator Position): (WebCore::PositionIterator::increment): (WebCore::PositionIterator::decrement): (WebCore::PositionIterator::atEnd): (WebCore::PositionIterator::atEndOfNode):
- editing/CompositeEditCommand.cpp: (WebCore::CompositeEditCommand::positionAvoidingSpecialElementBoundary):
- editing/DeleteSelectionCommand.cpp: (WebCore::isTableCellEmpty): (WebCore::DeleteSelectionCommand::removeNode): (WebCore::DeleteSelectionCommand::handleGeneralDelete):
- editing/Editor.cpp: (WebCore::Editor::advanceToNextMisspelling):
- editing/InsertLineBreakCommand.cpp: (WebCore::InsertLineBreakCommand::doApply):
- editing/InsertListCommand.cpp: (WebCore::InsertListCommand::doApply):
- editing/ReplaceSelectionCommand.cpp: (WebCore::ReplaceSelectionCommand::positionAtEndOfInsertedContent):
- editing/TypingCommand.cpp: (WebCore::TypingCommand::forwardDeleteKeyPressed):
- editing/VisiblePosition.cpp: (WebCore::VisiblePosition::previous): (WebCore::VisiblePosition::leftVisuallyDistinctCandidate): (WebCore::VisiblePosition::left): (WebCore::VisiblePosition::rightVisuallyDistinctCandidate): (WebCore::VisiblePosition::right):
- editing/VisibleSelection.cpp: (WebCore::VisibleSelection::selectionFromContentsOfNode): (WebCore::VisibleSelection::adjustSelectionToAvoidCrossingEditingBoundaries):
- editing/htmlediting.cpp: (WebCore::nextVisuallyDistinctCandidate): (WebCore::previousVisuallyDistinctCandidate): (WebCore::firstEditablePositionAfterPositionInRoot): (WebCore::lastEditablePositionBeforePositionInRoot): (WebCore::lastOffsetForEditing): (WebCore::isFirstPositionAfterTable): (WebCore::isLastPositionBeforeTable): (WebCore::positionBeforeNode): (WebCore::positionAfterNode): (WebCore::enclosingEmptyListItem): (WebCore::caretMaxOffset):
- editing/htmlediting.h:
- editing/visible_units.cpp: (WebCore::renderedAsNonInlineTableOrHR): (WebCore::startOfParagraph): (WebCore::endOfParagraph): (WebCore::startOfEditableContent): (WebCore::endOfEditableContent):
- page/AccessibilityObject.cpp: (WebCore::endOfStyleRange):
- page/AccessibilityRenderObject.cpp: (WebCore::AccessibilityRenderObject::visiblePositionRange):
- rendering/RenderBox.cpp: (WebCore::RenderBox::positionForPoint):
- 10:32 AM Changeset in webkit [41862] by
- 3 edits2 copies3 adds in trunk/WebCore
2009-03-20 Dmitry Titov <email@example.com>
Reviewed by Dimitri Glazkov.
Add (upstream) V8 bindings for Workers. Mostly style cleaning.
- bindings/v8/WorkerContextExecutionProxy.cpp: Added.
- bindings/v8/WorkerContextExecutionProxy.h: Added.
- bindings/v8/WorkerScriptController.cpp: Added.
- bindings/v8/WorkerScriptController.h: Added.
- bindings/v8/V8Index.h: Added. This is just a wrapper for v8_index.h, like V8Proxy.h
- bindings/v8/V8Proxy.h: Added domObjectMap() function that wraps GetDOMObjectMap().
- bindings/v8/V8WorkerContextEventListener.cpp: (WebCore::V8WorkerContextEventListener::callListenerFunction): TrackEvent() renamed trackEvent()
- 10:27 AM Changeset in webkit [41861] by
- 3 edits in trunk/WebKit/qt
2009-03-20 Erik L. Bunce <email@example.com>
Reviewed by Tor Arne Vestbø.
Fix QWebPage::WebActions action states to more closely match when they are
actually applicable and remove erroneous documentation.
- Most WebActions implemented using editor commands now use the Editor::Command::isEnabled() to control their availability.
- SelectAll is always enabled (since it's editor command is).
- SetTextDirection{} family of WebActions are available when canEdit() is true and not just canEditRichly().
Fix and clarify documentation about the availability of various web actions.
- Api/qwebpage.cpp: (QWebPagePrivate::updateAction): (QWebPagePrivate::updateEditorActions):
- tests/qwebpage/tst_qwebpage.cpp: (tst_QWebPage::textSelection):
- 9:39 AM Changeset in webkit [41860] by
- 3 edits in trunk/WebCore
2009-03-20 Stephen White <firstname.lastname@example.com>
Reviewed by Eric Seidel.
Fix for LayoutTests/fast/canvas/canvas-text-alignment.html
on chromium/skia. The problem was that the gradient matrix
for text was being applied twice. Fixed by reverting some of
https://bugs.webkit.org/show_bug.cgi?id=23957, so that skiaDrawText
is no longer responsible for measuring the text and scaling up
the gradient matrix. Instead, the text bounding box is passed
in from SVGPaintServerGradient. I didn't make this change for CG,
since it uses a different method (the gradient is drawn using the
text as a pre-rendered mask).
- platform/graphics/skia/SkiaFontWin.cpp: (WebCore::skiaDrawText):
- svg/graphics/SVGPaintServerGradient.cpp: (WebCore::SVGPaintServerGradient::setup):
- 7:50 AM Changeset in webkit [41859] by
- 2 edits in trunk/WebKit/mac
2009-03-20 Darin Adler <email@example.com>
Reviewed by Adele Peterson.
Use a better technique to handle finding out if something responds to a selector
in WebHTMLView's doCommandBySelector method.
- WebView/WebHTMLView.mm: (-[WebHTMLView doCommandBySelector:]): Removed unneeded check for 0 coreFrame; this is already handled by coreCommandBySelector: so doesn't need to be checked twice. Got rid of initial value for eventWasHandled boolean to make it more clear. Use WebResponderChainSink to find out if a command is handled rather than walking the responder chain explicitly. (-[WebResponderChainSink initWithResponderChain:]): Added. (-[WebResponderChainSink detach]): Added. (-[WebResponderChainSink receivedUnhandledCommand]): Added. (-[WebResponderChainSink noResponderFor:]): Added. (-[WebResponderChainSink doCommandBySelector:]): Added.
- 4:09 AM Changeset in webkit [41858] by
- 1 edit in trunk/WebKit/mac/WebView/WebView.mm
Fix the Tiger build, round two.
- 3:54 AM Changeset in webkit [41857] by
- 1 edit in trunk/WebKit/mac/WebView/WebView.mm
Fix the Tiger build.
- 3:07 AM Changeset in webkit [41856] by
- 3 edits in trunk/WebCore
2009-03-20 Xan Lopez <email@example.com>
Rubber-stamped by Holger Freyther.
There seems to be some rounding error in cairo (or in how we use
cairo) with some fonts, like DejaVu Sans Mono, which makes cairo
report a height smaller than ascent + descent, which is wrong and
confuses WebCore's layout system. Workaround this while we figure
out what's going on.
- platform/graphics/gtk/SimpleFontDataGtk.cpp: (WebCore::SimpleFontData::platformInit):
- platform/graphics/gtk/SimpleFontDataPango.cpp: (WebCore::SimpleFontData::platformInit):
- 1:16 AM Changeset in webkit [41855] by
- 3 edits2 adds in trunk
Reviewed by Darin Adler.
REGRESSION: DOM Range extractContents/deleteContents failures seen on Moxiecode tests
Test: fast/dom/Range/deleted-range-endpoints.html
- dom/Range.cpp: (WebCore::Range::processContents): Set the final range in accordance to the specification.
Mar 19, 2009:
- 10:57 PM Changeset in webkit [41854] by
- 2 edits in trunk/JavaScriptCore
2009-03-19 Geoffrey Garen <email@example.com>
Reviewed by Oliver Hunt.
Fixed <rdar://problem/6033712> -- a little bit of hardening in the Collector.
SunSpider reports no change. I also verified in the disassembly that
we end up with a single compare to constant.
- runtime/Collector.cpp: (JSC::Heap::heapAllocate):
- 9:31 PM Changeset in webkit [41853] by
- 2 edits in trunk/WebKit/mac
Remove #ifndef BUILDING_ON_TIGER around code that schedules runloop modes
for Page, so the new RunLoopTimer in WebCore always gets a default mode.
Fixes the layout test failures on the Tiger build bots.
Reviewed by Mark Rowe.
- WebView/WebView.mm: (-[WebView _commonInitializationWithFrameName:groupName:usesDocumentViews:]): (-[WebView scheduleInRunLoop:forMode:]): (-[WebView unscheduleFromRunLoop:forMode:]):
- 9:28 PM Changeset in webkit [41852] by
- 4 edits1 move in trunk
2009-03-19 Geoffrey Garen <firstname.lastname@example.com>
Reviewed by Cameron Zwarich and Oliver Hunt.
Fixed <rdar://problem/6406045> REGRESSION: Stack overflow on PowerPC on
fast/workers/use-machine-stack.html (22531)
Dialed down the re-entry allowance to 64 (from 128).
On a 512K stack, this leaves about 64K for other code on the stack while
JavaScript is running. Not perfect, but it solves our crash on PPC.
Different platforms may want to dial this down even more.
Also, substantially shrunk BytecodeGenerator. Since we allocate one on
the stack in order to throw a stack overflow exception -- well, let's
just say the old code had an appreciation for irony.
SunSpider reports no change.
- bytecompiler/BytecodeGenerator.h:
- interpreter/Interpreter.h: (JSC::):
2009-03-19 Geoffrey Garen <firstname.lastname@example.com>
Reviewed by Cameron Zwarich and Oliver Hunt.
compiled in non-JIT mode.
- fast/workers/use-machine-stack.html: Copied from fast/workers/use-machine-stack.html-disabled.
- fast/workers/use-machine-stack.html-disabled: Removed.
- 7:04 PM Changeset in webkit [41851] by
- 3 edits3 adds in trunk
2009-03-19 Cameron Zwarich <email@example.com>
Reviewed by Oliver Hunt.
Bug 24350: REGRESSION: Safari 4 breaks SPAW wysiwyg editor multiple instances
The SPAW editor's JavaScript assumes that toString() on a function
constructed with the Function constructor produces a function with
a newline after the opening brace.
- runtime/FunctionConstructor.cpp: (JSC::constructFunction): Add a newline after the opening brace of the function's source code.
- fast/js/function-constructor-newline-after-brace-expected.txt: Added.
- fast/js/function-constructor-newline-after-brace.html: Added.
- fast/js/resources/function-constructor-newline-after-brace.js: Added.
- 6:50 PM Changeset in webkit [41850] by
- 1 edit3 moves6 adds in trunk/LayoutTests
Fix fast/text/Geeza-Pro-vertical-metrics-adjustment.html on Leopard by moving the results in to the location
that run-webkit-tests currently looks for them.
Reviewed by Stephanie Lewis.
- 5:52 PM Changeset in webkit [41849] by
- 5 edits in trunk
2009-03-19 Cameron Zwarich <firstname.lastname@example.com>
Reviewed by Geoff Garen.
Bug 23771: REGRESSION (r36016): JSObjectHasProperty freezes on global class without kJSClassAttributeNoAutomaticPrototype
- API/tests/testapi.c: (main): Add a test for this bug.
- runtime/JSGlobalObject.cpp: (JSC::JSGlobalObject::resetPrototype): Don't set the prototype of the last object in the prototype chain to the object prototype when the object prototype is already the last object in the prototype chain.
2009-03-19 Geoffrey Garen <firstname.lastname@example.com>
Reviewed by Oliver Hunt.
Fixed <rdar://problem/6279213> Regular expression run-time complexity
limit too low for long inputs (21485)
Added a test for a complex regexp match that should succeed, and one
that should fail.
- fast/js/regexp-overflow-expected.txt:
- fast/js/resources/regexp-overflow.js:
- 5:44 PM Changeset in webkit [41848] by
- 3 edits1 copy1 add in trunk/LayoutTests
Update test results for changes in handling of CMYK.
Reviewed by Sam Weinig.
- fast/canvas/resources/set-colors.js:
- fast/canvas/set-colors-expected.txt:
- platform/mac-leopard/fast/canvas/set-colors-expected.txt: Copied from LayoutTests/fast/canvas/set-colors-expected.txt.
- 5:16 PM Changeset in webkit [41847] by
- 3 edits in trunk/WebCore
2009-03-19 Anders Carlsson <firstname.lastname@example.com>
Reviewed by Dan Bernstein.
<rdar://problem/6682554> Flash content not being rendered (Shockwave Flash 10.0 r22)
If calling updateWidget for some reason resulted in another widget being added to m_widgetUpdateSet, then
that object would never be updated.
- page/FrameView.cpp: (WebCore::FrameView::updateWidgets): Factor the widget updating code out into this method. Return true if the update set is empty.
Loop over the update set multiple times until all widgets have been updated or until we reach the cap.
- page/FrameView.h:
- 5:03 PM Changeset in webkit [41846] by
- 3 edits in trunk/JavaScriptCore
2009-03-19 Cameron Zwarich <firstname.lastname@example.com>
Reviewed by Geoff Garen.
Bug 23771: REGRESSION (r36016): JSObjectHasProperty freezes on global class without kJSClassAttributeNoAutomaticPrototype
- API/tests/testapi.c: (main): Add a test for this bug.
- runtime/JSGlobalObject.cpp: (JSC::JSGlobalObject::resetPrototype): Don't set the prototype of the last object in the prototype chain to the object prototype when the object prototype is already the last object in the prototype chain.
- 4:45 PM Changeset in webkit [41845] by
- 6 edits2 adds in trunk
Make the defered data loading timer honor the Page's scheduled runloop pairs.
Introduces a new RunLoopTimer class that has an API mimicking Timer but
allows it to be scheduled with one or more SchedulePairs.
<rdar://problem/6687342> -[WebView scheduleInRunLoop:forMode:] has no affect on timers
Reviewed by Darin Adler.
- WebCore.xcodeproj/project.pbxproj: Adds the new RunLoopTimer.{cpp,h} files.
- loader/MainResourceLoader.cpp: (WebCore::MainResourceLoader::handleDataLoadNow): Use the MainResourceLoaderTimer typedef. (WebCore::MainResourceLoader::startDataLoadTimer): Added. Start the timer and on Mac platforms also schedule with the Page's SchedulePairs. (WebCore::MainResourceLoader::handleDataLoadSoon): Call startDataLoadTimer(). (WebCore::MainResourceLoader::setDefersLoading): Ditto.
- loader/MainResourceLoader.h:
- platform/cf/RunLoopTimerCF.cpp: Added. (WebCore::RunLoopTimerBase::~RunLoopTimerBase): (WebCore::timerFired): (WebCore::RunLoopTimerBase::start): (WebCore::RunLoopTimerBase::schedule): (WebCore::RunLoopTimerBase::stop): (WebCore::RunLoopTimerBase::isActive):
- platform/RunLoopTimer.h: Added. (WebCore::RunLoopTimerBase::RunLoopTimerBase): (WebCore::RunLoopTimerBase::startRepeating): (WebCore::RunLoopTimerBase::startOneShot): (WebCore::RunLoopTimer::RunLoopTimer): (WebCore::RunLoopTimer::fired):
- 2:08 PM Changeset in webkit [41844] by
- 2 edits in trunk/WebKitTools
2009-03-19 Gustavo Noronha Silva <email@example.com>
Reviewed by Mark Rowe.
Make determinePassedArchitecture always consume the --32-bit
option, also in non-AppleMacWebkit platforms. Solution pointed out
by Mark Rowe.
- Scripts/webkitdirs.pm:
- 1:47 PM Changeset in webkit [41843] by
- 1 add in trunk/WebKitSite/blog-files/scrollbarpicture.png
Adding scrollbar images for blog post.
- 1:32 PM Changeset in webkit [41842] by
- 7 edits in trunk
2009-03-19 Geoffrey Garen <firstname.lastname@example.com>
Reviewed by Sam Weinig.
Fixed <rdar://problem/6603562> REGRESSION (Safari 4): regular expression
pattern size limit lower than Safari 3.2, other browsers, breaks SAP (14873)
Bumped the pattern size limit to 1MB, and standardized it between PCRE
and WREC. (Empirical testing says that we can easily compile a 1MB regular
expression without risking a hang. Other browsers support bigger regular
expressions, but also hang.)
SunSpider reports no change.
I started with a patch posted to Bugzilla by Erik Corry (email@example.com).
- pcre/pcre_internal.h: (put3ByteValue): (get3ByteValue): (put3ByteValueAndAdvance): (putLinkValueAllowZero): (getLinkValueAllowZero): Made PCRE's "LINK_SIZE" (the number of bytes used to record jumps between bytecodes) 3, to accomodate larger potential jumps. Bumped PCRE's "MAX_PATTERN_SIZE" to 1MB. (Technically, at this LINK_SIZE, we can support even larger patterns, but we risk a hang during compilation, and it's not clear that such large patterns are important on the web.)
- wrec/WREC.cpp: (JSC::WREC::Generator::compileRegExp): Match PCRE's maximum pattern size, to avoid quirks between platforms.
2009-03-19 Geoffrey Garen <firstname.lastname@example.com>
Reviewed by Sam Weinig.
Made two layout tests less agressive, to accomodate a change I made
for <rdar://problem/6603562> REGRESSION (Safari 4): regular expression
pattern size limit lower than Safari 3.2, other browsers, breaks SAP (14873)
- fast/js/regexp-charclass-crash-expected.txt:
- fast/js/regexp-charclass-crash.html: Explicitly limit the number of iterations in the test loop. Otherwise, regular expression engines supporting very long patterns take a very very very long time to run this test.
- fast/js/resources/regexp-overflow.js: Made the "too big" regexp in this test even bigger, to match our new limit.
- 12:56 PM Changeset in webkit [41841] by
- 3 edits in trunk/WebCore
2009-03-19 Dimitri Glazkov <Dimitri Glazkov>
Reviewed by Darin Fisher.
Upstream miscellaneous bindings changes.
- bindings/v8/ScheduledAction.cpp: (WebCore::ScheduledAction::execute): Changed to call lower-case evaluate.
- bindings/v8/ScriptCallStack.h: Added an extra include.
- 12:14 PM Changeset in webkit [41840] by
- 3 edits4 adds in trunk
2009-03-19 Simon Fraser <email@example.com>
Reviewed by Dave Hyatt
When hit testing a RenderLayer whose parent lives in a preserves-3D hierarchy,
we need to compare the computed z-offset with the depth-test z-offset before
deciding that such a RenderLayer was hit. This fixes an issue, tested by the
3d-point-mapping-overlapping.html test, where the child of a transformed element
is found by hit testing, even when some other element with greater Z overlaps
them both.
Improved the code by adding a utility method, isHitCandidate(), which computes and tests
z-depth when necessary.
Tests: transforms/3d/point-mapping/3d-point-mapping-coplanar.html
- rendering/RenderLayer.cpp: (WebCore::isHitCandidate): (WebCore::RenderLayer::hitTestLayer):
- 9:43 AM Changeset in webkit [41839] by
- 2 edits1 add in trunk/WebCore
2009-03-19 Jeremy Moskovich <email@example.com>
Reviewed by Dimitri Glazkov.
Split ColorChromium.cpp into Mac & Windows variants.
Remove Chromium Dependency on platform/graphics/mac/ColorMac.mm since we
ultimately need to take a different approach. For now, createCGColor()
is copied from ColorMac.mm.
No observable change in behavior, so no test.
- platform/graphics/chromium/ColorChromium.cpp: (WebCore::focusRingColor):
- platform/graphics/chromium/ColorChromiumMac.mm: Added.
- 9:36 AM Changeset in webkit [41838] by
- 1 edit in trunk/WebCore/ChangeLog
Fix WebCore/ChangeLog entry, add missing reviewer line.
- 9:35 AM Changeset in webkit [41837] by
- 2 edits in trunk/LayoutTests
2009-03-19 Scott Violet <email@example.com>
Reviewed by Simon Fraser.
Transitions tests somewhat flakey on Chromium.
Modifies transitions/transition-end-event-helpers.js to only process
results once.
- transitions/transition-end-event-helpers.js:
- 9:29 AM Changeset in webkit [41836] by
- 1 edit1 add in trunk/WebCore
2009-03-19 Pavel Feldman <email@example.com>
Reviewed by Dimitri Glazkov.
Unforking frontend: add custom InspectorController methods
- bindings/v8/custom/V8InspectorControllerCustom.cpp: Added.
- 9:26 AM Changeset in webkit [41835] by
- 3 edits in trunk/WebCore
2009-03-19 Jay Campan <email@example.com>
Adding an accessor to the currently selected index in the PopupMenuChromium.
This is required for implementing the deletion of an autocomplete entry in Chromium.
- platform/chromium/PopupMenuChromium.cpp: (WebCore::PopupContainer::selectedIndex):
- platform/chromium/PopupMenuChromium.h:
- 9:09 AM Changeset in webkit [41834] by
- 2 edits in trunk/WebCore
2009-03-19 Evan Stade <firstname.lastname@example.com>
Reviewed by Dimitri Glazkov.
Improve windows skia text stroking.
Test: LayoutTests/svg/custom/struct-use-09-b.svg
- platform/graphics/skia/SkiaFontWin.cpp: Close the path representing each font glyph polygon, rather than only closing the path once per letter. This fixes stroking for letters with multiple polygons, such as 'A' or 'D'. (WebCore::getPathForGlyph): (WebCore::skiaDrawText):
- 9:06 AM Changeset in webkit [41833] by
- 3 edits in trunk/WebKit/qt
Oops, bail out last patch, that was incorrect.
- 8:59 AM Changeset in webkit [41832] by
- 3 edits in trunk/WebKit/qt
2009-03-19 Laurent Montel <email@example.com>
Reviewed by Simon Hausmann.
Another fix for pedantic compilation in QtWebKit
(patch from qt-copy)
- 8:16 AM Changeset in webkit [41831] by
- 3 edits in trunk/WebKit/qt
2009-03-19 Ariya Hidayat <firstname.lastname@example.com>
Reviewed by Simon Hausmann.
Fixes pedantic compilation in QtWebKit.
There are no semi-colons after namespace declarations.
- 8:16 AM Changeset in webkit [41830] by
- 2 edits in trunk/WebKit/qt
2009-03-19 David Boddie <firstname.lastname@example.com>
Reviewed by Simon Hausmann.
Doc: Removed obsolete warning about Flash and other plugins.
- 8:16 AM Changeset in webkit [41829] by
- 2 edits in trunk/WebKit/qt
2009-03-19 Paul Olav Tvete <email@example.com>
Reviewed by Simon Hausmann.
Properly escape tooltip text
ManualTest: http://xkcd.com/554/
- 8:08 AM Changeset in webkit [41828] by
- 6 edits in trunk/WebCore
2009-03-19 Simon Hausmann <firstname.lastname@example.com>
Reviewed by Tor Arne Vestbø.
Fixed support for doing calls from JavaScript into NPAPI Plugins for the Qt port on Windows.
Removed dead code for distinguishing between Widget and PluginView in the Qt port.
- 1:06 AM Changeset in webkit [41827] by
- 3 edits in trunk/WebKitTools
Work around <rdar://problem/6698023> by activating fonts from disk.
Reviewed by Oliver Hunt.
- DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Copy fonts into DumpRenderTree.resources
in the built products directory.
- DumpRenderTree/mac/DumpRenderTree.mm:
(activateFonts): Activate the fonts from disk.
- 12:55 AM Changeset in webkit [41826] by
- 4 edits3 adds in trunk
2009-03-19 Cameron Zwarich <email@example.com>
Reviewed by Oliver Hunt.
Bug 24596: ASSERT in JSC::PropertySlot::slotBase @ iGoogle homepage
JSDOMWindow::customGetOwnPropertySlot() does an access check after calling
JSGlobalObject::getOwnPropertySlot(). This causes the PropertySlot to be
set twice, once to the value that is illegal to access, and then to undefined
This causes an assertion failure in property access caching code.
The fix is to do the access check before calling JSGlobalObject::getOwnPropertySlot().
- bindings/js/JSDOMWindowCustom.h: (WebCore::JSDOMWindow::customGetOwnPropertySlot):
- http/tests/security/cross-frame-access-get-custom-property-cached-expected.txt: Added.
- http/tests/security/cross-frame-access-get-custom-property-cached.html: Added.
- http/tests/security/resources/cross-frame-access-get-custom-property-cached-iframe.html: Added.
- http/tests/security/resources/cross-frame-access.js: (shouldBeUndefined):
- 12:32 AM Changeset in webkit [41825] by
- 7 edits3 adds in trunk
Reviewed by Sam Weinig.
Simple cross-origin requests shouldn't dispatch upload progress events
Test: http/tests/xmlhttprequest/simple-cross-origin-progress-events.html
- loader/CrossOriginAccessControl.cpp: (WebCore::passesAccessControlCheck): Added a comment explaining the somewhat unexpected behavior of this function.
- xml/XMLHttpRequestUpload.cpp: (WebCore::XMLHttpRequestUpload::hasListeners):
- xml/XMLHttpRequestUpload.h: Report whether there are any event listeners registered.
- xml/XMLHttpRequest.h: Added m_uploadEventsAllowed.
- xml/XMLHttpRequest.cpp: (WebCore::XMLHttpRequest::createRequest): Set m_uploadEventsAllowed flag. (WebCore::XMLHttpRequest::makeSameOriginRequest): Ditto. (WebCore::XMLHttpRequest::makeCrossOriginAccessRequest): Ditto. (WebCore::XMLHttpRequest::makeSimpleCrossOriginAccessRequest): Set request body - it can be non-empty for POST requests. (WebCore::XMLHttpRequest::makeCrossOriginAccessRequestWithPreflight): Set m_uploadEventsAllowed flag. (WebCore::XMLHttpRequest::handleAsynchronousPreflightResult): Ditto. (WebCore::XMLHttpRequest::abort): Only dispatch upload progress events if allowed. (WebCore::XMLHttpRequest::networkError): Ditto. (WebCore::XMLHttpRequest::abortError): Ditto. (WebCore::XMLHttpRequest::didSendData): Ditto.
Mar 18, 2009:
- 11:18 PM Changeset in webkit [41824] by
- 2 edits in trunk/WebCore
2009-03-18 Marc-Antoine Ruel <email@example.com>
Reviewed by Darin Fisher.
Fix a crash when loading a svg file in Chromium's test_shell and
then reloading the page.
- history/BackForwardListChromium.cpp: (WebCore::BackForwardList::BackForwardList): (WebCore::BackForwardList::close):
- 11:04 PM BuildingGtk edited by
- WebKitGTK doesn't depend on curl anymore. (diff)
- 9:42 PM Changeset in webkit [41823] by
- 2 edits in trunk/JavaScriptCore
Rolling out r41818 since it broke the windows build.
Error: ..\..\runtime\DatePrototype.cpp(30) : fatal error C1083: Cannot open include file: 'langinfo.h': No such file or directory
- runtime/DatePrototype.cpp: (JSC::formatLocaleDate):
- 6:54 PM Changeset in webkit [41822] by
- 2 edits in trunk/LayoutTests
Skip plugins/netscape-throw-exception.html due to <rdar://problem/6530010>.
Reviewed by Sam Weinig.
- platform/mac-snowleopard/Skipped:
- 6:29 PM Changeset in webkit [41821] by
- 1 edit1 move in trunk/LayoutTests
Disable pluginDocumentView-deallocated-dataSource.html as it has not tested
what it was designed to test for some time, and is failing on some machines.
Fixing the test is tracked by <https://bugs.webkit.org/show_bug.cgi?id=24690>.
Rubber-stamped by Dan Bernstein.
- platform/mac/plugins/pluginDocumentView-deallocated-dataSource.html-disabled: Renamed from LayoutTests/platform/mac/plugins/pluginDocumentView-deallocated-dataSource.html.
- 5:57 PM Changeset in webkit [41820] by
- 2 edits in trunk/WebKit/mac
2009-03-18 Anders Carlsson <firstname.lastname@example.com>
Reviewed by Oliver Hunt.
WebKit side of <rdar://problem/6688244>.
Try reinitializing the vendor port if it's invalid.
- Plugins/Hosted/NetscapePluginHostManager.mm: (WebKit::NetscapePluginHostManager::spawnPluginHost):
- 5:49 PM Changeset in webkit [41819] by
- 8 edits in trunk
<rdar://problem/6693300> Don't rely on printf from TestNetscapePlugIn appearing in test results
Reviewed by Dan Bernstein.
Switch from using printf to using the NPAPI to invoke console.log so that plug-in messages appear
in test results even when the plug-in's stdout differs from DumpRenderTree's stdout.
- DumpRenderTree/TestNetscapePlugIn.subproj/main.cpp:
(log): Invoke console.log via the NPAPI.
(NPP_Destroy): Call log instead of printf.
(NPP_SetWindow): Ditto.
(handleEventCarbon): Ditto.
(handleEventCocoa): Ditto.
(NPP_HandleEvent): Pass the instance in to the event handler.
Update test results for change to address <rdar://problem/6693300>.
- plugins/mouse-events-expected.txt:
- plugins/netscape-destroy-plugin-script-objects-expected.txt:
- plugins/netscape-plugin-setwindow-size-2-expected.txt:
- plugins/netscape-plugin-setwindow-size-expected.txt:
- plugins/open-and-close-window-with-plugin-expected.txt:
- 4:21 PM Changeset in webkit [41818] by
- 2 edits in trunk/JavaScriptCore
2009-03-18 Gustavo Noronha Silva <email@example.com> and Thadeu Lima de Souza Cascardo <firstname.lastname@example.com>
Reviewed by Darin Adler.
Crashes in !PLATFORM(MAC)'s formatLocaleDate, in very specific situations
Make sure strftime never returns 2-digits years to avoid ambiguity and
a crash.
- runtime/DatePrototype.cpp: (JSC::formatLocaleDate):
- 4:09 PM Changeset in webkit [41817] by
- 4 edits in trunk/WebKit/win
Add webViewClosing to private UI delegate.
Reviewed by Adam Roben.
- Interfaces/IWebUIDelegatePrivate.idl:
- Interfaces/WebKit.idl:
- WebView.cpp: (WebView::close):
- 1:41 PM Changeset in webkit [41816] by
- 2 edits in trunk/WebCore
2009-03-18 Eric Carlson <email@example.com>
Reviewed by Simon Fraser.
Fix for <rdar://problem/6685235>
<video> element poster cannot be set dynamically if not originally set up in HTML
Allocate the media engine immediately so the plug-in proxy is available for
scripting right away.
- platform/graphics/MediaPlayer.cpp: (WebCore::MediaPlayer::MediaPlayer):
- 1:33 PM Changeset in webkit [41815] by
- 3 edits in trunk/LayoutTests
2009-03-18 Beth Dakin <firstname.lastname@example.com>
Rubber-stamped by Dan Bernstein.
Updating test to reflect our joy.
- fast/dom/offset-parent-positioned-and-inline-expected.txt:
- fast/dom/offset-parent-positioned-and-inline.html:
- 1:30 PM Changeset in webkit [41814] by
- 3 edits2 adds in trunk
2009-03-18 Beth Dakin <email@example.com>
Reviewed by Dave Hyatt.
Fix for <rdar://problem/6636747> REGRESSION (Safari 4 PB-r41326):
Popup menu appears at the wrong location on page at http://
This was a regression from http://trac.webkit.org/changeset/40769,
which changed the base class of RenderInline to
RenderBoxModelObject rather than RenderBox.
- rendering/RenderObject.cpp: (WebCore::RenderObject::offsetParent): offsetParent should return a RenderBoxModelObject rather than just a RenderBox, which is more restrictive.
2009-03-18 Beth Dakin <firstname.lastname@example.com>
Reviewed by Dave Hyatt.
Test for <rdar://problem/6636747> REGRESSION (Safari 4 PB-r41326):
Popup menu appears at the wrong location on page at http://
- fast/dom/offset-parent-positioned-and-inline-expected.txt: Added.
- fast/dom/offset-parent-positioned-and-inline.html: Added.
- 1:15 PM Changeset in webkit [41813] by
- 4 edits in trunk
2009-03-18 Anders Carlsson <email@example.com>
Reviewed by Darin Adler.
CrashTracer: [USER] 188 crashes in Safari at com.apple.WebCore ⢠WTF::HashTableIterator<WTF::RefPtr<WebCore::ResourceLoader>, ...
Return early in case calling the client ends up spinning the run loop and completing/cancelling the load.
- loader/NetscapePlugInStreamLoader.cpp: (WebCore::NetscapePlugInStreamLoader::didCancel):
2009-03-18 Anders Carlsson <firstname.lastname@example.com>
Reviewed by Darin Adler.
CrashTracer: [USER] 188 crashes in Safari at com.apple.WebCore ⢠WTF::HashTableIterator<WTF::RefPtr<WebCore::ResourceLoader>, ...
If the m_pluginView member was zeroed out as a result of making a call into the plug-in, the pluginFunctionCallDepth would be off
causing the plug-in never to be stopped. Simplify the code by using a RAII object.
- Plugins/WebBaseNetscapePluginStream.mm: (PluginStopDeferrer::PluginStopDeferrer): (PluginStopDeferrer::~PluginStopDeferrer): (WebNetscapePluginStream::startStream): (WebNetscapePluginStream::wantsAllStreams): (WebNetscapePluginStream::destroyStream):
- 1:08 PM Changeset in webkit [41812] by
- 1 edit1 add in trunk/WebCore
2009-03-18 David Levin <firstname.lastname@example.com>
Reviewed by Dimitri Glazkov.
Upstreaming v8 collection.h
No change in behavior, so no test.
- bindings/v8/V8Collection.h: Added.
- 1:02 PM Changeset in webkit [41811] by
- 5 edits in trunk
2009-03-18 Sam Weinig <firstname.lastname@example.com>
Reviewed by Simon Fraser.
Fix for https://bugs.webkit.org/show_bug.cgi?id=23966
REGRESSION: Custom arrow navigation functionality doesn't work at dropular.net
Match the CSSOM spec for getClientRects and getBoundingClientRect by
returning a 0x0 rect at the correct top/left position for empty inline
- rendering/RenderInline.cpp: (WebCore::RenderInline::absoluteRects): (WebCore::RenderInline::absoluteQuads):
2009-03-18 Sam Weinig <firstname.lastname@example.com>
Reviewed by Simon Fraser.
Update test results for https://bugs.webkit.org/show_bug.cgi?id=23966
REGRESSION: Custom arrow navigation functionality doesn't work at dropular.net
- fast/dom/getBoundingClientRect-expected.txt:
- fast/dom/getClientRects-expected.txt:
- 11:02 AM Changeset in webkit [41810] by
- 1 edit20 adds in trunk/LayoutTests
Reviewed by Darin Adler.
Add tests for XHR progress events during cross-origin requests.
- http/tests/xmlhttprequest/redirect-cross-origin-2-expected.txt: Added.
- http/tests/xmlhttprequest/redirect-cross-origin-2.html: Added.
- http/tests/xmlhttprequest/redirect-cross-origin-expected.txt: Added.
- http/tests/xmlhttprequest/redirect-cross-origin-post-expected.txt: Added.
- http/tests/xmlhttprequest/redirect-cross-origin-post-sync-expected.txt: Added.
- http/tests/xmlhttprequest/redirect-cross-origin-post-sync.html: Added.
- http/tests/xmlhttprequest/redirect-cross-origin-post.html: Added.
- http/tests/xmlhttprequest/redirect-cross-origin-sync-double-expected.txt: Added.
- http/tests/xmlhttprequest/redirect-cross-origin-sync-double.html: Added.
- http/tests/xmlhttprequest/redirect-cross-origin-sync-expected.txt: Added.
- http/tests/xmlhttprequest/redirect-cross-origin-sync.html: Added.
- http/tests/xmlhttprequest/redirect-cross-origin.html: Added.
- http/tests/xmlhttprequest/simple-cross-origin-denied-events-expected.txt: Added.
- http/tests/xmlhttprequest/simple-cross-origin-denied-events-post-expected.txt: Added.
- http/tests/xmlhttprequest/simple-cross-origin-denied-events-post-sync-expected.txt: Added.
- http/tests/xmlhttprequest/simple-cross-origin-denied-events-post-sync.html: Added.
- http/tests/xmlhttprequest/simple-cross-origin-denied-events-post.html: Added.
- http/tests/xmlhttprequest/simple-cross-origin-denied-events-sync-expected.txt: Added.
- http/tests/xmlhttprequest/simple-cross-origin-denied-events-sync.html: Added.
- http/tests/xmlhttprequest/simple-cross-origin-denied-events.html: Added.
- 10:41 AM Changeset in webkit [41809] by
- 2 edits in trunk/WebCore
2009-03-18 David Levin <email@example.com>
Reviewed by Eric Seidel.
Match the changes done for windows in the bug
No change in behavior, so no test.
- rendering/RenderThemeChromiumLinux.cpp: (WebCore::RenderThemeChromiumLinux::extraDefaultStyleSheet):
- 8:58 AM Changeset in webkit [41808] by
- 2 edits in trunk/WebCore
2009-03-18 Dirk Schulze <email@example.com>
Reviewed by Holger Freyther.
Added support for SVG's stroked texts to Qt.
[Qt] SVGs stroked text support missing
- platform/graphics/qt/FontQt.cpp: (WebCore::Font::drawComplexText):
- 1:15 AM Changeset in webkit [41807] by
- 2 edits in trunk/WebCore
Fix fast/encoding/char-decoding.html with recent ICU.
Reviewed by Alexey Proskuryakov.
- platform/text/TextCodecICU.cpp:
(WebCore::TextCodecICU::decode): Look for gb18030 case-insensitively,
as newer versions of ICU use GB18030 as the canonical name.
- 12:24 AM Changeset in webkit [41806] by
- 6 edits1 add in trunk
<rdar://problem/6692138> REGRESSION (Safari 4): Incorrect function return value when using IE "try ... finally" memory leak work-around (24654)
Reviewed by Cameron Zwarich.
If the return value for a function is in a local register we need
to copy it before executing any finalisers, otherwise it is possible
for the finaliser to clobber the result.
Mar 17, 2009:
- 11:00 PM Changeset in webkit [41805] by
- 3 edits in trunk/WebCore
2009-03-17 David Levin <email@example.com>
Reviewed by Dimitri Glazkov.
Chromium build fixes.
Bug https://bugs.webkit.org/show_bug.cgi?id=24663 tracks
the invalid implementation of ScriptCallStack.
No change in behavior, so no test.
- bindings/v8/ScriptCallStack.h: (WebCore::ScriptCallStack::state):
- platform/graphics/skia/PlatformContextSkia.cpp: (PlatformContextSkia::drawRect):
- 10:14 PM Changeset in webkit [41804] by
- 2 edits in trunk/WebKitTools
Use the normal search rules for tests inside the platform directory.
Reviewed by Oliver Hunt.
This allows tests inside the platform directory to have different results
on different versions of Mac OS X.
- Scripts/run-webkit-tests:
- 9:58 PM Changeset in webkit [41803] by
- 3 edits in trunk/LayoutTests
Update layout test to avoid depending on formatting of -[NSAttributedString description].
Rubber-stamped by Dan Bernstein.
The attributes aren't important to the test.
- platform/mac/fast/text/attributed-substring-from-range-001-expected.txt:
- platform/mac/fast/text/attributed-substring-from-range-001.html:
- 9:34 PM Changeset in webkit [41802] by
- 6 edits5 copies10 moves1 add in trunk/LayoutTests
Land updated results for tests involving Geeza Pro.
Rubber-stamped by Dan Bernstein.
- platform/mac-leopard/fast/text/international/Geeza-Pro-vertical-metrics-adjustment-expected.checksum: Renamed from LayoutTests/platform/mac/fast/text/international/Geeza-Pro-vertical-metrics-adjustment-expected.checksum.
- platform/mac-leopard/fast/text/international/Geeza-Pro-vertical-metrics-adjustment-expected.png: Renamed from LayoutTests/platform/mac/fast/text/international/Geeza-Pro-vertical-metrics-adjustment-expected.png.
- platform/mac-leopard/fast/text/international/Geeza-Pro-vertical-metrics-adjustment-expected.txt: Copied from LayoutTests/platform/mac/fast/text/international/Geeza-Pro-vertical-metrics-adjustment-expected.txt.
- platform/mac-leopard/fast/text/international/bidi-AN-after-L-expected.checksum: Renamed from LayoutTests/platform/mac/fast/text/international/bidi-AN-after-L-expected.checksum.
- platform/mac-leopard/fast/text/international/bidi-AN-after-L-expected.png: Renamed from LayoutTests/platform/mac/fast/text/international/bidi-AN-after-L-expected.png.
- platform/mac-leopard/fast/text/international/bidi-AN-after-L-expected.txt: Copied from LayoutTests/platform/mac/fast/text/international/bidi-AN-after-L-expected.txt.
- platform/mac-leopard/fast/text/international/bidi-AN-after-empty-run-expected.checksum: Renamed from LayoutTests/platform/mac/fast/text/international/bidi-AN-after-empty-run-expected.checksum.
- platform/mac-leopard/fast/text/international/bidi-AN-after-empty-run-expected.png: Renamed from LayoutTests/platform/mac/fast/text/international/bidi-AN-after-empty-run-expected.png.
- platform/mac-leopard/fast/text/international/bidi-AN-after-empty-run-expected.txt: Copied from LayoutTests/platform/mac/fast/text/international/bidi-AN-after-empty-run-expected.txt.
- platform/mac-leopard/fast/text/international/bidi-CS-after-AN-expected.checksum: Renamed from LayoutTests/platform/mac/fast/text/international/bidi-CS-after-AN-expected.checksum.
- platform/mac-leopard/fast/text/international/bidi-CS-after-AN-expected.png: Renamed from LayoutTests/platform/mac/fast/text/international/bidi-CS-after-AN-expected.png.
- platform/mac-leopard/fast/text/international/bidi-CS-after-AN-expected.txt: Copied from LayoutTests/platform/mac/fast/text/international/bidi-CS-after-AN-expected.txt.
- platform/mac-leopard/fast/text/international/bidi-neutral-run-expected.checksum: Renamed from LayoutTests/platform/mac/fast/text/international/bidi-neutral-run-expected.checksum.
- platform/mac-leopard/fast/text/international/bidi-neutral-run-expected.png: Renamed from LayoutTests/platform/mac/fast/text/international/bidi-neutral-run-expected.png.
- platform/mac-leopard/fast/text/international/bidi-neutral-run-expected.txt: Copied from LayoutTests/platform/mac/fast/text/international/bidi-neutral-run-expected.txt.
- platform/mac/fast/text/international/Geeza-Pro-vertical-metrics-adjustment-expected.txt:
- platform/mac/fast/text/international/bidi-AN-after-L-expected.txt:
- platform/mac/fast/text/international/bidi-AN-after-empty-run-expected.txt:
- platform/mac/fast/text/international/bidi-CS-after-AN-expected.txt:
- platform/mac/fast/text/international/bidi-neutral-run-expected.txt:
- 8:54 PM Changeset in webkit [41801] by
- 3 edits2 deletes in trunk/LayoutTests
Move the results out of platform/mac since they're a cross-platform progression,
and non-Mac platforms are already skipping the tests.
Rubber-stamped by Dan Bernstein.
- fast/dom/Window/window-properties-expected.txt:
- fast/dom/navigator-detached-no-crash-expected.txt:
- platform/mac/fast/dom/Window/window-properties-expected.txt: Removed.
- platform/mac/fast/dom/navigator-detached-no-crash-expected.txt: Removed.
- 8:54 PM Changeset in webkit [41800] by
- 2 edits1 copy in trunk/LayoutTests
Update layout test results now that the test passes.
Rubber-stamped by Sam Weinig.
- fast/xsl/mozilla-tests-expected.txt:
- platform/mac-leopard/fast/xsl/mozilla-tests-expected.txt: Copied from LayoutTests/fast/xsl/mozilla-tests-expected.txt.
- 7:53 PM Changeset in webkit [41799] by
- 1 edit4 copies1 add in trunk/LayoutTests
Add platform-specific layout test results to accommodate geolocation.
Reviewed by Sam Weinig.
- platform/mac-leopard/fast/dom/Window/window-properties-expected.txt: Copied from LayoutTests/fast/dom/Window/window-properties-expected.txt.
- platform/mac-leopard/fast/dom/navigator-detached-no-crash-expected.txt: Copied from LayoutTests/fast/dom/navigator-detached-no-crash-expected.txt.
- platform/mac/fast/dom/Window/window-properties-expected.txt: Copied from LayoutTests/fast/dom/Window/window-properties-expected.txt.
- platform/mac/fast/dom/navigator-detached-no-crash-expected.txt: Copied from LayoutTests/fast/dom/navigator-detached-no-crash-expected.txt.
- 7:53 PM Changeset in webkit [41798] by
- 2 edits1 delete in trunk/LayoutTests
Remove geolocation-not-implemented.html.
Reviewed by Sam Weinig.
- geolocation/geolocation-not-implemented-expected.txt: Removed.
- geolocation/geolocation-not-implemented.html: Removed.
- geolocation/geolocation-test.js: Removed.
- platform/gtk/Skipped:
- 7:53 PM Changeset in webkit [41797] by
- 3 edits2 copies4 moves3 adds in trunk/LayoutTests
Update layout test results to accommodate the updated Unicode text segmentation rules.
Rubber-stamped by Sam Weinig.
- platform/mac-leopard/css1/text_properties/text_transform-expected.checksum: Renamed from LayoutTests/platform/mac/css1/text_properties/text_transform-expected.checksum.
- platform/mac-leopard/css1/text_properties/text_transform-expected.png: Renamed from LayoutTests/platform/mac/css1/text_properties/text_transform-expected.png.
- platform/mac-leopard/css1/text_properties/text_transform-expected.txt: Copied from LayoutTests/platform/mac/css1/text_properties/text_transform-expected.txt.
- platform/mac-leopard/css2.1/t1605-c545-txttrans-00-b-ag-expected.checksum: Renamed from LayoutTests/platform/mac/css2.1/t1605-c545-txttrans-00-b-ag-expected.checksum.
- platform/mac-leopard/css2.1/t1605-c545-txttrans-00-b-ag-expected.png: Renamed from LayoutTests/platform/mac/css2.1/t1605-c545-txttrans-00-b-ag-expected.png.
- platform/mac-leopard/css2.1/t1605-c545-txttrans-00-b-ag-expected.txt: Copied from LayoutTests/platform/mac/css2.1/t1605-c545-txttrans-00-b-ag-expected.txt.
- platform/mac/css1/text_properties/text_transform-expected.txt:
- platform/mac/css2.1/t1605-c545-txttrans-00-b-ag-expected.txt:
- 5:58 PM Changeset in webkit [41796] by
- 2 edits in trunk/WebCore
2009-03-17 David Carson <email@example.com>
Reviewed by David Hyatt.
Add anchor elements to the simple style sheet so that applications that
are using WebKit just for simple text and links will also take advantage
of the fast path.
- css/CSSStyleSelector.cpp: (WebCore::elementCanUseSimpleDefaultStyle):
- 5:54 PM Changeset in webkit [41795] by
- 2 edits in trunk/WebKitTools
resolve-ChangeLogs should not die on unmerged non-ChangeLog files
Reviewed by Adam Roben.
Fixes the following bug in resolve-ChangeLogs:
Use of uninitialized value in -e at ./WebKitTools/Scripts/resolve-ChangeLogs line 132.
Died at ./WebKitTools/Scripts/resolve-ChangeLogs line 164.
- Scripts/resolve-ChangeLogs: (findUnmergedChangeLogs): Check the result of findChangeLog() to make sure we don't add undef values to the list of files being returned.
- 5:42 PM Changeset in webkit [41794] by
- 5 edits in trunk
2009-03-17 Darin Adler <email@example.com>
Reviewed by Adele Peterson.
<rdar://problem/6687005> Need support for new move-left/right selectors.
- editing/EditorCommand.cpp: (WebCore::executeMoveToLeftEndOfLine): Added. (WebCore::executeMoveToLeftEndOfLineAndModifySelection): Added. (WebCore::executeMoveToRightEndOfLine): Added. (WebCore::executeMoveToRightEndOfLineAndModifySelection): Added. Added command entries for the functions above.
2009-03-17 Darin Adler <firstname.lastname@example.com>
Reviewed by Adele Peterson.
<rdar://problem/6687005> Need support for new move-left/right selectors.
- WebView/WebHTMLView.mm: Added the four new selectors to the command-forwarding list.
- WebView/WebView.mm: Ditto.
- 5:06 PM Changeset in webkit [41793] by
- 2 edits in trunk/WebKit/mac
2009-03-17 Darin Adler <email@example.com>
Reviewed by Adele Peterson.
Bug 24477: REGRESSION (r41467): Page Down key scrolls two pages
- WebView/WebHTMLView.mm: (responderChainRespondsToSelector): Added. (-[WebHTMLView doCommandBySelector:]): Set eventWasHandled based on whether we can find a responder that responds to this selector rather than always assuming the selector will not be handled.
- 4:44 PM Changeset in webkit [41792] by
- 77 edits3 adds in trunk
2009-03-17 Ojan Vafai <firstname.lastname@example.com>
Reviewed by Adele Peterson.
Put the padding inside scrollbars on textareas.
Put the padding inside the scrollbars on textareas. This is done by moving the
overflow from the shadowNode to the RenderTextControlMultiline. As a result,
all of the scroll handing methods that RenderTextControl overrides can be moved
down into RenderTextControlSingleLine since RenderTextControlMultiline can now
just use RenderBlock's versions. This also allows RenderTextControlMultiLine to
no longer need a custom layout method since the shadowNode can now just size
like a regular DIV.
- css/CSSStyleSelector.cpp: (WebCore::CSSStyleSelector::adjustRenderStyle):
- rendering/RenderTextControl.cpp: (WebCore::RenderTextControl::styleDidChange): (WebCore::RenderTextControl::selection): (WebCore::RenderTextControl::calcHeight): (WebCore::RenderTextControl::hitInnerTextElement):
- rendering/RenderTextControl.h:
- rendering/RenderTextControlMultiLine.cpp: (WebCore::RenderTextControlMultiLine::nodeAtPoint): (WebCore::RenderTextControlMultiLine::createInnerTextStyle):
- rendering/RenderTextControlMultiLine.h:
- rendering/RenderTextControlSingleLine.cpp: (WebCore::RenderTextControlSingleLine::styleDidChange): (WebCore::RenderTextControlSingleLine::autoscroll): (WebCore::RenderTextControlSingleLine::scrollWidth): (WebCore::RenderTextControlSingleLine::scrollHeight): (WebCore::RenderTextControlSingleLine::scrollLeft): (WebCore::RenderTextControlSingleLine::scrollTop): (WebCore::RenderTextControlSingleLine::setScrollLeft): (WebCore::RenderTextControlSingleLine::setScrollTop): (WebCore::RenderTextControlSingleLine::scroll):
- rendering/RenderTextControlSingleLine.h:
- rendering/TextControlInnerElements.cpp: (WebCore::RenderTextControlInnerBlock::RenderTextControlInnerBlock): (WebCore::RenderTextControlInnerBlock::positionForPoint): (WebCore::TextControlInnerTextElement::createRenderer):
- 4:34 PM Changeset in webkit [41791] by
- 5 edits in trunk/WebCore
2009-03-17 Darin Adler <email@example.com>
Reviewed by David Hyatt.
Bug 24517: REGRESSION (r41552): innerHTML does an updateLayout -- unneeded and can be slow
- editing/DeleteButtonController.cpp: (WebCore::DeleteButtonController::enable): Added a call to updateRendering, since determining whether to display the delete button involves style and updateRendering also updates style (should probably be named updateStyle, in fact). Not needed to fix this bug, but would have prevented the crash that led to this bug in the first place.
- editing/EditCommand.cpp: (WebCore::EditCommand::EditCommand): Get rid of unneeded null check. All frames have delete button controllers.
- editing/Editor.cpp: (WebCore::Editor::rangeForPoint): Ditto.
- editing/markup.cpp: (WebCore::appendStartMarkup): Changed a "&" to a "&&" so that generating markup doesn't depend on renderers at all when the convertBlocksToInlines boolean is false. This allows us to omit the call to updateLayoutIgnorePendingStylesheets in the createMarkup function that's called by innerHTML. (WebCore::MarkupAccumulator::appendMarkup): Turned this into a class with a member function. Added a feature where the accumulator will skip a node. Moved arguments that don't change during recursion into an object. This function still is a bit inefficient, since it creates a new HashMap at every level as it recurses, but for now I did not tackle that. Also replaced the onlyIncludeChildren boolean with EChildrenOnly for consistency and clarity. (WebCore::createMarkup): Removed the call to updateLayoutIgnorePendingStylesheets. Instead of calling disable/enable on the delete button controller's container element, pass it in to the markup accumulator as a node to skip.
- 3:24 PM Changeset in webkit [41790] by
- 2 edits in trunk/WebKitTools
2009-03-17 Gustavo Noronha Silva <firstname.lastname@example.com>
Reviewed by Simon Fraser.
Fix the usage of the $architecture variable for non-Apple-Mac
- Scripts/webkitdirs.pm:
- 3:17 PM Changeset in webkit [41789] by
- 5 edits in trunk/WebCore
2009-03-17 Scott Violet <email@example.com>
Reviewed by Eric Seidel.
Skia does not always render text fill/stroke pattern/gradient/color correctly
Changes Skia's font rendering to only render gradient/pattern if current
color space indicates the gradient/pattern should be used.
This is covered by LayoutTests/fast/canvas/canvas-text-alignment.html .
- platform/graphics/GraphicsContext.cpp: (WebCore::GraphicsContext::strokeColorSpace): (WebCore::GraphicsContext::fillColorSpace):
- platform/graphics/GraphicsContext.h: (WebCore::):
- platform/graphics/GraphicsContextPrivate.h:
- platform/graphics/skia/SkiaFontWin.cpp: (WebCore::paintSkiaText):
- 3:05 PM Changeset in webkit [41788] by
- 5 edits4 adds in trunk
2009-03-17 Adele Peterson <email@example.com>
Reviewed by Darin Adler.
Fix for https://bugs.webkit.org/show_bug.cgi?id=24655
<rdar://problem/6633727> Hitting return at the end of a line with an anchor jumps me to the bottom of the message
Test: editing/inserting/6633727.html
This changes does a few things:
1) Renames pos to insertionPosition.
2) Eliminates "startNode". It doesn't work well to consider the node separately from the insertionPosition.
The insertionPosition gets updated at various times, and it seems likely that startNode can get out of sync.
3) Before building up a list of ancestors to move around when we insert the new block, make sure to use the deepest
representation of the insertionPosition, so all ancestor nodes are correctly included.
- editing/InsertParagraphSeparatorCommand.cpp: (WebCore::InsertParagraphSeparatorCommand::doApply):
2009-03-17 Adele Peterson <email@example.com>
Reviewed by Darin Adler.
Test for https://bugs.webkit.org/show_bug.cgi?id=24655
<rdar://problem/6633727> Hitting return at the end of a line with an anchor jumps me to the bottom of the message
- editing/inserting/6633727.html: Added.
- platform/mac/editing/inserting/6633727-expected.checksum: Added.
- platform/mac/editing/inserting/6633727-expected.png: Added.
- platform/mac/editing/inserting/6633727-expected.txt: Added.
Updated results. The behavior for these tests doesn't change, but the render tree is slightly different.
- platform/mac/editing/inserting/insert-div-021-expected.txt:
- platform/mac/editing/style/block-styles-007-expected.txt:
- 2:48 PM Changeset in webkit [41787] by
- 2 edits in trunk/WebKit/mac
Fix the build.
- Plugins/Hosted/HostedNetscapePluginStream.mm:
- 1:16 PM Changeset in webkit [41786] by
- 2 edits3 adds3 deletes in trunk/WebCore
Reviewed by Kevin Ollivier.
Introduce platform independent stubs for plugins.
- 1:14 PM Changeset in webkit [41785] by
- 2 edits in trunk/WebKitTools
Bug 24645: bisect-builds script doesn't work with Safari 4 Public Beta (version string)
Reviewed by Mark Rowe.
- Scripts/bisect-builds: (makeNightlyList): Added checks for Safari 4 Public Beta on Tiger and Leopard.
- 1:13 PM Changeset in webkit [41784] by
- 1 edit in trunk/WebKit/mac/ChangeLog
Fixed ChangeLog date.
- 1:09 PM Changeset in webkit [41783] by
- 8 edits in trunk/WebKit/mac
Use -[NSURLResponse(WebCoreURLResponse) _webcore_MIMEType] consistently
Reviewed by Darin Adler.
WebKit r30323 added -_webcore_MIMEType to fix issues with
incorrect MIME types in NS[HTTP]URLResponse objects. However,
uses of -[NSURLResponse MIMEType] still persist in WebKit that
should be switched to use -_webcore_MIMEType. Note that
-[WebDataSource _responseMIMEType] calls back into WebCore to
get the MIME type from the ResourceResponse object, which has
already retrieved it via -_webcore_MIMEType.
- Plugins/Hosted/HostedNetscapePluginStream.mm: (WebKit::HostedNetscapePluginStream::didReceiveResponse): Use -_webcore_MIMEType.
- Plugins/WebBaseNetscapePluginStream.mm: (WebNetscapePluginStream::didReceiveResponse): Ditto.
- Plugins/WebNetscapePluginView.mm: (-[WebNetscapePluginView pluginView:receivedData:]): Ditto.
- Plugins/WebPluginController.mm: (-[WebPluginController pluginView:receivedResponse:]): Ditto.
- WebView/WebHTMLRepresentation.mm: (-[WebHTMLRepresentation _isDisplayingWebArchive]): Use -[WebDataSource _responseMIMEType] instead.
- WebView/WebPDFRepresentation.m: (-[WebPDFRepresentation finishedLoadingWithDataSource:]): Ditto.
- WebView/WebPDFView.mm: (-[WebPDFView menuForEvent:]): Ditto.
- 1:01 PM Changeset in webkit [41782] by
- 8 edits in trunk/WebCore
2009-03-17 Simon Fraser <firstname.lastname@example.com>
Reviewed by Dave Hyatt
Fix repaint issues when composited layers come and go (only applies
when ACCELERATED_COMPOSITING is turned on).
- rendering/RenderLayer.cpp: (WebCore::RenderLayer::RenderLayer):
- rendering/RenderLayer.h: (WebCore::RenderLayer::mustOverlayCompositedLayers): (WebCore::RenderLayer::setMustOverlayCompositedLayers):
- rendering/RenderLayerBacking.cpp: (WebCore::RenderLayerBacking::RenderLayerBacking):
- rendering/RenderLayerBacking.h:
Move what used to be the 'forceCompositingLayer' flag from RenderLayerBacking
to RenderLayer, because we don't want the side-effects of creating RenderLayerBacking
when setting this flag.
- rendering/RenderLayerCompositor.cpp: (WebCore::RenderLayerCompositor::updateLayerCompositingState): When a RenderLayer flips into or out of compositing mode, compute a repaint rect relative to the containerForRepaint, and repaint it.
Call layer->setMustOverlayCompositedLayers() rather than setForcedCompositingLayer().
- rendering/RenderLayerCompositor.h:
Rename requiresCompositingLayerForTransform() to requiresCompositingForTransform()
and make it a class static method to match requiresCompositingForAnimation(). Both
now take RenderObjects, rathern than RenderLayers.
- rendering/style/RenderStyle.h: (WebCore::InheritedFlags::hasTransformRelatedProperty): Minor tidyup using convenience methods added in an earlier commit.
- 12:42 PM Changeset in webkit [41781] by
- 2 edits in trunk/WebCore
2009-03-17 Darin Adler <firstname.lastname@example.com>
Earlier version reviewed by Adele Peterson.
Bug 24304: REGRESSION (r39864): Hitting the space bar to select an <input type=radio>
or push an <input type=button> or <button> causes the page to scroll down.
Would be best to add a regression test for Windows eventually; tested that this has
no effect on the Mac OS X platform.
- html/HTMLInputElement.cpp: (WebCore::HTMLInputElement::defaultEventHandler): Added FIXMEs and tweaked formatting. Use the code that calls the base class's defaultEventHandler early only in the cases where it's needed: keydown and keypress events in text fields. In other cases, do the more typical thing and call the default handler only at the end of the function. This function already had code to make sure the keypress event for space never gets through, but it was running too late since the scrolling code was moved into the base class default event handler.
- 12:24 PM Changeset in webkit [41780] by
- 18 edits in trunk
2009-03-17 Simon Fraser <email@example.com>
Reviewed by Darin Adler
- config.h: Add WTF_USE_ACCELERATED_COMPOSITING, defined to 0 for now, and add some comments to make the #ifdefs more readable.
- css/CSSComputedStyleDeclaration.cpp: (WebCore::computedTransform): Add a comment to mention that we don't flatten the matrix.
- css/MediaQueryEvaluator.cpp: (WebCore::transform_3dMediaFeatureEval): Have the 'transform-3d' media query evaluate to 'true' if 3d-rendering is supported.
- platform/graphics/mac/GraphicsLayerCA.mm: (WebCore::GraphicsLayerCA::animateTransform): No need for the #ifdef here. If we don't support 3d, we will have already flattened the matrix.
- platform/graphics/transforms/TransformationMatrix.cpp: (WebCore::TransformationMatrix::makeAffine):
- platform/graphics/transforms/TransformationMatrix.h: New method to convert the matrix to an affine matrix by throwing a way the non-affine parts.
- rendering/RenderLayer.cpp: (WebCore::RenderLayer::updateTransform): (WebCore::RenderLayer::currentTransform):
- rendering/RenderLayerBacking.cpp: (WebCore::RenderLayerBacking::updateLayerTransform): If 3d rendering is not supported, convert the matrix to an affine matrix which can be rendered, and used for hit testing.
- rendering/RenderLayerCompositor.cpp: Change the name of the exported symbol that webkitdirs.pm uses to know if 3d rendering is supported. There is no other 3d-rendering-specific symbol we can sniff.
- rendering/RenderObject.cpp: (WebCore::RenderObject::transformFromContainer): Only take perspective into account if 3d rendering is supported.
- rendering/RenderObject.h: (WebCore::makeMatrixRenderable): Utility method that flattens a matrix if 3d rendering is not supported.
- 12:22 PM Changeset in webkit [41779] by
- 2 edits in trunk/WebCore
wx build fix. Fix typo after mouse wheel changes.
- 11:57 AM Changeset in webkit [41778] by
- 1 edit in trunk/LayoutTests/platform/mac/fast/repaint/subtree-root-clip-expected.txt
Update failing layout test after float painting fix.
- 11:26 AM Changeset in webkit [41777] by
- 2 edits in trunk/WebCore
2009-03-17 Darin Adler <email@example.com>
- inspector/ConsoleMessage.cpp: (WebCore::ConsoleMessage::isEqual): Fix build, remove stray parenthesis.
- 11:22 AM Changeset in webkit [41776] by
- 4 edits in trunk
2009-03-17 Gustavo Noronha Silva <firstname.lastname@example.com>
Reviewed by Mark Rowe.
Enable HTML5 media elements support by default in the GTK+ port.
- configure.ac:
2009-03-17 Gustavo Noronha Silva <email@example.com>
Reviewed by Mark Rowe.
Enable HTML5 media elements support by default also for the GTK+
- Scripts/build-webkit:
- 11:16 AM Changeset in webkit [41775] by
- 2 edits in trunk/WebCore
2009-03-17 Darin Adler <firstname.lastname@example.com>
Fix crash seen right away when running run-webkit-tests.
- inspector/ConsoleMessage.cpp: (WebCore::ConsoleMessage::isEqual): Restore assertion to its behavior pre-refactoring. Also tweaked formatting a bit.
- 11:06 AM Changeset in webkit [41774] by
- 2 edits in trunk/WebCore
Reviewed by Darin Adler.
HTMLSelectElement::add() doesn't look at exception code returned from insertBefore(), so
it doesn't need to zero it out before calling.
- html/HTMLSelectElement.cpp: (WebCore::HTMLSelectElement::add): Removed "ec = 0" line.
- 11:01 AM Changeset in webkit [41773] by
- 14 edits2 adds in trunk
Reviewed by Adam Roben.
- WebCore part of adding a mechanism for controlling the caching of responses through WebFrameLoaderClient
Mac already has such a mechanism, and this adds one for CFNetwork ports.
- WebCore.vcproj/WebCore.vcproj: Added EmptyClients.h and ResourceLoaderCFNet.cpp.
- loader/EmptyClients.h: (WebCore::EmptyFrameLoaderClient::shouldCacheResponse): Added an implementation that always returns true.
- loader/FrameLoaderClient.h: Declared shouldCacheResponse().
- loader/ResourceLoader.h: Ditto.
- loader/cf/ResourceLoaderCFNet.cpp: Added. (WebCore::ResourceLoader::shouldCacheResponse): Added. Calls through to FrameLoaderClient::shouldCacheResponse().
- platform/network/ResourceHandleClient.h: (WebCore::ResourceHandleClient::shouldCacheResponse): Added an implementation that always returns true.
- platform/network/cf/ResourceHandleCFNet.cpp: (WebCore::willCacheResponse): Added a call to ResourceHandleClient::shouldCacheResponse(). If the client returns false, return 0, which will prevent CFNetwork from caching the response.
Reviewed by Adam Roben.
- WebKit part of adding a mechanism for controlling the caching of responses through WebFrameLoaderClient
- Interfaces/IWebResourceLoadDelegatePrivate.idl: Added the IWebResourceLoadDelegatePrivate3 interface, containing the new delegate method shouldCacheResponse().
- Interfaces/IWebURLRequest.idl: Added the isEqual() method.
- WebCoreSupport/WebFrameLoaderClient.cpp: (WebFrameLoaderClient::shouldCacheResponse): Implemented this new FrameLoaderDelegate method by calling through to the resource load delegate, if it implements shouldCacheResponse(), and returning true otherwise.
- WebCoreSupport/WebFrameLoaderClient.h:
- WebMutableURLRequest.cpp: (WebMutableURLRequest::isEqual): Added. (WebMutableURLRequest::setValue): Implemented.
- WebMutableURLRequest.h: Declared isEqual().
- 10:57 AM Changeset in webkit [41772] by
- 7 edits8 adds in trunk
Reviewed by Darin Adler.
Cannot change SELECT to a dynamically created option
Tests: fast/forms/add-and-remove-option.html
- dom/ContainerNode.cpp: (WebCore::dispatchChildInsertionEvents): Increment DOM tree version. This will happen when dispatching DOMSubtreeModified again, but the version should be incremented for event listeners to have an up to date view of the DOM. (WebCore::dispatchChildRemovalEvents): Ditto.
- html/HTMLOptionElement.cpp: (WebCore::HTMLOptionElement::insertedIntoTree): Make sure that the select element knows about its new selected option.
- html/HTMLOptionElement.h: Use insertedIntoTree() instead of insertedIntoDocument(), because DOM also needs to be updated for forms that are not in document yet. Similar problems exist for node removing, but removedFromTree() is called at a wrong time, so those problems cannot be fixed without deeper refactoring.
- html/HTMLSelectElement.cpp: (WebCore::HTMLSelectElement::setRecalcListItems): Reset m_activeSelectionAnchorIndex - it doesn't make sense to keep the anchor after programmatically changing the selection, and keeping it was causing a failure in fast/forms/listbox-selection.html.
- html/HTMLSelectElement.h: Removed overrides for ContainerNode methods that only called base class versions.
- 10:47 AM Changeset in webkit [41771] by
- 2 edits in trunk/WebCore
<rdar://problem/6690324> Accessing FTP sites reads unallocated memory, can result in garbled entries or crashes
Reviewed by Darin Adler.
- loader/FTPDirectoryDocument.cpp: (WebCore::FTPDirectoryTokenizer::parseAndAppendOneLine): Assign CString to a local while we hold pointers into it.
- 10:36 AM Changeset in webkit [41770] by
- 1 edit in trunk/WebCore/ChangeLog
Fix ChangeLog comment.
- 10:30 AM Changeset in webkit [41769] by
- 5 edits4 adds in trunk
2009-03-16 David Hyatt <email@example.com>
<rdar://problem/6648411> REGRESSION: Layout of page is wrong at http://www.popcap.com/
Make sure that the initial shouldPaint check that looks at enclosingLayers properly skips over
layers that don't paint themselves. This is done by adding a new boolean parameter to enclosingLayer
so that RenderObjects can walk up the enclosing layer chain and skip any layers that don't paint
Reviewed by Darin Adler.
Added fast/block/float/overlapping-floats-with-overflow-hidden.html
- WebCore.base.exp:
- rendering/RenderBlock.cpp: (WebCore::RenderBlock::addOverhangingFloats):
- rendering/RenderObject.cpp: (WebCore::RenderObject::enclosingSelfPaintingLayer):
- rendering/RenderObject.h:
2009-03-16 David Hyatt <firstname.lastname@example.com>
<rdar://problem/6648411> REGRESSION: Layout of page is wrong at http://www.popcap.com/
Make sure that the initial shouldPaint check that looks at enclosingLayers properly skips over
layers that don't paint themselves. This is done by adding a new enclosingSelfPaintingLayer method
so that RenderObjects can walk up the enclosing layer chain and skip any layers that don't paint
Reviewed by Darin Adler.
- fast/block/float/overlapping-floats-with-overflow-hidden.html: Added.
- platform/mac/fast/block/float/overlapping-floats-with-overflow-hidden-expected.checksum: Added.
- platform/mac/fast/block/float/overlapping-floats-with-overflow-hidden-expected.png: Added.
- platform/mac/fast/block/float/overlapping-floats-with-overflow-hidden-expected.txt: Added.
- 10:25 AM Changeset in webkit [41768] by
- 3 edits in trunk/WebCore
2009-03-17 Xan Lopez <email@example.com>
Reviewed by Holger Freyther.
[GTK] Crash in FcPatternHash
Style fixes.
- platform/graphics/gtk/FontPlatformDataGtk.cpp: (WebCore::FontPlatformData::operator=):
- platform/graphics/gtk/FontPlatformDataPango.cpp:
- 10:24 AM Changeset in webkit [41767] by
- 3 edits in trunk/WebCore
2009-03-17 Xan Lopez <email@example.com>
Reviewed by Holger Freyther.
[GTK] Crash in FcPatternHash
Sanitize memory management in pango fonts.
Release memory allocated by FontPlatformDataPango in its own
destructor instead of doing it from other classes, and add copy
constructor and '=' operator to be able to track referenced
objects properly.
- platform/graphics/gtk/FontPlatformDataPango.cpp: (WebCore::FontPlatformData::~FontPlatformData): (WebCore::FontPlatformData::operator=): (WebCore::FontPlatformData::FontPlatformData):
- platform/graphics/gtk/SimpleFontDataPango.cpp:
- 10:02 AM Changeset in webkit [41766] by
- 9 edits3 adds in trunk
2009-03-17 Darin Adler <email@example.com>
Reviewed by Alexey Proskuryakov.
Bug 24624: Crash in imageLoadEventTimerFired after adoptNode used on <img>,
seen with inspector, which uses adoptNode
Test: fast/dom/HTMLImageElement/image-load-cross-document.html
- dom/Document.cpp: (WebCore::Document::Document): Removed m_imageLoadEventTimer. (WebCore::Document::detach): Removed m_imageLoadEventDispatchSoonList and m_imageLoadEventDispatchingList. (WebCore::Document::implicitClose): Called ImageLoader::dispatchPendingLoadEvents instead of dispatchImageLoadEventsNow.
- dom/Document.h: Removed ImageLoader, dispatchImageLoadEventSoon, dispatchImageLoadEventsNow, removeImage, m_imageLoadEventDispatchSoonList, m_imageLoadEventDispatchingList, m_imageLoadEventTimer, and imageLoadEventTimerFired.
- loader/ImageLoader.cpp: (WebCore::loadEventSender): Added. Returns the single global ImageLoadEventSender object used privately as the target of the load event timer. (WebCore::ImageLoader::~ImageLoader): Call ImageLoadEventSender::cancelLoadEvent rather than Document::removeImage. (WebCore::ImageLoader::setImage): Use m_element directly, not element(). (WebCore::ImageLoader::updateFromElement): Ditto. Also name the local variable document instead of doc. (WebCore::ImageLoader::notifyFinished): Call ImageLoadEventSender::dispatchLoadEventSoon rather than Document::dispatchImageLoadEventSoon. (WebCore::ImageLoader::dispatchPendingLoadEvent): Added. Handles the common logic about when load events can be dispatched so that dispatchLoadEvent only has to have the specific part for each derived class. This includes a check that the document is attached, which used to be handled by having documents empty out the image load event vectors in the detach function. (WebCore::ImageLoader::dispatchPendingLoadEvents): Added. Calls the appropriate function on the ImageLoadEventSender, which avoids the need to have that class be public in the ImageLoader header. (WebCore::ImageLoadEventSender::ImageLoadEventSender): Added. Has the code that was previously in the Document constructor. (WebCore::ImageLoadEventSender::dispatchLoadEventSoon): Added. Has the code that was previously in Document::dispatchImageLoadEventSoon. (WebCore::ImageLoadEventSender::cancelLoadEvent): Added. Has the code that was previously in Document::removeImage. (WebCore::ImageLoadEventSender::dispatchPendingLoadEvents): Added. Has the code that was previously in Document::dispatchImageLoadEventsNow. (WebCore::ImageLoadEventSender::timerFired): Added. Calls dispatchPendingLoadEvents.
- loader/ImageLoader.h: Improved comments. Made the virtual functions private or protected rather than public. Added static dispatchPendingLoadEvents function for use by Document and private dispatchPendingLoadEvent function for use by ImageLoadEventSender. Made setLoadingImage private and eliminated setHaveFiredLoadEvent since that can all be done inside the class without any member functions.
- html/HTMLImageLoader.cpp: (WebCore::HTMLImageLoader::dispatchLoadEvent): Removed logic to check whether a load event already fired and whether image() is 0. These are now both base class responsibilities.
- svg/SVGImageLoader.cpp: (WebCore::SVGImageLoader::dispatchLoadEvent): Ditto.
- wml/WMLImageLoader.cpp: (WebCore::WMLImageLoader::dispatchLoadEvent): Ditto.
2009-03-17 Darin Adler <firstname.lastname@example.com>
Reviewed by Alexey Proskuryakov.
Bug 24624: Crash in imageLoadEventTimerFired after adoptNode used on <img>,
seen with inspector, which uses adoptNode
This test has one significant disadvantage. When it fails, the crash typically
occurs during a subsequent test, not this one. It would be great if someone figured
out at some point how to improve that.
- fast/dom/HTMLImageElement/image-load-cross-document-expected.txt: Added.
- fast/dom/HTMLImageElement/image-load-cross-document.html: Added.
- fast/dom/HTMLImageElement/resources/image-load-subframe.html: Added.
- 9:17 AM Changeset in webkit [41765] by
- 11 edits in trunk/WebCore
2009-03-17 Dimitri Glazkov <Dimitri Glazkov>
Reviewed by Timothy Hatcher.
Refactor ConsoleMessage to use ScriptFuncitonCall and eliminate JSC
- bindings/js/ScriptFunctionCall.cpp: (WebCore::ScriptFunctionCall::appendArgument): Added uint and ScriptString-taking methods.
- bindings/js/ScriptFunctionCall.h:
- bindings/js/ScriptObjectQuarantine.cpp: (WebCore::quarantineValue): Added generic ScriptValue quarantine helper.
- bindings/js/ScriptObjectQuarantine.h:
- bindings/js/ScriptValue.cpp: (WebCore::ScriptValue::isEqual): Added.
- bindings/js/ScriptValue.h:
- inspector/ConsoleMessage.cpp: (WebCore::ConsoleMessage::ConsoleMessage): (WebCore::ConsoleMessage::addToConsole): Added. (WebCore::ConsoleMessage::isEqual): Changed to use ScriptValue::isEqual.
- inspector/ConsoleMessage.h: (WebCore::ConsoleMessage::incrementCount): Added.
- inspector/InspectorController.cpp: (WebCore::InspectorController::addConsoleMessage): Changed to use ConsoleMessage::addToConsole. (WebCore::InspectorController::populateScriptObjects): Ditto.
- inspector/InspectorController.h:
- 9:06 AM Changeset in webkit [41764] by
- 9 edits in trunk
Reviewed by Mark Rowe.
Move BUILDING_ON_* defines into Platform.h to make them available to other ports.
Also tweak the defines so that they work with the default values set by
- 8:40 AM Changeset in webkit [41763] by
- 2 edits in trunk
2009-03-17 Mike Hommey <email@example.com>
Reviewed by Holger Freyther.
Do not export cti* symbols.
See http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=519924.
- autotools/symbols.filter:
- 7:43 AM Changeset in webkit [41762] by
- 4 edits in trunk/WebCore
2009-03-16 Xan Lopez <firstname.lastname@example.com>
Reviewed by Holger Freyther.
[GTK] Crash in FcPatternHash
Sanitize memory management in gtk fonts.
Release memory allocated by FontPlatformDataGtk in its own
destructor instead of doing it from other classes, and add copy
constructor and '=' operator to be able to track referenced
objects properly.
- platform/graphics/gtk/FontPlatformData.h:
- platform/graphics/gtk/FontPlatformDataGtk.cpp: (WebCore::FontPlatformData::operator=): (WebCore::FontPlatformData::FontPlatformData): (WebCore::FontPlatformData::~FontPlatformData):
- platform/graphics/gtk/SimpleFontDataGtk.cpp: (WebCore::SimpleFontData::platformDestroy):
- 6:22 AM Changeset in webkit [41761] by
- 2 edits in trunk/WebCore
2009-03-17 Ariya Hidayat <firstname.lastname@example.com>
Build fix for Qt < 4.5.
As reported by Yael Aharon <firstname.lastname@example.com>
- platform/graphics/qt/GraphicsContextQt.cpp: (WebCore::GraphicsContext::drawLine):
- 5:08 AM QtWebKitTodo edited by
- (diff)
- 2:15 AM Changeset in webkit [41760] by
- 3 edits in trunk/WebKitTools
Fix coverage builds
Reviewed by Alexey Proskuryakov
Make coverage testing more reliable by ensuring --coverage does not
clobber configuration settings, and by removing the unnecessary
dependency on matplotlib.
- 12:29 AM Changeset in webkit [41759] by
- 8 edits2 adds in trunk
Reviewed by Sam Weinig.
Access control checks are different in cached and uncached cases
Test: http/tests/xmlhttprequest/access-control-basic-non-simple-deny-cached.html
- loader/CrossOriginAccessControl.cpp: (WebCore::isOnAccessControlSimpleRequestMethodWhitelist): Factored out simple method check for use in both cached and uncached cases. In cached case, an old definition that omitted HEAD was still used. (WebCore::isOnAccessControlSimpleRequestHeaderWhitelist): Check that content type has an allowed value. This is needed in all call sites. Also changed to compare MIME type, not content type. (WebCore::isSimpleCrossOriginAccessRequest): Use the above methods.
- loader/CrossOriginAccessControl.h: Expose isOnAccessControlSimpleRequestMethodWhitelist.
- loader/CrossOriginPreflightResultCache.cpp: (WebCore::CrossOriginPreflightResultCacheItem::allowsCrossOriginMethod): (WebCore::CrossOriginPreflightResultCacheItem::allowsCrossOriginHeaders): Use the new checks for simple method and header.
- 12:23 AM Changeset in webkit [41758] by
- 2 edits in trunk/LayoutTests
2009-03-16 Gustavo Noronha Silva <firstname.lastname@example.com>
Reviewed by Mark Rowe.
[GTK] HTML5 media tags do not work
Remove the blacklisting of the media/ directory, now that we have
a working MediaPlayer; skip only the tests that are still failing
because MediaPlayerPrivateGStreamer is not completely implemented.
- platform/gtk/Skipped:
- 12:11 AM Changeset in webkit [41757] by
- 3 edits in trunk/WebCore
2009-03-16 Gustavo Noronha Silva <email@example.com> and Thadeu Lima de Souza Cascardo <firstname.lastname@example.com>
Reviewed by Mark Rowe.
[GTK] HTML5 media tags do not work
Add a repaint-requested signal to the video sink, and use it to
call MediaPlayerPrivate::repaint, so that the video actually
- platform/graphics/gtk/MediaPlayerPrivateGStreamer.cpp: (WebCore::mediaPlayerPrivateRepaintCallback): (WebCore::MediaPlayerPrivate::createGSTPlayBin):
- platform/graphics/gtk/VideoSinkGStreamer.cpp: (webkit_video_sink_idle_func): (webkit_video_sink_render): (webkit_video_sink_class_init):
- 12:02 AM Changeset in webkit [41756] by
- 2 edits in trunk/WebCore
2009-03-16 Gustavo Noronha Silva <firstname.lastname@example.com> and Thadeu Lima de Souza Cascardo <email@example.com>
Reviewed by Holger Freyther.
[GTK] HTML5 media tags do not work
Work-around the fact that gst_element_query_duration returns true even
though it is unable to figure out the duration when in stream (push)
- platform/graphics/gtk/MediaPlayerPrivateGStreamer.cpp: (WebCore::MediaPlayerPrivate::duration):
Mar 16, 2009:
- 6:26 PM Changeset in webkit [41755] by
- 2 edits in trunk/LayoutTests
Skip media tests that are currently failing.
Rubber-stamped by Adele Peterson.
- platform/mac-snowleopard/Skipped:
- 5:10 PM Changeset in webkit [41754] by
- 2 edits in trunk/WebCore
2009-03-16 Darin Adler <email@example.com>
Reviewed by Kevin Decker.
<rdar://problem/6642742> Top Sites malfunction when switching text zoom mode
- page/Frame.cpp: (WebCore::Frame::setNeedsReapplyStyles): Don't do anything if the frame is currently showing a non-HTML view.
- 4:55 PM Changeset in webkit [41753] by
- 2 edits in trunk/LayoutTests
Skip a test that is currently crashing.
Rubber-stamped by Beth Dakin.
- platform/mac-snowleopard/Skipped:
- 4:55 PM Changeset in webkit [41752] by
- 7 edits in trunk/LayoutTests
Update test results for six accessibility tests.
Rubber-stamped by Beth Dakin.
- platform/mac/accessibility/lists-expected.txt:
- platform/mac/accessibility/table-attributes-expected.txt:
- platform/mac/accessibility/table-detection-expected.txt:
- platform/mac/accessibility/table-sections-expected.txt:
- platform/mac/accessibility/table-with-aria-role-expected.txt:
- platform/mac/accessibility/table-with-rules-expected.txt:
- 4:55 PM Changeset in webkit [41751] by
- 1 edit1 copy37 moves1 add in trunk/LayoutTests
Move platform-specific acessibility tests and results into platform/mac.
Rubber-stamped by Beth Dakin.
- platform/mac/accessibility/accesskey-expected.txt: Renamed from LayoutTests/accessibility/accesskey-expected.txt.
- platform/mac/accessibility/accesskey.html: Renamed from LayoutTests/accessibility/accesskey.html.
- platform/mac/accessibility/aria-describedby-on-input-expected.txt: Renamed from LayoutTests/accessibility/aria-describedby-on-input-expected.txt.
- platform/mac/accessibility/aria-labelledby-on-input-expected.txt: Renamed from LayoutTests/accessibility/aria-labelledby-on-input-expected.txt.
- platform/mac/accessibility/aria-range-expected.txt: Renamed from LayoutTests/accessibility/aria-range-expected.txt.
- platform/mac/accessibility/aria-range-value-expected.txt: Renamed from LayoutTests/accessibility/aria-range-value-expected.txt.
- platform/mac/accessibility/aria-range-value.html: Renamed from LayoutTests/accessibility/aria-range-value.html.
- platform/mac/accessibility/aria-range.html: Renamed from LayoutTests/accessibility/aria-range.html.
- platform/mac/accessibility/aria-roles-expected.txt: Renamed from LayoutTests/accessibility/aria-roles-expected.txt.
- platform/mac/accessibility/aria-slider-expected.txt: Renamed from LayoutTests/accessibility/aria-slider-expected.txt.
- platform/mac/accessibility/aria-slider.html: Renamed from LayoutTests/accessibility/aria-slider.html.
- platform/mac/accessibility/aria-spinbutton-expected.txt: Renamed from LayoutTests/accessibility/aria-spinbutton-expected.txt.
- platform/mac/accessibility/aria-spinbutton.html: Renamed from LayoutTests/accessibility/aria-spinbutton.html.
- platform/mac/accessibility/bounds-for-range-expected.txt: Renamed from LayoutTests/accessibility/bounds-for-range-expected.txt.
- platform/mac/accessibility/bounds-for-range.html: Renamed from LayoutTests/accessibility/bounds-for-range.html.
- platform/mac/accessibility/content-editable-expected.txt: Renamed from LayoutTests/accessibility/content-editable-expected.txt.
- platform/mac/accessibility/content-editable.html: Renamed from LayoutTests/accessibility/content-editable.html.
- platform/mac/accessibility/document-attributes-expected.txt: Renamed from LayoutTests/accessibility/document-attributes-expected.txt.
- platform/mac/accessibility/document-attributes.html: Renamed from LayoutTests/accessibility/document-attributes.html.
- platform/mac/accessibility/document-links-expected.txt: Renamed from LayoutTests/accessibility/document-links-expected.txt.
- platform/mac/accessibility/document-links.html: Renamed from LayoutTests/accessibility/document-links.html.
- platform/mac/accessibility/double-title-expected.txt: Renamed from LayoutTests/accessibility/double-title-expected.txt.
- platform/mac/accessibility/double-title.html: Renamed from LayoutTests/accessibility/double-title.html.
- platform/mac/accessibility/frame-with-title-expected.txt: Renamed from LayoutTests/accessibility/frame-with-title-expected.txt.
- platform/mac/accessibility/frame-with-title.html: Renamed from LayoutTests/accessibility/frame-with-title.html.
- platform/mac/accessibility/image-map1-expected.txt: Renamed from LayoutTests/accessibility/image-map1-expected.txt.
- platform/mac/accessibility/image-map2-expected.txt: Renamed from LayoutTests/accessibility/image-map2-expected.txt.
- platform/mac/accessibility/input-image-url-expected.txt: Renamed from LayoutTests/accessibility/input-image-url-expected.txt.
- platform/mac/accessibility/input-image-url.html: Renamed from LayoutTests/accessibility/input-image-url.html.
- platform/mac/accessibility/internal-link-anchors-expected.txt: Renamed from LayoutTests/accessibility/internal-link-anchors-expected.txt.
- platform/mac/accessibility/internal-link-anchors.html: Renamed from LayoutTests/accessibility/internal-link-anchors.html.
- platform/mac/accessibility/internal-link-anchors2-expected.txt: Renamed from LayoutTests/accessibility/internal-link-anchors2-expected.txt.
- platform/mac/accessibility/legend-expected.txt: Renamed from LayoutTests/accessibility/legend-expected.txt.
- platform/mac/accessibility/plugin-expected.txt: Renamed from LayoutTests/accessibility/plugin-expected.txt.
- platform/mac/accessibility/radio-button-group-members-expected.txt: Renamed from LayoutTests/accessibility/radio-button-group-members-expected.txt.
- platform/mac/accessibility/resources/cake.png: Copied from LayoutTests/accessibility/resources/cake.png.
- platform/mac/accessibility/resources/test.swf: Renamed from LayoutTests/accessibility/resources/test.swf.
- platform/mac/accessibility/table-one-cell-expected.txt: Renamed from LayoutTests/accessibility/table-one-cell-expected.txt.
- 4:30 PM Changeset in webkit [41750] by
- 7 edits in trunk/WebKit
2009-03-16 Darin Adler <firstname.lastname@example.com>
Reviewed by Dan Bernstein.
- English.lproj/Localizable.strings: Updated.
- StringsNotToBeLocalized.txt: Updated for recent changes.
2009-03-16 Darin Adler <email@example.com>
Reviewed by Dan Bernstein.
<rdar://problem/6577174> Rename the text directionality submenus to "Paragraph Direction" and "Selection Direction"
- WebCoreSupport/WebViewFactory.mm: (-[WebViewFactory contextMenuItemTagParagraphDirectionMenu]): Changed string here, but only post-Leopard, since we want this to match the Mac OS X menu on Tiger and Leopard. (-[WebViewFactory contextMenuItemTagSelectionDirectionMenu]): Changed string here.
2009-03-16 Darin Adler <firstname.lastname@example.com>
Reviewed by Dan Bernstein.
<rdar://problem/6577174> Rename the text directionality submenus to "Paragraph Direction" and "Selection Direction"
For now, change only the localized strings, not the terminology in the code.
- WebCoreLocalizedStrings.cpp: (WebCore::contextMenuItemTagWritingDirectionMenu): Changed string here. (WebCore::contextMenuItemTagTextDirectionMenu): And here.
- 4:15 PM Changeset in webkit [41749] by
- 3 edits2 adds in trunk
2009-03-16 Darin Adler <email@example.com>
Reviewed by Adele Peterson.
Bug 24629: moving forward or backward a paragraph fails at edge of document
Test: editing/selection/move-paragraph-document-edges.html
- editing/visible_units.cpp: (WebCore::previousParagraphPosition): Use the last result from previousLinePosition rather than going all the way back to what was originally passed in when we hit exception cases like null or not moving. This correctly inherits the behavior of previousLinePosition when we are in a paragraph at the edge of a document. (WebCore::nextParagraphPosition): Ditto.
2009-03-16 Darin Adler <email@example.com>
Reviewed by Adele Peterson.
Bug 24629: moving forward or backward a paragraph fails at edge of document
- editing/selection/move-paragraph-document-edges-expected.txt: Added.
- editing/selection/move-paragraph-document-edges.html: Added.
- 3:41 PM Changeset in webkit [41748] by
- 3 edits in trunk/WebCore
2009-03-16 Darin Adler <firstname.lastname@example.com>
Reviewed by Adele Peterson.
Bug 24619: RenderObject::selectionStartEnd does not need to be a virtual function
- rendering/RenderObject.h: Remove virtual keyword from selectionStartEnd declaration.
- rendering/RenderView.h: Ditto.
- 3:37 PM Changeset in webkit [41747] by
- 4 edits in trunk/WebKit/gtk
2009-03-16 Christian Dywan <firstname.lastname@example.com>
Reviewed by Adam Roben.
[gtk] API implementation: url and title
- WebCoreSupport/FrameLoaderClientGtk.cpp: (WebKit::FrameLoaderClient::dispatchDidChangeLocationWithinPage): (WebKit::FrameLoaderClient::dispatchDidReceiveTitle): (WebKit::FrameLoaderClient::dispatchDidCommitLoad):
- webkit/webkitwebview.cpp:
- webkit/webkitwebview.h: Implement "title" and "uri" properties as well as according functions. "uri" always reflects the current location including navigation inside the same page. title-changed is deprecated.
- 3:19 PM Changeset in webkit [41746] by
- 10 edits in trunk/WebCore
2009-03-16 Peter Kasting <email@example.com>
Reviewed by David Hyatt.
DOM scroll events should be based off the actual number of wheel
ticks, not off the number of lines scrolled. This matches IE.
- dom/Node.cpp: (WebCore::Node::dispatchWheelEvent):
- dom/WheelEvent.cpp: (WebCore::WheelEvent::WheelEvent):
- dom/WheelEvent.h: (WebCore::WheelEvent::create):
- platform/PlatformWheelEvent.h: (WebCore::PlatformWheelEvent::wheelTicksX): (WebCore::PlatformWheelEvent::wheelTicksY):
- platform/gtk/WheelEventGtk.cpp: (WebCore::PlatformWheelEvent::PlatformWheelEvent):
- platform/mac/WheelEventMac.mm: (WebCore::PlatformWheelEvent::PlatformWheelEvent):
- platform/qt/WheelEventQt.cpp:
- platform/win/WheelEventWin.cpp: (WebCore::PlatformWheelEvent::PlatformWheelEvent):
- platform/wx/MouseWheelEventWx.cpp: (WebCore::PlatformWheelEvent::PlatformWheelEvent):
- 3:07 PM Changeset in webkit [41745] by
- 3 edits in trunk/WebCore
2009-03-16 Simon Fraser <email@example.com>
Reviewed by Eric Seidel
Clean up a few issues in the Animation code:
- page/animation/AnimationBase.cpp: (WebCore::AnimationBase::updateStateMachine): Whitespace
Don't round to float, use std::max
- page/animation/AnimationController.cpp: (WebCore::AnimationControllerPrivate::startTimeResponse): Fix erroneously copied line to null out m_lastResponseWaiter.
- 2:58 PM Changeset in webkit [41744] by
- 2 edits in trunk/WebKit/mac
2009-03-16 Anders Carlsson <firstname.lastname@example.com>
Reviewed by Oliver Hunt.
Don't mig_deallocate random data in case an instance proxy method returns false.
- Plugins/Hosted/NetscapePluginHostProxy.mm: (WKPCEvaluate): (WKPCInvoke): (WKPCInvokeDefault): (WKPCGetProperty): (WKPCEnumerate):
- 2:49 PM Changeset in webkit [41743] by
- 2 edits in trunk/WebKitTools
2009-03-16 Anders Carlsson <email@example.com>
Reviewed by Darin Adler and John Sullivan.
When a plug-in instance is torn down, all plug-in objects will first be invalidated and then deallocated.
Since objects can be deallocated in any order, it is not safe to call NPN_ReleaseObject on member variables.
Instead, just zero out the member variable in invalidate.
- DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp: (pluginInvalidate): (pluginDeallocate):
- 2:34 PM Changeset in webkit [41742] by
- 63 edits in trunk
2009-03-12 David Hyatt <email@example.com>
Reviewed by Eric Seidel
Overflow scrolling needs to account for the bottom/right padding on the object itself as well
as for bottom/right margins on children.
Existing tests cover this.
- rendering/RenderBlock.cpp: (WebCore::RenderBlock::lowestPosition): (WebCore::RenderBlock::rightmostPosition):
2009-03-16 David Hyatt <email@example.com>
Reviewed by Eric Seidel
Overflow scrolling needs to account for the bottom/right padding on the object itself as well
as for bottom/right margins on children.
- platform/mac/fast/body-propagation/overflow/002-expected.checksum:
- platform/mac/fast/body-propagation/overflow/002-expected.png:
- platform/mac/fast/body-propagation/overflow/002-expected.txt:
- platform/mac/fast/body-propagation/overflow/002-xhtml-expected.checksum:
- platform/mac/fast/body-propagation/overflow/002-xhtml-expected.png:
- platform/mac/fast/body-propagation/overflow/002-xhtml-expected.txt:
- platform/mac/fast/body-propagation/overflow/003-declarative-expected.checksum:
- platform/mac/fast/body-propagation/overflow/003-declarative-expected.png:
- platform/mac/fast/body-propagation/overflow/003-declarative-expected.txt:
- platform/mac/fast/body-propagation/overflow/003-expected.checksum:
- platform/mac/fast/body-propagation/overflow/003-expected.png:
- platform/mac/fast/body-propagation/overflow/003-expected.txt:
- platform/mac/fast/body-propagation/overflow/003-xhtml-expected.checksum:
- platform/mac/fast/body-propagation/overflow/003-xhtml-expected.png:
- platform/mac/fast/body-propagation/overflow/003-xhtml-expected.txt:
- platform/mac/fast/body-propagation/overflow/004-declarative-expected.checksum:
- platform/mac/fast/body-propagation/overflow/004-declarative-expected.png:
- platform/mac/fast/body-propagation/overflow/004-declarative-expected.txt:
- platform/mac/fast/body-propagation/overflow/004-expected.checksum:
- platform/mac/fast/body-propagation/overflow/004-expected.png:
- platform/mac/fast/body-propagation/overflow/004-expected.txt:
- platform/mac/fast/body-propagation/overflow/004-xhtml-expected.checksum:
- platform/mac/fast/body-propagation/overflow/004-xhtml-expected.png:
- platform/mac/fast/body-propagation/overflow/004-xhtml-expected.txt:
- platform/mac/fast/body-propagation/overflow/007-declarative-expected.checksum:
- platform/mac/fast/body-propagation/overflow/007-declarative-expected.png:
- platform/mac/fast/body-propagation/overflow/007-declarative-expected.txt:
- platform/mac/fast/body-propagation/overflow/007-expected.checksum:
- platform/mac/fast/body-propagation/overflow/007-expected.png:
- platform/mac/fast/body-propagation/overflow/007-expected.txt:
- platform/mac/fast/body-propagation/overflow/007-xhtml-expected.checksum:
- platform/mac/fast/body-propagation/overflow/007-xhtml-expected.png:
- platform/mac/fast/body-propagation/overflow/007-xhtml-expected.txt:
- platform/mac/fast/forms/basic-textareas-expected.txt:
- platform/mac/fast/forms/input-disabled-color-expected.txt:
- platform/mac/fast/forms/input-readonly-autoscroll-expected.checksum:
- platform/mac/fast/forms/input-readonly-autoscroll-expected.png:
- platform/mac/fast/forms/input-readonly-autoscroll-expected.txt:
- platform/mac/fast/forms/input-readonly-dimmed-expected.txt:
- platform/mac/fast/forms/linebox-overflow-in-textarea-padding-expected.checksum:
- platform/mac/fast/forms/linebox-overflow-in-textarea-padding-expected.png:
- platform/mac/fast/forms/linebox-overflow-in-textarea-padding-expected.txt:
- platform/mac/fast/overflow/003-expected.checksum:
- platform/mac/fast/overflow/003-expected.png:
- platform/mac/fast/overflow/003-expected.txt:
- platform/mac/fast/overflow/004-expected.checksum:
- platform/mac/fast/overflow/004-expected.png:
- platform/mac/fast/overflow/007-expected.checksum:
- platform/mac/fast/overflow/007-expected.png:
- platform/mac/fast/overflow/007-expected.txt:
- platform/mac/fast/overflow/clip-rects-fixed-ancestor-expected.txt:
- platform/mac/fast/repaint/selection-gap-overflow-scroll-expected.checksum:
- platform/mac/fast/repaint/selection-gap-overflow-scroll-expected.png:
- platform/mac/fast/repaint/selection-gap-overflow-scroll-expected.txt:
- platform/mac/fast/replaced/width100percent-textarea-expected.checksum:
- platform/mac/fast/replaced/width100percent-textarea-expected.png:
- platform/mac/fast/replaced/width100percent-textarea-expected.txt:
- platform/mac/scrollbars/overflow-scrollbar-combinations-expected.txt:
- platform/mac/tables/mozilla/bugs/bug83786-expected.txt:
- platform/mac/tables/mozilla_expected_failures/bugs/bug106966-expected.txt:
- 2:19 PM Changeset in webkit [41741] by
- 3 edits2 adds in trunk
2009-03-16 Sam Weinig <firstname.lastname@example.com>
Reviewed by Anders Carlsson.
Fix for <rdar://problem/6320555>
Add an upper limit for setting HTMLSelectElement.length.
Test: fast/forms/select-max-length.html
- html/HTMLSelectElement.cpp: (WebCore::HTMLSelectElement::setOption): (WebCore::HTMLSelectElement::setLength):
2009-03-16 Sam Weinig <email@example.com>
Reviewed by Anders Carlsson.
Test for <rdar://problem/6320555>
Add an upper limit for setting HTMLSelectElement.length.
- fast/forms/select-max-length-expected.txt: Added.
- fast/forms/select-max-length.html: Added.
- 1:56 PM Changeset in webkit [41740] by
- 2 edits in trunk/WebKitTools
Reviewed by Sam Weinig.
REGRESSION: undo-iframe-location-change.html is failing on the buildbots
Added a call to [[webview undoManager] removeAllActions]
to make sure anything left on the undo stack after one test
will not affect any later test.
- DumpRenderTree/mac/DumpRenderTree.mm: (resetWebViewToConsistentStateBeforeTesting):
- 1:09 PM Changeset in webkit [41739] by
- 2 edits in trunk/WebKit/mac
2009-03-16 Anders Carlsson <firstname.lastname@example.com>
Reviewed by Oliver Hunt.
REGRESSION (Safari 4 PB): Many crashes in Flip4Mac involving loading the plugin
Defer loading while calling webPlugInInitialize since it can end up spinning the run loop.
- Plugins/WebPluginController.mm: (-[WebPluginController addPlugin:]):
- 1:03 PM Changeset in webkit [41738] by
- 4 edits in trunk/WebKit/win
Add IWebFramePrivate::isDisplayingStandaloneImage
This uses the same logic that -[WebFrame _isDisplayingStandaloneImage]
Reviewed by Darin Adler.
- Interfaces/IWebFramePrivate.idl: Added isDisplayingStandaloneImage.
- WebFrame.cpp: (WebFrame::isDisplayingStandaloneImage): Added. Returns true if our Document is an image document.
- WebFrame.h: Added isDisplayingStandaloneImage.
- 12:56 PM Changeset in webkit [41737] by
- 2 edits in trunk/WebCore
2009-03-16 Eric Carlson <firstname.lastname@example.com>
Reviewed by Simon Fraser.
<rdar://problem/6686721> Media document crash in 64-bit WebKit
- platform/graphics/mac/MediaPlayerPrivateQTKit.mm: (WebCore::MediaPlayerPrivate::createQTMovieView): QTMovieContentViewClass is only used when rendering inline with old versions of QuickTime, so don't look for it when we are in a media document.
- 12:55 PM Changeset in webkit [41736] by
- 3 edits in trunk/LayoutTests
2009-03-16 Pamela Greene <firstname.lastname@example.com>
Reviewed by Dimitri Glazkov.
Remove test dependency on precise window location and size. It's not
clear to me why these vary, but they're not what the test is checking,
so it need not depend on them in any case.
- fast/dom/Window/window-lookup-precedence-expected.txt:
- fast/dom/Window/window-lookup-precedence.html:
- 11:54 AM Changeset in webkit [41735] by
- 2 edits in trunk/WebKit/mac
2009-03-16 Anders Carlsson <firstname.lastname@example.com>
Reviewed by Sam Weinig.
Fix <rdar://problem/6622601>
Make sure to update both the window frame and the plug-in frame.
- Plugins/Hosted/WebHostedNetscapePluginView.mm: (-[WebHostedNetscapePluginView addWindowObservers]):
- 9:47 AM Changeset in webkit [41734] by
- 9 edits in trunk/WebCore
2009-03-16 Dimitri Glazkov <Dimitri Glazkov>
Reviewed by Timothy Hatcher.
Refactor InspectorDOMStorageResource to use ScriptFunctionCall.
- bindings/js/ScriptFunctionCall.cpp: (WebCore::ScriptFunctionCall::appendArgument): Added method for bool argument.
- bindings/js/ScriptFunctionCall.h: Ditto, also cleaned up.
- bindings/js/ScriptObjectQuarantine.cpp: (WebCore::getQuarantinedScriptObject): Added Storage helper.
- bindings/js/ScriptObjectQuarantine.h: Ditto.
- inspector/InspectorController.cpp: (WebCore::InspectorController::populateScriptObjects): Changed to use bind method. (WebCore::InspectorController::resetScriptObjects): Changed to use unbind method. (WebCore::InspectorController::didUseDOMStorage): Changed to use isSameHostAndType and bind methods.
- inspector/InspectorController.h: Removed add/remove methods for DOM storage.
- inspector/InspectorDOMStorageResource.cpp: (WebCore::InspectorDOMStorageResource::InspectorDOMStorageResource): (WebCore::InspectorDOMStorageResource::isSameHostAndType): Added. (WebCore::InspectorDOMStorageResource::bind): Added. (WebCore::InspectorDOMStorageResource::unbind): Added.
- inspector/InspectorDOMStorageResource.h:
- 9:13 AM Changeset in webkit [41733] by
- 2 edits in trunk/WebCore
2009-03-16 Mike Belshe <firstname.lastname@example.com>
Reviewed by Dimitri Glazkov.
Fix query() to match KURL behavior, this time with the code that
- platform/KURLGoogle.cpp: (WebCore::KURL::query): Fix copy/paste mistake.
- 12:39 AM Changeset in webkit [41732] by
- 12 edits3 adds in trunk
Reviewed by Darin Adler.
REGRESSION: referencing XHR constructor for a not yet loaded frame permanently breaks it
Test: fast/dom/Window/window-early-properties-xhr.html
For some transitions, the Window object is not replaced, but Document is. When this happened,
window.document property was updated, but references to Document kept in cached constructors
were not.
- bindings/js/JSAudioConstructor.cpp: (WebCore::JSAudioConstructor::JSAudioConstructor): (WebCore::JSAudioConstructor::document): (WebCore::JSAudioConstructor::mark):
- bindings/js/JSAudioConstructor.h:
- bindings/js/JSImageConstructor.cpp: (WebCore::JSImageConstructor::JSImageConstructor): (WebCore::JSImageConstructor::document): (WebCore::JSImageConstructor::mark):
- bindings/js/JSImageConstructor.h:
- bindings/js/JSMessageChannelConstructor.cpp: (WebCore::JSMessageChannelConstructor::JSMessageChannelConstructor): (WebCore::JSMessageChannelConstructor::scriptExecutionContext): (WebCore::JSMessageChannelConstructor::mark):
- bindings/js/JSMessageChannelConstructor.h:
- bindings/js/JSOptionConstructor.cpp: (WebCore::JSOptionConstructor::JSOptionConstructor): (WebCore::JSOptionConstructor::document): (WebCore::JSOptionConstructor::mark):
- bindings/js/JSOptionConstructor.h:
- bindings/js/JSXMLHttpRequestConstructor.cpp: (WebCore::JSXMLHttpRequestConstructor::JSXMLHttpRequestConstructor): (WebCore::JSXMLHttpRequestConstructor::scriptExecutionContext): (WebCore::JSXMLHttpRequestConstructor::mark):
- bindings/js/JSXMLHttpRequestConstructor.h: Changed cached constructors to keep a reference to Window, not Document.
- 12:12 AM Changeset in webkit [41731] by
- 2 edits in trunk/WebCore
Reviewed by Darin Adler.
Impose a limit on Access-Control-Max-Age value
- loader/CrossOriginPreflightResultCache.cpp: (WebCore::CrossOriginPreflightResultCacheItem::parse):