Timeline
Feb 7, 2008:
- 11:18 PM Changeset in webkit [30087] by
-
- 5 edits in trunk
Kimmo Kinnunen <Kimmo Kinnunen>
Reviewed by Tim Hatcher.
Fixes: http://bugs.webkit.org/show_bug.cgi?id=17191
HTML5: Client-side database queries should return values of type number
Test: storage/sql-data-types.html
Make the DB queries return a value as a number if it was inserted
as a number to the database.
- platform/sql/SQLiteStatement.cpp:
(WebCore::SQLiteStatement::getColumnValue): new member function to return SQLValues
- platform/sql/SQLiteStatement.h:
- storage/SQLStatement.cpp:
(WebCore::SQLStatement::execute): use getColumnValue instead of getColumnText
- 10:36 PM Changeset in webkit [30086] by
-
- 7 edits1 add in trunk/WebKit/win
<rdar://problem/5292433> certificate authentication support broken in Safari 3.0
Added mechanism to communicate client certificate info back to CFNetwork.
Reviewed by Adam.
- Interfaces/IWebError.idl: Added new WebURLErrorClientCertificateRequired error.
- Interfaces/IWebMutableURLRequestPrivate.idl: Added. Added method to set client certificate info on the request.
- WebKit.vcproj/Interfaces.vcproj: Added new idl.
- WebKit.vcproj/WebKit.vcproj: Link crypt32.lib
- WebKit.vcproj/WebKitGUID.vcproj:
- WebMutableURLRequest.cpp: (WebMutableURLRequest::QueryInterface): Implements IWebMutableURLRequestPrivate. (deallocCertContext): Free certificate context. (copyCert): Duplicate the certificate context and returns it in a CFDataRef. (WebMutableURLRequest::setClientCertificate):
- WebMutableURLRequest.h:
- 10:33 PM Changeset in webkit [30085] by
-
- 3 edits in trunk/WebCore
<rdar://problem/5292433> certificate authentication support broken in Safari 3.0
Added mechanism to communicate client certificate info back to CFNetwork.
Reviewed by Adam.
- platform/network/ResourceHandle.h:
- platform/network/cf/ResourceHandleCFNet.cpp: (WebCore::clientCerts): Keep a mapping of hosts to client certificates. (WebCore::makeFinalRequest): If we have a client certificate for the host, pass it to CFNetwork by setting it in the SSL properties. (WebCore::ResourceHandle::setClientCertificate): Map client certificate to the host.
- 10:29 PM Changeset in webkit [30084] by
-
- 4 edits in trunk/WebKitLibraries
Added 4 new methods:
wkSetClientCertificateInSSLProperties,
wkCanAccessCFURLRequestHTTPBodyParts,
wkCFURLRequestCopyHTTPRequestBodyParts,
wkCFURLRequestSetHTTPRequestBodyParts
Rubber-stamped by Steve.
- win/include/WebKitSystemInterface/WebKitSystemInterface.h:
- win/lib/WebKitSystemInterface.lib:
- win/lib/WebKitSystemInterface_debug.lib:
- 10:01 PM Changeset in webkit [30083] by
-
- 2 edits in trunk/WebKitSite
Rubber stamped by weinig and bdash.
Update prototype.js to 1.6.0.2 to be a bit less unfair in comparative benchmarking.
- perf/slickspeed/frameworks/prototype.js:
- 3:54 PM Changeset in webkit [30082] by
-
- 2 edits in trunk/WebCore
Qt build fix
- platform/SharedBuffer.cpp: Removed a stub implementation of createWithContentsOfFile, now that each platform has its own stub.
- 3:34 PM Changeset in webkit [30081] by
-
- 2 edits in trunk/WebCore
Fix Bug 17138: REGRESSION: Node highlight not updated properly
<http://bugs.webkit.org/show_bug.cgi?id=17138>
<rdar://problem/5719869>
Reviewed by Darin.
No test possible.
- page/InspectorController.cpp: (WebCore::InspectorController::drawNodeHighlight): Update the overlayRect after scrolling to make sure that we translate the context by the correct amount.
- 3:29 PM Changeset in webkit [30080] by
-
- 3 edits in trunk/WebCore
Qt and GTK+ build fixes
- platform/gtk/FileSystemGtk.cpp: Added a missing #include.
- platform/qt/FileSystemQt.cpp: Ditto.
- 3:19 PM Changeset in webkit [30079] by
-
- 4 edits2 adds in trunk/WebCore
Some cleanup of Mac-only user stylesheet code
I moved UserStyleSheetLoader out of Frame.cpp into its own files, and
moved some Mac-only Frame methods to FrameMac.mm.
Reviewed by Darin.
- WebCore.xcodeproj/project.pbxproj: Added new files to project.
- loader/mac/UserStyleSheetLoader.cpp: Added. (UserStyleSheetLoader::UserStyleSheetLoader): (UserStyleSheetLoader::~UserStyleSheetLoader):
- loader/mac/UserStyleSheetLoader.h: Added.
- page/Frame.cpp: Removed setUserStyleSheet[Location]
- page/mac/FrameMac.mm: (WebCore::Frame::setUserStyleSheetLocation): Moved here from Frame.cpp. (WebCore::Frame::setUserStyleSheet): Ditto.
- 3:19 PM Changeset in webkit [30078] by
-
- 23 edits in trunk/WebCore
Fix <rdar://5555260> GMail never loads when a user stylesheet is specified
The fix in r29841 did not guarantee that the user stylesheet would not
still be loading by the time GMail called document.write, and so was
not a complete fix.
This change reworks the user stylesheet loading mechanism on non-Mac
platforms to load the stylesheet synchronously from disk, and then
keeps it in memory. This obsoletes the issue of what our behavior
should be before the user stylesheet has loaded and what should happen
when it finishes loading, as the user stylesheet will always be
available when the Document first asks for it. Note, however, that
this removes the ability to specify a non-file: URL for the user
stylesheet. This change was not made for the Mac platform because it's
possible that WebKit clients are relying on non-file: URLs for user
stylesheets. It would also be nice to move back to an asynchronous
loading model someday, but that is not currently possible since we
don't have an asynchronous loading mechanism that is not tied to a
particular Frame.
The responsibility of loading and storing the user stylesheet has
moved from Frame to Page, since the user stylesheet URL is set on the
Page-level Settings object.
Reviewed by Darin.
- dom/Document.cpp: (WebCore::Document::Document): Changed to call userStyleSheet(). (WebCore::Document::setUserStyleSheet): Made Mac-only. (WebCore::Document::userStyleSheet): Changed to call up to Page on non-Mac platforms. (WebCore::Document::recalcStyleSelector): Changed to call userStyleSheet().
- dom/Document.h:
- Made setUserStyleSheet and the m_usersheet member Mac-only
- Changed userStyleSheet to return a String instance instead of a String reference, since we now might return a new null String.
- loader/FrameLoader.cpp: (WebCore::FrameLoader::begin): Made the call to Frame::setUserStyleSheetLocation Mac-only.
- page/Frame.cpp: Made UserStyleSheetLoader and related code Mac-only. (WebCore::Frame::~Frame): Ditto. (WebCore::Frame::reapplyStyles): Made the call to setUserStyleSheet[Location] Mac-only. On non-Mac platforms the Document will pick up the new stylesheet in Document::reapplyStyles. (WebCore::FramePrivate::FramePrivate): Made m_userStyleSheetLoader Mac-only.
- page/Frame.h: Made setUserStyleSheet[Location] Mac-only.
- page/FramePrivate.h: Made m_userStyleSheetLoader Mac-only.
- page/Page.cpp: (WebCore::Page::Page): Initialize new members. (WebCore::Page::userStyleSheetLocationChanged): Added. Does nothing on Mac. On non-Mac, resets all members relating to the user stylesheet so we'll know to load it again the next time it's asked for. (WebCore::Page::userStyleSheet): Added. Loads the user stylesheet if the user stylesheet location has changed since the last time we loaded it, or if the file has been modified since we last loaded it, then returns the contents of the user stylesheet as a String.
- page/Page.h: Added new methods/members.
- page/Settings.cpp: (WebCore::Settings::setUserStyleSheetLocation): Changed to call Page::userStyleSheetLocationChanged.
- page/Settings.h: Changed userStyleSheetLocation to return the KURL by reference instead of making a copy.
- platform/FileSystem.h: Added declaration for getFileModificationTime.
- platform/KURL.h: Added declaration for fileSystemPath method.
- platform/cf/KURLCFNet.cpp: (WebCore::KURL::fileSystemPath): Added.
- platform/posix/FileSystemPOSIX.cpp: (WebCore::getFileModificationTime): Added.
- platform/qt/KURLQt.cpp: (WebCore::KURL::fileSystemPath): Stubbed out.
- platform/win/FileSystemWin.cpp: (WebCore::getFileModificationTime): Added.
- platform/qt/FileSystemQt.cpp: Stubbed out getFileModificationTime.
- platform/gtk/FileSystemGtk.cpp: Ditto.
- platform/wx/FileSystemWx.cpp: Ditto.
- platform/qt/TemporaryLinkStubs.cpp: Stubbed out SharedBuffer::createWithContentsOfFile.
- platform/gtk/TemporaryLinkStubs.cpp: Ditto, along with KURL::fileSystemPath.
- platform/wx/TemporaryLinkStubs.cpp: Ditto.
- 3:18 PM Changeset in webkit [30077] by
-
- 2 edits in trunk/WebCore
Clean up FileSystemWin.cpp
This cleanup also makes us call _wstat64 instead of _wstat32i64. The
only difference between these two functions is that _wstat64 gives
64-bit time values, while _wstat32i64 only gives 32-bit time values.
Reviewed by Darin.
All tests pass.
- platform/win/FileSystemWin.cpp: (WebCore::statFile): New static helper that wraps _wstat64. (WebCore::fileSize): Changed to call statFile. (WebCore::fileExists): Ditto.
- 3:18 PM Changeset in webkit [30076] by
-
- 12 edits in trunk/WebCore
Rename fileSize to getFileSize
Rubberstamped by Darin.
- platform/FileSystem.h:
- platform/gtk/FileSystemGtk.cpp:
- platform/network/cf/FormDataStreamCFNet.cpp: (WebCore::setHTTPBody):
- platform/network/curl/ResourceHandleManager.cpp: (WebCore::ResourceHandleManager::setupPOST):
- platform/posix/FileSystemPOSIX.cpp:
- platform/qt/FileSystemQt.cpp:
- platform/win/FileSystemWin.cpp:
- platform/wx/FileSystemWx.cpp:
- storage/Database.cpp: (WebCore::Database::databaseSize):
- storage/DatabaseTracker.cpp: (WebCore::DatabaseTracker::usageForDatabase):
- storage/OriginUsageRecord.cpp: (WebCore::OriginUsageRecord::diskUsage):
- 3:17 PM Changeset in webkit [30075] by
-
- 2 edits in trunk/WebCore
Make KURL::isLocalFile treat the URL's protocol case-insensitively
Reviewed by Darin.
- platform/KURL.cpp: (WebCore::KURL::isLocalFile): Use equalIgnoringCase instead of ==.
- 2:35 PM Changeset in webkit [30074] by
-
- 1 copy in branches/Safari-3-1-branch
New branch.
- 2:10 PM Changeset in webkit [30073] by
-
- 2 edits in trunk/SunSpider
Reviewed by Sam.
- sunspider: add an error message when ./tests/LIST is not found
- 1:32 PM Changeset in webkit [30072] by
-
- 2 edits in trunk/WebKitSite
Rubber stamped by Mark Rowe
Fix a duplicate selector in the test.
- perf/slickspeed/selectors.list:
- 1:19 PM Changeset in webkit [30071] by
-
- 2 edits in trunk/WebKitSite
Reviewed by Adam Roben.
Added :nth-child and :last-child to the list of selectors to test.
- perf/slickspeed/selectors.list:
- 12:26 PM wxWebKit edited by
- (diff)
- 12:22 PM wxWebKit created by
- 12:20 PM WikiStart edited by
- add wx port to wiki (diff)
- 12:14 PM Changeset in webkit [30070] by
-
- 2 adds in trunk/LayoutTests
- 12:13 PM Changeset in webkit [30069] by
-
- 9 edits in trunk/WebCore
Fix for bug 6248, implement the nth-* CSS3 selectors. Patch based on original KHTML work from Allan Jensen
and improved upon by Nick Shanks.
Reviewed by Eric
- css/CSSGrammar.y:
- css/CSSParser.cpp: (WebCore::CSSParser::lex):
- css/CSSSelector.cpp: (WebCore::CSSSelector::extractPseudoType):
- css/CSSSelector.h: (WebCore::CSSSelector::):
- css/CSSStyleSelector.cpp: (WebCore::parseNth): (WebCore::matchNth): (WebCore::CSSStyleSelector::checkOneSelector):
- css/tokenizer.flex:
- rendering/RenderStyle.cpp: (WebCore::RenderStyle::RenderStyle):
- rendering/RenderStyle.h: (WebCore::RenderStyle::childIndex): (WebCore::RenderStyle::setChildIndex):
- 11:08 AM Changeset in webkit [30068] by
-
- 2 edits in trunk/WebKitTools
Fix error in bisect-builds when responding "broken" for the first build
Reviewed by Dave Kilzer.
- Scripts/bisect-builds: Only try to test the build if the nightly info for the current index has not been deleted.
- 9:01 AM Changeset in webkit [30067] by
-
- 3 edits4 adds in trunk
WebCore:
Reviewed by Dave Hyatt.
- fix <rdar://problem/5729411> REGRESSION (r29834): Float contained in relative-positioned block is painted twice
Test: fast/block/float/relative-painted-twice.html
- rendering/RenderBlock.cpp: (WebCore::RenderBlock::addOverhangingFloats): Added another case where the child should not take over painting the float: when they do not have the same enclosing layer. In that case, the float is already being painted by one of its closer ancestors.
LayoutTests:
Reviewed by Dave Hyatt.
- test for <rdar://problem/5729411> REGRESSION (r29834): Float contained in relative-positioned block is painted twice
- fast/block/float/relative-painted-twice.html: Added.
- platform/mac-leopard/fast/block/float/relative-painted-twice-expected.checksum: Added.
- platform/mac-leopard/fast/block/float/relative-painted-twice-expected.png: Added.
- platform/mac/fast/block/float/relative-painted-twice-expected.txt: Added.
- 8:59 AM Changeset in webkit [30066] by
-
- 3 edits4 adds in trunk
WebCore:
Reviewed by Darin Adler.
- fix http://bugs.webkit.org/show_bug.cgi?id=17194 Changing text to bold changes font family
Test: platform/mac/fast/text/family-for-font-matched-by-name.html
- platform/mac/WebFontCache.mm: (+[WebFontCache internalFontWithFamily:traits:size:]): Changed to use the family of the font whose name matches the desired family if there is no exact family match.
LayoutTests:
Reviewed by Darin Adler.
- test for http://bugs.webkit.org/show_bug.cgi?id=17194 Changing text to bold changes font family
- platform/mac/fast/text/family-for-font-matched-by-name-expected.checksum: Added.
- platform/mac/fast/text/family-for-font-matched-by-name-expected.png: Added.
- platform/mac/fast/text/family-for-font-matched-by-name-expected.txt: Added.
- platform/mac/fast/text/family-for-font-matched-by-name.html: Added.
- 7:06 AM Changeset in webkit [30065] by
-
- 4 edits2 adds in trunk
WebCore:
Reviewed by Geoff.
Fix for <rdar://problem/5697882> Traffic or Street View button on
Google Maps is sometimes not positioned correctly (17000)
On the Mac, timers fire in the order that they are registered.
Geoff and I discovered that this is not necessarily true on
Windows, and that turned out to be the cause of this intermittent
layout problem at Google Maps. This patch adds a new member
variable to Timer to remember the timer's insertion point into the
heap. Now when comparing timers, if two timers were registered at
the same time, their insertion orders are compared to determine
which should fire first. This code actually never runs on Debug
builds on the Mac; the system clock on the Mac is accurate enough
that it knows that the two timers were not registered at *exactly*
the same time. This is not the case on Windows. In theory, if we
sped up Javascript enough on the Mac, this code would run and would
prevent misrenderings such as the one found on Google Maps.
- platform/Timer.cpp: (WebCore::operator<): (WebCore::TimerBase::setNextFireTime):
- platform/Timer.h:
LayoutTests:
Test written by Geoff, reviewed by me.
Test for <rdar://problem/5697882> Traffic or Street View button on
Google Maps is sometimes not positioned correctly (17000)
- fast/dom/simultaneouslyRegsiteredTimerFireOrder-expected.txt: Added.
- fast/dom/simultaneouslyRegsiteredTimerFireOrder.html: Added.
- 5:59 AM Changeset in webkit [30064] by
-
- 2 edits in trunk/WebKitTools
Reviewed by Alexey Proskuryakov.
Fixed two minor typos in the --root option, to get it working.
- Scripts/run-sunspider:
- Actually assign the function argument to our local variable.
- Actually set the $root variable, so we don't try to build later.
- 2:08 AM Changeset in webkit [30063] by
-
- 2 edits2109 moves2086 adds in trunk/LayoutTests
Rubber stamped by Eric.
Move existing SVG baseline from platform/mac/ to platform/mac-tiger/ (I generated all of them using Tiger).
Regenerated new SVG baseline in platform/mac-leopard. platform/mac/svg is doesn't contain any test results anymore.
In a later step it should be investigated, which layout test results can be shared between Leopard & Tiger.
Those results should be moved to platform/mac/svg then.
Feb 6, 2008:
- 11:17 PM Changeset in webkit [30062] by
-
- 11 edits in trunk
WebCore:
Reviewed by Darin Adler.
<rdar://problem/5195056> Huge plain text pastes are slow
This was fixed in r27369 and then r29367 and r29667 caused performance to
regress.
- editing/EditCommand.cpp: (WebCore::EditCommand::apply): Only updateLayout() for high level commands. (WebCore::EditCommand::unapply): Ditto. (WebCore::EditCommand::reapply): Ditto.
- editing/Editor.cpp: (WebCore::Editor::appliedEditing): Added a note about shouldChangeSelection calls that shouldn't be made, a bug I filed as <rdar://problem/5729315>. (WebCore::Editor::unappliedEditing): Ditto. (WebCore::Editor::reappliedEditing): Ditto.
- editing/SelectionController.cpp: (WebCore::SelectionController::nodeWillBeRemoved): Don't try to test the selection base and extent with the expensive isCandidate operation if the node that will be removed is in a fragment, since such a removal is guaranteed to have no effect on a selection. This is to speed up the paste operation, which does many removes from a fragment.
LayoutTests:
Reviewed by Darin Adler.
<rdar://problem/5195056> Huge plain text pastes are slow
The changes made for this fix exposed several more cases of:
<rdar://problem/5729315> Some shouldChangeSelectedDOMRange contain Ranges for selections that are no longer valid
- platform/mac/editing/deleting/collapse-whitespace-3587601-fix-expected.txt:
- platform/mac/editing/deleting/delete-3608462-fix-expected.txt:
- platform/mac/editing/deleting/delete-4083333-fix-expected.txt:
- platform/mac/editing/execCommand/find-after-replace-expected.txt:
- platform/mac/editing/selection/move-between-blocks-no-001-expected.txt:
- platform/mac/editing/selection/replace-selection-1-expected.txt:
- 10:16 PM Changeset in webkit [30061] by
-
- 2 edits in trunk/LayoutTests
Landing updated (improved) results for this test. The results changed in r30013,
but this wasn't immediately noticed because of the test being on Leopard skipped list.
Interestingly, js-test-pre.js has a workaround for the issue fixed in this revision in
its debug() function, but not in description(). Keeping the workaround for now to let tests
keep running in shipping Safari/WebKit.
- svg/css/glyph-orientation-rounding-test-expected.txt:
- 8:12 PM Changeset in webkit [30060] by
-
- 4 edits in trunk/WebCore
Switch from directly handling wx scroll wheel events to handling the PlatformWheelEvent instead to give JS, etc. a chance to handle it.
http://bugs.webkit.org/show_bug.cgi?id=17179
- 8:00 PM Changeset in webkit [30059] by
-
- 2 edits in trunk/WebCore
2008-02-06 Mark Rowe <mrowe@apple.com>
Fix Windows builds.
- WebCore.vcproj/WebCore.vcproj: Unbreak the XML of the project file.
- 6:40 PM Changeset in webkit [30058] by
-
- 2 edits in trunk/WebCore
Mac build fix. Track rename that happened in r30056.
- 6:00 PM Changeset in webkit [30057] by
-
- 4 edits in trunk/LayoutTests
Fix expected output for layout tests to match tiger expected (and so work on the build bots)
RS=Stephanie
- 5:52 PM Changeset in webkit [30056] by
-
- 11 edits7 copies1 move6 adds in trunk/WebCore
2008-02-06 Brent Fulgham <bfulgham@gmail.com>
Reviewed by Adam Roben.
http://bugs.webkit.org/show_bug.cgi?id=16979
Conditionalize CoreGraphics vs Cairo support in Windows port.
- 5:36 PM Changeset in webkit [30055] by
-
- 4 edits in trunk/WebCore
Reviewed by Darin.
Change httpBodyFromStream to take the request instead of the stream.
- platform/network/cf/FormDataStreamCFNet.cpp: (WebCore::httpBodyFromRequest):
- platform/network/cf/FormDataStreamCFNet.h:
- platform/network/cf/ResourceRequestCFNet.cpp: (WebCore::ResourceRequest::doUpdateResourceRequest):
- 5:24 PM Changeset in webkit [30054] by
-
- 1 edit2 adds in trunk/WebCore
Reviewed by Darin.
- Added manual tests for <rdar://problem/5556374> REGRESSION: cross-domain error when one URL uses an explicit port number and another doesn't
- manual-tests/Default-port-frame.html: Added.
- manual-tests/resources/Default-port-frame-contents.html: Added.
- 2:23 PM Changeset in webkit [30053] by
-
- 2 edits in trunk/WebCore
Update build flags to fix windows build
- 2:03 PM Changeset in webkit [30052] by
-
- 5 edits7 deletes in trunk
WebCore:
Rubberstamped by Darin.
<rdar://problem/5727708> REGRESSION (r29952): Can't send message from Yahoo Mail beta
- Reverted the change that caused the regression.
- dom/Document.cpp: (WebCore::Document::createElement): (WebCore::Document::createElementNS): (WebCore::Document::getElementById): (WebCore::Document::parseQualifiedName): (WebCore::Document::createAttributeNS):
- dom/Document.idl:
LayoutTests:
Rubberstamped by Darin.
<rdar://problem/5727708> REGRESSION (r29952): Can't send message from Yahoo Mail beta
- Reverted the change that caused the regression.
- dom/xhtml/level3/core/documentsetstricterrorchecking02-expected.txt:
- fast/dom/Document/createAttributeNS-namespace-err-expected.txt: Removed.
- fast/dom/Document/createAttributeNS-namespace-err.html: Removed.
- fast/dom/Document/createElementNS-namespace-err-expected.txt: Removed.
- fast/dom/Document/createElementNS-namespace-err.html: Removed.
- fast/dom/Document/resources/TEMPLATE.html: Removed.
- fast/dom/Document/resources/createAttributeNS-namespace-err.js: Removed.
- fast/dom/Document/resources/createElementNS-namespace-err.js: Removed.
- 1:46 PM Changeset in webkit [30051] by
-
- 2 edits in trunk/JavaScriptCore
Reviewed by Oliver Hunt.
Added an ASSERT to catch refCount underflow, since it caused a leak in
my last check-in.
- wtf/RefCounted.h: (WTF::RefCounted::deref):
- 1:24 PM Changeset in webkit [30050] by
-
- 4 edits in trunk/WebCore
Reviewed by Oliver Hunt.
Fixed <rdar://problem/5728081> REGRESSION: Many leaks on buildbot
The problem was refCount underflow in NamedAttrMap.
Neither our regression tests nor the stress test have yet discovered
another instance of this problem.
- dom/NamedAttrMap.cpp: (WebCore::NamedAttrMap::addAttribute): Changed to use PassRefPtr, for fast and correct refCount management. Also, change a rediculously slow malloc to a slightly less rediculously slow realloc.
- dom/NamedAttrMap.h: (WebCore::NamedAttrMap::insertAttribute): Changed to use PassRefPtr, for fast and correct refCount management.
- html/HTMLTokenizer.cpp: (WebCore::Token::addAttribute): Use a RefPtr, to guarantee that the object starts with a refCount of 1.
- 1:21 PM Changeset in webkit [30049] by
-
- 1 edit in trunk/WebCore/page/InspectorController.cpp
Fix typo in comment added in r30047.
- 12:19 PM Changeset in webkit [30048] by
-
- 1 edit1180 adds in trunk
Dump of bugs.webkit.org's Bugzilla instance.
- 11:29 AM Changeset in webkit [30047] by
-
- 2 edits in trunk/WebCore
Reviewed by Tim Hatcher.
- fix <rdar://problem/5723293> NULL-deref crash in PropertyMap::put opening web inspector with View Source window as target
- page/InspectorController.cpp: (WebCore::canPassNodeToJavaScript): Added. Returns false if the node is in a document with JavaScript disabled. (WebCore::InspectorController::inspect): Check canPassNodeToJavaScript and do nothing if it returns false.
- 11:27 AM Changeset in webkit [30046] by
-
- 1 delete in trunk/LayoutTests/dom/xhtml/level2/html/object06.xhtml
Remove bad layout test.:
- 11:26 AM Changeset in webkit [30045] by
-
- 1 delete in trunk/LayoutTests/dom/html/level2/html/object06.html
Remove bad layout test.:
- 11:26 AM Changeset in webkit [30044] by
-
- 4 edits in trunk/WebCore
Fix for bug 16799, object elements should return absolute URLs from .data.
Reviewed by Mark Rowe
- dom/Document.cpp: (WebCore::Document::completeURL):
- html/HTMLAnchorElement.cpp: (WebCore::HTMLAnchorElement::href):
- html/HTMLObjectElement.cpp: (WebCore::HTMLObjectElement::data):
- 10:17 AM Changeset in webkit [30043] by
-
- 3 edits in trunk/WebCore
Reviewed by Darin.
<rdar://problem/5726340>
<video autoplay controls> left in unplayable state if navigated away, then back to, before video finished loading
When moving document in and out from the page cache:
- Cancel incomplete load by deleting the media player. This guarantees everything is in consistent state.
- Restart the load if it was aborted in the middle.
- html/HTMLMediaElement.cpp: (WebCore::HTMLMediaElement::~HTMLMediaElement): (WebCore::HTMLMediaElement::load): (WebCore::HTMLMediaElement::willSaveToCache): (WebCore::HTMLMediaElement::didRestoreFromCache):
- html/HTMLMediaElement.h: (WebCore::HTMLMediaElement::player):
- 9:53 AM Changeset in webkit [30042] by
-
- 2 edits in trunk/JavaScriptCore
Reviewed by Darin Adler.
PLT speedup related to <rdar://problem/5659272> REGRESSION: PLT .4%
slower due to r28884 (global variable symbol table optimization)
Tweaked RefCounted::deref() to be a little more efficient.
1% - 1.5% speedup on my machine. .7% speedup on Stephanie's machine.
- wtf/RefCounted.h: (WTF::RefCounted::deref): Don't modify m_refCount if we're just going to delete the object anyway. Also, use a simple == test, which might be faster than <= on some hardware.
- 9:40 AM Changeset in webkit [30041] by
-
- 4 edits3 adds in trunk
Reviewed by Sam.
- fix http://bugs.webkit.org/show_bug.cgi?id=17094 Array.prototype functions create length properties with DontEnum/DontDelete
Test results match Gecko with very few obscure exceptions that seem to be
bugs in Gecko.
Test: fast/js/array-functions-non-arrays.html
- kjs/array_object.cpp: (KJS::arrayProtoFuncConcat): Removed DontEnum and DontDelete from the call to set length. (KJS::arrayProtoFuncPop): Ditto. Also added missing call to deleteProperty, which is not needed for real arrays, but is needed for non-arrays. (KJS::arrayProtoFuncPush): Ditto. (KJS::arrayProtoFuncShift): Ditto. (KJS::arrayProtoFuncSlice): Ditto. (KJS::arrayProtoFuncSort): Removed incorrect call to set length when the array has no elements. (KJS::arrayProtoFuncSplice): Removed DontEnum and DontDelete from the call to set length. (KJS::arrayProtoFuncUnShift): Ditto. Also added a check for 0 arguments to make behavior match the specification in that case.
- kjs/nodes.cpp: (KJS::ArrayNode::evaluate): Removed DontEnum and DontDelete from the call to set length.
LayoutTests:
Reviewed by Sam.
- tests for http://bugs.webkit.org/show_bug.cgi?id=17094 Array.prototype functions create length attributes with DontEnum/DontDelete
- fast/js/array-functions-non-arrays-expected.txt: Added.
- fast/js/array-functions-non-arrays.html: Added.
- fast/js/resources/array-functions-non-arrays.js: Added.
- 9:33 AM Changeset in webkit [30040] by
-
- 17 edits in trunk
Reviewed by Sam.
- replace calls to put to set up properties with calls to putDirect, to prepare for a future change where put won't take attributes any more, and for a slight performance boost
- API/JSObjectRef.cpp: (JSObjectMakeConstructor): Use putDirect instead of put.
- kjs/CommonIdentifiers.h: Removed lastIndex.
- kjs/JSGlobalObject.cpp: (KJS::JSGlobalObject::reset): Use putDirect instead of put.
- kjs/array_object.cpp: (KJS::arrayProtoFuncConcat): Took out extra call to get length (unused). (KJS::ArrayObjectImp::ArrayObjectImp): Use putDirect instead of put.
- kjs/error_object.cpp: (KJS::ErrorPrototype::ErrorPrototype): Use putDirect instead of put.
- kjs/function.cpp: (KJS::Arguments::Arguments): Use putDirect instead of put. (KJS::PrototypeFunction::PrototypeFunction): Use putDirect instead of put.
- kjs/function_object.cpp: (KJS::FunctionObjectImp::construct): Use putDirect instead of put.
- kjs/nodes.cpp: (KJS::FuncDeclNode::makeFunction): Use putDirect instead of put. (KJS::FuncExprNode::evaluate): Use putDirect instead of put.
- kjs/regexp_object.cpp: (KJS::regExpProtoFuncCompile): Use setLastIndex instead of put(lastIndex). (KJS::RegExpImp::match): Get and set lastIndex by using m_lastIndex instead of calling get and put.
- kjs/regexp_object.h: (KJS::RegExpImp::setLastIndex): Added.
- kjs/string_object.cpp: (KJS::stringProtoFuncMatch): Use setLastIndex instead of put(lastIndex).
WebCore:
Reviewed by Sam.
- replace calls to put to set up properties with calls to putDirect, to prepare for a future change where put won't take attributes any more, and for a slight performance boost
- bindings/js/JSAudioConstructor.cpp: (WebCore::JSAudioConstructor::JSAudioConstructor): Use putDirect instead of put.
- bindings/js/JSEventTargetBase.h: (WebCore::JSEventTargetPrototype::self): Ditto.
- bindings/js/JSHTMLOptionElementConstructor.cpp: (WebCore::JSHTMLOptionElementConstructor::JSHTMLOptionElementConstructor): Ditto.
- bindings/js/JSSQLResultSetRowListCustom.cpp: (WebCore::JSSQLResultSetRowList::item): Ditto.
- 8:01 AM Changeset in webkit [30039] by
-
- 3 edits4 adds in trunk
WebCore:
Reviewed by Darin Adler.
- fix http://bugs.webkit.org/show_bug.cgi?17093 'border-color' does not animate to the value of 'color' when unspecified
Test: fast/css/transition-color-unspecified.html
- page/AnimationController.cpp: (WebCore::ImplicitAnimation::animate): Changed to use the value of the 'color' property in the source or destination style as the source or destination value of properties whose inital value is defined to be the computed value of 'color'.
LayoutTests:
Reviewed by Darin Adler.
- test for http://bugs.webkit.org/show_bug.cgi?17093 'border-color' does not animate to the value of 'color' when unspecified
- fast/css/transition-color-unspecified.html: Added.
- platform/mac/fast/css/transition-color-unspecified-expected.checksum: Added.
- platform/mac/fast/css/transition-color-unspecified-expected.png: Added.
- platform/mac/fast/css/transition-color-unspecified-expected.txt: Added.
- 7:46 AM Changeset in webkit [30038] by
-
- 2 edits in trunk/WebCore
Build fix.
- svg/svgtags.in: