Timeline
May 17, 2008:
- 9:53 PM Changeset in webkit [33562] by
-
- 6 edits in branches/squirrelfish
2008-05-17 Cameron Zwarich <cwzwarich@uwaterloo.ca>
Reviewed by Oliver.
Bug 18991: SquirrelFish: Major codegen issue in a.b=expr, a[b]=expr
<https://bugs.webkit.org/show_bug.cgi?id=18991>
Fix the last remaining blocking cases of this bug.
- kjs/grammar.y:
- kjs/nodes.cpp: (KJS::ReadModifyResolveNode::emitCode):
LayoutTests:
- fast/js/codegen-temporaries-expected.txt:
- fast/js/resources/codegen-temporaries.js:
- 8:41 PM Changeset in webkit [33561] by
-
- 3 edits in trunk/WebCore
2008-05-17 Sam Weinig <sam@webkit.org>
Reviewed by Mark Rowe.
Re-factor core setRequestHeader logic into setRequestHeaderInternal.
- xml/XMLHttpRequest.cpp: (WebCore::XMLHttpRequest::sameOriginRequest): (WebCore::XMLHttpRequest::setRequestHeader): (WebCore::XMLHttpRequest::setRequestHeaderInternal):
- xml/XMLHttpRequest.h:
- 8:00 PM Changeset in webkit [33560] by
-
- 22 edits2 deletes in branches/squirrelfish
Reverting r33553 as the patch is incomplete so breaks the build
- 6:21 PM Changeset in webkit [33559] by
-
- 10 edits in trunk
WebCore:
2008-05-17 Sam Weinig <sam@webkit.org>
Reviewed by Mark Rowe.
Differentiate between cancelation errors and generic network error in XHR.
- loader/FrameLoader.cpp: (WebCore::FrameLoader::requestFromDelegate): (WebCore::FrameLoader::cancelledError):
- platform/network/ResourceErrorBase.h: (WebCore::ResourceErrorBase::setIsCancelation): (WebCore::ResourceErrorBase::isCancelation): (WebCore::ResourceErrorBase::ResourceErrorBase): Add state that differentiates between errors created by cancelation and those made by all other generic network errors as this differentiation is needed by some specs.
- xml/XMLHttpRequest.cpp: (WebCore::XMLHttpRequest::open): (WebCore::XMLHttpRequest::loadRequestSynchronously): (WebCore::XMLHttpRequest::clearResponseEntityBody): (WebCore::XMLHttpRequest::genericError): (WebCore::XMLHttpRequest::networkError): (WebCore::XMLHttpRequest::abortError): (WebCore::XMLHttpRequest::didFail):
- xml/XMLHttpRequest.h:
- xml/XMLHttpRequestException.h: (WebCore::XMLHttpRequestException::):
- xml/XMLHttpRequestException.idl: Add ABORT_ERR. This error cannot be raised with the current WebKit architecture as it requires the ability to cancel a synchronous XHR, which we cannot currently do. It may be possible in the future though.
LayoutTests:
2008-05-17 Sam Weinig <sam@webkit.org>
Reviewed by Mark Rowe.
Update expected results for new ABORT_ERR.
- fast/dom/Window/window-properties-expected.txt:
- 5:47 PM Changeset in webkit [33558] by
-
- 4 edits in tags/Safari-6526.6.1
Versioning.
- 5:46 PM Changeset in webkit [33557] by
-
- 2 edits in tags/Safari-6526.6.1/WebCore
Merge r33555.
- 5:12 PM Changeset in webkit [33556] by
-
- 1 copy in tags/Safari-6526.6.1
New tag.
- 5:08 PM Changeset in webkit [33555] by
-
- 2 edits in trunk/WebCore
2008-05-17 Mark Rowe <mrowe@apple.com>
Reviewed by Sam Weinig.
Including wtf/Platform.h or using any of the macros it defines in headers that may be
included from outside of the WebKit project causes any project using those headers to
fail to build.
- page/mac/WebDashboardRegion.h:
- 3:45 PM Changeset in webkit [33554] by
-
- 3 edits in trunk/WebCore
2008-05-17 Sam Weinig <sam@webkit.org>
Reviewed by Brady Eidson.
Re-factor send() logic a little to make adding cross-site requests easier.
- xml/XMLHttpRequest.cpp: (WebCore::XMLHttpRequest::send): (WebCore::XMLHttpRequest::sameOriginRequest): (WebCore::XMLHttpRequest::loadRequestSynchronously): (WebCore::XMLHttpRequest::loadRequestAsynchronously):
- xml/XMLHttpRequest.h:
- 11:58 AM Changeset in webkit [33553] by
-
- 22 edits2 copies in branches/squirrelfish
2008-05-17 Geoffrey Garen <ggaren@apple.com>
Reviewed by Oliver Hunt.
Behold: debugging.
SunSpider reports no change.
- JavaScriptCore.xcodeproj/project.pbxproj: Added DebuggerCallFrame.h/.cpp, and created a debugger folder.
- VM/CodeGenerator.cpp: (KJS::CodeGenerator::generate): If the debugger is attached, always generate full scope chains for its sake.
- VM/Machine.cpp: (KJS::Machine::unwindCallFrame): Notify the debugger when unwinding due to an exception, so it doesn't keep stale call frames around.
(KJS::Machine::execute): Set Callee to 0 in eval frames, so the
debugger can distinguish them from function call frames.
(KJS::Machine::debug): Simplified this function, since the debugger
doesn't actually need all the information we used to provide.
(KJS::Machine::privateExecute): Treat debugging hooks like other function
calls, so the code we hook into (the debugger UI) can be optimized.
- kjs/debugger.cpp: Nixed these default callback implementations and made the callbacks pure virtual instead, so the compiler could tell me if I made a mistake in one of the subclasses.
- kjs/debugger.h: Removed a bunch of irrelevent data from the debugger callbacks. Changed from passing an ExecState* to passing a DebuggerCallFrame*, since an ExecState* doesn't contain sufficient information anymore.
- kjs/function.cpp: (KJS::globalFuncEval): Easiest bug fix evar!
WebCore:
2008-05-17 Geoffrey Garen <ggaren@apple.com>
Reviewed by Oliver Hunt.
Updated for API changes in KJS::Debugger.
WebKit/mac:
2008-05-17 Geoffrey Garen <ggaren@apple.com>
Reviewed by Oliver Hunt.
Re-enabled previously disabled debugging functionality.
There are two major changes from how the WebKit debugger used to work:
(1) All the interesting bits are implemented down in JavaScriptCore. The
debugger just calls through to KJS::DebuggerCallFrame for everything.
(2) Instead of copyihng a pointer to an ExecState once, the debugger
copies the DebuggerCallFrame passed to it in each callback. This is
because the VM no longer maintains a fully transparent execution state
to which you can hold a pointer, and the DebuggerCallFrames it vends
are temporaries.
Also, we NULL out a WebScriptCallFrame's DebuggerCallFrame upon return
from its function. This is safer than the old method, which was to
hold a stale ExecState* and hope for the best.
- 4:00 AM Changeset in webkit [33552] by
-
- 10 edits in branches/squirrelfish
2008-05-17 Cameron Zwarich <cwzwarich@uwaterloo.ca>
Reviewed by Oliver.
Bug 18991: SquirrelFish: Major codegen issue in a.b=expr, a[b]=expr
<https://bugs.webkit.org/show_bug.cgi?id=18991>
Ensure that the code generated for assignments uses temporaries whenever
necessary. This patch covers the vast majority of situations, but there
are still a few left.
This patch also adds some missing cases to CodeBlock::dump().
- VM/CodeBlock.cpp: (KJS::CodeBlock::dump):
- VM/CodeGenerator.h: (KJS::CodeGenerator::destinationForAssignResult): (KJS::CodeGenerator::leftHandSideNeedsCopy): (KJS::CodeGenerator::emitNodeForLeftHandSide):
- kjs/NodeInfo.h:
- kjs/grammar.y:
- kjs/nodes.cpp: (KJS::AssignDotNode::emitCode): (KJS::ReadModifyDotNode::emitCode): (KJS::AssignBracketNode::emitCode): (KJS::ReadModifyBracketNode::emitCode): (KJS::ForInNode::ForInNode):
- kjs/nodes.h: (KJS::ReadModifyResolveNode::): (KJS::AssignResolveNode::): (KJS::ReadModifyBracketNode::): (KJS::AssignBracketNode::): (KJS::AssignDotNode::): (KJS::ReadModifyDotNode::):
LayoutTests:
- fast/js/codegen-temporaries-expected.txt:
- fast/js/resources/codegen-temporaries.js:
- 1:37 AM Changeset in webkit [33551] by
-
- 1 edit2 adds in branches/squirrelfish/LayoutTests
Forgot to check in the results to the activation gc tests
- 12:22 AM Changeset in webkit [33550] by
-
- 3 edits4 adds in branches/squirrelfish
Bug 19106: SquirrelFish: Activation is not marked correctly
<https://bugs.webkit.org/show_bug.cgi?id=19106>
Reviewed by Maciej
We can't rely on the symbol table for a count of the number of globals
we need to mark as that misses duplicate parameters and 'this'. Now we
use the actual local register count from the codeBlock.
May 16, 2008:
- 11:43 PM Changeset in webkit [33549] by
-
- 6 edits in trunk
2008-05-16 Stephanie Lewis <Stephanie Lewis>
Reviewed by Steve.
Get pending unload event count from WebCore.
- Interfaces/IWebFramePrivate.idl:
- WebFrame.cpp: (WebFrame::pendingFrameUnloadEventCount):
- WebFrame.h:
Print out pending unload event count. Also print out main framename to match Mac. +
- DumpRenderTree/win/FrameLoadDelegate.cpp:
(descriptionSuitableForTestResult):
(FrameLoadDelegate::didFinishDocumentLoadForFrame):
- 10:34 PM Changeset in webkit [33548] by
-
- 2 edits in trunk/WebKit/win
2008-05-16 Matt Lilek <webkit@mattlilek.com>
Rubber stamped by Oliver.
Remove the Drosera sub-project.
- WebKit.vcproj/WebKit.sln:
- 9:21 PM Changeset in webkit [33547] by
-
- 4 edits104 deletes in trunk/WebKitTools
Remove the Drosera project, code and resources since it has been
replaced with the Web Inspector's debugger. Removes references to
Drosera in various scripts and makefiles.
Rubber-stamped by Mark Rowe.
- BuildSlaveSupport/build-launcher-app:
- Drosera/DebuggerDocument.cpp: Removed.
- Drosera/DebuggerDocument.h: Removed.
- Drosera/Drosera.icns: Removed.
- Drosera/DroseraWin.make: Removed.
- Drosera/English.lproj/Debugger.nib/classes.nib: Removed.
- Drosera/English.lproj/Debugger.nib/info.nib: Removed.
- Drosera/English.lproj/Debugger.nib/keyedobjects.nib: Removed.
- Drosera/English.lproj/MainMenu.nib/classes.nib: Removed.
- Drosera/English.lproj/MainMenu.nib/info.nib: Removed.
- Drosera/English.lproj/MainMenu.nib/keyedobjects.nib: Removed.
- Drosera/ForwardingHeaders/wtf/Assertions.h: Removed.
- Drosera/ForwardingHeaders/wtf/HashTraits.h: Removed.
- Drosera/ForwardingHeaders/wtf/Noncopyable.h: Removed.
- Drosera/ForwardingHeaders/wtf/OwnPtr.h: Removed.
- Drosera/ForwardingHeaders/wtf/Platform.h: Removed.
- Drosera/ForwardingHeaders/wtf/RetainPtr.h: Removed.
- Drosera/Images/Drosera.ico: Removed.
- Drosera/Images/SourceArrow.png: Removed.
- Drosera/Images/SourceArrowBlank.png: Removed.
- Drosera/Images/SourceArrowOpen.png: Removed.
- Drosera/Images/background_stripe.png: Removed.
- Drosera/Images/breakPoint.tif: Removed.
- Drosera/Images/breakPointDisabled.tif: Removed.
- Drosera/Images/breakpointeditor.png: Removed.
- Drosera/Images/close.tif: Removed.
- Drosera/Images/close_active.tif: Removed.
- Drosera/Images/close_hover.tif: Removed.
- Drosera/Images/console.png: Removed.
- Drosera/Images/continue.tif: Removed.
- Drosera/Images/fileIcon.jpg: Removed.
- Drosera/Images/finishFunction.tif: Removed.
- Drosera/Images/glossyFooterFill.tif: Removed.
- Drosera/Images/glossyHeader.png: Removed.
- Drosera/Images/glossyHeaderPressed.png: Removed.
- Drosera/Images/gradientBackground.png: Removed.
- Drosera/Images/gutter.png: Removed.
- Drosera/Images/navLeftDisabled.png: Removed.
- Drosera/Images/navLeftNormal.png: Removed.
- Drosera/Images/navLeftPressed.png: Removed.
- Drosera/Images/navRightDisabled.png: Removed.
- Drosera/Images/navRightNormal.png: Removed.
- Drosera/Images/navRightPressed.png: Removed.
- Drosera/Images/pause.tif: Removed.
- Drosera/Images/popUpArrows.png: Removed.
- Drosera/Images/programCounter.tif: Removed.
- Drosera/Images/programCounterBreakPoint.tif: Removed.
- Drosera/Images/programCounterBreakPointDisabled.tif: Removed.
- Drosera/Images/run.tif: Removed.
- Drosera/Images/siteCollapsed.tif: Removed.
- Drosera/Images/siteExpanded.tif: Removed.
- Drosera/Images/siteIcon.tif: Removed.
- Drosera/Images/small.ico: Removed.
- Drosera/Images/splitterBar.tif: Removed.
- Drosera/Images/splitterDimple.tif: Removed.
- Drosera/Images/step.tif: Removed.
- Drosera/Images/stepOut.tif: Removed.
- Drosera/Images/stepOver.tif: Removed.
- Drosera/Images/stop.tif: Removed.
- Drosera/Images/toolbarBackground.png: Removed.
- Drosera/Images/verticalSplitterBar.tiff: Removed.
- Drosera/Images/verticalSplitterDimple.tiff: Removed.
- Drosera/Makefile: Removed.
- Drosera/breakpointEditor.html: Removed.
- Drosera/config.h: Removed.
- Drosera/console.css: Removed.
- Drosera/console.html: Removed.
- Drosera/console.js: Removed.
- Drosera/debugger.css: Removed.
- Drosera/debugger.html: Removed.
- Drosera/debugger.js: Removed.
- Drosera/mac/DebuggerApplication.h: Removed.
- Drosera/mac/DebuggerApplication.mm: Removed.
- Drosera/mac/DebuggerClient.h: Removed.
- Drosera/mac/DebuggerClient.mm: Removed.
- Drosera/mac/DebuggerDocumentPlatform.mm: Removed.
- Drosera/mac/Drosera.xcodeproj/project.pbxproj: Removed.
- Drosera/mac/Info.plist: Removed.
- Drosera/mac/LauncherInfo.plist: Removed.
- Drosera/mac/Makefile: Removed.
- Drosera/mac/ServerConnection.h: Removed.
- Drosera/mac/ServerConnection.mm: Removed.
- Drosera/mac/launcher.m: Removed.
- Drosera/mac/main.m: Removed.
- Drosera/viewer.css: Removed.
- Drosera/viewer.html: Removed.
- Drosera/win/BaseDelegate.h: Removed.
- Drosera/win/DebuggerClient.cpp: Removed.
- Drosera/win/DebuggerClient.h: Removed.
- Drosera/win/DebuggerDocumentPlatform.cpp: Removed.
- Drosera/win/Drosera.cpp: Removed.
- Drosera/win/Drosera.h: Removed.
- Drosera/win/Drosera.vcproj/Drosera.rc: Removed.
- Drosera/win/Drosera.vcproj/Drosera.vcproj: Removed.
- Drosera/win/DroseraPrefix.cpp: Removed.
- Drosera/win/DroseraPrefix.h: Removed.
- Drosera/win/Info.plist: Removed.
- Drosera/win/ServerConnection.cpp: Removed.
- Drosera/win/ServerConnection.h: Removed.
- Drosera/win/resource.h: Removed.
- Makefile:
- Scripts/build-drosera: Removed.
- Scripts/gdb-drosera: Removed.
- Scripts/run-drosera: Removed.
- Scripts/run-drosera-nightly.cmd: Removed.
- Scripts/run-drosera.cmd: Removed.
- Scripts/webkitdirs.pm:
- 6:46 PM SquirrelFish edited by
- (diff)
- 6:46 PM Changeset in webkit [33546] by
-
- 6 edits in trunk/WebKit/win
2008-05-16 Brady Eidson <beidson@apple.com>
Reviewed by Steve Falkenburg
<rdar://problem/5942624> - Get LocalStorage persistence working on Windows
- WebPreferenceKeysPrivate.h: Add the LocalStorageDirectory defaults key
- WebPreferences.cpp: (WebPreferences::initializeDefaultSettings): (WebPreferences::localStorageDatabasePath): (WebPreferences::setLocalStorageDatabasePath):
- WebPreferences.h:
- Interfaces/IWebPreferencesPrivate.idl:
- WebView.cpp: (WebView::initWithFrame): Set the path in the WebCore::Settings after new Page creation
- 6:16 PM Changeset in webkit [33545] by
-
- 2 edits in trunk/WebCore
2008-05-16 Anders Carlsson <andersca@apple.com>
Reviewed by Mitz.
Copy appcache headers.
- WebCore.vcproj/WebCore.vcproj:
- 5:50 PM Changeset in webkit [33544] by
-
- 3 edits2 adds in trunk
WebCore:
2008-05-16 Antti Koivisto <Antti Koivisto>
Reviewed by Anders.
Fix <rdar://problem/5934400>
Movie controller does not update on first load of http://www.apple.com/getamac/ads/
The issue is that we execute scripts while there are still pending stylesheet loads.
If the script depends on a stylesheet having been applied it may fail.
This will make external script execution block on external stylesheet loads. A full
fix (as discussed with Hyatt) will also need to block inline script execution.
Test: http/tests/local/stylesheet-and-script-load-order-http.html
- html/HTMLTokenizer.cpp: (WebCore::HTMLTokenizer::notifyFinished):
LayoutTests:
2008-05-16 Antti Koivisto <Antti Koivisto>
Reviewed by Anders.
Test for <rdar://problem/5934400>
Movie controller does not update on first load of http://www.apple.com/getamac/ads/
- http/tests/local/stylesheet-and-script-load-order-http-expected.txt: Added.
- http/tests/local/stylesheet-and-script-load-order-http.html: Added.
- 5:36 PM Changeset in webkit [33543] by
-
- 2 edits in tags/Safari-6526.6/WebCore
Merge r33497.
- 5:28 PM Changeset in webkit [33542] by
-
- 2 edits in trunk/WebCore
<rdar://problem/5582483> Mail compose area needs to allow AXValue to be settable
- 5:27 PM Changeset in webkit [33541] by
-
- 9 edits2 adds in branches/squirrelfish
Bug 19076: SquirrelFish: RegisterFile can be corrupted if implictly reenter global scope with no declared vars
<https://bugs.webkit.org/show_bug.cgi?id=19076>
Reviewed by Geoff
Don't delay allocation of initial global RegisterFile, as we can't guarantee we will be able
to allocate the global 'this' register safely at any point after initialisation of the Global
Object.
Unfortunately this initial allocation caused a regression of 0.2-0.3%, however this patch adds
support for the static slot optimisation for the global Math object which brings it to a 0.3%
progression.
- 5:23 PM Changeset in webkit [33540] by
-
- 4 edits in trunk
Versioning.
- 5:21 PM Changeset in webkit [33539] by
-
- 1 copy in tags/Safari-6526.6
New tag.
- 5:18 PM Changeset in webkit [33538] by
-
- 9 edits in trunk/WebCore
2008-05-16 Stephanie Lewis <Stephanie Lewis>
Reviewed by Maciej.
track onbeforeunlaod event counts. Pretty much identical to unload event tracking.
Also rename methods from onunload tracking to be more clear.
increment/decrement event counts when onunload and onbeforeunload events are added/removed
- dom/Document.cpp: (WebCore::Document::removeHTMLWindowEventListener): (WebCore::Document::addWindowEventListener): (WebCore::Document::removeWindowEventListener): (WebCore::Document::addPendingFrameUnloadEventCount): (WebCore::Document::removePendingFrameUnloadEventCount): (WebCore::Document::addPendingFrameBeforeUnloadEventCount): (WebCore::Document::removePendingFrameBeforeUnloadEventCount):
- dom/Document.h:
clear onunload count after unload events are dispatched
- loader/FrameLoader.cpp: (WebCore::FrameLoader::stopLoading):
track onunload and onbeforeunload event counts for each frame
- page/EventHandler.cpp: (WebCore::EventHandler::EventHandler): (WebCore::EventHandler::addPendingFrameUnloadEventCount): (WebCore::EventHandler::removePendingFrameUnloadEventCount): (WebCore::EventHandler::clearPendingFrameUnloadEventCount): (WebCore::EventHandler::pendingFrameBeforeUnloadEventCount): (WebCore::EventHandler::addPendingFrameBeforeUnloadEventCount): (WebCore::EventHandler::removePendingFrameBeforeUnloadEventCount): (WebCore::EventHandler::clearPendingFrameBeforeUnloadEventCount):
- page/EventHandler.h:
clear unbeforeunload count after unbeforeunload events are detached
- page/Frame.cpp: (WebCore::Frame::shouldClose):
track total event count at page level
- page/Page.cpp: (WebCore::Page::Page): (WebCore::Page::changePendingUnloadEventCount): (WebCore::Page::pendingBeforeUnloadEventCount): (WebCore::Page::changePendingBeforeUnloadEventCount):
- page/Page.h:
- 5:07 PM Changeset in webkit [33537] by
-
- 4 edits in trunk
WebCore:
2008-05-16 Anders Carlsson <andersca@apple.com>
Reviewed by Mitz.
<rdar://problem/5787788>
REGRESSION: fast/loader/xmlhttprequest-missing-file-exception.html fails on Windows.
Replicate the Mac behavior when a sync load fails.
- platform/network/cf/ResourceHandleCFNet.cpp: (WebCore::ResourceHandle::loadResourceSynchronously):
LayoutTests:
2008-05-16 Anders Carlsson <andersca@apple.com>
Reviewed by Mitz.
<rdar://problem/5787788>
REGRESSION: fast/loader/xmlhttprequest-missing-file-exception.html fails on Windows.
Remove test from skipped list.
- platform/win/Skipped:
- 5:02 PM SquirrelFish edited by
- (diff)
- 4:26 PM Changeset in webkit [33536] by
-
- 2 edits in trunk/WebCore
2008-05-16 Anders Carlsson <andersca@apple.com>
Reviewed by Brady.
Parse and set the headers on the response.
- loader/appcache/ApplicationCacheStorage.cpp: (WebCore::ApplicationCacheStorage::store): (WebCore::parseHeader): (WebCore::parseHeaders): (WebCore::ApplicationCacheStorage::loadCache):
- 3:53 PM Changeset in webkit [33535] by
-
- 10 edits3 deletes in trunk/WebKit
Removes WebScriptDebugServer files and related calls. This removes
the hooks that Drosera uses for debugging. Now that the Web Inspector
has a better debugger, we don't need these anymore.
Reviewed by Sam Weinig.
- DefaultDelegates/WebScriptDebugServer.h: Removed.
- DefaultDelegates/WebScriptDebugServer.m: Removed.
- DefaultDelegates/WebScriptDebugServerPrivate.h: Removed.
- WebCoreSupport/WebFrameLoaderClient.mm:
- WebKit.exp:
- WebView/WebScriptDebugDelegate.mm:
- WebView/WebScriptDebugger.mm:
(WebScriptDebugger::sourceParsed):
(WebScriptDebugger::callEvent):
(WebScriptDebugger::atStatement):
(WebScriptDebugger::returnEvent):
(WebScriptDebugger::exception):
- WebView/WebView.mm:
(-[WebView _commonInitializationWithFrameName:groupName:]):
- WebView/WebViewPrivate.h:
- 3:30 PM Changeset in webkit [33534] by
-
- 7 edits in trunk/WebCore
Adds the "this" object to the Local scope section of the
Scope Variables pane.
<rdar://problem/5774773> Web Inspector doesn't show the "this"
object in its variables list (10438)
Reviewed by Oliver Hunt.
- bindings/js/JSJavaScriptCallFrameCustom.cpp:
(WebCore::JSJavaScriptCallFrame::thisObject): Returns the thisObject
of the JavaScriptCallFrame impl. Returns jsNull if the impl is invalid.
- page/JavaScriptCallFrame.cpp:
(WebCore::JavaScriptCallFrame::thisObject): Return the thisValue from
the ExecState. Return 0 if m_exec is null.
- page/JavaScriptCallFrame.h:
- page/JavaScriptCallFrame.idl: Add thisObject.
- page/inspector/ObjectPropertiesSection.js:
(WebInspector.ObjectPropertiesSection): Adds two new arguments.
The ignoreHasOwnProperty tells the section to show all properties,
including inherited ones. And extraProperties is an object of
additional properties to show.
(WebInspector.ObjectPropertiesSection.prototype): Honor the
extraProperties and ignoreHasOwnProperty properties.
- page/inspector/ScopeChainSidebarPane.js:
(WebInspector.ScopeChainSidebarPane.prototype.update): Add a this
property to an extra object that is passed to the ObjectPropertiesSection.
Also pass true for ignoreHasOwnProperty since we want to show all properties.
- 3:26 PM Changeset in webkit [33533] by
-
- 2 edits in trunk/WebCore
2008-05-16 Anders Carlsson <andersca@apple.com>
Reviewed by Brady.
Add mimeType and textEncodingName to the resource table.
- loader/appcache/ApplicationCacheStorage.cpp: (WebCore::ApplicationCacheStorage::openDatabase): (WebCore::ApplicationCacheStorage::store): (WebCore::ApplicationCacheStorage::loadCache):
- 3:23 PM Changeset in webkit [33532] by
-
- 9 edits in trunk
2008-05-16 Kevin McCullough <kmccullough@apple.com>
Reviewed by Tim.
<rdar://problem/5770054> JavaScript profiler (10928)
Implement sorting for the profiler.
I chose to sort the profileNodes in place since there is no reason they
need to retain their original order.
- JavaScriptCore.exp: Export the symbols.
- profiler/Profile.h: Add the different ways a profile can be sorted. (KJS::Profile::sortTotalTimeDescending): (KJS::Profile::sortTotalTimeAscending): (KJS::Profile::sortSelfTimeDescending): (KJS::Profile::sortSelfTimeAscending): (KJS::Profile::sortCallsDescending): (KJS::Profile::sortCallsAscending):
- profiler/ProfileNode.cpp: Implement those ways. (KJS::totalTimeDescendingComparator): (KJS::ProfileNode::sortTotalTimeDescending): (KJS::totalTimeAscendingComparator): (KJS::ProfileNode::sortTotalTimeAscending): (KJS::selfTimeDescendingComparator): (KJS::ProfileNode::sortSelfTimeDescending): (KJS::selfTimeAscendingComparator): (KJS::ProfileNode::sortSelfTimeAscending): (KJS::callsDescendingComparator): (KJS::ProfileNode::sortCallsDescending): (KJS::callsAscendingComparator): (KJS::ProfileNode::sortCallsAscending):
- profiler/ProfileNode.h: No longer use a Deque since it cannot be sorted by std::sort and there was no reason not to use a Vector. I previously had though I would do prepending but am not. (KJS::ProfileNode::selfTime): (KJS::ProfileNode::totalPercent): (KJS::ProfileNode::selfPercent): (KJS::ProfileNode::children):
- profiler/Profiler.cpp: Removed these functions as they can be called directoy on the Profile object after getting the Vector of them. (KJS::getStackNames):
- profiler/Profiler.h:
WebCore:
2008-05-16 Kevin McCullough <kmccullough@apple.com>
Reviewed by Tim.
<rdar://problem/5770054> JavaScript profiler (10928)
Use a Vector instead of a Deque since we don't use the extra capabilities
of the Deque.
- page/JavaScriptProfileNode.cpp: (WebCore::getChildren): (WebCore::toJS):
- 3:19 PM Changeset in webkit [33531] by
-
- 2 edits in trunk/WebKit/mac
2008-05-16 Brady Eidson <beidson@apple.com>
Reviewed by Anders
<rdar://problem/5942616> - Need to standardize LocalStorage persistence path
Took the opportunity to touch up another pref that needs the same standardization.
That pref is currently not in use on Mac.
- WebView/WebPreferences.m: (-[WebPreferences _setFTPDirectoryTemplatePath:]): (-[WebPreferences _localStorageDatabasePath]): (-[WebPreferences _setLocalStorageDatabasePath:]): (-[WebPreferences _ftpDirectoryTemplatePath]):
- 2:30 PM Changeset in webkit [33530] by
-
- 2 edits in trunk/WebCore
Fix the build.
- 2:24 PM Changeset in webkit [33529] by
-
- 3 edits in trunk/WebCore
2008-05-16 Anders Carlsson <andersca@apple.com>
Reviewed by Brady.
Add a version table to the database.
- loader/appcache/ApplicationCacheStorage.cpp: (WebCore::ApplicationCacheStorage::verifySchemaVersion): (WebCore::ApplicationCacheStorage::openDatabase):
- loader/appcache/ApplicationCacheStorage.h:
- 2:10 PM Changeset in webkit [33528] by
-
- 1 edit in trunk/WebCore/ChangeLog
Restore some ChangeLog entries I nuked in the previous commits.
- 1:47 PM Changeset in webkit [33527] by
-
- 7 edits in trunk
Adds the ability to evaluate expressions in the local scope
of the selected call frame.
https://bugs.webkit.org/show_bug.cgi?id=19052
Reviewed by Geoff Garen.
- bindings/js/JSJavaScriptCallFrameCustom.cpp:
(WebCore::JSJavaScriptCallFrame::evaluate): Pass the exception
from evaluate to the calling ExecState.
- page/JavaScriptCallFrame.cpp:
(WebCore::JavaScriptCallFrame::evaluate): Added an exception out
argument. Simplified the code by calling KJS:eval directly.
- page/JavaScriptCallFrame.h: Change evalutate to take an exception
out argument.
- page/inspector/Console.js: Check if the debugger is paused and
call evaluateInSelectedCallFrame on the Scripts panel.
- page/inspector/ScriptsPanel.js: Added a paused getter and
evaluateInSelectedCallFrame which does the evaluation and updates
the scope variables pane afterwards.
- 1:47 PM Changeset in webkit [33526] by
-
- 2 edits in trunk/WebCore
Fixed the bug where the Inspector node highlight would not show
in the correct place for nodes in frames.
<rdar://problem/5712834> Elements in iframes are highlighted incorrectly (14408)
Reviewed by John Sullivan.
- page/InspectorController.cpp:
(WebCore::convertFromFrameToMainFrame): Helper function to convert
IntRect coordinates from one frame to the main frame.
(WebCore::InspectorController::drawNodeHighlight): Call the
convertFromFrameToMainFrame helper for all the rects we get from
the node since they are in the owner frame's coordinate space.
- 1:46 PM Changeset in webkit [33525] by
-
- 8 edits1 add in trunk/WebCore
Adds an error and warning count indicator at the bottom right in the
Inspector's status bar.
https://bugs.webkit.org/show_bug.cgi?id=18650
Initial implementation by Adam Roben.
Reviewed by Sam Weinig.
Test: manual-tests/inspector/error-warning-count.html
- English.lproj/localizedStrings.js: Added new strings.
- manual-tests/inspector/error-warning-count.html: Added.
- page/inspector/Console.js:
(WebInspector.Console.prototype.show): Don't do anything if visible.
(WebInspector.Console.prototype.hide): Don't do anything if hidden.
Temporally set properties and classes to mimic the post-animation
values so panels like Elements in their updateStatusBarItems call will
size things to fit the final location.
- page/inspector/ElementsPanel.js:
(WebInspector.ElementsPanel.prototype.updateBreadcrumbSizes):
Account for the #error-warning-count width when sizing breadcrumbs.
- page/inspector/Resource.js:
(WebInspector.Resource.prototype.set errors): Update the global error count.
(WebInspector.Resource.prototype.set warnings): Update the global warning count.
- page/inspector/inspector.css: Make .hidden's display property
!important to ensure things really hide, and added styling for the new
- page/inspector/inspector.html: Added an #error-warning-count div
in the #anchored-status-bar-items div.
- page/inspector/inspector.js:
(WebInspector.get errors): Added.
(WebInspector.set errors): Added. Calls _updateErrorAndWarningCounts.
(WebInspector.get warnings): Added.
(WebInspector.set warnings): Added. Calls _updateErrorAndWarningCounts.
(WebInspector._updateErrorAndWarningCounts): Added. Update the
(WebInspector.loaded): Add a click event listener to the
_updateErrorAndWarningCounts to display the initial error/warning counts.
- 1:38 PM Changeset in webkit [33524] by
-
- 9 edits in trunk
WebCore:
2008-05-16 Julien Chaffraix <jchaffraix@webkit.org>
Reviewed by Eric.
Preparatory work for bug 9191: JS*ElementWrapperFactory should be autogenerated
Make video tags use a header guard so that make_names.pl for factory generation.
- Add video tag guard in HTMLTagNames.in & give an extraDefines parameter to make_names.pl when generating HTMLNames.
- Modify the different build systems to accomodate the new parameter.
- Small make_names.pl clean up (mainly code generated coding style issue).
- DerivedSources.make: Add HTML_FLAGS and pass it to make_names.pl if it is defined (similar to SVG)
- GNUmakefile.am: Add HTML_FEATURES & HTML_FLAGS and pass it to make_names.pl if HTML_FLAGS is defined.
- WebCore.pro: Pass $${DEFINES} to make_names.pl.
- dom/make_names.pl:
- html/HTMLElement.cpp: (WebCore::inlineTagList): Add ENABLE(VIDEO) guard.
- html/HTMLTagNames.in: Ditto.
2008-05-16 Julien Chaffraix <jchaffraix@webkit.org>
Reviewed by Eric.
Preparatory work for bug 9191: JS*ElementWrapperFactory should be autogenerated
- configure.ac: Add HTML_FLAGS and set it when video is enabled.
- 12:17 PM UsingGitWithWebKit edited by
- (diff)
- 11:47 AM Changeset in webkit [33523] by
-
- 2 edits in trunk/WebCore
2008-05-16 Anders Carlsson <andersca@apple.com>
Reviewed by Mitz.
Fire progress events.
- loader/appcache/ApplicationCacheGroup.cpp: (WebCore::ApplicationCacheGroup::startLoadingEntry):
- 10:28 AM Changeset in webkit [33522] by
-
- 2 edits in trunk/WebKitSite
2008-05-16 Anders Carlsson <andersca@apple.com>
Reviewed by Jess.
Add manifest MIME type.
- .htaccess:
- 10:27 AM Changeset in webkit [33521] by
-
- 4 edits in trunk/WebCore
2008-05-16 Anders Carlsson <andersca@apple.com>
Reviewed by John.
Handle the case where the main resource load is cancelled while the cache attempt is in progress.
- loader/DocumentLoader.cpp: (WebCore::DocumentLoader::mainReceivedError): Tell the group that the main resource failed to load.
- loader/appcache/ApplicationCacheGroup.cpp: (WebCore::ApplicationCacheGroup::failedLoadingMainResource): Call cacheUpdateFailed.
(WebCore::ApplicationCacheGroup::cacheUpdateFailed):
Stop loading if the update failed.
- loader/appcache/ApplicationCacheGroup.h:
- 10:26 AM Changeset in webkit [33520] by
-
- 10 edits in trunk
<rdar://problem/5710317> REGRESSION:Selecting ranges of text should be possible using the keyboard (15310)
Adds support to select text ranges when enhanced accessibility is turned on
- 10:25 AM Changeset in webkit [33519] by
-
- 2 edits in trunk/LayoutTests
2008-05-15 Anders Carlsson <andersca@apple.com>
Update test results now that navigator.onLine exists.
- fast/dom/Window/window-properties-expected.txt:
- 7:25 AM Changeset in webkit [33518] by
-
- 8 edits in trunk
2008-05-15 Ariya Hidayat <ariya.hidayat@trolltech.com>
Reviewed by Simon.
Since WebKitGtk is fully using autotools now, clean-up the .pro/.pri files
from gtk-port.
- 5:06 AM Changeset in webkit [33517] by
-
- 3 edits3 adds in branches/squirrelfish
Bug 19098: SquirrelFish: Ref'd temporaries can be clobbered
<https://bugs.webkit.org/show_bug.cgi?id=19098>
Patch from Cameron Zwarich
Reviewed by Oliver
When doing code generation for a statement list, increase the reference
count on a register that might eventually be returned, so that it doesn't
get clobbered by a request for a new temporary.
- 2:51 AM Changeset in webkit [33516] by
-
- 3 edits6 adds in branches/squirrelfish
2008-05-16 Maciej Stachowiak <mjs@apple.com>
Reviewed by Oliver.
- fixed Bug 19044: SquirrelFish: Bogus values enter evaluation when closing over scope with parameter and var with same name https://bugs.webkit.org/show_bug.cgi?id=19044
- kjs/JSActivation.cpp: (KJS::JSActivation::copyRegisters): Use numLocals from the code block rather than the size of the symbol table for the number of registers to copy, to account for duplicate parameters and vars with the same name as parameters (we still have potentially suboptimal codegen in that we allocate a local register for the var in the latter case but it is never used).
LayoutTests:
2008-05-16 Maciej Stachowiak <mjs@apple.com>
Reviewed by Oliver.
- fixed Bug 19044: SquirrelFish: Bogus values enter evaluation when closing over scope with parameter and var with same name https://bugs.webkit.org/show_bug.cgi?id=19044
- fast/js/duplicate-param-crash-expected.txt: Added.
- fast/js/duplicate-param-crash.html: Added.
- fast/js/resources/duplicate-param-crash.js: Added.
- fast/js/resources/var-shadows-arg-crash.js: Added.
- fast/js/var-shadows-arg-crash-expected.txt: Added.
- fast/js/var-shadows-arg-crash.html: Added.
- 12:22 AM Changeset in webkit [33515] by
-
- 2 edits in trunk/WebCore
Fix the Gtk build.
- 12:12 AM Changeset in webkit [33514] by
-
- 3 edits in trunk/WebCore
Fix the Qt build.
- 12:10 AM Changeset in webkit [33513] by
-
- 3 edits2 adds in trunk
Reviewed by Dave Hyatt.
https://bugs.webkit.org/show_bug.cgi?id=17433
getComputedStyle() -> clip returns empty string
Make getComputedStyle return a shape value for clip
if it is set.
Tests: fast/css/getPropertyValue-clip.html