Timeline
Sep 15, 2009:
- 10:20 PM Changeset in webkit [48408] by
-
- 2 edits in trunk/LayoutTests
WAI-ARIA: add support for ranges, including the progressbar, slider, and spinbutton roles
https://bugs.webkit.org/show_bug.cgi?id=28841
Layout test fix redux.
The paths to the fast/js resources needed to be updated.
- platform/mac/accessibility/aria-slider-value-change.html:
- 8:39 PM Changeset in webkit [48407] by
-
- 1 edit2 moves in trunk/LayoutTests
Layout test fix.
This test should only be for Mac, since the other platforms don't support the necessary features.
WAI-ARIA: add support for ranges, including the progressbar, slider, and spinbutton roles
https://bugs.webkit.org/show_bug.cgi?id=28841
- accessibility/aria-slider-value-change-expected.txt: Removed.
- accessibility/aria-slider-value-change.html: Removed.
- platform/mac/accessibility/aria-slider-value-change-expected.txt: Copied from LayoutTests/accessibility/aria-slider-value-change-expected.txt.
- platform/mac/accessibility/aria-slider-value-change.html: Copied from LayoutTests/accessibility/aria-slider-value-change.html.
- 6:30 PM Changeset in webkit [48406] by
-
- 4 edits in trunk/WebCore
Removed the notion of "disconnected nodes with event listeners" because
it was vestigial. The reference cycle it tried to solve was solved another
way in https://bugs.webkit.org/show_bug.cgi?id=21260.
Patch by Geoffrey Garen <ggaren@apple.com> on 2009-09-15
Reviewed by Sam Weinig.
- dom/Document.cpp:
(WebCore::Document::removeAllEventListeners):
- dom/Document.h:
- dom/Node.cpp:
(WebCore::Node::~Node):
(WebCore::Node::insertedIntoDocument):
(WebCore::Node::removedFromDocument):
(WebCore::Node::willMoveToNewOwnerDocument):
(WebCore::Node::didMoveToNewOwnerDocument):
(WebCore::Node::addEventListener):
(WebCore::Node::removeEventListener):
(WebCore::Node::clearAttributeEventListener):
- 5:40 PM Changeset in webkit [48405] by
-
- 7 edits2 adds in trunk
WAI-ARIA: add support for ranges, including the progressbar, slider, and spinbutton roles
https://bugs.webkit.org/show_bug.cgi?id=28841
Reviewed by Beth Dakin.
WebCore:
Allow certain ARIA roles to change value with AXIncrement and AXDecrement.
Consolidate increment/decrement/changeValue methods.
Test: accessibility/aria-slider-value-change.html
- accessibility/AccessibilityObject.cpp:
- accessibility/AccessibilityRenderObject.cpp:
(WebCore::AccessibilityRenderObject::increment):
(WebCore::AccessibilityRenderObject::decrement):
(WebCore::AccessibilityRenderObject::changeValueByPercent):
(WebCore::AccessibilityRenderObject::setValue):
(WebCore::AccessibilityRenderObject::canSetFocusAttribute):
- accessibility/AccessibilityRenderObject.h:
- accessibility/AccessibilitySlider.cpp:
- accessibility/AccessibilitySlider.h:
- dom/Element.cpp:
(WebCore::Element::updateAfterAttributeChanged):
LayoutTests:
- accessibility/aria-slider-value-change-expected.txt: Added.
- accessibility/aria-slider-value-change.html: Added.
- 4:52 PM Changeset in webkit [48404] by
-
- 2 edits in trunk/LayoutTests
2009-09-15 Brian Weinstein <bweinstein@apple.com>
Rubber-stamped by Steve Falkenburg.
Add four currently failing tests to the Skipped list so we can figure out what's wrong
with them and try to get the bot closer to green. Bugs have been filed for each test.
- platform/win/Skipped:
- 4:17 PM Changeset in webkit [48403] by
-
- 8 edits in trunk/JavaScriptCore
Allow anonymous storage inside JSObject
https://bugs.webkit.org/show_bug.cgi?id=29168
Reviewed by Geoff Garen
Add the concept of anonymous slots to Structures so that it is
possible to store references to values that need marking in the
standard JSObject storage buffer. This allows us to reduce the
malloc overhead of some objects (by allowing them to store JS
values in the inline storage of the object) and reduce the
dependence of custom mark functions (if all an objects children
are in the standard object property storage there's no need to
mark them manually).
- 2:47 PM Changeset in webkit [48402] by
-
- 33 edits in trunk/WebCore
Removed the jsEventListeners set from JSDOMGlobalObject, to simplify
creation and destruction of JSDOMGlobalObject and event listeners.
Patch by Geoffrey Garen <ggaren@apple.com> on 2009-09-15
Reviewed by Sam Weinig.
Added an abstract operator==() to EventListener, to replace the
jsEventListeners set's role in determining if two event listeners are
equal from the DOM's perspective.
Added a type field to EventListener, and casting operations, to support
operator==() and other abstract operations.
- WebCore.xcodeproj/project.pbxproj:
- bindings/js/JSAbstractWorkerCustom.cpp:
(WebCore::JSAbstractWorker::addEventListener):
(WebCore::JSAbstractWorker::removeEventListener):
- bindings/js/JSDOMApplicationCacheCustom.cpp:
(WebCore::JSDOMApplicationCache::addEventListener):
(WebCore::JSDOMApplicationCache::removeEventListener):
- bindings/js/JSDOMGlobalObject.cpp:
- bindings/js/JSDOMGlobalObject.h:
- bindings/js/JSDOMWindowCustom.cpp:
(WebCore::JSDOMWindow::addEventListener):
(WebCore::JSDOMWindow::removeEventListener):
- bindings/js/JSDesktopNotificationsCustom.cpp:
(WebCore::JSNotification::addEventListener):
(WebCore::):
- bindings/js/JSEventListener.cpp:
(WebCore::JSEventListener::JSEventListener):
(WebCore::JSEventListener::~JSEventListener):
(WebCore::JSEventListener::markJSFunction):
(WebCore::JSEventListener::handleEvent):
(WebCore::JSEventListener::reportError):
(WebCore::JSEventListener::operator==):
- bindings/js/JSEventListener.h:
(WebCore::JSEventListener::cast):
- bindings/js/JSEventSourceCustom.cpp:
(WebCore::JSEventSource::addEventListener):
(WebCore::JSEventSource::removeEventListener):
- bindings/js/JSMessagePortCustom.cpp:
(WebCore::JSMessagePort::addEventListener):
(WebCore::JSMessagePort::removeEventListener):
- bindings/js/JSNodeCustom.cpp:
(WebCore::JSNode::addEventListener):
(WebCore::JSNode::removeEventListener):
- bindings/js/JSSVGElementInstanceCustom.cpp:
(WebCore::JSSVGElementInstance::addEventListener):
(WebCore::JSSVGElementInstance::removeEventListener):
- bindings/js/JSWorkerContextCustom.cpp:
(WebCore::JSWorkerContext::addEventListener):
(WebCore::JSWorkerContext::removeEventListener):
- bindings/js/JSXMLHttpRequestCustom.cpp:
(WebCore::JSXMLHttpRequest::addEventListener):
(WebCore::JSXMLHttpRequest::removeEventListener):
- bindings/js/JSXMLHttpRequestUploadCustom.cpp:
(WebCore::JSXMLHttpRequestUpload::addEventListener):
(WebCore::JSXMLHttpRequestUpload::removeEventListener):
- bindings/objc/ObjCEventListener.h:
(WebCore::ObjCEventListener::cast):
- bindings/objc/ObjCEventListener.mm:
(WebCore::ObjCEventListener::ObjCEventListener):
(WebCore::ObjCEventListener::operator==):
- dom/EventListener.h:
(WebCore::EventListener::):
(WebCore::EventListener::type):
(WebCore::EventListener::EventListener):
- dom/MessagePort.cpp:
(WebCore::MessagePort::addEventListener):
(WebCore::MessagePort::removeEventListener):
- dom/Node.cpp:
(WebCore::Node::removeEventListener):
- inspector/InspectorDOMAgent.cpp:
(WebCore::InspectorDOMAgent::InspectorDOMAgent):
(WebCore::InspectorDOMAgent::mainFrameDocument):
(WebCore::InspectorDOMAgent::operator==):
- inspector/InspectorDOMAgent.h:
(WebCore::InspectorDOMAgent::cast):
- loader/ImageDocument.cpp:
(WebCore::ImageEventListener::cast):
(WebCore::ImageEventListener::ImageEventListener):
(WebCore::ImageEventListener::operator==):
- loader/appcache/DOMApplicationCache.cpp:
(WebCore::DOMApplicationCache::addEventListener):
(WebCore::DOMApplicationCache::removeEventListener):
- notifications/Notification.cpp:
(WebCore::Notification::removeEventListener):
- page/DOMWindow.cpp:
(WebCore::DOMWindow::removeEventListener):
- page/EventSource.cpp:
(WebCore::EventSource::addEventListener):
(WebCore::EventSource::removeEventListener):
- svg/animation/SVGSMILElement.cpp:
(WebCore::ConditionEventListener::cast):
(WebCore::ConditionEventListener::ConditionEventListener):
(WebCore::ConditionEventListener::operator==):
(WebCore::ConditionEventListener::handleEvent):
- workers/AbstractWorker.cpp:
(WebCore::AbstractWorker::addEventListener):
(WebCore::AbstractWorker::removeEventListener):
- workers/WorkerContext.cpp:
(WebCore::WorkerContext::addEventListener):
(WebCore::WorkerContext::removeEventListener):
- xml/XMLHttpRequest.cpp:
(WebCore::XMLHttpRequest::addEventListener):
(WebCore::XMLHttpRequest::removeEventListener):
- xml/XMLHttpRequestUpload.cpp:
(WebCore::XMLHttpRequestUpload::addEventListener):
(WebCore::XMLHttpRequestUpload::removeEventListener):
- 2:26 PM Changeset in webkit [48401] by
-
- 2 edits in trunk/WebKit/mac
2009-09-15 Simon Fraser <Simon Fraser>
Reviewed by Dan Bernstein.
Fixed position elements flash when CSS transforms are applied on page > 2048px tall
https://bugs.webkit.org/show_bug.cgi?id=27272
Update the previous workaround for misplaced compositing layers, which used a 4096px
threshold, to 2048px since that's the GPU max texture size on some older hardware.
- WebView/WebHTMLView.mm: (-[WebHTMLView _updateLayerHostingViewPosition]):
- 1:46 PM WebKit Team edited by
- (diff)
- 1:33 PM Changeset in webkit [48400] by
-
- 8 edits in trunk
Added ENABLE_MATHML feature define and build-webkit toggle
Patch by Alex Milowski <alex@milowski.com> on 2009-09-15
Reviewed by Tor Arne Vestbø.
- Configurations/FeatureDefines.xcconfig:
WebCore:
- Configurations/FeatureDefines.xcconfig:
WebKit/mac:
- Configurations/FeatureDefines.xcconfig:
WebKitTools:
- Scripts/build-webkit:
- 1:25 PM CommitQueue edited by
- (diff)
- 12:25 PM Changeset in webkit [48399] by
-
- 2 edits in trunk/WebKitTools
wx build fix. Allow waf build to support Python < 2.6.
- 11:40 AM Changeset in webkit [48398] by
-
- 7 edits in trunk
WebCore: Document.elementFromPoint() and Document.caretRangeFromPoint() erroneously returning null at points visible only after scrolling.
https://bugs.webkit.org/show_bug.cgi?id=29245
Patch by Andrew Richards <randrew@gmail.com> on 2009-09-14
Reviewed by Sam Weinig.
Use visibleContentRect() instead of boundsRect() when checking hit point bounds on viewport.
- dom/Document.cpp:
(WebCore::Document::elementFromPoint):
(WebCore::Document::caretRangeFromPoint):
LayoutTests: Document.elementFromPoint() and Document.caretRangeFromPoint() returning null at points visible only after scrolling.
https://bugs.webkit.org/show_bug.cgi?id=29245
Patch by Andrew Richards <randrew@gmail.com> on 2009-09-14
Reviewed by Sam Weinig.
Extend tests to include hits in areas that are not in the initial containing block of the page.
- fast/dom/Document/CaretRangeFromPoint/hittest-relative-to-viewport-expected.txt:
- fast/dom/Document/CaretRangeFromPoint/hittest-relative-to-viewport.html:
- fast/dom/elementFromPoint-relative-to-viewport-expected.txt:
- fast/dom/elementFromPoint-relative-to-viewport.html:
- 11:36 AM Changeset in webkit [48397] by
-
- 3 edits9 adds in trunk
2009-09-15 Jungshik Shin <jshin@chromium.org>
Reviewed by Eric Seidel
Chromium Windows: When rotated, the baseline for a span of complex
script is completely misaligned with that of the adjacent
simple script text. It's fixed by not applying the baseline offset for
the Skia code path.
Test: transforms/2d/hindi-rotated.html
- platform/graphics/chromium/UniscribeHelper.cpp: (WebCore::UniscribeHelper::draw):
2009-09-15 Jungshik Shin <jshin@chromium.org>
Reviewed by Eric Seidel
Chromium Windows: When rotated, the baseline for a span of complex
script is completely misaligned with that of the adjacent simple
script text.
- transforms/2d/hindi-rotated.html: Added.
- platform/mac/transforms/2d/hindi-rotated-expected.checksum: Added.
- platform/mac/transforms/2d/hindi-rotated-expected.png: Added.
- platform/mac/transforms/2d/hindi-rotated-expected.txt: Added.
- platform/win/transforms: Added.
- platform/win/transforms/2d: Added.
- platform/win/transforms/2d/hindi-rotated-expected.checksum: Added.
- platform/win/transforms/2d/hindi-rotated-expected.png: Added.
- platform/win/transforms/2d/hindi-rotated-expected.txt: Added.
- 11:30 AM Changeset in webkit [48396] by
-
- 2 edits in trunk/WebCore
Pass the PopupMenu pointer to CreateWindowEx and then get it from the LPCREATESTRUCT in
the WM_CREATE handler. This way we don't have to first create an zero size window and then size it.
Reviewed by Adam Roben.
- platform/win/PopupMenuWin.cpp:
(WebCore::PopupMenu::show):
(WebCore::PopupMenu::PopupMenuWndProc):
- 11:27 AM Changeset in webkit [48395] by
-
- 5 edits in trunk
MessageEvent should not be cancelable by default
https://bugs.webkit.org/show_bug.cgi?id=27846
Reviewed by Darin Adler.
WebCore:
- dom/MessageEvent.cpp:
(WebCore::MessageEvent::MessageEvent):
Changed constructor to set cancelable=false by default, per the HTML5 spec.
LayoutTests:
- fast/events/message-port-expected.txt:
- fast/events/message-port.html:
Added test case to check state of MessageEvent.cancelable attribute.
- 11:20 AM Changeset in webkit [48394] by
-
- 2 edits in trunk/WebKit/mac
<rdar://problem/7224378> REGRESSION(r48360): Dragging a tab with a plug-in out of a window, the plug-in gets slow and confused
Reviewed by Anders Carlsson.
In r48360, the fix for <rdar://problem/7090444>, I neglected to consider the case where the plug-in had already been started and
-start would do an early-return rather than calling -restartTimers and -addWindowObservers itself.
- Plugins/WebBaseNetscapePluginView.mm:
(-[WebBaseNetscapePluginView viewDidMoveToWindow]): Reinstate the call to -restartTimers and -addWindowObservers, but guard them
with a check that the view is still in the window.
- 10:52 AM Changeset in webkit [48393] by
-
- 5 edits in trunk
2009-09-15 Charles Wei <charles.wei@torchmobile.com.cn>
Reviewed by George Staikos.
Add a new test case for SVG Path parsing with a default command and starts with dot '.'
https://bugs.webkit.org/show_bug.cgi?id=29123
- svg/dom/path-parser-expected.txt:
- svg/dom/resources/path-parser.js:
2009-09-15 Charles Wei <charles.wei@torchmobile.com.cn>
Reviewed by George Staikos.
Fix SVG path parsing error if a command starts with dot '.'
https://bugs.webkit.org/show_bug.cgi?id=29123
- svg/SVGParserUtilities.cpp: (WebCore::SVGPathParser::parseSVG):
- 6:14 AM Changeset in webkit [48392] by
-
- 10 edits1 add in trunk/WebCore
Implement conditional breakpoints in the Web Inspector frontend.
https://bugs.webkit.org/show_bug.cgi?id=28908
Patch by Alexander Pavlov <apavlov@chromium.org> on 2009-09-15
Reviewed by Timothy Hatcher.
- English.lproj/localizedStrings.js:
- WebCore.gypi:
- WebCore.vcproj/WebCore.vcproj:
- inspector/front-end/Breakpoint.js:
(WebInspector.Breakpoint.prototype.set condition):
- inspector/front-end/Popup.js: Added.
(WebInspector.Popup):
(WebInspector.Popup.prototype.show):
(WebInspector.Popup.prototype.hide):
(WebInspector.Popup.prototype.get visible):
(WebInspector.Popup.prototype.set element):
(WebInspector.Popup.prototype.get element):
(WebInspector.Popup.prototype.positionElement):
(WebInspector.Popup.prototype.set anchor):
(WebInspector.Popup.prototype.get anchor):
(WebInspector.Popup.prototype.set autoHide):
(WebInspector.Popup.prototype._checkNotVisible):
(WebInspector.Popup.prototype._keyEventHandler):
(WebInspector.Popup.prototype._mouseDownEventHandler):
- inspector/front-end/SourceFrame.js:
(WebInspector.SourceFrame.prototype.revealLine):
(WebInspector.SourceFrame.prototype._loaded):
(WebInspector.SourceFrame.prototype._documentContextMenu):
(WebInspector.SourceFrame.prototype._documentMouseDown):
(WebInspector.SourceFrame.prototype._editBreakpointCondition.committed):
(WebInspector.SourceFrame.prototype._editBreakpointCondition.dismissed):
(WebInspector.SourceFrame.prototype._editBreakpointCondition):
(WebInspector.SourceFrame.prototype._showBreakpointConditionPopup):
(WebInspector.SourceFrame.prototype._createPopupElement):
(WebInspector.SourceFrame.prototype._addBreakpointToSource):
(WebInspector.SourceFrame.prototype._removeBreakpointFromSource):
(WebInspector.SourceFrame.prototype._drawBreakpointImagesIfNeeded.drawBreakpoint):
(WebInspector.SourceFrame.prototype._drawBreakpointImagesIfNeeded):
- inspector/front-end/WebKit.qrc:
- inspector/front-end/inspector.html:
- inspector/front-end/inspector.js:
(WebInspector.set currentFocusElement):
(WebInspector.set currentPanel):
(WebInspector.loaded):
(WebInspector.contextMenu):
(WebInspector.elementDragStart):
(WebInspector.updateResource):
(WebInspector.drawLoadingPieChart):
(WebInspector.linkifyURLAsNode):
(WebInspector.startEditing.getContent):
(WebInspector.startEditing.editingCancelled):
(WebInspector.startEditing.editingCommitted):
- inspector/front-end/utilities.js:
(Element.prototype.positionAt):
(Element.prototype.offsetRelativeToWindow):
- 6:03 AM Changeset in webkit [48391] by
-
- 2 edits in trunk/JavaScriptCore
[Qt] Build fix for windows.
Patch by Csaba Osztrogonac <oszi@inf.u-szeged.hu> on 2009-09-15
Reviewed by Tor Arne Vestbø.
After http://trac.webkit.org/changeset/47795 the MinGW build broke,
because MinGW has mingw_aligned_malloc instead of _aligned_malloc.
- runtime/Collector.cpp:
(JSC::Heap::allocateBlock): MinGW case added.
(JSC::Heap::freeBlock): MinGW case added.
- 5:51 AM Changeset in webkit [48390] by
-
- 2 edits in trunk/JavaScriptCore
[Qt] Build fix for Windows/MinGW
Patch by Csaba Osztrogonac <oszi@inf.u-szeged.hu> on 2009-09-15
Reviewed by Tor Arne Vestbø.
https://bugs.webkit.org/show_bug.cgi?id=29268
- wtf/Platform.h: JSVALUE32_64 temporarily disabled on PLATFORM(WIN_OS) with COMPILER(MINGW)
- 4:29 AM Changeset in webkit [48389] by
-
- 3 edits1 add in trunk/JavaScriptCore
2009-09-14 Gabor Loki <loki@inf.u-szeged.hu>
Reviewed by Gavin Barraclough.
Detect VFP at runtime in generic ARM port on Linux platform.
https://bugs.webkit.org/show_bug.cgi?id=29076
- JavaScriptCore.pri:
- assembler/MacroAssemblerARM.cpp: Added. (JSC::isVFPPresent):
- assembler/MacroAssemblerARM.h: (JSC::MacroAssemblerARM::supportsFloatingPoint):
Sep 14, 2009:
- 9:25 PM Changeset in webkit [48388] by
-
- 5 edits in trunk
Page cache should support pages with unload handlers as an experiment.
<rdar://problem/7196485> and https://bugs.webkit.org/show_bug.cgi?id=29021
Reviewed by Darin Adler.
WebCore:
For the experiment, only allow pages with unload handlers into the Page Cache on
Mac and Windows.
- loader/FrameLoader.cpp:
(WebCore::FrameLoader::canCachePageContainingThisFrame):
(WebCore::FrameLoader::logCanCacheFrameDecision):
LayoutTests:
Disable fast/loader/frames-with-unload-handlers-in-page-cache.html as it doesn't
make sense in the context of this experiment.
- platform/mac/Skipped:
- platform/win/Skipped:
- 8:22 PM Changeset in webkit [48387] by
-
- 4 edits in branches/safari-4-branch
Versioning.
- 8:21 PM Changeset in webkit [48386] by
-
- 1 copy in tags/Safari-6531.18
New tag.
- 8:07 PM Changeset in webkit [48385] by
-
- 6 edits2 adds in branches/safari-4-branch
Merge r48368.
- 8:05 PM Changeset in webkit [48384] by
-
- 10 edits in branches/safari-4-branch/WebCore
Merge r48367.
- 7:11 PM Changeset in webkit [48383] by
-
- 5 edits in trunk
Undoing mess: committing test code
- 7:11 PM Changeset in webkit [48382] by
-
- 8 edits in trunk/WebKit/gtk
2009-09-14 Gustavo Noronha Silva <gustavo.noronha@collabora.co.uk>
Reviewed by Xan Lopez and Jan Alonzo.
https://bugs.webkit.org/show_bug.cgi?id=29134
[GTK] Add API to access sub resources
Implement getting subresources, and improve testing of
main, and sub resources loading.
- 7:08 PM Changeset in webkit [48381] by
-
- 5 edits in trunk
Java
- 6:28 PM Changeset in webkit [48380] by
-
- 4 edits3 adds in trunk
Add LayoutTests infrastructure to enable and disable webgl tests.
Also added a webgl test.
https://bugs.webkit.org/show_bug.cgi?id=29254
- 6:07 PM Changeset in webkit [48379] by
-
- 2 edits in trunk/WebCore
2009-09-14 Simon Fraser <Simon Fraser>
Fix the change in r48376 to do a null-check to fix a crashing test.
- dom/SelectElement.cpp: (WebCore::SelectElement::menuListDefaultEventHandler):
- 5:54 PM Changeset in webkit [48378] by
-
- 2 edits in trunk/WebKitTools
2009-09-14 Simon Fraser <Simon Fraser>
Reviewed by Darin Adler.
Add --iterations option to run-webkit-tests to repeat the tests N times
https://bugs.webkit.org/show_bug.cgi?id=29263
When run with --iterations N, run-webkit-tests will repeat the tests N times.
- Scripts/run-webkit-tests:
- 5:28 PM Changeset in webkit [48377] by
-
- 2 edits in trunk/LayoutTests
- 5:19 PM Changeset in webkit [48376] by
-
- 3 edits2 adds in trunk
2009-09-14 Simon Fraser <Simon Fraser>
Reviewed by Dan Bernstein.
<rdar://problem/7047282> Safari crashes at WebCore::RenderMenuList::adjustInnerStyle() + 436
Avoid a crash when a mouse event handler on a <select> changes the select from a popup
to a list (by setting the 'size' property) inside the event handler.
Test: fast/forms/select-change-popup-to-listbox-in-event-handler.html
- dom/SelectElement.cpp: (WebCore::SelectElement::menuListDefaultEventHandler):
- 4:52 PM Changeset in webkit [48375] by
-
- 3 edits in trunk/WebCore
More PopupMenu cleanup.
Reviewed by Jon Honeycutt.
- platform/PopupMenu.h:
- platform/win/PopupMenuWin.cpp:
(WebCore::PopupMenu::show):
Call registerClass.
(WebCore::PopupMenu::registerClass):
Make this a private static member function so it can refer to PopupMenuWndProc.
(WebCore::PopupMenu::PopupMenuWndProc):
Try to get the PopupMenu and call its wndProc member function.
(WebCore::PopupMenu::wndProc):
Make this a member function.
- 4:08 PM Changeset in webkit [48374] by
-
- 4 edits in trunk
Fix more fallout I wrought on myself by not testing the final authentication patch on Windows.
- 3:46 PM Changeset in webkit [48373] by
-
- 2 edits in trunk/WebKitTools
GTK build fix.
Unreviewed.
- DumpRenderTree/gtk/AccessibilityControllerGtk.cpp:
(AccessibilityController::setLogScrollingStartEvents):
- 3:45 PM Changeset in webkit [48372] by
-
- 2 edits in trunk/WebCore
Speculative Qt build fix.
- platform/qt/QWebPopup.cpp:
(WebCore::QWebPopup::hidePopup):
- 3:38 PM Changeset in webkit [48371] by
-
- 2 edits in trunk/WebCore
2009-09-14 Dirk Pranke <dpranke@chromium.org>
Reviewed by Darin Fisher.
Fix RenderThemeChromiumWin::determineClassicState so that classic_state
matches the state values (and you get a single classic_state value
for a given {part,state} value. This change will be tested by a
chromium patch that will land after this.
This will be tested by code landing downstream on Chromium.org; the
code does not execute on webkit.org.
- rendering/RenderThemeChromiumWin.cpp: (WebCore::RenderThemeChromiumWin::determineClassicState): (WebCore::RenderThemeChromiumWin::getThemeData):
- 3:14 PM Changeset in webkit [48370] by
-
- 11 edits in trunk/WebCore
https://bugs.webkit.org/show_bug.cgi?id=29138
Simplify popup menu handling.
Reviewed by Adam Roben.
- platform/PopupMenuClient.h:
Rename hidePopup to popupDidHide.
- platform/chromium/PopupMenuChromium.cpp:
(WebCore::PopupListBox::handleKeyEvent):
(WebCore::PopupListBox::abandon):
(WebCore::PopupListBox::acceptIndex):
Call popupDidHide instead of hidePopup.
- platform/gtk/PopupMenuGtk.cpp:
(WebCore::PopupMenu::menuUnmapped):
Ditto.
- platform/mac/PopupMenuMac.mm:
(WebCore::PopupMenu::show):
Ditto.
- platform/win/PopupMenuWin.cpp:
(WebCore::PopupMenu::hide):
Call popupDidHide.
(WebCore::PopupWndProc):
Call PopupMenu::hide.
- platform/wx/PopupMenuWx.cpp:
(WebCore::PopupMenu::OnMenuItemSelected):
Call popupDidHide.
- rendering/RenderMenuList.cpp:
(WebCore::RenderMenuList::hidePopup):
(WebCore::RenderMenuList::popupDidHide):
- rendering/RenderMenuList.h:
Set the "popup is visible" flag in popupDidHide.
- rendering/RenderTextControlSingleLine.cpp:
(WebCore::RenderTextControlSingleLine::hidePopup):
(WebCore::RenderTextControlSingleLine::popupDidHide):
- rendering/RenderTextControlSingleLine.h:
Ditto.
- 2:27 PM Changeset in webkit [48369] by
-
- 2 edits in trunk/WebCore
- Fix <rdar://problem/7182275>.
Reviewed by David Hyatt.
Make sure that the newly created scrollbar's style is up to date.
- platform/win/PopupMenuWin.cpp:
(WebCore::PopupMenu::~PopupMenu):
Call setParent so that the scrollbar's parts are torn down correctly.
(WebCore::PopupMenu::show):
Call styleChanged.
- 2:25 PM Changeset in webkit [48368] by
-
- 6 edits2 adds in trunk
DRT/test part of
<rdar://problem/7197644> WebKit should broadcast an MSAA event when
jumping to a named anchor
https://bugs.webkit.org/show_bug.cgi?id=28899
Reviewed by Adam Roben.
WebKitTools:
- DumpRenderTree/AccessibilityController.cpp:
(logScrollingStartEventsCallback):
Turn on logging of scrolling start events.
(AccessibilityController::getJSClass):
Add a "logScrollingStartEvents" to the AccessibilityController's JS
class definition.
(AccessibilityController::resetToConsistentState):
Turn off logging of scrolling start events.
- DumpRenderTree/AccessibilityController.h:
Declare setLogScrollingStartEvents(). Add a member for the scrolling
start event hook.
- DumpRenderTree/mac/AccessibilityControllerMac.cpp:
(AccessibilityController::setLogScrollingStartEvents):
Stubbed.
- DumpRenderTree/win/AccessibilityControllerWin.cpp:
(AccessibilityController::AccessibilityController):
Initialize the handle to 0.
(logEventProc):
Renamed from logFocusEventProc; now logs scrolling start events, too.
Removed the assertion that the event is a focus event. Added a switch
to print a message for focus, scrolling start, and other, unknown
events.
(AccessibilityController::setLogFocusEvents):
Changed to use logEventProc.
(AccessibilityController::setLogScrollingStartEvents):
If turning logging off, unhook the scrolling start event hook, and clear
the member holding the handle. If turning on, query for the root
accessible, so that accessibility is enabled for the WebView, and call
SetWinEventHook to setup an event hook using logEventProc as the
callback function.
LayoutTests:
- platform/win/accessibility/scroll-to-anchor-expected.txt: Added.
- platform/win/accessibility/scroll-to-anchor.html:
Added. Turns on scrolling start event logging, then jumps to an
anchor at the bottom of the page.
- 2:25 PM Changeset in webkit [48367] by
-
- 10 edits in trunk/WebCore
<rdar://problem/7197644> WebKit should broadcast an MSAA event when
jumping to a named anchor
https://bugs.webkit.org/show_bug.cgi?id=28899
Reviewed by Adam Roben.
- accessibility/AXObjectCache.h:
(WebCore::AXObjectCache::):
Added declaration for handleScrolledToAnchor(). Added a new entry to
the enum of accessibility notifications.
- accessibility/AccessibilityObject.cpp:
(WebCore::AccessibilityObject::firstAccessibleObjectFromNode):
Code moved from AccessibilityRenderObject::internalLinkElement() and
refactored slightly; walks the tree until it finds a Node (with a
renderer) whose accessibility is not ignored.
- accessibility/AccessibilityObject.h:
Added a declaration for firstAccessibleObjectFromNode().
- accessibility/AccessibilityRenderObject.cpp:
(WebCore::AccessibilityRenderObject::internalLinkElement):
Code moved to AccessibilityObject::firstAccessibleObjectFromNode().
- accessibility/chromium/AXObjectCacheChromium.cpp:
(WebCore::AXObjectCache::handleScrolledToAnchor):
Stubbed.
- accessibility/gtk/AXObjectCacheAtk.cpp:
(WebCore::AXObjectCache::handleScrolledToAnchor):
Stubbed.
- accessibility/mac/AXObjectCacheMac.mm:
(WebCore::AXObjectCache::postPlatformNotification):
Add a default case that returns early for notifications that Mac
doesn't handle.
(WebCore::AXObjectCache::handleScrolledToAnchor):
Stubbed.
- accessibility/win/AXObjectCacheWin.cpp:
(WebCore::AXObjectCache::handleScrolledToAnchor):
Post an AXScrolledToAnchor notification for the first accessible from
the anchor Node.
(WebCore::AXObjectCache::postPlatformNotification):
If the notification is AXFocusedUIElementChanged, fire an
EVENT_OBJECT_FOCUS. If the notification is AXScrolledToAnchor, fire
EVENT_SYSTEM_SCROLLINGSTART, matching Firefox.
(WebCore::AXObjectCache::handleFocusedUIElementChanged):
Code moved to postPlatformNotification().
- page/FrameView.cpp:
(WebCore::FrameView::scrollToAnchor):
Call AXObjectCache::handleScrolledToAnchor().
- 2:09 PM Changeset in webkit [48366] by
-
- 2 edits in trunk/WebCore
Cookies are not inspectable after reloading a page
https://bugs.webkit.org/show_bug.cgi?id=29222
Patch by Anthony Ricaud <rik@webkit.org> on 2009-09-14
Reviewed by Timothy Hatcher.
Create the cookieTreeElement on initialization instead of when the view is shown.
Reset the selected element of the sidebar on reset.
- inspector/front-end/StoragePanel.js:
(WebInspector.StoragePanel):
(WebInspector.StoragePanel.prototype.show):
(WebInspector.StoragePanel.prototype.reset):
- 2:07 PM CommitQueue edited by
- (diff)
- 1:32 PM Changeset in webkit [48365] by
-
- 3 edits in trunk/WebKitTools
Windows DRT build fix.
- 1:12 PM Changeset in webkit [48364] by
-
- 2 edits in trunk/WebCore
Windows build fix.
- platform/network/cf/ResourceHandleCFNet.cpp:
(WebCore::ResourceHandle::didReceiveAuthenticationChallenge):
(WebCore::ResourceHandle::receivedCredential):
(WebCore::WebCoreSynchronousLoader::didReceiveChallenge):
(WebCore::WebCoreSynchronousLoader::load):
- 1:05 PM Changeset in webkit [48363] by
-
- 32 edits16 adds in trunk
Safari 4 cannot be used to update firmware on Linksys routers.
<rdar://problem/7174050> and https://bugs.webkit.org/show_bug.cgi?id=29160
Reviewed by Alexey Proskuryakov.
WebCore:
In http://trac.webkit.org/changeset/42483, we disabled CFNetwork's session credential storage and
implemented our own in WebCore.
One feature we lost is that CFNetwork would automatically send previously authenticated credentials
with new connections when the paths match, as allowed by RFC 2617 for HTTP Basic and Digest Authentication.
Even though it's optional for User Agents to do this, (some?) Linksys routers rely on this behavior for
HTTP Basic Authentication. So now WebCore's CredentialStorage will track URL paths for Basic credentials.
We're not making this enhancement for Digest at this time, since we don't know of anything that broke
due to the change in Digest behavior.
Test: http/tests/loading/basic-credentials-sent-automatically.html
http/tests/loading/basic-auth-resend-wrong-credentials.html
- WebCore.base.exp:
- WebCore.vcproj/WebCore.vcproj:
- WebCore.xcodeproj/project.pbxproj:
- platform/network/Credential.cpp:
(WebCore::Credential::isEmpty):
- platform/network/Credential.h:
Add a slightly more full featured CredentialStore that will track URL paths a credential belongs to:
- platform/network/CredentialStorage.cpp: Added.
(WebCore::protectionSpaceToCredentialMap):
(WebCore::originToDefaultCredentialMap):
(WebCore::originStringFromURL):
(WebCore::CredentialStorage::set):
(WebCore::CredentialStorage::get):
(WebCore::CredentialStorage::getDefaultAuthenticationCredential):
- platform/network/CredentialStorage.h: Added.
Allow ProtectionSpace to be a hash key:
- platform/network/ProtectionSpace.cpp:
(WebCore::ProtectionSpace::ProtectionSpace):
- platform/network/ProtectionSpace.h:
(WebCore::ProtectionSpace::ProtectionSpace):
(WebCore::ProtectionSpace::isHashTableDeletedValue):
- platform/network/ProtectionSpaceHash.h: Added.
(WebCore::ProtectionSpaceHash::hash):
(WebCore::ProtectionSpaceHash::equal):
Allow ResourceHandles to remember the initial credential they used:
- platform/network/ResourceHandleInternal.h:
Allow mutable ResourceRequests to update their platform object if HTTP header fields change:
- platform/network/ResourceRequestBase.cpp:
(WebCore::ResourceRequestBase::addHTTPHeaderField):
Remove WebCoreCredentialStorage:
- platform/network/cf/AuthenticationCF.cpp:
- platform/network/cf/AuthenticationCF.h:
- platform/network/mac/AuthenticationMac.h:
- platform/network/mac/AuthenticationMac.mm:
Change ResourceHandleCFNet to try to use stored credentials on new connections, if appropriate:
- platform/network/cf/ResourceHandleCFNet.cpp:
(WebCore::ResourceHandle::start):
(WebCore::ResourceHandle::didReceiveAuthenticationChallenge): Only try the ProtectionSpace key'ed
Credential if it does not match the initially used Credential.
(WebCore::ResourceHandle::receivedCredential):
(WebCore::WebCoreSynchronousLoader::didReceiveChallenge): Only try the ProtectionSpace key'ed
Credential if it does not match the initially used Credential.
(WebCore::WebCoreSynchronousLoader::load):
Change ResourceHandleMac to try to use stored credentials on new connections, if appropriate:
- platform/network/mac/ResourceHandleMac.mm:
(WebCore::ResourceHandle::start):
(WebCore::ResourceHandle::didReceiveAuthenticationChallenge): Only try the ProtectionSpace key'ed
Credential if it does not match the initially used Credential.
(WebCore::ResourceHandle::receivedCredential):
(-[WebCoreSynchronousLoader connection:didReceiveAuthenticationChallenge:]): Only try the
ProtectionSpace key'ed Credential if it does not match the initially used Credential.
(+[WebCoreSynchronousLoader loadRequest:allowStoredCredentials:returningResponse:error:]):
Add base64-ability to CString:
- platform/text/CString.cpp:
(WebCore::CStringBuffer::base64Encode):
(WebCore::CString::base64Encode):
- platform/text/CString.h:
(WebCore::CStringBuffer::create):
(WebCore::CStringBuffer::CStringBuffer):
WebKit/mac:
Adopt the new WebCore::CredentialStorage in WebKit/Mac.
- Misc/WebDownload.mm:
(-[WebDownloadInternal download:didReceiveAuthenticationChallenge:]):
- Plugins/WebBaseNetscapePluginView.mm:
(WebKit::getAuthenticationInfo):
WebKit/win:
Adopt the new WebCore::CredentialStorage in WebKit/Win.
- WebDownloadCFNet.cpp:
(WebDownload::didReceiveAuthenticationChallenge):
WebKitTools:
Add the ability for DRT to handle authentication challenges.
- DumpRenderTree/LayoutTestController.cpp:
(setAuthenticationPasswordCallback):
(setAuthenticationUsernameCallback):
(setHandlesAuthenticationChallengesCallback):
(LayoutTestController::staticFunctions):
- DumpRenderTree/LayoutTestController.h:
(LayoutTestController::handlesAuthenticationChallenges):
(LayoutTestController::setHandlesAuthenticationChallenges):
(LayoutTestController::authenticationUsername):
(LayoutTestController::setAuthenticationUsername):
(LayoutTestController::authenticationPassword):
(LayoutTestController::setAuthenticationPassword):
- DumpRenderTree/mac/ResourceLoadDelegate.mm:
(-[ResourceLoadDelegate webView:resource:didReceiveAuthenticationChallenge:fromDataSource:]):
- DumpRenderTree/win/ResourceLoadDelegate.cpp:
(ResourceLoadDelegate::didReceiveAuthenticationChallenge):
- DumpRenderTree/win/ResourceLoadDelegate.h:
LayoutTests:
- http/tests/loading/basic-auth-resend-wrong-credentials-expected.txt: Added.
- http/tests/loading/basic-auth-resend-wrong-credentials.html: Added.
- http/tests/loading/basic-credentials-sent-automatically-expected.txt: Added.
- http/tests/loading/basic-credentials-sent-automatically.html: Added.
- http/tests/loading/resources/basic-auth-testing.php: Added.
- http/tests/loading/resources/othersubresources: Added.
- http/tests/loading/resources/othersubresources/protected-resource.php: Added.
- http/tests/loading/resources/protected-resource.php: Added.
- http/tests/loading/resources/subresources: Added.
- http/tests/loading/resources/subresources/protected-resource.php: Added.
- http/tests/loading/resources/test2: Added.
- http/tests/loading/resources/test2/basic-auth-testing.php: Added.
- http/tests/loading/resources/test2/protected-resource.php: Added.
- platform/gtk/Skipped:
- platform/qt/Skipped:
- 12:01 PM Changeset in webkit [48362] by
-
- 4 edits in trunk/LayoutTests
2009-09-14 Zan Dobersek <zandobersek@gmail.com>
Reviewed by Gustavo Noronha.
Add some tests that fail to the skipped list and rebaseline two tests
to pass them.
- platform/gtk/Skipped: Populate with more failing tests.
- platform/gtk/fast/dom/Window/window-properties-expected.txt: Rebaseline.
- platform/gtk/fast/dom/prototype-inheritance-2-expected.txt: Ditto.
- 11:10 AM Changeset in webkit [48361] by
-
- 3 edits2 adds in trunk
Test for <rdar://problem/6954546> and <rdar://problem/7090444>.
Reviewed by Dan Bernstein.
WebKitTools:
Add a flag on the test plug-in that asks it to clear the document during the call to NPP_New.
This is the trigger for both <rdar://problem/6954546> and <rdar://problem/7090444>.
- DumpRenderTree/TestNetscapePlugIn.subproj/main.cpp:
(NPP_New):
LayoutTests:
- plugins/destroy-during-npp-new-expected.txt: Added.
- plugins/destroy-during-npp-new.html: Added.
- 11:10 AM Changeset in webkit [48360] by
-
- 2 edits in trunk/WebKit/mac
Fix <rdar://problem/7090444> Crashes in-[WebBaseNetscapePluginView stop] handling NSWindowWillCloseNotification.
Reviewed by Anders Carlsson.
It's not valid to call -addWindowObservers when the view is not in a window, but this can happen when -start
initializes a plug-in and the plug-in removes itself from the document during initialization. -viewDidMoveToWindow
calls -start and then calls -addWindowObservers without ensuring that the view is still in a window.
If -[WebBaseNetscapePluginView addWindowObservers] is incorrectly called when the view is not in a window, it will
observe NSWindowWillCloseNotification on all windows. This unexpected observer registration is not balanced by an
unregistration so the notification can be delivered after the view is deallocated, causing the crash seen in
<rdar://problem/7090444>.
- Plugins/WebBaseNetscapePluginView.mm:
(-[WebBaseNetscapePluginView start]): Only call -updateAndSetWindow if we still have a current window.
(-[WebBaseNetscapePluginView viewDidMoveToWindow]): Remove unnecessary calls to -restartTimers and -addWindowObservers
from -[WebBaseNetscapePluginView viewDidMoveToWindow]. They are already called from within -start with the extra benefit
of ensuring that the view is still in a window when they are called.
- 11:10 AM Changeset in webkit [48359] by
-
- 2 edits in trunk/WebCore
Fix <rdar://problem/6954546> Crashes in WebCore::RenderPart::setWidget below FrameLoader::loadPlugin.
Reviewed by Dan Bernstein.
The calls to FrameLoader::requestObject within RenderPartObject::updateWidget can result in a plug-in
being initialized. This can run cause arbitrary JavaScript to run and may result in the RenderPartObject
being detached from the render tree and destroyed, causing a crash like <rdar://problem/6954546>.
No test is possible until <rdar://problem/7090444> is fixed
- rendering/RenderPartObject.cpp:
(WebCore::RenderPartObject::updateWidget): Ensure that we stay alive for the duration of plug-in initialization.
- 11:10 AM Changeset in webkit [48358] by
-
- 3 edits1 add in trunk/WebCore
Add RenderWidgetProtector to simplify protecting a RenderWidget from destruction for the duration of a function. Deploy it within RenderWidget.
Reviewed by Dan Bernstein.
- rendering/RenderWidget.cpp:
(WebCore::RenderWidget::setWidgetGeometry):
(WebCore::RenderWidget::updateWidgetPosition): Use a RefPtr rather than explicitly
ref'ing and deref'ing the node.
- rendering/RenderWidget.h:
- rendering/RenderWidgetProtector.h:
(WebCore::RenderWidgetProtector::RenderWidgetProtector):
(WebCore::RenderWidgetProtector::~RenderWidgetProtector):
- 10:26 AM Changeset in webkit [48357] by
-
- 2 edits in trunk/WebKit/qt
2009-09-14 Jakub Wieczorek <faw217@gmail.com>
Reviewed by Simon Hausmann.
[Qt] QWebGraphicsItem should check for null QWebPage.
https://bugs.webkit.org/show_bug.cgi?id=29185
Don't crash in QWebGraphicsItem when the page is still null, by
either checking if it's the case or constructing the default one.
- Api/qwebgraphicsitem.cpp: (QWebGraphicsItem::icon): (QWebGraphicsItem::setZoomFactor): (QWebGraphicsItem::zoomFactor): (QWebGraphicsItem::setGeometry): (QWebGraphicsItem::load): (QWebGraphicsItem::setHtml): (QWebGraphicsItem::toHtml): (QWebGraphicsItem::setContent): (QWebGraphicsItem::history): (QWebGraphicsItem::settings):
- 10:19 AM Changeset in webkit [48356] by
-
- 3 edits in trunk/WebCore
2009-09-14 Cameron McCormack <cam@mcc.id.au>
Reviewed by Eric Seidel.
CodeGenerator.pm needs some cleaning up
https://bugs.webkit.org/show_bug.cgi?id=29238
- bindings/scripts/CodeGenerator.pm: (FindParentsRecursively): Removed; its functionality is now handled in AddMethodsConstantsAndAttributesFromParentClasses. (ForAllParents): New function that visits an interface's ancestors and invokes a callback for each one. (AddMethodsConstantsAndAttributesFromParentClasses): Simplified by using ForAllParents. (GetMethodsAndAttributesFromParentClasses): Ditto. (IDLFileForInterface): Factored out previous calls to ScanDirectory into this new function, which returns the filename containing a given IDL interface definition. (ParseInterface): Simplified by using IDLFileForInterface. (ScanDirectory): Removed in lieu of IDLFileForInterface.
- bindings/scripts/CodeGeneratorV8.pm: Drop call to FindParentsRecursively and get the list of parents from the AddMethodsConstantsAndAttributesFromParentClasses call instead.
- 10:06 AM Changeset in webkit [48355] by
-
- 3 edits in trunk/WebKitTools
wx build fix for non-wxPython builds and a fix for errors when updating swig.py.
- 7:46 AM Changeset in webkit [48354] by
-
- 2 edits in trunk/WebCore
[Qt] Assert hit when dropping a file in QtLauncher
https://bugs.webkit.org/show_bug.cgi?id=29242
Patch by Yael Aharon <yael.aharon@nokia.com> on 2009-09-14
Reviewed by Tor Arne Vestbø.
Qt's implementation of DropData::asURL does not return a URL encoded string
as expected.
- platform/qt/DragDataQt.cpp:
- 5:45 AM Changeset in webkit [48353] by
-
- 5 edits in trunk
[Qt] Build fix for windows build.
Patch by Csaba Osztrogonac <oszi@inf.u-szeged.hu> on 2009-09-14
Reviewed by Tor Arne Vestbø.
- JavaScriptCore.pri: Correct a logic error.
- pcre/dftables: Add missing paranthesis for tmpdir function.
WebKitTools:
- Scripts/bisect-builds: Add missing paranthesis for tmpdir function.