- 25 Jan, 2010 10 commits
-
-
eric@webkit.org authored
Reviewed by Adam Barth. Improved prepare-ChangeLog so that it preserves the relative indentation of a git commit message. https://bugs.webkit.org/show_bug.cgi?id=34058 * Scripts/prepare-ChangeLog: - Also adjusted the script so that it does not add white space characters to empty lines. git-svn-id: svn://svn.chromium.org/blink/trunk@53796 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
pfeldman@chromium.org authored
Reviewed by Timothy Hatcher. Web Inspector: Add support for addMessage/clearMessages to SourceFrame2. https://bugs.webkit.org/show_bug.cgi?id=33904 * WebCore.gypi: * WebCore.vcproj/WebCore.vcproj: * inspector/front-end/SourceFrame2.js: (WebInspector.SourceFrame2): (WebInspector.SourceFrame2.prototype.addMessage): (WebInspector.SourceFrame2.prototype.clearMessages): (WebInspector.SourceFrame2.prototype._incrementMessageRepeatCount): (WebInspector.SourceFrame2.prototype._addExistingMessagesToSource): (WebInspector.SourceFrame2.prototype._addMessageToSource): (WebInspector.SourceFrame2.prototype.resize): * inspector/front-end/TextEditor.js: (WebInspector.TextEditor): (WebInspector.TextEditor.prototype.setDivDecoration): (WebInspector.TextEditor.prototype._lineHeight): (WebInspector.TextEditor.prototype._highlightChanged): (WebInspector.TextEditor.prototype.packAndRepaintAll): (WebInspector.TextEditor.prototype._updateSize): (WebInspector.TextEditor.prototype._repaintAll): (WebInspector.TextEditor.prototype._paint): (WebInspector.TextEditor.prototype._paintLinesContinuation): (WebInspector.TextEditor.prototype._mouseOut): (WebInspector.TextEditor.prototype._updateDivDecorations): (WebInspector.TextEditor.prototype._positionDivDecoration): (WebInspector.TextEditor.prototype._paintSelection): (WebInspector.TextEditor.prototype._replaceSelectionWith): * inspector/front-end/TextEditorHighlighter.js: (WebInspector.TextEditorHighlighter.prototype.updateHighlight): * inspector/front-end/WebKit.qrc: * inspector/front-end/inspector.css: * inspector/front-end/inspector.html: * inspector/front-end/textEditor.css: Added. git-svn-id: svn://svn.chromium.org/blink/trunk@53795 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
pfeldman@chromium.org authored
Reviewed by Timothy Hatcher. Web Inspector: Replace split pane with tabbed pane in resource contents view. https://bugs.webkit.org/show_bug.cgi?id=32453 * inspector/front-end/ResourceView.js: (WebInspector.ResourceView): (WebInspector.ResourceView.prototype.attach): (WebInspector.ResourceView.prototype.show): (WebInspector.ResourceView.prototype._selectTab): (WebInspector.ResourceView.prototype._selectHeadersTab): (WebInspector.ResourceView.prototype._selectContentTab): * inspector/front-end/ResourcesPanel.js: (WebInspector.ResourcesPanel.prototype.show): git-svn-id: svn://svn.chromium.org/blink/trunk@53794 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
rolandsteiner@chromium.org authored
Fix expected baselines for ruby layout tests on Windows. * platform/win/fast/ruby/ruby-empty-rt-expected.txt: * platform/win/fast/ruby/ruby-length-expected.txt: * platform/win/fast/ruby/ruby-run-break-expected.txt: * platform/win/fast/ruby/ruby-runs-expected.txt: * platform/win/fast/ruby/ruby-runs-spans-expected.txt: * platform/win/fast/ruby/ruby-simple-expected.txt: * platform/win/fast/ruby/ruby-simple-rp-expected.txt: * platform/win/fast/ruby/ruby-trailing-expected.txt: * platform/win/fast/ruby/rubyDOM-insert-rt-expected.txt: * platform/win/fast/ruby/rubyDOM-insert-text1-expected.txt: * platform/win/fast/ruby/rubyDOM-insert-text2-expected.txt: * platform/win/fast/ruby/rubyDOM-insert-text3-expected.txt: * platform/win/fast/ruby/rubyDOM-remove-rt1-expected.txt: * platform/win/fast/ruby/rubyDOM-remove-rt2-expected.txt: * platform/win/fast/ruby/rubyDOM-remove-text1-expected.txt: * platform/win/fast/ruby/rubyDOM-remove-text2-expected.txt: git-svn-id: svn://svn.chromium.org/blink/trunk@53793 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
eric.carlson@apple.com authored
Reviewed by Dan Bernstein. Media element duration changes to zero after playing in reverse https://bugs.webkit.org/show_bug.cgi?id=34041 Test: media/video-reverse-play-duration.html * platform/graphics/mac/MediaPlayerPrivateQTKit.mm: (WebCore::MediaPlayerPrivate::didEnd): QTKit's ended notification fires at time zero when playing in reverse, so don't reset duration in that case. 2010-01-24 Eric Carlson <eric.carlson@apple.com> Reviewed by Dan Bernstein. Media element duration changes to zero after playing in reverse https://bugs.webkit.org/show_bug.cgi?id=34041 * media/video-reverse-play-duration-expected.txt: Added. * media/video-reverse-play-duration.html: Added. git-svn-id: svn://svn.chromium.org/blink/trunk@53792 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
rolandsteiner@chromium.org authored
(https://bugs.webkit.org/show_bug.cgi?id=28420, patch 5b) Reviewed by Maciej Stachowiak. After creating new Latin-character-only layout tests for ruby (https://bugs.webkit.org/show_bug.cgi?id=31865) and resolving the issue that caused layout tests to fail then due to the addition of the ruby layout tests (cf. https://bugs.webkit.org/show_bug.cgi?id=31200, problem not actually caused by ruby), the ruby layout tests should als be un-skipped for the Windows platform. * platform/win/Skipped: git-svn-id: svn://svn.chromium.org/blink/trunk@53791 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
mjs@apple.com authored
Reviewed by Dan Bernstein. Content with heavily nested residual style is so slow, it seems like a hang https://bugs.webkit.org/show_bug.cgi?id=34059 <rdar://problem/7292906> Test cast: fast/parser/residual-style-hang.html * html/HTMLParser.cpp: (WebCore::HTMLParser::handleResidualStyleCloseTagAcrossBlocks): Limit the number of iterations of the main loop to 5. The reason this limit is necessary is that otherwise, N misnested open tags followed by N misnested close tags will cause O(N^2) of work due to cloning and attaching subtrees; at a fixed limit, the cost is at worst O(N). The code that was in the loop originally ran exactly once - the loop was added in r21472 to fix <https://bugs.webkit.org/show_bug.cgi?id=13603>. I have verified that with the iteration limit, the bug is still fixed, both with the original test case and with the layout tests tht were added. 2010-01-24 Maciej Stachowiak <mjs@apple.com> Reviewed by Dan Bernstein. Content with heavily nested residual style is so slow, it seems like a hang https://bugs.webkit.org/show_bug.cgi?id=34059 <rdar://problem/7292906> Test case for the above bug fix. * fast/parser/residual-style-hang-expected.txt: Added. * fast/parser/residual-style-hang.html: Added. git-svn-id: svn://svn.chromium.org/blink/trunk@53790 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
eric@webkit.org authored
Reviewed by Maciej Stachowiak. Refactor JITStubs.cpp so that DEFINE_STUB_FUNCTION is only used once for each function https://bugs.webkit.org/show_bug.cgi?id=33866 Place the guard USE(JSVALUE32_64) inside the body of the DEFINE_STUB_FUNCTION macro for those functions that are always present. * jit/JITStubs.cpp: (JSC::DEFINE_STUB_FUNCTION): git-svn-id: svn://svn.chromium.org/blink/trunk@53789 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
eric@webkit.org authored
Reviewed by Darin Adler. Improve portability of listbox-selection-2.html https://bugs.webkit.org/show_bug.cgi?id=33994 - Convert to dumpAsText(). - Determine the height of an item at runtime * fast/forms/listbox-selection-2-expected.txt: Added. * fast/forms/listbox-selection-2.html: * fast/forms/script-tests/listbox-selection-2.js * platform/mac/fast/forms/listbox-selection-2-expected.checksum: Removed. * platform/mac/fast/forms/listbox-selection-2-expected.png: Removed. * platform/mac/fast/forms/listbox-selection-2-expected.txt: Removed. git-svn-id: svn://svn.chromium.org/blink/trunk@53788 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
tkent@chromium.org authored
Reviewed by Darin Adler. HTMLInputElement::valueAsDate setter support for type=week. https://bugs.webkit.org/show_bug.cgi?id=33986 Add setter tests to input-valueasdate-datetime.js, and update the expectation. * fast/forms/input-valueasdate-week-expected.txt: * fast/forms/script-tests/input-valueasdate-week.js: 2010-01-24 Kent Tamura <tkent@chromium.org> Reviewed by Darin Adler. HTMLInputElement::valueAsDate setter support for type=week. https://bugs.webkit.org/show_bug.cgi?id=33986 Introduce ISODateTime::setMillisecondsSinceEpochForWeek() and add Week type support to ISODateTime::toString(). * html/HTMLInputElement.cpp: (WebCore::HTMLInputElement::valueAsDate): Avoid default:. (WebCore::HTMLInputElement::setValueAsDate): Add WEEK type handling and avoid default:. * html/ISODateTime.cpp: (WebCore::offsetTo1stWeekStart): (WebCore::ISODateTime::setMillisecondsSinceEpochForWeek): (WebCore::ISODateTime::millisecondsSinceEpoch): (WebCore::ISODateTime::toString): Add Week type support and avoid default:. * html/ISODateTime.h: git-svn-id: svn://svn.chromium.org/blink/trunk@53787 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
- 24 Jan, 2010 14 commits
-
-
eric.carlson@apple.com authored
No review, build fix. Only log the first 'timeupdate' event from audio-delete-while-slider-thumb-clicked.html as the number fired can vary according to how long it takes to run the test. * media/audio-delete-while-slider-thumb-clicked.html: git-svn-id: svn://svn.chromium.org/blink/trunk@53786 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
oliver@apple.com authored
Reviewed by Darin Adler. Object Serialization assumes deserialization will always occur in the context of a webpage https://bugs.webkit.org/show_bug.cgi?id=34056 rdar://7573833 Added ClassInfo to JSDOMGlobalObject and make the window and worker class info inherit from it. With this in place we're able to determine whether a given global object is a DOMGlobalObject, and then use that information to avoid attempting to deserialize types that require the presence of the DOM. No test as all global objects in webkit inherit from JSDOMGlobalObject. * bindings/js/JSDOMGlobalObject.cpp: (WebCore::): * bindings/js/JSDOMGlobalObject.h: (WebCore::JSDOMGlobalObject::classInfo): * bindings/js/JSDOMWindowBase.cpp: (WebCore::): * bindings/js/JSWorkerContextBase.cpp: (WebCore::): * bindings/js/SerializedScriptValue.cpp: (WebCore::DeserializingTreeWalker::DeserializingTreeWalker): (WebCore::DeserializingTreeWalker::convertIfTerminal): git-svn-id: svn://svn.chromium.org/blink/trunk@53785 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
eric@webkit.org authored
No review. Middle clicking the primary scroll bars on Chromium Linux triggers a paste event https://bugs.webkit.org/show_bug.cgi?id=33062 * platform/gtk/Skipped: - This new test fails on Gtk for unknown reasons. - Skipping for now to make the bots green, until a Gtk person can look. git-svn-id: svn://svn.chromium.org/blink/trunk@53784 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
eric@webkit.org authored
No review, rolling out r53763. http://trac.webkit.org/changeset/53763 https://bugs.webkit.org/show_bug.cgi?id=33895 Broke 20+ tests on Windows. * Scripts/run-webkit-tests: * Scripts/webkitdirs.pm: git-svn-id: svn://svn.chromium.org/blink/trunk@53783 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
cjerdonek@webkit.org authored
license text. Also added information about copyright lines. Reviewed by David Kilzer. https://bugs.webkit.org/show_bug.cgi?id=34017 * coding/contributing.html: * css/main.css: - Added CSS class for books. git-svn-id: svn://svn.chromium.org/blink/trunk@53782 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
simon.fraser@apple.com authored
No review. Fix incorrect layout test that I checked in earlier. * platform/mac/compositing/reflections/load-video-in-reflection-expected.checksum: * platform/mac/compositing/reflections/load-video-in-reflection-expected.png: * platform/mac/compositing/reflections/load-video-in-reflection-expected.txt: git-svn-id: svn://svn.chromium.org/blink/trunk@53781 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
eric.carlson@apple.com authored
Reviewed by Simon Fraser. https://bugs.webkit.org/show_bug.cgi?id=34047 <rdar://problem/7573699> Media element "endedPlayback" logic doesn't match spec Test: media/video-timeupdate-reverse-play.html * html/HTMLMediaElement.cpp: (WebCore::HTMLMediaElement::ended): The 'ended' attribute should only be true when playback rate is positive. (WebCore::HTMLMediaElement::mediaPlayerTimeChanged): Always schedule a 'timeupdate' event when the media engine signals a time discontinuity, scheduleTimeupdateEvent will only queue an event if one hasn't already been posted for the current movie time. (WebCore::HTMLMediaElement::endedPlayback): Update to match the spec logic. 2010-01-24 Eric Carlson <eric.carlson@apple.com> Reviewed by Simon Fraser. https://bugs.webkit.org/show_bug.cgi?id=34047 <rdar://problem/7573699> Media element "endedPlayback" logic doesn't match spec * media/video-timeupdate-reverse-play-expected.txt: Added. * media/video-timeupdate-reverse-play.html: Added. git-svn-id: svn://svn.chromium.org/blink/trunk@53780 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
simon.fraser@apple.com authored
Reviewed by Darin Adler. Video that loads inside reflection doesn't get reflected https://bugs.webkit.org/show_bug.cgi?id=34046 ensureCloneLayers() made an incorrect assumption that if a clone of the primaryLayer exists already, then the structural layer and content layer can just be returned. However, this doesn't account for the situation where a content layer may have been create after the clone tree was last updated. Fix by always creating the structural and clone layers on demand. Test: compositing/reflections/load-video-in-reflection.html * platform/graphics/mac/GraphicsLayerCA.h: Added utility method, findOrMakeClone(). * platform/graphics/mac/GraphicsLayerCA.mm: (WebCore::GraphicsLayerCA::findOrMakeClone): Utility that efficiently finds or creates a layer in a LayerMap. (WebCore::GraphicsLayerCA::ensureCloneLayers): Always look for or clone the structural and content layers, rather than relying on whether there's a primary layer clone already. git-svn-id: svn://svn.chromium.org/blink/trunk@53779 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
abarth@webkit.org authored
More pep8 compliance. * Scripts/webkitpy/mock_bugzillatool.py: git-svn-id: svn://svn.chromium.org/blink/trunk@53778 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
abarth@webkit.org authored
More pep8 compliance. * Scripts/webkitpy/executive.py: * Scripts/webkitpy/grammar.py: git-svn-id: svn://svn.chromium.org/blink/trunk@53777 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
abarth@webkit.org authored
More pep8 compliance. * Scripts/webkitpy/comments.py: * Scripts/webkitpy/committers.py: * Scripts/webkitpy/credentials.py: git-svn-id: svn://svn.chromium.org/blink/trunk@53776 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
abarth@webkit.org authored
Make changelogs.py pass pep8. * Scripts/webkitpy/changelogs.py: git-svn-id: svn://svn.chromium.org/blink/trunk@53775 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
oliver@apple.com authored
Reviewed by Maciej Stachowiak. Implement support for FileList cloning in postMessage https://bugs.webkit.org/show_bug.cgi?id=34048 Add test for passing a FileList through postMessage, and correct testing already present to test what it was meant to be. * fast/dom/Window/window-postmessage-clone-expected.txt: * fast/dom/Window/window-postmessage-clone.html: 2010-01-23 Oliver Hunt <oliver@apple.com> Reviewed by Maciej Stachowiak. Implement support for FileList cloning in postMessage https://bugs.webkit.org/show_bug.cgi?id=34048 Support passing FileList through postMessage APIs. Basically mechanical task in line with other terminals in the object graph. * bindings/js/SerializedScriptValue.cpp: (WebCore::SerializedFileList::create): (WebCore::SerializedFileList::length): (WebCore::SerializedFileList::item): (WebCore::SerializedFileList::SerializedFileList): (WebCore::SerializedScriptValueData::SerializedScriptValueData): (WebCore::SharedSerializedData::asFileList): (WebCore::SerializingTreeWalker::convertIfTerminal): (WebCore::DeserializingTreeWalker::convertIfTerminal): (WebCore::TeardownTreeWalker::convertIfTerminal): Rearrange these functions to not use 'default:' handling so that the compiler will actually tell us when we're not handling cases. * bindings/js/SerializedScriptValue.h: (WebCore::SerializedScriptValueData::): (WebCore::SerializedScriptValueData::asFileList): git-svn-id: svn://svn.chromium.org/blink/trunk@53774 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
rdar://problem/7569820mitz@apple.com authored
https://bugs.webkit.org/show_bug.cgi?id=34006 Reviewed by Maciej Stachowiak. WebKit/win: * WebPreferences.cpp: (WebPreferences::initializeDefaultSettings): Added WebKitZoomsTextOnlyPreferenceKey with a default value of true. LayoutTests: * platform/win/svg/custom/text-zoom-expected.txt: Removed. git-svn-id: svn://svn.chromium.org/blink/trunk@53773 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
- 23 Jan, 2010 16 commits
-
-
kenneth@webkit.org authored
* QtLauncher/QtLauncher.pro: * QtLauncher/webinspector.h: git-svn-id: svn://svn.chromium.org/blink/trunk@53772 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
kenneth@webkit.org authored
[Qt] Move the WebInspector class to it's own header file. * QtLauncher/main.cpp: * QtLauncher/webinspector.h: Added. (WebInspector::WebInspector): (WebInspector::showEvent): (WebInspector::hideEvent): git-svn-id: svn://svn.chromium.org/blink/trunk@53771 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
eric@webkit.org authored
Reviewed by Kenneth Rohde Christiansen. Qt DRT: respect window.close() and window.closed() Qt DRT needs to maintain a correct count of open windows for windowCount(). It also needs to delete windows that have been closed by window.close(). This fixes the following tests: plugins/destroy-during-npp-new.html fast/dom/Document/early-document-access.html fast/dom/Window/window-early-properties.html fast/events/open-window-from-another-frame.html fast/events/popup-blocking-click-in-iframe.html https://bugs.webkit.org/show_bug.cgi?id=32953 * platform/qt/Skipped: 2010-01-23 Robert Hogan <robert@roberthogan.net> Reviewed by Kenneth Rohde Christiansen. Qt DRT: respect window.close() and window.closed() Qt DRT needs to maintain a correct count of open windows for windowCount(). It also needs to delete windows that have been closed by window.close(). This fixes the following tests: plugins/destroy-during-npp-new.html fast/dom/Document/early-document-access.html fast/dom/Window/window-early-properties.html fast/events/open-window-from-another-frame.html fast/events/popup-blocking-click-in-iframe.html https://bugs.webkit.org/show_bug.cgi?id=32953 * DumpRenderTree/qt/DumpRenderTreeQt.cpp: (WebCore::DumpRenderTree::DumpRenderTree): (WebCore::DumpRenderTree::createWindow): (WebCore::DumpRenderTree::windowCloseRequested): * DumpRenderTree/qt/DumpRenderTreeQt.h: * DumpRenderTree/qt/LayoutTestControllerQt.cpp: (LayoutTestController::maybeDump): git-svn-id: svn://svn.chromium.org/blink/trunk@53770 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
eric@webkit.org authored
Reviewed by Kenneth Rohde Christiansen. [Qt] Fix positioning of ComboBox popup in QGraphicsWebView. Wrap the popup in a QGraphicsProxyWidget, so that the popup transforms with the item. https://bugs.webkit.org/show_bug.cgi?id=33887 * WebCoreSupport/QtFallbackWebPopup.cpp: (WebCore::QtFallbackWebPopupCombo::hidePopup): (WebCore::QtFallbackWebPopup::QtFallbackWebPopup): (WebCore::QtFallbackWebPopup::~QtFallbackWebPopup): (WebCore::QtFallbackWebPopup::show): * WebCoreSupport/QtFallbackWebPopup.h: git-svn-id: svn://svn.chromium.org/blink/trunk@53769 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
simon.fraser@apple.com authored
Reviewed by Eric Carlson. Race condition in video setup can force videos into software mode https://bugs.webkit.org/show_bug.cgi?id=34034 We used to call setUpVideoRendering() unconditionally from acceleratedRenderingStateChanged(); this could happen before the movie had any data, and thus force the movie into software rendering mode. Fix by returning early from setUpVideoRendering() if isReadyForRendering() returns false, which also allows us to remove some other checks for being ready to render. Timing dependent, hard to make a test for. * platform/graphics/mac/GraphicsLayerCA.mm: (WebCore::GraphicsLayerCA::setContentsToMedia): Optimize to do an early return if passing in the same layer that is already being used. * platform/graphics/mac/MediaPlayerPrivateQTKit.mm: (WebCore::MediaPlayerPrivate::setUpVideoRendering): Return without doing anything if not ready to render. (WebCore::MediaPlayerPrivate::updateStates): No need to call isReadyForRendering() any more, since setUpVideoRendering() does that. (WebCore::MediaPlayerPrivate::setVisible): No need to check the ready state; this is equivalent to the check inside of setUpVideoRendering(). git-svn-id: svn://svn.chromium.org/blink/trunk@53768 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
yurys@chromium.org authored
Unreviewed. Add new inspector test added in r53766 to skipi list on qt platform. * platform/qt/Skipped: git-svn-id: svn://svn.chromium.org/blink/trunk@53767 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
yurys@chromium.org authored
Reviewed by Pavel Feldman. Inject inspector script directly into the inspected context. All the communication between the script and the frontend is serialized into JSON strings. It allows to get rid of object quarantines in Web Inspector. https://bugs.webkit.org/show_bug.cgi?id=32554 Test: inspector/console-log-before-inspector-open.html * bindings/js/JSInjectedScriptHostCustom.cpp: (WebCore::JSInjectedScriptHost::databaseForId): (WebCore::JSInjectedScriptHost::currentCallFrame): (WebCore::JSInjectedScriptHost::nodeForId): (WebCore::JSInjectedScriptHost::pushNodePathToFrontend): (WebCore::JSInjectedScriptHost::selectDatabase): (WebCore::JSInjectedScriptHost::selectDOMStorage): * bindings/js/ScriptCallStack.h: (WebCore::ScriptCallStack::globalState): * bindings/js/ScriptController.cpp: (WebCore::ScriptController::mainWorldScriptState): * bindings/js/ScriptController.h: * bindings/js/ScriptObject.h: (WebCore::ScriptObject::scriptState): * bindings/js/ScriptValue.cpp: * bindings/js/ScriptValue.h: * bindings/v8/ScriptCallStack.h: (WebCore::ScriptCallStack::globalState): * bindings/v8/ScriptObject.h: (WebCore::ScriptObject::scriptState): * bindings/v8/ScriptValue.h: * bindings/v8/custom/V8InjectedScriptHostCustom.cpp: * inspector/ConsoleMessage.cpp: (WebCore::ConsoleMessage::ConsoleMessage): (WebCore::ConsoleMessage::addToConsole): (WebCore::ConsoleMessage::isEqual): * inspector/ConsoleMessage.h: * inspector/InjectedScriptHost.cpp: (WebCore::InjectedScriptHost::releaseWrapperObjectGroup): * inspector/InjectedScriptHost.h: * inspector/InjectedScriptHost.idl: * inspector/InspectorBackend.cpp: (WebCore::InspectorBackend::setInjectedScriptSource): (WebCore::InspectorBackend::dispatchOnInjectedScript): (WebCore::InspectorBackend::releaseWrapperObjectGroup): * inspector/InspectorBackend.h: * inspector/InspectorBackend.idl: * inspector/InspectorController.cpp: (WebCore::InspectorController::InspectorController): (WebCore::InspectorController::clearConsoleMessages): (WebCore::InspectorController::inspectedWindowScriptObjectCleared): (WebCore::InspectorController::windowScriptObjectAvailable): (WebCore::InspectorController::scriptObjectReady): (WebCore::InspectorController::setFrontendProxyObject): (WebCore::InspectorController::close): (WebCore::InspectorController::resetScriptObjects): (WebCore::InspectorController::didPause): (WebCore::InspectorController::injectedScriptForNodeId): * inspector/InspectorController.h: * inspector/InspectorFrontend.cpp: (WebCore::InspectorFrontend::addConsoleMessage): (WebCore::InspectorFrontend::pausedScript): * inspector/InspectorFrontend.h: * inspector/front-end/AuditsPanel.js: (WebInspector.AuditsPanel.prototype._reloadResources): * inspector/front-end/ConsoleView.js: (WebInspector.ConsoleView.prototype.requestClearMessages): (WebInspector.ConsoleView.prototype.doEvalInWindow): * inspector/front-end/DOMAgent.js: (WebInspector.DOMNode): (WebInspector.CSSStyleDeclaration): (WebInspector.CSSStyleDeclaration.parseRule): * inspector/front-end/Database.js: (WebInspector.Database.prototype.executeSql): * inspector/front-end/ElementsPanel.js: (WebInspector.ElementsPanel.this.treeOutline.focusedNodeChanged.InjectedScriptAccess.get addInspectedNode): (WebInspector.ElementsPanel.this.treeOutline.focusedNodeChanged): (WebInspector.ElementsPanel.prototype.setDocument): (WebInspector.ElementsPanel.prototype.searchCanceled): (WebInspector.ElementsPanel.prototype.performSearch): * inspector/front-end/ElementsTreeOutline.js: (WebInspector.ElementsTreeElement.prototype.createTooltipForImageNode): * inspector/front-end/EventListenersSidebarPane.js: (): * inspector/front-end/InjectedScript.js: (injectedScriptConstructor): (injectedScriptConstructor.): * inspector/front-end/InjectedScriptAccess.js: (InjectedScriptAccess): (InjectedScriptAccess.getDefault): (get InjectedScriptAccess): (InjectedScriptAccess._installHandler.InjectedScriptAccess.prototype.methodName): (InjectedScriptAccess._installHandler): * inspector/front-end/MetricsSidebarPane.js: (WebInspector.MetricsSidebarPane): (WebInspector.MetricsSidebarPane.prototype.update.inlineStyleCallback): * inspector/front-end/ObjectPropertiesSection.js: * inspector/front-end/ObjectProxy.js: (WebInspector.ObjectProxy): * inspector/front-end/PropertiesSidebarPane.js: (WebInspector.PropertiesSidebarPane.prototype.update.callback): * inspector/front-end/ResourcesPanel.js: (WebInspector.ResourceSidebarTreeElement.prototype.ondblclick): * inspector/front-end/ScriptsPanel.js: * inspector/front-end/StylesSidebarPane.js: (WebInspector.StylePropertyTreeElement.prototype): * inspector/front-end/WatchExpressionsSidebarPane.js: (WebInspector.WatchExpressionsSection.prototype.update): * inspector/front-end/inspector.js: (WebInspector.loaded): (WebInspector.pausedScript): (WebInspector.addConsoleMessage): (WebInspector.log.logMessage): (WebInspector.log): 2010-01-23 Yury Semikhatsky <yurys@chromium.org> Reviewed by Pavel Feldman. Inject inspector script directly into the inspected context. All the communication between the script and the frontend is serialized into JSON strings. It allows to get rid of object quarantines in Web Inspector. Test that web inspector doesn't crash when opening if there are messages in the console. Refactor test case due to InjectedScriptAccess changes. https://bugs.webkit.org/show_bug.cgi?id=32554 * inspector/console-log-before-inspector-open-expected.txt: Added. * inspector/console-log-before-inspector-open.html: Added. * inspector/styles-iframe.html: git-svn-id: svn://svn.chromium.org/blink/trunk@53766 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
mitz@apple.com authored
the bundle does not contain frameworks for the current Mac OS X version. Reviewed by Mark Rowe. * WebKitLauncher/main.m: (fallbackMacOSXVersion): Added. Looks up the fallback version in a dictionary keyed by the FallbackSystemVersions user default and returns it. (main): If a frameworks directory for the current system version is not found, try the fallback. git-svn-id: svn://svn.chromium.org/blink/trunk@53765 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
eric@webkit.org authored
Reviewed by David Hyatt. Updated tests due to stylesheet changes. * platform/mac/mathml/presentation/sub-expected.checksum: * platform/mac/mathml/presentation/sub-expected.png: * platform/mac/mathml/presentation/sub-expected.txt: * platform/mac/mathml/presentation/sup-expected.checksum: * platform/mac/mathml/presentation/sup-expected.png: * platform/mac/mathml/presentation/sup-expected.txt: * platform/mac/mathml/presentation/tables-expected.checksum: * platform/mac/mathml/presentation/tables-expected.png: * platform/mac/mathml/presentation/tables-expected.txt: 2010-01-22 Alex Milowski <alex@milowski.com> Reviewed by David Hyatt. Added support for RenderMathMLBlock base object and isRenderMathMLBlock() method on RenderObject. Added support for text elements and updated tag and attribute names Also, updated the stylesheet added files to the project * DerivedSources.make: * WebCore.xcodeproj/project.pbxproj: * css/mathml.css: * mathml/MathMLInlineContainerElement.cpp: (WebCore::MathMLInlineContainerElement::createRenderer): * mathml/MathMLTextElement.cpp: Added. (WebCore::MathMLTextElement::MathMLTextElement): (WebCore::MathMLTextElement::create): (WebCore::MathMLTextElement::createRenderer): * mathml/MathMLTextElement.h: Added. * mathml/RenderMathMLBlock.cpp: Added. (WebCore::RenderMathMLBlock::RenderMathMLBlock): (WebCore::RenderMathMLBlock::styleDidChange): (WebCore::RenderMathMLBlock::isChildAllowed): (WebCore::RenderMathMLBlock::makeBlockStyle): (WebCore::RenderMathMLBlock::nonOperatorHeight): (WebCore::RenderMathMLBlock::stretchToHeight): * mathml/RenderMathMLBlock.h: Added. (WebCore::RenderMathMLBlock::isRenderMathMLBlock): (WebCore::RenderMathMLBlock::isRenderMathMLOperator): (WebCore::RenderMathMLBlock::isRenderMathMLRow): (WebCore::RenderMathMLBlock::isRenderMathMLMath): (WebCore::RenderMathMLBlock::hasBase): (WebCore::toRenderMathMLBlock): * mathml/mathattrs.in: Added. * rendering/RenderObject.h: (WebCore::RenderObject::isRenderMathMLBlock): git-svn-id: svn://svn.chromium.org/blink/trunk@53764 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
eric@webkit.org authored
Reviewed by Simon Hausmann. Make run-webkit-tests work under Cygwin for the Qt port setPathForRunningWebKitApp() is implemented for the Qt port by using qmake to query for the location of the Qt libraries. This requires the original environment (%ENV) to be untouched, so launchWithCurrentEnv() was refactored to launchWithEnv(), and the code in openDumpTool() to not use %ENV but a %CLEAN_ENV instead. This has the added benefit of getting rid of the temp variables used for storing the current env. openDumpTool() is also refactored a bit into platform-spesific, port-spesific, and generic environment variables. Checks for undef was added a few places to fix Perl concat warnings when run-webkit-tests is aborted. https://bugs.webkit.org/show_bug.cgi?id=33895 * Scripts/run-webkit-tests: * Scripts/webkitdirs.pm: git-svn-id: svn://svn.chromium.org/blink/trunk@53763 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
eric@webkit.org authored
Reviewed by David Levin. Fixing svg/custom/stroke-width-click.svg to not cause the double-click handler to fire on certain platforms (chromium, for one). Chromium, Leopard, and GTK all agree on the calculated extents of the shape, so I'm disabling this test on mac-tiger and re-enabling it on mac-leopard and updating the expected file to reflect the current state of the test. https://bugs.webkit.org/show_bug.cgi?id=33865 * platform/mac-leopard/Skipped: * platform/mac-tiger/Skipped: * svg/custom/stroke-width-click-expected.txt: * svg/custom/stroke-width-click.svg: git-svn-id: svn://svn.chromium.org/blink/trunk@53762 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
eric@webkit.org authored
Reviewed by Alexey Proskuryakov. Adds tests for the 'selected' attribute of <option>s https://bugs.webkit.org/show_bug.cgi?id=32641 HTMLOptionElement_selected2 checks that the selected attribute is up to date immediately after the <select> parsed. HTMLOptionElement_selected3 does the same, but checks immediately prior to the </select>. Also changes the expectation for add-remove-option-modification-event to reflect that we now pass. * fast/forms/HTMLOptionElement_selected-expected.txt: * fast/forms/HTMLOptionElement_selected.html: * fast/forms/HTMLOptionElement_selected2-expected.txt: Added. * fast/forms/HTMLOptionElement_selected2.html: Added. * fast/forms/HTMLOptionElement_selected3-expected.txt: Added. * fast/forms/HTMLOptionElement_selected3.html: Added. * fast/forms/add-remove-option-modification-event-expected.txt: 2010-01-22 James Robinson <jamesr@chromium.org> Reviewed by Alexey Proskuryakov. Ensures that the 'selected' attribute of an <option> is correct https://bugs.webkit.org/show_bug.cgi?id=32641 Adds a check in OptionElement::selected() that checks if list items need to be recalculated and does so if needed, so the attribute is up to date more often. Also gets rid of most of the recalcStyle() side effects. Our behavior now matches Firefox 3.5 and IE8 after the </select> is parsed. Tests: fast/forms/HTMLOptionElement_selected2.html fast/forms/HTMLOptionElement_selected3.html * dom/SelectElement.cpp: (WebCore::SelectElement::setOptionsChangedOnRenderer): (WebCore::SelectElement::setRecalcListItems): (WebCore::SelectElement::recalcListItems): (WebCore::SelectElement::restoreFormControlState): (WebCore::SelectElement::reset): (WebCore::SelectElement::typeAheadFind): * dom/SelectElement.h: * html/HTMLOptionElement.cpp: (WebCore::HTMLOptionElement::selected): (WebCore::HTMLOptionElement::insertedIntoTree): * html/HTMLSelectElement.cpp: (WebCore::HTMLSelectElement::recalcStyle): (WebCore::HTMLSelectElement::recalcListItemsIfNeeded): * html/HTMLSelectElement.h: * wml/WMLSelectElement.cpp: (WebCore::WMLSelectElement::recalcStyle): git-svn-id: svn://svn.chromium.org/blink/trunk@53761 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
eric@webkit.org authored
Reviewed by Eric Seidel. Need to handle WebGLUnsignedByteArray as method argument for V8 binding https://bugs.webkit.org/show_bug.cgi?id=33929 V8 code generator does not have associated tests * bindings/scripts/CodeGeneratorV8.pm: git-svn-id: svn://svn.chromium.org/blink/trunk@53760 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
eric@webkit.org authored
Reviewed by David Levin. Chromium: theme selection colors to match gtk theme Add functions to RenderThemeChromiumLinux to change the selection color according to the current GTK+ theme. Since the change is to the Chromium WebKit API layer, testing is done in Chromium's test shell (see Chromium side of this patch: http://codereview.chromium.org/554004) https://bugs.webkit.org/show_bug.cgi?id=33921 * rendering/RenderThemeChromiumLinux.cpp: (WebCore::RenderThemeChromiumLinux::platformActiveSelectionBackgroundColor): (WebCore::RenderThemeChromiumLinux::platformInactiveSelectionBackgroundColor): (WebCore::RenderThemeChromiumLinux::platformActiveSelectionForegroundColor): (WebCore::RenderThemeChromiumLinux::platformInactiveSelectionForegroundColor): (WebCore::RenderThemeChromiumLinux::setSelectionColors): * rendering/RenderThemeChromiumLinux.h: Adds static members. 2010-01-22 Elliot Glaysher <erg@chromium.org> Reviewed by David Levin. Chromium: theme selection colors to match gtk theme Add functions to RenderThemeChromiumLinux to change the selection color according to the current GTK+ theme. Since the change is to the Chromium WebKit API layer, testing is done in Chromium's test shell (see Chromium side of this patch: http://codereview.chromium.org/554004) https://bugs.webkit.org/show_bug.cgi?id=33921 * public/WebView.h: Adds interface to change the selection colors * src/WebViewImpl.cpp: (WebKit::WebViewImpl::setSelectionColors): Implements new interface. * src/WebViewImpl.h: git-svn-id: svn://svn.chromium.org/blink/trunk@53759 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
eric@webkit.org authored
Reviewed by David Levin. A new test to check that middle clicking on the primary scroll bars does not trigger a paste event. https://bugs.webkit.org/show_bug.cgi?id=33062 * scrollbars/scrollbar-middleclick-nopaste-expected.txt: Added. * scrollbars/scrollbar-middleclick-nopaste.html: Added. 2010-01-22 Steve VanDeBogart <vandebo@chromium.org> Reviewed by David Levin. Middle clicking the main scroll bars should not trigger a paste event in Linux chromium. https://bugs.webkit.org/show_bug.cgi?id=33062 * src/WebViewImpl.cpp: (WebKit::WebViewImpl::mouseUp): git-svn-id: svn://svn.chromium.org/blink/trunk@53758 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
kevino@webkit.org authored
[wx] Remove the Bakefile build system, which is no longer being used. https://bugs.webkit.org/show_bug.cgi?id=34022 git-svn-id: svn://svn.chromium.org/blink/trunk@53757 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-