Timeline
Jun 16, 2010:
- 11:59 PM Changeset in webkit [61309] by
-
- 15 edits1 move2 adds2 deletes in trunk/LayoutTests
2010-06-16 Hayato Ito <hayato@chromium.org>
Reviewed by Shinichiro Hamaji.
Refactor layout tests for printing to use common code.
- printing/numberOfPages-expected.txt:
- printing/numberOfPages.html:
- printing/page-break-always-expected.txt:
- printing/page-break-always-for-overflow-expected.txt:
- printing/page-break-always-for-overflow.html:
- printing/page-break-always.html:
- printing/page-break-inside-avoid-expected.txt: Added.
- printing/page-break-inside-avoid.html: Added.
- printing/page-break-inside-expected.txt: Removed.
- printing/page-break-inside.html: Removed.
- printing/pageNumerForElementById-expected.txt:
- printing/pageNumerForElementById.html:
- printing/resources/paged-media-test-utils.js: (numberOfPagesShouldBe): (ratioToPageHeightToPixels): (createBlockWithRatioToPageHeight): (createBlockWithNumberOfLines):
- printing/script-tests/TEMPLATE.html:
- printing/script-tests/numberOfPages.js: (test):
- printing/script-tests/page-break-always-for-overflow.js: (test):
- printing/script-tests/page-break-always.js: (test):
- printing/script-tests/page-break-inside-avoid.js: Added. (test):
- printing/script-tests/page-break-inside.js: Removed.
- printing/script-tests/pageNumerForElementById.js: (test):
- 11:28 PM Changeset in webkit [61308] by
-
- 2 edits in trunk/WebKitTools
2010-06-16 Kent Tamura <tkent@chromium.org>
Reviewed by Shinichiro Hamaji.
[DRT/Chromium] Fix crash on Mac Release
https://bugs.webkit.org/show_bug.cgi?id=40759
- DumpRenderTree/chromium/WebViewHost.cpp: (WebViewHost::paintRect): We should not use m_canvas directly because it is created lazily in canvas().
- 10:38 PM Changeset in webkit [61307] by
-
- 2 edits in trunk/WebCore
[Qt] QtWebKit crashes while initializing flash plugin 10.1.53.64.
https://bugs.webkit.org/show_bug.cgi?id=40567
Patch by Dawit Alemayehu <adawit@kde.org> on 2010-06-16
Reviewed by Simon Hausmann.
Avoid preventable crashes by ensuring gtk_init() is called in the
flash viewer plugins before calling NP_Initialize.
- plugins/qt/PluginPackageQt.cpp:
(WebCore::PluginPackage::load):
- 10:23 PM Changeset in webkit [61306] by
-
- 2 edits in trunk/WebCore
2010-06-16 Tony Gentilcore <tonyg@chromium.org>
Reviewed by David Levin.
Guarantee that references are held for CachedScripts in HTMLDocumentParser.
https://bugs.webkit.org/show_bug.cgi?id=40177
No new tests because no new functionality.
- html/HTMLDocumentParser.cpp: (WebCore::HTMLDocumentParser::reset): (WebCore::HTMLDocumentParser::executeExternalScriptsIfReady):
- 10:07 PM Changeset in webkit [61305] by
-
- 2 edits in trunk/WebKitSite
2010-06-16 Jeremy Moskovich <jeremy@chromium.org>
Reviewed by Darin Adler.
Improve assertion macro documentation.
- coding/assertion-guidelines.html:
- 9:29 PM Changeset in webkit [61304] by
-
- 2 edits1 add in trunk/WebKitSite
2010-06-16 Jeremy Moskovich <jeremy@chromium.org>
Reviewed by Geoffrey Garen.
Add an index of technical articles to the WebKit site. This makes the
links to the RefPtr and Assertion documentation discoverable and
provides an easy way to find some useful blog posts.
- coding/technical-articles.html: Added.
- nav.inc: Add link to technical articles.
- 9:15 PM Changeset in webkit [61303] by
-
- 4 edits in trunk
2010-06-16 Qi Zhang <qi.2.zhang@nokia.com>
Reviewed by Laszlo Gombos.
[Qt] Repeat pattern should start from origin
https://bugs.webkit.org/show_bug.cgi?id=39225
Remove the following test case from Skipped:
canvas/philip/tests/2d.pattern.paint.norepeat.coord3.html
canvas/philip/tests/2d.pattern.paint.repeatx.coord1.html
canvas/philip/tests/2d.pattern.paint.repeaty.coord1.html
- platform/qt/Skipped:
2010-06-16 Qi Zhang <qi.2.zhang@nokia.com>
Reviewed by Laszlo Gombos.
[Qt] Repeat pattern should start from origin
https://bugs.webkit.org/show_bug.cgi?id=39225
Patterns must be painted so that the top left of the first image
is anchored at the origin of the coordinate space.
- platform/graphics/qt/GraphicsContextQt.cpp: (WebCore::drawRepeatPattern): (WebCore::GraphicsContext::fillRect):
- 9:04 PM Changeset in webkit [61302] by
-
- 2 edits in trunk/WebKitTools
[wx] Build fix after new method addition.
- 7:55 PM Changeset in webkit [61301] by
-
- 2 edits in trunk/WebCore
2010-06-16 Jarkko Sakkinen <jarkko.j.sakkinen@gmail.com>
Reviewed by Simon Hausmann.
[Qt] WebGL viewport does not show up on N900
https://bugs.webkit.org/show_bug.cgi?id=38528
With OGLES2 add default precision to the shader code.
Use GLsizeiptr and GLintptr with OGLES2.
Call paint() in beginPaint() so that drawTexture() is used
whenever possible.
- platform/graphics/qt/GraphicsContext3DQt.cpp: (WebCore::GraphicsContext3D::beginPaint): (WebCore::GraphicsContext3D::paint): (WebCore::GraphicsContext3D::shaderSource):
- 7:18 PM Changeset in webkit [61300] by
-
- 2 edits in trunk/LayoutTests
2010-06-16 Adam Barth <abarth@webkit.org>
Unreviewed.
This "test" no longer exists. Turns out it was an image resource for
another test.
- platform/mac/Skipped:
- 7:05 PM Changeset in webkit [61299] by
-
- 4 edits in trunk
2010-06-16 Kent Tamura <tkent@chromium.org>
Reviewed by Dimitri Glazkov.
[DRT/Chromium] Set current working directory for each of tests
https://bugs.webkit.org/show_bug.cgi?id=40668
- DEPS: Update Chromium to r49915 to have webkit_support::SetCurrentDirectoryForFileURL().
2010-06-16 Kent Tamura <tkent@chromium.org>
Reviewed by Dimitri Glazkov.
[DRT/Chromium] Set current working directory for each of tests
https://bugs.webkit.org/show_bug.cgi?id=40668
This change fixes tests with eventSender.beginDragWithFiles().
- DumpRenderTree/chromium/DumpRenderTree.cpp: (runTest):
- 5:57 PM Changeset in webkit [61298] by
-
- 5 edits2 adds in trunk
Spatial Navigation: refactor scrollInDirection to work with scrollable content
https://bugs.webkit.org/show_bug.cgi?id=39195
Reviewed by Simon Fraser.
Patch by Antonio Gomes <tonikitoo@webkit.org>
WebCore:
scrollInDirection now receives as parameter the node that the Spatial Navigation
found as the more appropriated to move focus to. If it is in a scrollable container
(e.g. <div> with clipped overflow content), it scrolls recursively starting from
the container, not the current focused node.
Test: fast/events/spatial-navigation/snav-only-clipped-overflow-content.html
- page/FocusController.cpp:
(WebCore::FocusController::advanceFocusDirectionally):
- page/SpatialNavigation.cpp:
(WebCore::scrollInDirection):
- page/SpatialNavigation.h:
LayoutTests:
- fast/events/spatial-navigation/snav-only-clipped-overflow-content-expected.txt: Added.
- fast/events/spatial-navigation/snav-only-clipped-overflow-content.html: Added.
- 5:51 PM Changeset in webkit [61297] by
-
- 9 edits5 adds1 delete in trunk
Fix for https://bugs.webkit.org/show_bug.cgi?id=40732
WebKit2: Implement didClearWindowForFrame for InjectedBundles
Reviewed by Geoffrey Garen.
WebKit2:
More InjectedBundle work.
- Add really basic page level APIs for the WebProcess side:
- Basic client interface with just didClearWindowForFrame (more will be added later)
- Simple main frame url getter.
These APIs are experimental and are intended to allow me to get a DRT implementation
up and running. They will be changing.
- WebKit2.xcodeproj/project.pbxproj:
- WebProcess/InjectedBundle/API/c/WKBundlePage.cpp: Added.
(WKBundlePageSetClient):
(WKBundlePageGetMainFrameURL):
- WebProcess/InjectedBundle/API/c/WKBundlePage.h: Added.
- WebProcess/InjectedBundle/InjectedBundlePageClient.cpp: Added.
(WebKit::InjectedBundlePageClient::InjectedBundlePageClient):
(WebKit::InjectedBundlePageClient::initialize):
(WebKit::InjectedBundlePageClient::didClearWindowObjectForFrame):
- WebProcess/InjectedBundle/InjectedBundlePageClient.h: Added.
- WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp:
(WebKit::WebFrameLoaderClient::dispatchDidClearWindowObjectInWorld):
- WebProcess/WebPage/WebPage.cpp:
(WebKit::WebPage::initializeInjectedBundleClient):
(WebKit::WebPage::mainFrameURL):
- WebProcess/WebPage/WebPage.h:
(WebKit::WebPage::injectedBundleClient):
- mac/WebKit2.exp:
- win/WebKit2.vcproj:
WebKitTools:
- Stub out use of bundlified didClearWindowForFrame with logging.
- MiniBrowser/MiniBrowser.xcodeproj/project.pbxproj:
- MiniBrowser/mac/WebBundle/WebBundleMain.c: Removed.
- MiniBrowser/mac/WebBundle/WebBundleMain.m: Added.
(_didClearWindow):
(_didCreatePage):
(WKBundleInitialize):
- 5:27 PM Changeset in webkit [61296] by
-
- 2 edits in trunk/WebCore
<rdar://problem/7249553> and https://bugs.webkit.org/show_bug.cgi?id=40749
ResourceLoader::willCacheResponse() needs to null-check Frame::Settings()
Reviewed by Eric Carlson
No new tests. (Discovered via crash reports, no reproducible cases noted)
- loader/ResourceLoader.cpp:
(WebCore::ResourceLoader::willCacheResponse): Null check m_frame->settings(),
but also add an ASSERT so debug-build developers can learn more about why
this might be happening.
- 4:53 PM Changeset in webkit [61295] by
-
- 6 edits2 adds in trunk
2010-06-16 Simon Fraser <Simon Fraser>
Reviewed by Sam Weinig.
Allow transitions and animations of clip: rect
https://bugs.webkit.org/show_bug.cgi?id=38130
Make the CSS clip property animatable.
Test: transitions/clip-transition.html
- page/animation/AnimationBase.cpp: (WebCore::blendFunc): New blend function for LengthBox (WebCore::AnimationBase::ensurePropertyMap): Create a PropertyWrapper for LengthBoxes.
- platform/LengthBox.h: (WebCore::LengthBox::LengthBox): New ctor that takes 4 length values.
- rendering/style/RenderStyle.h: (WebCore::InheritedFlags::setClip): New method that takes a LengthBox.
- 4:39 PM Changeset in webkit [61294] by
-
- 2 edits in trunk/WebCore
Try to fix the MathML build.
- mathml/MathMLMathElement.h: Added missing return type.
- 4:07 PM Changeset in webkit [61293] by
-
- 92 edits in trunk
2010-06-16 Darin Adler <Darin Adler>
Reviewed by David Levin.
Deploy adoptRef in more places, including all HTML and MathML elements
https://bugs.webkit.org/show_bug.cgi?id=39941
- wtf/ThreadSafeShared.h: Made the constructor protected and removed the unneeded support for initial reference counts other than 1.
2010-06-16 Darin Adler <Darin Adler>
Reviewed by David Levin.
Deploy adoptRef in more places, including all HTML and MathML elements
https://bugs.webkit.org/show_bug.cgi?id=39941
- dom/Element.cpp: (WebCore::Element::dispatchAttrRemovalEvent): Use create instead of new in commented-out code. (WebCore::Element::dispatchAttrAdditionEvent): Ditto.
- dom/Node.h: Removed now-unused CreateElementZeroRefCount and CreateHTMLElementZeroRefCount.
- editing/InsertListCommand.cpp: (WebCore::InsertListCommand::insertList): Use create instead of new, fixing a storage leak.
- editing/ModifySelectionListLevel.cpp: (WebCore::IncreaseSelectionListLevelCommand::increaseSelectionListLevel): Removed "WithType" from function name. Use create instead of new, fixing a storage leak. (WebCore::DecreaseSelectionListLevelCommand::decreaseSelectionListLevel): Use create instead of new, fixing a storage leak.
- storage/IndexedDatabaseImpl.cpp: (WebCore::IndexedDatabaseImpl::create): Use adoptRef, fixing a storage leak.
- editing/ModifySelectionListLevel.h: Added create functions.
- html/HTMLAnchorElement.cpp: (WebCore::HTMLAnchorElement::HTMLAnchorElement):
- html/HTMLFrameOwnerElement.cpp: (WebCore::HTMLFrameOwnerElement::HTMLFrameOwnerElement):
- html/HTMLMeterElement.cpp: (WebCore::HTMLMeterElement::HTMLMeterElement):
- html/HTMLProgressElement.cpp: (WebCore::HTMLProgressElement::HTMLProgressElement): Removed code to explicitly pass CreateHTMLElement construction type since that's now the type used for all HTML elements.
- html/HTMLFormControlElement.cpp: (WebCore::HTMLFormControlElement::HTMLFormControlElement):
- html/HTMLFormControlElement.h: Removed construction type argument, since CreateHTMLElement is now the type used for all HTML elements.
- mathml/MathMLElement.cpp: (WebCore::MathMLElement::MathMLElement): Removed construction type of CreateStyledElementZeroRefCount so we'll use the default construction type, CreateStyledElement. (WebCore::MathMLElement::create): Use adoptRef.
- mathml/MathMLElement.h: Made isMathMLElement function private and removed unneeded override of createRenderer, because it did the same thing as the base class's createRenderer function.
- mathml/MathMLInlineContainerElement.cpp: (WebCore::MathMLInlineContainerElement::create): Use adoptRef. (WebCore::MathMLInlineContainerElement::createRenderer): Removed unnecessarily initialization of local variable and removed the case for mathTag, since that uses a different derived class.
- mathml/MathMLInlineContainerElement.h: Made createRenderrer override private.
- mathml/MathMLMathElement.cpp: (WebCore::MathMLMathElement::MathMLMathElement): Marked inline since it is called in only one place. (WebCore::MathMLMathElement::create): Use adoptRef. (WebCore::MathMLMathElement::createRenderer): Added. Creates a RenderMathMLMath object.
- mathml/MathMLMathElement.h: Made constructor private and added a private override of createRenderer.
- mathml/MathMLTextElement.cpp: (WebCore::MathMLTextElement::MathMLTextElement): Marked inline since it is called in only one place. (WebCore::MathMLTextElement::create): Use adoptRef. (WebCore::MathMLTextElement::createRenderer): Changed to call through to the base class instead of calling RenderObject::createObject directly.
- mathml/MathMLTextElement.h: Made the constructor and createRenderer function private.
- rendering/RenderFileUploadControl.cpp: (WebCore::RenderFileUploadControl::RenderFileUploadControl): Removed an unneeded initializer.
- rendering/RenderProgress.cpp: Tweaked includes.
- rendering/ShadowElement.cpp: Added a "using namespace" directive.
- rendering/ShadowElement.h: Tweaked formatting. Made more functions private.
- editing/DeleteButton.cpp: (WebCore::DeleteButton::create):
- html/HTMLAudioElement.cpp: (WebCore::HTMLAudioElement::create): (WebCore::HTMLAudioElement::createForJSConstructor):
- html/HTMLBRElement.cpp: (WebCore::HTMLBRElement::create):
- html/HTMLBaseElement.cpp: (WebCore::HTMLBaseElement::create):
- html/HTMLBaseFontElement.cpp: (WebCore::HTMLBaseFontElement::create):
- html/HTMLBlockquoteElement.cpp: (WebCore::HTMLBlockquoteElement::create):
- html/HTMLBodyElement.cpp: (WebCore::HTMLBodyElement::create):
- html/HTMLButtonElement.cpp: (WebCore::HTMLButtonElement::create):
- html/HTMLCanvasElement.cpp: (WebCore::HTMLCanvasElement::create):
- html/HTMLDListElement.cpp: (WebCore::HTMLDListElement::create):
- html/HTMLDataGridCellElement.cpp: (WebCore::HTMLDataGridCellElement::create):
- html/HTMLDataGridColElement.cpp: (WebCore::HTMLDataGridColElement::create):
- html/HTMLDataGridElement.cpp: (WebCore::HTMLDataGridElement::create):
- html/HTMLDataGridRowElement.cpp: (WebCore::HTMLDataGridRowElement::create):
- html/HTMLDataListElement.cpp: (WebCore::HTMLDataListElement::create):
- html/HTMLDivElement.cpp: (WebCore::HTMLDivElement::create):
- html/HTMLElement.cpp: (WebCore::HTMLElement::create):
- html/HTMLElement.h: (WebCore::HTMLElement::HTMLElement):
- html/HTMLFieldSetElement.cpp: (WebCore::HTMLFieldSetElement::create):
- html/HTMLFontElement.cpp: (WebCore::HTMLFontElement::create):
- html/HTMLFormElement.cpp: (WebCore::HTMLFormElement::create):
- html/HTMLFrameSetElement.cpp: (WebCore::HTMLFrameSetElement::create):
- html/HTMLHRElement.cpp: (WebCore::HTMLHRElement::create):
- html/HTMLHeadElement.cpp: (WebCore::HTMLHeadElement::create):
- html/HTMLHeadingElement.cpp: (WebCore::HTMLHeadingElement::create):
- html/HTMLHtmlElement.cpp: (WebCore::HTMLHtmlElement::create):
- html/HTMLImageElement.cpp: (WebCore::HTMLImageElement::create): (WebCore::HTMLImageElement::createForJSConstructor):
- html/HTMLInputElement.cpp: (WebCore::HTMLInputElement::create):
- html/HTMLIsIndexElement.cpp: (WebCore::HTMLIsIndexElement::create):
- html/HTMLKeygenElement.cpp: (WebCore::HTMLKeygenElement::create):
- html/HTMLLIElement.cpp: (WebCore::HTMLLIElement::create):
- html/HTMLLabelElement.cpp: (WebCore::HTMLLabelElement::create):
- html/HTMLLegendElement.cpp: (WebCore::HTMLLegendElement::create):
- html/HTMLLinkElement.cpp: (WebCore::HTMLLinkElement::create):
- html/HTMLMapElement.cpp: (WebCore::HTMLMapElement::create):
- html/HTMLMarqueeElement.cpp: (WebCore::HTMLMarqueeElement::create):
- html/HTMLMenuElement.cpp: (WebCore::HTMLMenuElement::create):
- html/HTMLMetaElement.cpp: (WebCore::HTMLMetaElement::create):
- html/HTMLModElement.cpp: (WebCore::HTMLModElement::create):
- html/HTMLNoScriptElement.cpp: (WebCore::HTMLNoScriptElement::create):
- html/HTMLOListElement.cpp: (WebCore::HTMLOListElement::create):
- html/HTMLOptGroupElement.cpp: (WebCore::HTMLOptGroupElement::create):
- html/HTMLOptionElement.cpp: (WebCore::HTMLOptionElement::create): (WebCore::HTMLOptionElement::createForJSConstructor):
- html/HTMLParagraphElement.cpp: (WebCore::HTMLParagraphElement::create):
- html/HTMLParamElement.cpp: (WebCore::HTMLParamElement::create):
- html/HTMLPreElement.cpp: (WebCore::HTMLPreElement::create):
- html/HTMLQuoteElement.cpp: (WebCore::HTMLQuoteElement::create):
- html/HTMLScriptElement.cpp: (WebCore::HTMLScriptElement::create):
- html/HTMLSelectElement.cpp: (WebCore::HTMLSelectElement::create):
- html/HTMLSourceElement.cpp: (WebCore::HTMLSourceElement::create):
- html/HTMLStyleElement.cpp: (WebCore::HTMLStyleElement::create):
- html/HTMLTableCaptionElement.cpp: (WebCore::HTMLTableCaptionElement::create):
- html/HTMLTableCellElement.cpp: (WebCore::HTMLTableCellElement::create):
- html/HTMLTableColElement.cpp: (WebCore::HTMLTableColElement::create):
- html/HTMLTableElement.cpp: (WebCore::HTMLTableElement::create):
- html/HTMLTableRowElement.cpp: (WebCore::HTMLTableRowElement::create):
- html/HTMLTableSectionElement.cpp: (WebCore::HTMLTableSectionElement::create):
- html/HTMLTextAreaElement.cpp: (WebCore::HTMLTextAreaElement::create):
- html/HTMLTitleElement.cpp: (WebCore::HTMLTitleElement::create):
- html/HTMLUListElement.cpp: (WebCore::HTMLUListElement::create):
- html/HTMLVideoElement.cpp: (WebCore::HTMLVideoElement::create):
- loader/ImageDocument.cpp: (WebCore::ImageDocumentElement::create):
- rendering/MediaControlElements.cpp: (WebCore::MediaControlShadowRootElement::create): (WebCore::MediaControlElement::create): (WebCore::MediaControlTimelineContainerElement::create): (WebCore::MediaControlVolumeSliderContainerElement::create): (WebCore::MediaControlStatusDisplayElement::create): (WebCore::MediaControlMuteButtonElement::create): (WebCore::MediaControlPlayButtonElement::create): (WebCore::MediaControlSeekButtonElement::create): (WebCore::MediaControlRewindButtonElement::create): (WebCore::MediaControlReturnToRealtimeButtonElement::create): (WebCore::MediaControlToggleClosedCaptionsButtonElement::create): (WebCore::MediaControlTimelineElement::create): (WebCore::MediaControlVolumeSliderElement::create): (WebCore::MediaControlFullscreenButtonElement::create): (WebCore::MediaControlTimeDisplayElement::create):
- rendering/RenderSlider.cpp: (WebCore::SliderThumbElement::create):
- rendering/TextControlInnerElements.cpp: (WebCore::TextControlInnerElement::create): (WebCore::TextControlInnerTextElement::create): (WebCore::SearchFieldResultsButtonElement::create): (WebCore::SearchFieldCancelButtonElement::create): (WebCore::SpinButtonElement::create): Use adoptRef.
- 4:04 PM Changeset in webkit [61292] by
-
- 2 edits in trunk/LayoutTests
2010-06-16 Dimitri Glazkov <Dimitri Glazkov>
Unreviewed, expectations tweak.
- platform/chromium/test_expectations.txt: Transferred a failure from downstream.
- 3:58 PM Changeset in webkit [61291] by
-
- 4 edits in trunk
2010-06-16 Martin Robinson <mrobinson@igalia.com>
Reviewed by Gustavo Noronha Silva.
[GTK] r60803 broke media/controls-drag-timebar.html
https://bugs.webkit.org/show_bug.cgi?id=40269
- platform/gtk/Skipped: Unskip test which is now passing.
2010-06-16 Martin Robinson <mrobinson@igalia.com>
Reviewed by Gustavo Noronha Silva.
[GTK] r60803 broke media/controls-drag-timebar.html
https://bugs.webkit.org/show_bug.cgi?id=40269
Only queue events while the mouse button is down, if drag mode is enabled. Some
tests may disable drag mode, to prevent the queuing of events in this situation.
- DumpRenderTree/gtk/EventSender.cpp: (sendOrQueueEvent): Only queue events here if dragMode is true.
- 3:47 PM Changeset in webkit [61290] by
-
- 1 edit2 deletes in trunk/LayoutTests
Remove some CVS directories that snuck into Subversion
These were added back when the Mozilla tables tests were imported.
Rubber-stamped by Dan Berstein.
- tables/mozilla/images/CVS: Removed.
- tables/mozilla_expected_failures/images/CVS: Removed.
- 3:38 PM Changeset in webkit [61289] by
-
- 1 edit15 deletes in trunk/LayoutTests
Delete tables/mozilla/images/adforce_imgis_com.html and its associated results
This file is a GIF that somehow obtained a .html extension. It isn't
referenced by any other test. (It was failing on Windows because the
HTML5 parser turns null bytes into U+FFFD, whose rendering is
font-dependent.)
Fixes <http://webkit.org/b/40741> REGRESSION (r61234):
tables/mozilla/images/adforce_imgis_com.html fails on Windows.
Reviewed by Dave Hyatt.
- platform/chromium-linux/tables/mozilla/images/adforce_imgis_com-expected.checksum: Removed.
- platform/chromium-linux/tables/mozilla/images/adforce_imgis_com-expected.png: Removed.
- platform/chromium-win/tables/mozilla/images/adforce_imgis_com-expected.checksum: Removed.
- platform/chromium-win/tables/mozilla/images/adforce_imgis_com-expected.png: Removed.
- platform/chromium-win/tables/mozilla/images/adforce_imgis_com-expected.txt: Removed.
- platform/mac-leopard/tables/mozilla/images/adforce_imgis_com-expected.checksum: Removed.
- platform/mac-leopard/tables/mozilla/images/adforce_imgis_com-expected.png: Removed.
- platform/mac-snowleopard/tables/mozilla/images/adforce_imgis_com-expected.checksum: Removed.
- platform/mac-snowleopard/tables/mozilla/images/adforce_imgis_com-expected.png: Removed.
- platform/mac-snowleopard/tables/mozilla/images/adforce_imgis_com-expected.txt: Removed.
- platform/mac/tables/mozilla/images/adforce_imgis_com-expected.checksum: Removed.
- platform/mac/tables/mozilla/images/adforce_imgis_com-expected.png: Removed.
- platform/mac/tables/mozilla/images/adforce_imgis_com-expected.txt: Removed.
- platform/qt/tables/mozilla/images/adforce_imgis_com-expected.txt: Removed.
- tables/mozilla/images/adforce_imgis_com.html: Removed.
- 3:26 PM Changeset in webkit [61288] by
-
- 9 edits in trunk
2010-06-16 Martin Robinson <mrobinson@igalia.com>
Reviewed by Gustavo Noronha Silva.
[GTK] Remove the abuse of GDK_CURRENT_TIME in the DRT
https://bugs.webkit.org/show_bug.cgi?id=40600
- platform/gtk/Skipped: This change exposed some failures which were previously not reported. Skip them.
2010-06-16 Martin Robinson <mrobinson@igalia.com>
Reviewed by Gustavo Noronha Silva.
[GTK] Remove the abuse of GDK_CURRENT_TIME in the DRT
https://bugs.webkit.org/show_bug.cgi?id=40600
- WebCoreSupport/DragClientGtk.cpp: (WebKit::DragClient::startDrag): Reset the click count after a drag starts.
- WebCoreSupport/FrameLoaderClientGtk.cpp: (WebKit::postCommitFrameViewSetup): Reset the click count after a load is committed.
- webkit/webkitprivate.h: Move static click counting variables to be per-view.
- webkit/webkitwebview.cpp: (getEventTime): Added. (webkit_web_view_button_press_event): If the event time is zero, use the current time. (webkit_web_view_finalize): Clean up click counting member. (webkit_web_view_init): Initialize click counting member.
2010-06-16 Martin Robinson <mrobinson@igalia.com>
Reviewed by Gustavo Noronha Silva.
[GTK] Remove the abuse of GDK_CURRENT_TIME in the DRT
https://bugs.webkit.org/show_bug.cgi?id=40600
- DumpRenderTree/gtk/EventSender.cpp: (prepareMouseButtonEvent): Remove logic adding an offset to GDK_CURRENT_TIME.
- 3:13 PM Changeset in webkit [61287] by
-
- 3 edits in trunk/WebKitTools
2010-06-16 Adam Barth <abarth@webkit.org>
Reviewed by Dimitri Glazkov.
Add a hidden land-cowboy command to webkit-patch to help land quick
build fixes.
- Scripts/webkitpy/tool/commands/download.py:
- Scripts/webkitpy/tool/steps/preparechangelog.py:
- 2:57 PM Changeset in webkit [61286] by
-
- 15 edits2 adds in trunk
2010-06-16 Adam Barth <abarth@webkit.org>
Reviewed by Eric Seidel.
HTML5 parser crash when setTimeout document.write after slow script
https://bugs.webkit.org/show_bug.cgi?id=40726
According to the HTML5 spec, we're supposed to open() a new document if
we receive a document.write() after we've received EOF for the network.
The old parser just dumped those bytes onto the end of the network
stream. After this patch, our behavior matches Minefield.
Test: http/tests/misc/write-while-waiting.html
- WebCore.xcodeproj/project.pbxproj:
- dom/Document.cpp: (WebCore::Document::write):
- dom/DocumentParser.h:
- dom/XMLDocumentParser.cpp: (WebCore::XMLDocumentParser::finishWasCalled):
- dom/XMLDocumentParser.h:
- html/HTML5DocumentParser.cpp: (WebCore::HTML5DocumentParser::finishWasCalled):
- html/HTML5DocumentParser.h: (WebCore::HTML5DocumentParser::InputStream::isClosed):
- html/HTMLDocumentParser.cpp: (WebCore::HTMLDocumentParser::finishWasCalled):
- html/HTMLDocumentParser.h:
- loader/ImageDocument.cpp: (WebCore::ImageTokenizer::finishWasCalled):
- loader/MediaDocument.cpp: (WebCore::MediaDocumentParser::finishWasCalled):
- loader/PluginDocument.cpp: (WebCore::PluginDocumentParser::finishWasCalled):
- loader/SinkDocument.cpp: (WebCore::SinkDocumentParser::finishWasCalled):
- loader/TextDocument.cpp: (WebCore::TextDocumentParser::finishWasCalled):
2010-06-16 Adam Barth <abarth@webkit.org>
Reviewed by Eric Seidel.
HTML5 parser crash when setTimeout document.write after slow script
https://bugs.webkit.org/show_bug.cgi?id=40726
Adds a test for what happens when we receive a document.write() while
we're waiting for an external script to load (and after receiving EOF
from the network).
- http/tests/misc/write-while-waiting-expected.txt: Added.
- http/tests/misc/write-while-waiting.html: Added.
- 2:56 PM Changeset in webkit [61285] by
-
- 2 edits in trunk/WebKit/mac
2010-06-16 Eric Seidel <eric@webkit.org>
Reviewed by Adam Barth.
Enable HTML5 Parser in Safari on Mac
https://bugs.webkit.org/show_bug.cgi?id=40739
The HTML5 parser is probably off on all webkit ports.
We should either flip the meaning of the default so that
"false" means HTML5 on all ports, or we'll have to write
more code like this for all the other ports.
- WebView/WebPreferences.mm: (+[WebPreferences initialize]):
- 2:51 PM Changeset in webkit [61284] by
-
- 19 edits43 adds8 deletes in trunk/LayoutTests
Unreviewed, expectations update.
Updated platform/chromium-* expectations for the tests after HTML5 parser switch.
- 2:38 PM Changeset in webkit [61283] by
-
- 2 edits in trunk/LayoutTests
Unreviewed, expectations update.
- platform/chromium/test_expectations.txt: Removed already passing tests.
- 2:22 PM WebKit Team edited by
- (diff)
- 2:22 PM Changeset in webkit [61282] by
-
- 2 edits1 add12 deletes in trunk/LayoutTests
Convert fast/dom/stripNullFromTextNodes.html to dumpAsText
There's nothing in this test that requires a render tree dump. We have
other tests that test rendering of U+FFFD characters (which was what
was causing the test to fail, since Windows uses a different font for
that character than Mac does).
Fixes <http://webkit.org/b/40738> REGRESSION: (r61234):
fast/dom/stripNullFromTextNodes.html fails on Windows
Reviewed by Dan Bernstein.
- fast/dom/stripNullFromTextNodes-expected.txt: Added.
- fast/dom/stripNullFromTextNodes.html: Added a call to
layoutTestController.dumpAsText().
- platform/chromium-linux/fast/dom/stripNullFromTextNodes-expected.checksum: Removed.
- platform/chromium-linux/fast/dom/stripNullFromTextNodes-expected.png: Removed.
- platform/chromium-win/fast/dom/stripNullFromTextNodes-expected.checksum: Removed.
- platform/chromium-win/fast/dom/stripNullFromTextNodes-expected.png: Removed.
- platform/chromium-win/fast/dom/stripNullFromTextNodes-expected.txt: Removed.
- platform/mac-tiger/fast/dom/stripNullFromTextNodes-expected.checksum: Removed.
- platform/mac-tiger/fast/dom/stripNullFromTextNodes-expected.png: Removed.
- platform/mac-tiger/fast/dom/stripNullFromTextNodes-expected.txt: Removed.
- platform/mac/fast/dom/stripNullFromTextNodes-expected.checksum: Removed.
- platform/mac/fast/dom/stripNullFromTextNodes-expected.png: Removed.
- platform/mac/fast/dom/stripNullFromTextNodes-expected.txt: Removed.
- platform/qt/fast/dom/stripNullFromTextNodes-expected.txt: Removed.
- 2:18 PM WebKit Team edited by
- (diff)
- 2:18 PM Changeset in webkit [61281] by
-
- 5 edits in trunk/WebCore
2010-06-16 Martin Robinson <mrobinson@igalia.com>
Reviewed by Gustavo Noronha Silva.
[GTK] ClipboardGtk::setURL does not match the behavior of other platforms
https://bugs.webkit.org/show_bug.cgi?id=40640
Instead of writing URL labels to the text portion of the clipboard or
drag-and-drop data, write the URL itself. Also escape the label text
of URLs. Abstracts logic into DataObjectGtk, so ClipboardGtk and
PasteboardGtk can share it.
Tests for this issue will be activated when dropping support has been
added to the GTK+ EventSender.
- platform/gtk/ClipboardGtk.cpp: (WebCore::ClipboardGtk::writeURL): Use DataObjectGtk::setURL.
- platform/gtk/DataObjectGtk.cpp: (WebCore::DataObjectGtk::setURL): Added. Write URL to the text portion and remember to escape the label when creating the markup portion.
- platform/gtk/DataObjectGtk.h: Add declaration of new method.
- platform/gtk/PasteboardGtk.cpp: (WebCore::Pasteboard::writeURL): Use DataObjectGtk::setURL.
- 2:15 PM WebKit Team edited by
- (diff)
- 2:15 PM Changeset in webkit [61280] by
-
- 4 edits in trunk
2010-06-16 Adam Barth <abarth@webkit.org>
Reviewed by Eric Seidel.
Hit assertion in WebCore::HTML5Token::appendToSystemIdentifier
https://bugs.webkit.org/show_bug.cgi?id=40729
This was a copy/paste error. Yay for ASSERTs.
- html/HTML5Lexer.cpp: (WebCore::HTML5Lexer::nextToken):
2010-06-16 Adam Barth <abarth@webkit.org>
Reviewed by Eric Seidel.
Hit assertion in WebCore::HTML5Token::appendToSystemIdentifier
https://bugs.webkit.org/show_bug.cgi?id=40729
Add more test coverage of DOCTYPE parsing states. Turns out you use a
different state if there's no whitespace between the public and system
identifiers.
- html5lib/resources/doctype01.dat:
- 2:09 PM WebKit Team edited by
- (diff)
- 1:54 PM Changeset in webkit [61279] by
-
- 4 edits in trunk/WebKitTools
Convert console messages to UTF-8 before printing them
Speculative fix for <http://webkit.org/b/40731> REGRESSION (r61234):
http/tests/security/xssAuditor/embed-tag-null-char.html and
http/tests/security/xssAuditor/object-embed-tag-null-char.html fail on
Windows. (I can't test the fix because Apache is crashing on my
computer.)
Reviewed by Alexey Proskuryakov.
- DumpRenderTree/win/DumpRenderTree.cpp:
(toUTF8): Extracted the code into an overload that takes a wide string
and a length, then added an overload that takes a wstring.
- DumpRenderTree/win/DumpRenderTreeWin.h: Declare the new toUTF8
overload.
- DumpRenderTree/win/UIDelegate.cpp:
(UIDelegate::webViewAddMessageToConsole): Use toUTF8 to convert to
UTF-8 instead of letting printf convert to the current code page.
- 1:28 PM Changeset in webkit [61278] by
-
- 9 edits in trunk
2010-06-16 Drew Wilson <atwilson@chromium.org>
Reviewed by Kent Tamura.
Added plumbing to Chromium WebKit API to allow setting/getting the name
of top level frames.
- public/WebFrame.h: Added setName() API.
- public/WebViewClient.h: (WebKit::WebViewClient::createView): Now takes a "name" parameter.
- src/ChromeClientImpl.cpp: (WebKit::ChromeClientImpl::createWindow): Passes a name parameter.
- src/WebFrameImpl.cpp: (WebKit::WebFrameImpl::setName): Allows setting the frame name by calling through to the WebCore API.
- src/WebFrameImpl.h:
2010-06-16 Drew Wilson <atwilson@chromium.org>
Reviewed by Kent Tamura.
[Chromium] Plumbing for top-level frame names
https://bugs.webkit.org/show_bug.cgi?id=40430
- DumpRenderTree/chromium/WebViewHost.cpp: (WebViewHost::createView): Migrate to new createView() API.
- DumpRenderTree/chromium/WebViewHost.h: Remove obsolete createView() methods, add new createView() API that takes a frameName parameter.
- 1:08 PM Changeset in webkit [61277] by
-
- 2 edits in trunk/WebCore
2010-06-16 Stuart Morgan <stuartmorgan@chromium.org>
Reviewed by Anders Carlsson.
Bring npapi.h more in line with upstream npapi-headers version:
- Remove obsolete XP_MAC sections.
- Remove Metrowerks defines.
- Add OS/2 defines.
- Add Maemo defines.
- Add new version of the custom Carbon event definitions.
- Sync platform define style/details
- bridge/npapi.h:
- 12:27 PM Changeset in webkit [61276] by
-
- 3 edits in trunk/WebKitTools
2010-06-16 Diego Gonzalez <diegohcg@webkit.org>
[Qt] Scroll wheel event support to graphics based DRT
https://bugs.webkit.org/show_bug.cgi?id=40577
Reviewed by Kenneth Rohde Christiansen.
- DumpRenderTree/qt/EventSenderQt.cpp: (EventSender::continuousMouseScrollBy): (EventSender::createGraphicsSceneWheelEvent):
- DumpRenderTree/qt/EventSenderQt.h:
- 12:16 PM Changeset in webkit [61275] by
-
- 4 edits4 adds in trunk
2010-06-16 Simon Fraser <Simon Fraser>
Reviewed by Dan Bernstein.
Fix clipping via CSS clip: with composited descendants
https://bugs.webkit.org/show_bug.cgi?id=40579
Consult the 'clip' style, as well as overflow, when creating clipping
compositing layers.
Tests: compositing/geometry/clip.html
compositing/overflow/clip-descendents.html
- rendering/RenderLayerBacking.cpp: (WebCore::clipBox): Utility function that returns the union of the clip and overflow boxes. (WebCore::RenderLayerBacking::updateGraphicsLayerGeometry): Use clipBox() to get the correct clipping rectangle.
- rendering/RenderLayerCompositor.cpp: (WebCore::RenderLayerCompositor::enclosingNonStackingClippingLayer): Look for clip as well as overflow. (WebCore::RenderLayerCompositor::clipsCompositingDescendants): Ditto.
- 12:11 PM Changeset in webkit [61274] by
-
- 2 edits in trunk/WebCore
2010-06-16 Simon Fraser <Simon Fraser>
Reviewed by Darin Adler.
REGRESSION: Undocked inspector toolbar is white
https://bugs.webkit.org/show_bug.cgi?id=40644
Make the html element 100% height so that we don't erase the background to white, after r61215.
- inspector/front-end/inspector.css: (html):
- 12:10 PM Changeset in webkit [61273] by
-
- 2 edits in trunk/WebKitTools
Remove a stray newline from the Windows version of TestNetscapePlugin
Reviewed by Alexey Proskuryakov.
Fixes <http://webkit.org/b/40728>
plugins/geturlnotify-during-document-teardown.html fails on Windows
- DumpRenderTree/win/TestNetscapePlugin/main.cpp:
(NPP_Destroy): Removed extra newline that the Mac version doesn't
have.
- 12:02 PM Changeset in webkit [61272] by
-
- 2 edits in trunk/WebKitExamplePlugins
Fix build.
- NetscapeCoreAnimationMoviePlugin/main.m:
(NPP_New):
(NPP_WriteReady):
(NPP_Write):
(NPP_HandleEvent):
- 12:00 PM Changeset in webkit [61271] by
-
- 2 edits in trunk/WebCore
User scripts injected on start are not run on image documents.
https://bugs.webkit.org/show_bug.cgi?id=40722
<rdar://8087394>
Reviewed by Darin Adler.
User scripts that are injected on start are run from FrameLoader::dispatchDocumentElementAvailable,
but this is never called from ImageDocument, so call it when we create a document element for
our image document.
- loader/ImageDocument.cpp:
(WebCore::ImageDocument::createDocumentStructure): Call FrameLoader::dispatchDocumentElementAvailable
after creating our document element.
- 11:56 AM Changeset in webkit [61270] by
-
- 7 edits in trunk
Respect LayoutTestController::isPrinting on Windows
This gets some printing tests closer to passing (like
printing/page-rule-in-media-query.html).
Fixes <http://webkit.org/b/40727>.
Reviewed by Dan Bernstein.
WebKit/win:
Add a "forPrinting" boolean parameter to
IWebFramePrivate::renderTreeAsExternalRepresentation
- Interfaces/IWebFramePrivate.idl: Renamed the current
renderTreeAsExternalRepresentation to unused1, and added a new version
that takes a boolean "forPrinting" parameter.
- Interfaces/WebKit.idl: Touched to force a build.
- WebFrame.cpp:
(WebFrame::renderTreeAsExternalRepresentation): Added a boolean
"forPrinting" parameter, and used it to tell externalRepresentation
what kind of behavior to use.
- WebFrame.h: Renamed the old renderTreeAsExternalRepresentation and
added the new one.
WebKitTools:
- DumpRenderTree/win/DumpRenderTree.cpp:
(dump): Pass LayoutTestController::isPrinting to
IWebFramePrivate::renderTreeAsExternalRepresentation.
- 11:51 AM Changeset in webkit [61269] by
-
- 1 edit in trunk/WebCore/WebCore.xcodeproj/project.pbxproj
Now fixing the path to WebGLLayer.*
- 11:47 AM Changeset in webkit [61268] by
-
- 1 edit in trunk/WebCore/WebCore.xcodeproj/project.pbxproj
Additional minor fix to path of GraphicsContext3D.mac
- 11:46 AM Changeset in webkit [61267] by
-
- 1 edit in trunk/WebCore/WebCore.xcodeproj/project.pbxproj
Fixing path to GraphicsContext3D.mac (hopefully)
- 11:32 AM Changeset in webkit [61266] by
-
- 2 edits in trunk/LayoutTests
2010-06-16 Eric Seidel <eric@webkit.org>
Unreviewed. Disabling a test which fails on Tiger for platform-specific decoding reasons.
fast/encoding/japanese-encoding-mix.html fails on Tiger after enabling HTML5 Lexer
https://bugs.webkit.org/show_bug.cgi?id=40725
- platform/mac-tiger/Skipped:
- Skipping the test until someone with Tiger access can look.
- 11:17 AM Changeset in webkit [61265] by
-
- 2 edits in trunk/WebCore
- WebCore.xcodeproj/project.pbxproj: Make paths relative to the project root.
Reviewed by NOBODY (Build fix for Mac)
- 11:05 AM Changeset in webkit [61264] by
-
- 1 edit4 adds in trunk/LayoutTests
2010-06-16 Adam Barth <abarth@webkit.org>
Unreviewed.
Enable HTML5 lexer
https://bugs.webkit.org/show_bug.cgi?id=40650
Add Tiger-specific expectations because U+FFFD is a different length on
Tiger. :(
- platform/mac-tiger/fast/dom: Added.
- platform/mac-tiger/fast/dom/stripNullFromTextNodes-expected.checksum: Added.
- platform/mac-tiger/fast/dom/stripNullFromTextNodes-expected.png: Added.
- platform/mac-tiger/fast/dom/stripNullFromTextNodes-expected.txt: Added.
- 10:33 AM Changeset in webkit [61263] by
-
- 3 edits2 moves in trunk/WebCore
2010-06-16 Chris Marrin <cmarrin@apple.com>
Reviewed by Eric Carlson.
Second of three steps - rename Canvas3DLayer to WebGLLayer
- WebCore.xcodeproj/project.pbxproj:
- platform/graphics/mac/Canvas3DLayer.h: Removed.
- platform/graphics/mac/Canvas3DLayer.mm: Removed.
- platform/graphics/mac/GraphicsLayerCA.mm: (WebCore::GraphicsLayerCA::setContentsToGraphicsContext3D):
- platform/graphics/mac/WebGLLayer.h: Copied from WebCore/platform/graphics/mac/Canvas3DLayer.h.
- platform/graphics/mac/WebGLLayer.mm: Copied from WebCore/platform/graphics/mac/Canvas3DLayer.mm.
- 10:05 AM Changeset in webkit [61262] by
-
- 2 edits1 move in trunk/WebCore
2010-06-16 Chris Marrin <cmarrin@apple.com>
Reviewed by Simon Fraser.
Rename GraphicsContext3DMac.cpp so it can interact with CALayer
- platform/graphics/mac/GraphicsContext3DMac.cpp: Removed.
- platform/graphics/mac/GraphicsContext3DMac.mm: Copied from WebCore/platform/graphics/mac/GraphicsContext3DMac.cpp.
- WebCore.xcodeproj/project.pbxproj
- 9:12 AM Changeset in webkit [61261] by
-
- 3 edits in trunk/LayoutTests
Land new expected Windows results for two failing tests
These test results should have been updated in r61136, but weren't.
Reviewed by Anders Carlsson.
Fixes <http://webkit.org/b/40713> REGRESSION (r61136):
fast/dom/prototype-inheritance-2.html and
fast/js/global-constructors.html are failing on Windows.
- platform/win/fast/dom/prototype-inheritance-2-expected.txt:
- platform/win/fast/js/global-constructors-expected.txt:
Updated with the actual results from the bots.
- 9:04 AM Changeset in webkit [61260] by
-
- 2 edits2 adds in trunk/LayoutTests
2010-06-16 Martin Robinson <mrobinson@igalia.com>
Not reviewed.
Add baselines for tests that should be passing consistently now.
- platform/gtk/Skipped: Unskip tests. They should pass consistently.
- platform/gtk/editing/spelling/spellcheck-attribute-expected.txt: Added.
- platform/gtk/svg/text/foreignObject-repaint-expected.txt: Added.
- 8:58 AM QtWebKitBackportingFixes edited by
- (diff)
- 8:53 AM Changeset in webkit [61259] by
-
- 44 edits5 deletes in trunk/LayoutTests
2010-06-16 Marcus Bulach <bulach@chromium.org>
Reviewed by Dimitri Glazkov.
[chromium] Rebaseline tests following r61240
https://bugs.webkit.org/show_bug.cgi?id=40711
Following r61240 (new HTML5 lexer), we need to rebaseline a few tests.
- platform/chromium-linux/fast/text/international/hindi-whitespace-expected.checksum:
- platform/chromium-linux/fast/text/international/hindi-whitespace-expected.png:
- platform/chromium-linux/fast/text/international/hindi-whitespace-expected.txt:
- platform/chromium-mac/fast/parser/script-tag-with-trailing-slash-expected.txt: Removed.
- platform/chromium-mac/fast/tokenizer/script_extra_close-expected.txt:
- platform/chromium-win/css1/box_properties/float_elements_in_series-expected.checksum:
- platform/chromium-win/css1/box_properties/float_elements_in_series-expected.png:
- platform/chromium-win/fast/doctypes/003-expected.checksum:
- platform/chromium-win/fast/doctypes/003-expected.png:
- platform/chromium-win/fast/doctypes/003-expected.txt:
- platform/chromium-win/fast/dom/stripNullFromTextNodes-expected.checksum:
- platform/chromium-win/fast/dom/stripNullFromTextNodes-expected.png:
- platform/chromium-win/fast/dom/stripNullFromTextNodes-expected.txt:
- platform/chromium-win/fast/invalid/016-expected.checksum:
- platform/chromium-win/fast/invalid/016-expected.png:
- platform/chromium-win/fast/invalid/016-expected.txt:
- platform/chromium-win/fast/parser/broken-comments-vs-parsing-mode-expected.checksum:
- platform/chromium-win/fast/parser/broken-comments-vs-parsing-mode-expected.png:
- platform/chromium-win/fast/parser/broken-comments-vs-parsing-mode-expected.txt: Removed.
- platform/chromium-win/fast/parser/comment-in-style-expected.checksum:
- platform/chromium-win/fast/parser/comment-in-style-expected.png:
- platform/chromium-win/fast/parser/comment-in-style-expected.txt:
- platform/chromium-win/fast/parser/parseCommentsInTitles-expected.checksum:
- platform/chromium-win/fast/parser/parseCommentsInTitles-expected.png:
- platform/chromium-win/fast/parser/parseCommentsInTitles-expected.txt:
- platform/chromium-win/fast/parser/script-tag-with-trailing-slash-expected.txt: Removed.
- platform/chromium-win/fast/text/international/bidi-linebreak-001-expected.checksum:
- platform/chromium-win/fast/text/international/bidi-linebreak-001-expected.png:
- platform/chromium-win/fast/text/international/bidi-linebreak-001-expected.txt:
- platform/chromium-win/fast/text/international/bidi-linebreak-002-expected.checksum:
- platform/chromium-win/fast/text/international/bidi-linebreak-002-expected.png:
- platform/chromium-win/fast/text/international/bidi-linebreak-002-expected.txt:
- platform/chromium-win/fast/text/international/bidi-linebreak-003-expected.checksum:
- platform/chromium-win/fast/text/international/bidi-linebreak-003-expected.png:
- platform/chromium-win/fast/text/international/bidi-linebreak-003-expected.txt:
- platform/chromium-win/fast/text/international/hindi-whitespace-expected.checksum:
- platform/chromium-win/fast/text/international/hindi-whitespace-expected.png:
- platform/chromium-win/fast/text/international/hindi-whitespace-expected.txt:
- platform/chromium-win/fast/tokenizer/missing-title-end-tag-1-expected.checksum:
- platform/chromium-win/fast/tokenizer/missing-title-end-tag-1-expected.png:
- platform/chromium-win/fast/tokenizer/missing-title-end-tag-1-expected.txt: Removed.
- platform/chromium-win/fast/tokenizer/missing-title-end-tag-2-expected.checksum:
- platform/chromium-win/fast/tokenizer/missing-title-end-tag-2-expected.png:
- platform/chromium-win/fast/tokenizer/missing-title-end-tag-2-expected.txt: Removed.
- platform/chromium-win/fast/tokenizer/script_extra_close-expected.txt:
- platform/chromium-win/tables/mozilla/images/adforce_imgis_com-expected.checksum:
- platform/chromium-win/tables/mozilla/images/adforce_imgis_com-expected.png:
- platform/chromium-win/tables/mozilla/images/adforce_imgis_com-expected.txt:
- 8:45 AM Changeset in webkit [61258] by
-
- 2 edits in trunk/LayoutTests
2010-06-16 Martin Robinson <mrobinson@igalia.com>
Not reviewed.
Unskip passing test.
- platform/gtk/Skipped: Unskip this test which appears to be passing now.
- 8:32 AM Changeset in webkit [61257] by
-
- 2 edits in trunk/LayoutTests
2010-06-16 Adam Barth <abarth@webkit.org>
Unreviewed.
Enable HTML5 lexer
https://bugs.webkit.org/show_bug.cgi?id=40650
Skip this test because I keep screwing up the expectations for this
test. I'll get it cleared up by the end of the day.
- platform/mac/Skipped:
- 8:15 AM Changeset in webkit [61256] by
-
- 8 edits in trunk/LayoutTests
Land new expected Windows results for tests that use <video controls>
The current expected results expect a fullscreen button to be included
in the controls. But the fullscreen button is only included when
accelerated compositing is enabled, and the bots build without
accelerated compositing enabled.
Rubber-stamped by Dan Bernstein.
Fixes <http://webkit.org/b/40710> Tests that use <video controls> are
failing on Windows.
- platform/win/media/controls-after-reload-expected.txt:
- platform/win/media/controls-drag-timebar-expected.txt:
- platform/win/media/controls-strict-expected.txt:
- platform/win/media/controls-styling-expected.txt:
- platform/win/media/video-controls-rendering-expected.txt:
- platform/win/media/video-display-toggle-expected.txt:
- platform/win/media/video-no-audio-expected.txt:
Updated with the actual results from the bots.
- 8:10 AM Changeset in webkit [61255] by
-
- 9 edits3 adds in trunk/WebCore
2010-06-16 Nikolas Zimmermann <nzimmermann@rim.com>
Reviewed by Dirk Schulze.
Add new files, needed in SVG Text rewrite
https://bugs.webkit.org/show_bug.cgi?id=40676
Land SVGTextChunkLayoutInfo.cpp and SVGTextQuery.(cpp|h), both with an "#if 0" on top, as they will be needed
in a later patch, completing the SVG Text rewrite, that will enable them.
Doesn't affect any code for now, it should just reduce the review amount.
- Android.mk:
- CMakeLists.txt:
- GNUmakefile.am:
- WebCore.gypi:
- WebCore.pro:
- WebCore.vcproj/WebCore.vcproj:
- WebCore.xcodeproj/project.pbxproj:
- rendering/SVGTextChunkLayoutInfo.cpp: Added. (WebCore::cummulatedWidthOrHeightOfTextChunk): (WebCore::cummulatedWidthOfTextChunk): (WebCore::cummulatedHeightOfTextChunk): (WebCore::calculateTextAnchorShiftForTextChunk): (WebCore::applyTextAnchorToTextChunk): (WebCore::calculateTextLengthCorrectionForTextChunk): (WebCore::applyTextLengthCorrectionToTextChunk): (WebCore::SVGTextChunkLayoutInfo::startTextChunk): (WebCore::SVGTextChunkLayoutInfo::closeTextChunk): (WebCore::SVGTextChunkLayoutInfo::buildTextChunks): (WebCore::SVGTextChunkLayoutInfo::recursiveBuildTextChunks): (WebCore::SVGTextChunkLayoutInfo::layoutTextChunks):
- rendering/SVGTextChunkLayoutInfo.h: Add missing include, otherwhise compiling SVGTextChunkLayoutInfo.cpp will fail.
- rendering/SVGTextQuery.cpp: Added. (WebCore::SVGTextQuery::Data::Data): (WebCore::flowBoxForRenderer): (WebCore::mapLengthThroughChunkTransformation): (WebCore::SVGTextQuery::SVGTextQuery): (WebCore::SVGTextQuery::collectTextBoxesInFlowBox): (WebCore::SVGTextQuery::executeQuery): (WebCore::SVGTextQuery::mapStartAndLengthIntoChunkPartCoordinates): (WebCore::SVGTextQuery::measureCharacterRange): (WebCore::NumberOfCharactersData::NumberOfCharactersData): (WebCore::SVGTextQuery::numberOfCharactersCallback): (WebCore::SVGTextQuery::numberOfCharacters): (WebCore::TextLengthData::TextLengthData): (WebCore::SVGTextQuery::textLengthCallback): (WebCore::SVGTextQuery::textLength): (WebCore::SubStringLengthData::SubStringLengthData): (WebCore::SVGTextQuery::subStringLengthCallback): (WebCore::SVGTextQuery::subStringLength): (WebCore::StartPositionOfCharacterData::StartPositionOfCharacterData): (WebCore::SVGTextQuery::startPositionOfCharacterCallback): (WebCore::SVGTextQuery::startPositionOfCharacter): (WebCore::EndPositionOfCharacterData::EndPositionOfCharacterData): (WebCore::SVGTextQuery::endPositionOfCharacterCallback): (WebCore::SVGTextQuery::endPositionOfCharacter): (WebCore::RotationOfCharacterData::RotationOfCharacterData): (WebCore::SVGTextQuery::rotationOfCharacterCallback): (WebCore::SVGTextQuery::rotationOfCharacter): (WebCore::ExtentOfCharacterData::ExtentOfCharacterData): (WebCore::SVGTextQuery::extentOfCharacterCallback): (WebCore::SVGTextQuery::extentOfCharacter): (WebCore::CharacterNumberAtPositionData::CharacterNumberAtPositionData): (WebCore::SVGTextQuery::characterNumberAtPositionCallback): (WebCore::SVGTextQuery::characterNumberAtPosition):
- rendering/SVGTextQuery.h: Added.
- 8:09 AM Changeset in webkit [61254] by
-
- 2 edits in trunk/WebKit/qt
[Qt] Fix tiled backing store painting when calling QGraphicsWebView::setPage() after setResizesToContents(true)
Patch by Alexis Menard <alexis.menard@nokia.com> on 2010-06-16
Reviewed by Simon Hausmann.
When calling setPage() after setResizesToContents, the value of the property wasn't propagated
to the page client. Therefore the visible rect for the tiled backing store was incorrect.
Simply move the variable assignment into updateResizesToContentsForPage(), which is always called.
- Api/qgraphicswebview.cpp:
(QGraphicsWebViewPrivate::updateResizesToContentsForPage):
(QGraphicsWebView::setResizesToContents):
- 6:51 AM Changeset in webkit [61253] by
-
- 19 edits in trunk/WebCore
2010-06-16 Nikolas Zimmermann <nzimmermann@rim.com>
Reviewed by Dirk Schulze.
Provide floating-point support for text selection framework
https://bugs.webkit.org/show_bug.cgi?id=40665
This is the first chunk of the SVG Text rewrite patches.
offsetForPosition() / selectionRectForText() should accept float/FloatPoint arguments instead
of int/IntPoint. offsetForPosition() already worked with floats internally in Qt and Mac.
selectionRectForText() was already returning a FloatRect, but the passed in origin was an integer.
Fixing these problems in order to support sub-pixel positioning in the upcoming SVG Text rewrite patch.
Add a glyphScale parameter to TextRun, that will be used to support text selection
in lengthAdjust/textLength scenarios in SVG text, soon.
Doesn't affect any testcases so far. HTML is not affected in any way,
as it only ever passes integers to these functions.
- platform/graphics/Font.cpp: (WebCore::Font::selectionRectForText): (WebCore::Font::offsetForPosition):
- platform/graphics/Font.h:
- platform/graphics/FontFastPath.cpp: (WebCore::Font::selectionRectForSimpleText): (WebCore::Font::offsetForPositionForSimpleText):
- platform/graphics/TextRun.h: (WebCore::TextRun::TextRun): (WebCore::TextRun::glyphScale): (WebCore::TextRun::setGlyphScale): (WebCore::TextRun::applyGlyphScaling):
- platform/graphics/WidthIterator.cpp: (WebCore::WidthIterator::advance):
- platform/graphics/chromium/FontChromiumWin.cpp: (WebCore::Font::selectionRectForComplexText): (WebCore::Font::offsetForPositionForComplexText):
- platform/graphics/chromium/FontLinux.cpp: (WebCore::Font::offsetForPositionForComplexText): (WebCore::Font::selectionRectForComplexText):
- platform/graphics/efl/FontEfl.cpp: (WebCore::Font::offsetForPositionForComplexText): (WebCore::Font::selectionRectForComplexText):
- platform/graphics/gtk/FontGtk.cpp: (WebCore::Font::offsetForPositionForComplexText): (WebCore::Font::selectionRectForComplexText):
- platform/graphics/haiku/FontHaiku.cpp: (WebCore::Font::selectionRectForComplexText): (WebCore::Font::offsetForPositionForComplexText):
- platform/graphics/mac/ComplexTextController.cpp: (WebCore::ComplexTextController::offsetForPosition):
- platform/graphics/mac/ComplexTextController.h:
- platform/graphics/mac/FontComplexTextMac.cpp: (WebCore::Font::selectionRectForComplexText): (WebCore::Font::offsetForPositionForComplexText):
- platform/graphics/qt/FontQt.cpp: (WebCore::Font::offsetForPositionForSimpleText): (WebCore::Font::offsetForPositionForComplexText): (WebCore::Font::selectionRectForSimpleText): (WebCore::Font::selectionRectForComplexText):
- platform/graphics/win/FontWin.cpp: (WebCore::Font::selectionRectForComplexText): (WebCore::Font::offsetForPositionForComplexText):
- platform/graphics/wince/FontWince.cpp: (WebCore::Font::offsetForPositionForComplexText): (WebCore::Font::selectionRectForComplexText):
- platform/graphics/wx/FontWx.cpp: (WebCore::Font::selectionRectForComplexText): (WebCore::Font::offsetForPositionForComplexText):
- svg/SVGFont.cpp: (WebCore::Font::selectionRectForTextUsingSVGFont): (WebCore::Font::offsetForPositionForTextUsingSVGFont):
- 5:42 AM Changeset in webkit [61252] by
-
- 4 edits in trunk/WebCore
2010-06-16 Anton Muhin <antonm@chromium.org>
Reviewed by Nate Chapin.
[v8] Introduce single element caches for WebCore::String to v8::String conversions
https://bugs.webkit.org/show_bug.cgi?id=40435
Measurements show that for some web apps (GMail, Wave) and some scenarios
(intensive reading and/or keeping a tab open for a long time),
hit rate lies in 30--50% interval.
Inlining fast case gives another minor performance win.
- bindings/v8/V8Binding.cpp: (WebCore::getStringCache): (WebCore::v8ExternalStringSlow):
- bindings/v8/V8Binding.h: (WebCore::v8ExternalString):
- 4:47 AM Changeset in webkit [61251] by
-
- 2 edits in trunk/WebKit/qt
Swap WebGL and SiteSpecificQuirks attributes in the QWebSettings
enum, to allow for binary compatibility with qtwebkit-2.0, where
WebGL is not in the settings but SiteSpecificQuirks will be.
Rubber-stamped by Tor Arne Vestbø.
- Api/qwebsettings.h:
- 4:46 AM Changeset in webkit [61250] by
-
- 3 edits2 adds in trunk
2010-05-20 Antonio Gomes <tonikitoo@webkit.org>
Reviewed by Kenneth Christiansen.
Spatial Navigation: using offset{Left,Top} is not enough to get the proper inner frames position
https://bugs.webkit.org/show_bug.cgi?id=39439
As pointed out by Darin Adler in https://bugs.webkit.org/show_bug.cgi?id=18662#c20,
"It's not correct to use the offsetLeft and offsetTop of the frame owner element's renderer because
that's just the distance from the offsetParent, not the absolute position".
Patch fixes that behavior by now considering the offsetTop and offsetLeft the offsetParent recursively,
starting from the HtmlFrameOwnerElement. Previously, only calling offsetTop and offsetLeft works
because all tests were done in html samples where the {i}frame element was a directly a child of the body,
e.g. <html>...<body><iframe src=xxx>....<body></html>.
WebCore:
Test: fast/events/spatial-navigation/snav-iframe-recursive-offset-parent.html
- page/SpatialNavigation.cpp: (WebCore::renderRectRelativeToRootDocument):
LayoutTests:
- fast/events/spatial-navigation/snav-iframe-recursive-offset-parent-expected.txt: Added.
- fast/events/spatial-navigation/snav-iframe-recursive-offset-parent.html: Added.
- 2:26 AM Changeset in webkit [61249] by
-
- 2 edits in trunk/WebCore
Try to fix the Tiger build
- platform/graphics/mac/SimpleFontDataMac.mm:
(WebCore::SimpleFontData::platformBoundsForGlyph):
- 2:23 AM Changeset in webkit [61248] by
-
- 2 edits in trunk/LayoutTests
2010-06-16 Eric Seidel <eric@webkit.org>
Unreviewed. Disabling a test which fails on Gtk for unexplained
reasons which are specific to the Gtk port.
Gtk pumps the HTML5Lexer an extra time, causing inspector/timeline-script-tag-1.html to fail
https://bugs.webkit.org/show_bug.cgi?id=40664
- platform/qt/Skipped:
- Skip the test until a Gtk person can take a look.
- 2:15 AM Changeset in webkit [61247] by
-
- 2 edits in trunk/WebCore
Try to fix the Tiger build
- platform/graphics/mac/SimpleFontDataMac.mm:
(WebCore::SimpleFontData::platformBoundsForGlyph):
- 2:12 AM Changeset in webkit [61246] by
-
- 2 edits in trunk/LayoutTests
2010-06-16 Eric Seidel <eric@webkit.org>
Unreviewed. Disabling a test which due to a Qt decoding bug
is now failing with the HTML5 lexer.
fast/encoding/japanese-encoding-mix.html fails on Qt after enabling HTML5 Lexer
https://bugs.webkit.org/show_bug.cgi?id=40661
Qt's decoders don't seem to be passing the "--" of the "-->" to the
HTML5DocumentParser correctly, thus the comment is never closed
and the rest of the document gets eaten.
- platform/qt/Skipped:
- Skip the test until a Qt person can take a look.
- 1:59 AM Changeset in webkit [61245] by
-
- 2 edits in trunk/LayoutTests
2010-06-16 Adam Barth <abarth@webkit.org>
Unreviewed.
Enable HTML5 lexer
https://bugs.webkit.org/show_bug.cgi?id=40650
Add two XSS Auditor tests to the Skipped list. These tests actually
pass in the sense that the attack is blocked. However, the U+FFFD in
the console output is getting mangled. We could check in Qt-specific
expected results, but that doesn't quite seem right. There's something
wrong with the Qt UT8 decoder, which I suspect is related to (or the
same as) https://bugs.webkit.org/show_bug.cgi?id=35263
- platform/qt/Skipped:
- 1:50 AM Changeset in webkit [61244] by
-
- 2 edits in trunk/JavaScriptCore
Store matchBegin directly in the array of output instead of the stack.
https://bugs.webkit.org/show_bug.cgi?id=38988
Patch by Peter Varga <pvarga@inf.u-szeged.hu> on 2010-06-16
Reviewed by Geoffrey Garen.
- yarr/RegexJIT.cpp: (JSC::Yarr::RegexGenerator::generateDisjunction): (JSC::Yarr::RegexGenerator::generate):
- 1:48 AM Changeset in webkit [61243] by
-
- 1 edit6 adds in trunk/LayoutTests
2010-06-16 Adam Barth <abarth@webkit.org>
Unreviewed.
Enable HTML5 lexer
https://bugs.webkit.org/show_bug.cgi?id=40650
Add platform-specific results for Snow Leopard. Maciej thinks there is
something going on here related to BIDI and additional FFFD
replacements. This test is already on our list of things to
investigate more closely.
- platform/mac-snowleopard/tables/mozilla/images/adforce_imgis_com-expected.checksum: Added.
- platform/mac-snowleopard/tables/mozilla/images/adforce_imgis_com-expected.png: Added.
- platform/mac-snowleopard/tables/mozilla/images/adforce_imgis_com-expected.txt: Added.
- 1:25 AM Changeset in webkit [61242] by
-
- 2 edits in trunk/LayoutTests
2010-06-16 Eric Seidel <eric@webkit.org>
Unreviewed, just updating qt platform result to match new expectations.
Enable HTML5 lexer
https://bugs.webkit.org/show_bug.cgi?id=40650
Windows and Chromium will still need updates, but I don't have easy
access to those results.
- platform/qt/fast/text/stripNullFromText-expected.txt:
- \0 now gets converted to 0xfffd per HTML5.
- platform/qt/fast/text/international/hindi-whitespace-expected.txt:
- Expected CR handling change after http://trac.webkit.org/changeset/61234.
- 1:23 AM QtWebKitBackportingFixes edited by
- (diff)
- 1:20 AM Changeset in webkit [61241] by
-
- 3 edits4 adds in trunk
WebCore: <rdar://problem/8077119> REGRESSION (r60247): Google Reader contains the tops of pieces of unidentifiable text under feed headlines.
https://bugs.webkit.org/show_bug.cgi?id=40386
Reviewed by Alexey Proskuryakov.
Test: platform/mac/fast/text/x-height.html
The result of platformBoundsForGlyph() is in flipped coordinates, whereas the result of
-[NSFont boundingRectForGlyph:] was not. r60247 failed to account for this.
- platform/graphics/mac/SimpleFontDataMac.mm:
(WebCore::SimpleFontData::platformInit): Measure the height of the x glyph above the baseline
correctly.
(WebCore::SimpleFontData::platformBoundsForGlyph): Return a rect in flipped coordinates on Tiger
as well.
LayoutTests: <rdar://problem/8077119> REGRESSION: Google Reader contains the tops of pieces of unidentifiable text under feed headlines.
https://bugs.webkit.org/show_bug.cgi?id=40386
Reviewed by Alexey Proskuryakov.
- platform/mac/fast/text/x-height-expected.checksum: Added.
- platform/mac/fast/text/x-height-expected.png: Added.
- platform/mac/fast/text/x-height-expected.txt: Added.
- platform/mac/fast/text/x-height.html: Added.
- 1:06 AM Changeset in webkit [61240] by
-
- 2 edits in trunk/LayoutTests
2010-06-16 Adam Barth <abarth@webkit.org>
Unreviewed.
Enable HTML5 lexer
https://bugs.webkit.org/show_bug.cgi?id=40650
Update platform-specific expected results for Qt.
- platform/qt/fast/text/international/hindi-whitespace-expected.txt:
- 12:59 AM Changeset in webkit [61239] by
-
- 4 edits in trunk
2010-06-16 Adam Barth <abarth@webkit.org>
Reviewed by Eric Seidel.
Don't crash when a document ends with an entity
https://bugs.webkit.org/show_bug.cgi?id=40658
When we SWITCH_TO a state, we're expecting our caller to have advanced
the source. Rather than have all the callers check for empty, we do
that ourselves.
- html/HTML5Lexer.cpp:
2010-06-16 Adam Barth <abarth@webkit.org>
Reviewed by Eric Seidel.
Don't crash when a document ends with an entity
https://bugs.webkit.org/show_bug.cgi?id=40658
Add a test for an entity being the only contents of a file.
- html5lib/resources/webkit01.dat:
- 12:51 AM Changeset in webkit [61238] by
-
- 4 edits in trunk/LayoutTests
2010-06-16 Eric Seidel <eric@webkit.org>
Unreviewed, just updating platform results to match new expectations.
Enable HTML5 lexer
https://bugs.webkit.org/show_bug.cgi?id=40650
Update platform-specific results for broken CSS test whose results
changed as part of http://trac.webkit.org/changeset/61234.
- platform/chromium-win/css1/box_properties/float_elements_in_series-expected.txt:
- platform/gtk/css1/box_properties/float_elements_in_series-expected.txt:
- platform/qt/css1/box_properties/float_elements_in_series-expected.txt:
- 12:30 AM Changeset in webkit [61237] by
-
- 2 edits in trunk/LayoutTests
2010-06-16 Adam Barth <abarth@webkit.org>
Unreviewed.
Enable HTML5 lexer
https://bugs.webkit.org/show_bug.cgi?id=40650
I seem to have screwed up generating the updated expectation file.
This file is from the bots.
- platform/mac/tables/mozilla/images/adforce_imgis_com-expected.txt:
- 12:04 AM Changeset in webkit [61236] by
-
- 2 edits in trunk/LayoutTests
2010-06-16 Adam Barth <abarth@webkit.org>
Unreviewed.
Enable HTML5 lexer
https://bugs.webkit.org/show_bug.cgi?id=40650
Revert unintentional change to expected results. I have a different
diff on my machine because I have some errant cookies.
- inspector/audits-panel-functional-expected.txt:
Jun 15, 2010:
- 11:51 PM Changeset in webkit [61235] by
-
- 7 edits in trunk/LayoutTests
2010-06-15 Adam Barth <abarth@webkit.org>
Reviewed by Eric Seidel.
Enable HTML5 lexer
https://bugs.webkit.org/show_bug.cgi?id=40650
Change some tests not to rely upon <script/>. We already cover that
case in parsing tests.
- fast/lists/ol-nested-items-dynamic-insert.html:
- fast/lists/ol-nested-items-dynamic-remove.html:
- fast/lists/ol-nested-items.html:
- fast/lists/ol-nested-list-dynamic-insert.html:
- fast/lists/ol-nested-list-dynamic-remove.html:
- fast/lists/ol-nested-list.html:
- 11:27 PM Changeset in webkit [61234] by
-
- 47 edits in trunk
2010-06-15 Adam Barth <abarth@webkit.org>
Reviewed by Eric Seidel.
Enable HTML5 lexer
https://bugs.webkit.org/show_bug.cgi?id=40650
- page/Settings.cpp: (WebCore::Settings::Settings):
2010-06-15 Adam Barth <abarth@webkit.org>
Reviewed by Eric Seidel.
Enable HTML5 lexer
https://bugs.webkit.org/show_bug.cgi?id=40650
This patch updates the expected results for tests that conflict with
the HTML5 specification. In a later patch, I'll update the tests
themselves to fix pass/fail messages.
- fast/doctypes/005-case-preserving-expected.txt:
- HTML5 specifies case normalization for DOCTYPEs.
- fast/js/missing-title-end-tag-js-expected.txt:
- HTML5 requires us to swallow the entire document when <title> is unterminated.
- fast/parser/comment-in-iframe-expected.txt:
- fast/parser/comment-in-script-tricky-expected.txt:
- fast/parser/comment-in-title-expected.txt:
- fast/parser/comments-expected.txt:
- Differences due to HTML5 comment parsing.
- fast/parser/eightdigithexentity-expected.txt:
- HTML5 specifies a different behavior for �
- fast/parser/entity-end-iframe-tag-expected.txt:
- HTML5 specifies a different behavior for </iframe>
- fast/parser/entity-surrogate-pairs-expected.txt:
- HTML5 doesn't allow entities to create surrogate pairs.
- fast/parser/html-whitespace-expected.txt:
- HTML5 has a different handling of CR in this case.
- fast/parser/script-tag-with-trailing-slash-expected.txt:
- HTML5 does not allow self-closing <script/> tags.
- fast/parser/tag-with-exclamation-point-expected.txt:
- HTML5 treats bogus DOCTYPEs as comments.
- fast/parser/xml-directive-in-dom-expected.txt:
- HTML5 attaches <?xml?> processing directives to the DOM as comments.
- fast/xpath/xpath-functional-test-expected.txt:
- I don't fully understand this test, but our new behavior matches the Firefox nightly builds (which have an HTML5 parser).
- html5lib/runner-expected.txt:
- html5lib/webkit-resumer-expected.txt:
- Massive progressions on HTML5 conformance.
- http/tests/loading/gmail-assert-on-load-expected.txt:
- I don't fully understand this behavior change. It might represent a bug. We're still investigating.
- http/tests/security/xssAuditor/embed-tag-null-char-expected.txt:
- Update expected results for change in NULL char handling.
- http/tests/security/xssAuditor/img-onerror-tricky-expected.txt:
- This exploit no longer works in the HTML5 parser, so it's not blocked.
- http/tests/security/xssAuditor/javascript-link-HTML-entities-null-char-expected.txt:
- This a real regression. We need to update the XSSAuditor to use the HTML5 parser's HTML entity decoder. I'll do that in a followup patch because there doesn't appear to be an easy way to key the choice off of the WebCore::Setting.
- http/tests/security/xssAuditor/malformed-HTML-expected.txt:
- Slightly different handling of malformed HTML. The exploit is still blocked.
- http/tests/security/xssAuditor/object-embed-tag-null-char-expected.txt:
- Update expected result due to different NULL character handling.
- inspector/audits-panel-functional-expected.txt:
- inspector/timeline-script-tag-1-expected.txt:
- Slightly different semantics around document.write.
- inspector/elements-panel-structure-expected.txt:
- HTML5 specifies case normalization for DOCTYPEs.
- platform/mac/css1/box_properties/float_elements_in_series-expected.txt:
- HTML5 specifies different handling of "<foo<bar"
- platform/mac/fast/doctypes/003-expected.txt:
- HTML5 specifies case normalization for DOCTYPEs.
- platform/mac/fast/dom/stripNullFromTextNodes-expected.txt:
- HTML5 specifies different handling of NULL characters.
- platform/mac/fast/invalid/016-expected.txt:
- HTML5 specifies different handling of "<foo<bar"
- platform/mac/fast/parser/broken-comments-vs-parsing-mode-expected.txt:
- HTML5 specifies different handling of HTML comments.
- platform/mac/fast/parser/comment-in-style-expected.txt:
- HTML5 specifies different handling of HTML comments.
- platform/mac/fast/parser/parseCommentsInTitles-expected.txt:
- HTML5 specifies different handling of HTML comments.
- platform/mac/fast/text/international/bidi-linebreak-001-expected.txt:
- platform/mac/fast/text/international/bidi-linebreak-002-expected.txt:
- platform/mac/fast/text/international/bidi-linebreak-003-expected.txt:
- platform/mac/fast/text/international/hindi-whitespace-expected.txt:
- HTML5 specifies different handling CR. I don't fully understand the consequences of this change, but our new behavior matches the Firefox nightly.
- platform/mac/fast/text/stripNullFromText-expected.txt:
- HTML5 specifies different handling of NULL characters.
- platform/mac/fast/tokenizer/missing-title-end-tag-1-expected.txt:
- platform/mac/fast/tokenizer/missing-title-end-tag-2-expected.txt:
- HTML5 requires us to swallow the entire document when <title> is unterminated.
- platform/mac/fast/tokenizer/script_extra_close-expected.txt:
- We're coalescing text nodes slightly different in the new parser. We're going to get this up to spec when we work on the TreeConstructor (which is where the spec handles text node coalescing).
- platform/mac/tables/mozilla/images/adforce_imgis_com-expected.txt:
- Different handling of crazy unicode characters (replaced with FFFD). Still investigating whether this is a real bug.
- webarchive/archive-empty-frame-dom-expected.webarchive:
- HTML5 specifies case normalization for DOCTYPEs.
2010-06-15 Adam Barth <abarth@webkit.org>
Reviewed by Eric Seidel.
Enable HTML5 lexer
https://bugs.webkit.org/show_bug.cgi?id=40650
- DumpRenderTree/mac/DumpRenderTree.mm: (initializeGlobalsFromCommandLineOptions):
- 9:50 PM Changeset in webkit [61233] by
-
- 2 edits in trunk/WebKit/mac
Don't leak WebGeolocationPositionInternal and GeolocationPosition instances for every WebGeolocationPosition created.
Reviewed by Sam Weinig.
- WebView/WebGeolocationPosition.mm:
(-[WebGeolocationPosition dealloc]): Implement -dealloc and release our WebGeolocationPositionInternal instance.
- 8:23 PM Changeset in webkit [61232] by
-
- 26 edits2 adds in trunk
2010-06-15 Dmitry Titov <dimich@chromium.org>
Not reviewed, updating Chromium test expectations.
- platform/chromium/test_expectations.txt:
2010-06-15 Mark Rowe <mrowe@apple.com>
Rubber-stamped by David Harrison.
sqlite3_prepare16_v2 is not documented as always setting "tail" during error cases.
Explicitly initialize it to null, just to be safe.
- platform/sql/SQLiteStatement.cpp: (WebCore::SQLiteStatement::prepare):
2010-06-10 Yuzo Fujishima <yuzo@google.com>
Reviewed by Shinichiro Hamaji.
Implement render style selection for pages to support CSS3 Paged Media.
https://bugs.webkit.org/show_bug.cgi?id=35961
- Misc/WebCoreStatistics.h:
- Misc/WebCoreStatistics.mm: (-[WebFrame pageProperty:propertyName:]):
2010-06-10 Yuzo Fujishima <yuzo@google.com>
Reviewed by Shinichiro Hamaji.
Implement render style selection for pages to support CSS3 Paged Media.
https://bugs.webkit.org/show_bug.cgi?id=35961
- DumpRenderTree/LayoutTestController.cpp: (parsePagePropertyParameters): (pagePropertyCallback): (LayoutTestController::staticFunctions):
- DumpRenderTree/LayoutTestController.h:
- DumpRenderTree/gtk/LayoutTestControllerGtk.cpp: (LayoutTestController::pageProperty):
- DumpRenderTree/mac/LayoutTestControllerMac.mm: (LayoutTestController::pageProperty):
- DumpRenderTree/win/LayoutTestControllerWin.cpp: (LayoutTestController::pageProperty):
- 7:27 PM Changeset in webkit [61231] by
-
- 2 edits in trunk/WebCore
sqlite3_prepare16_v2 is not documented as always setting "tail" during error cases.
Explicitly initialize it to null, just to be safe.
Rubber-stamped by David Harrison.
- platform/sql/SQLiteStatement.cpp:
(WebCore::SQLiteStatement::prepare):
- 7:23 PM Changeset in webkit [61230] by
-
- 4 edits in trunk/WebCore
<rdar://problem/8091103> URLs not added to history when initial load happens via back/forward navigation
Reviewed by Brady Eidson.
Back/forward navigation currently does not create or update items in the global history. This is usually
desirable, except for in the event where the back/forward list was created programmatically and attached
to the WebView and the initial load in that WebView is being performed as a result of a back/forward
navigation. In that situation it is preferable to ensure that global history item is created or updated.
No test case is added because DumpRenderTree is not able to test the scenario where the initial
load in a WebView occurs via a back/forward navigation.
- loader/FrameLoader.cpp:
(WebCore::FrameLoader::transitionToCommitted): If we're committing the first load in this frame as a
back/forward navigation then we should update the history as if it were a standard load, with the
exception of updating the back/forward list.
- loader/HistoryController.cpp:
(WebCore::HistoryController::updateForStandardLoad): Add a parameter to allow callers to skip updating
the back/forward list.
- loader/HistoryController.h:
(WebCore::HistoryController::):
- 6:07 PM Changeset in webkit [61229] by
-
- 2 edits in trunk/LayoutTests
Not reviewed, updating Chromium test expectations.
- platform/chromium/test_expectations.txt:
- 5:45 PM Changeset in webkit [61228] by
-
- 4 edits in trunk/WebKit2
Fix for <rdar://problem/8010805>
Assertion failure ("mainThreadPthread") in isMainThread() mousing over cnn.com in Mini Browser
Reviewed by Anders Carlsson.
Don't use WebCore::String::operator NSString*() from the UIProcess, since it uses
StringImpl::createCFString() which expects to be called from WebCore's main thread.
- UIProcess/API/mac/PageClientImpl.h:
- UIProcess/API/mac/PageClientImpl.mm:
(WebKit::nsStringFromWebCoreString):
(WebKit::PageClientImpl::toolTipChanged):
- UIProcess/API/mac/WKView.mm:
(-[WKView view:stringForToolTip:point:userData:]):
- 5:19 PM Changeset in webkit [61227] by
-
- 2 edits in trunk/LayoutTests
Not reviewed, updating Chromium test expectations.
- platform/chromium/test_expectations.txt:
- 4:42 PM Changeset in webkit [61226] by
-
- 2 edits in trunk/WebCore
2010-06-15 Simon Fraser <Simon Fraser>
Fix crashing tests; need to check for null documentElement().
- rendering/RenderView.cpp: (WebCore::RenderView::paintBoxDecorations):
- 4:36 PM Changeset in webkit [61225] by
-
- 3 edits in trunk/WebCore
2010-06-15 Kinuko Yasuda <kinuko@chromium.org>
Reviewed by David Levin.
Fix compilation errors in BlobBuilder with FILE_WRITER enabled
https://bugs.webkit.org/show_bug.cgi?id=40606
No functionality change so no new tests.
- html/BlobBuilder.cpp:
- html/BlobBuilder.h:
- 4:35 PM Changeset in webkit [61224] by
-
- 2 edits in trunk/WebKit/gtk
2010-06-15 Xan Lopez <xlopez@igalia.com>
Fix compilation with older GTK+.
- WebCoreSupport/ChromeClientGtk.cpp: (WebKit::ChromeClient::pageRect):
- 4:29 PM Changeset in webkit [61223] by
-
- 3 edits in trunk/WebCore
Move type attribute from File.idl to Blob.idl per latest File API spec.
https://bugs.webkit.org/show_bug.cgi?id=40642
Reviewed by David Levin.
- html/Blob.idl:
- html/File.idl:
- 4:17 PM Changeset in webkit [61222] by
-
- 24 edits17 adds in trunk
Fix for https://bugs.webkit.org/show_bug.cgi?id=40630
WebKit2: Add mechanism to inject code into the WebProcess on startup
Reviewed by Anders Carlsson.
Add initial InjectedBundle support.
WebKit2:
- Shared/CoreIPCSupport/WebProcessMessageKinds.h:
(WebProcessMessage::):
Add new LoadInjectedBundle message kind.
- UIProcess/API/C/WKContext.cpp:
(toWK):
(WKContextCreate):
(WKContextCreateWithInjectedBundlePath):
- UIProcess/API/C/WKContext.h:
Rename WKContextCreateWithProcessModel to WKContextCreate and add
WKContextCreateWithInjectedBundlePath for creating a context with
a bundle.
- UIProcess/WebContext.cpp:
(WebKit::WebContext::WebContext):
- UIProcess/WebContext.h:
(WebKit::WebContext::create):
(WebKit::WebContext::processModel):
(WebKit::WebContext::bundlePath):
- UIProcess/WebPageNamespace.cpp:
(WebKit::WebPageNamespace::ensureWebProcess):
(WebKit::WebPageNamespace::reviveIfNecessary):
- UIProcess/WebProcessManager.cpp:
(WebKit::WebProcessManager::getWebProcess):
- UIProcess/WebProcessManager.h:
- UIProcess/WebProcessProxy.cpp:
(WebKit::WebProcessProxy::create):
(WebKit::WebProcessProxy::WebProcessProxy):
- UIProcess/WebProcessProxy.h:
Thread the bundle path through process creation.
- WebProcess/InjectedBundle: Added.
- WebProcess/InjectedBundle/API: Added.
- WebProcess/InjectedBundle/API/c: Added.
- WebProcess/InjectedBundle/API/c/WKBundle.cpp: Added.
(WKBundleSetClient):
- WebProcess/InjectedBundle/API/c/WKBundle.h: Added.
- WebProcess/InjectedBundle/API/c/WKBundleAPICast.h: Added.
(WebKit::):
(toWK):
(toRef):
- WebProcess/InjectedBundle/API/c/WKBundleBase.h: Added.
- WebProcess/InjectedBundle/API/c/WKBundleInitialize.h: Added.
- WebProcess/InjectedBundle/InjectedBundle.cpp: Added.
(WebKit::InjectedBundle::InjectedBundle):
(WebKit::InjectedBundle::~InjectedBundle):
(WebKit::InjectedBundle::initializeClient):
(WebKit::InjectedBundle::didCreatePage):
- WebProcess/InjectedBundle/InjectedBundle.h: Added.
(WebKit::InjectedBundle::create):
Add bundle boilerplate.
- WebProcess/InjectedBundle/mac: Added.
- WebProcess/InjectedBundle/mac/InjectedBundleMac.cpp: Added.
(WebKit::InjectedBundle::load):
Load the InjectedBundle using CFBundle.
- WebProcess/InjectedBundle/win: Added.
- WebProcess/InjectedBundle/win/InjectedBundleWin.cpp: Added.
(WebKit::pathGetFileName):
(WebKit::directoryName):
(WebKit::InjectedBundle::load):
Load the InjectedBundle using HMODULE.
- WebProcess/WebPage/WebPage.cpp:
(WebKit::WebPage::WebPage):
Add initial bundle callback for page creation. More to come.
- WebProcess/WebProcess.cpp:
(WebKit::WebProcess::loadInjectedBundle):
(WebKit::WebProcess::didReceiveMessage):
- WebProcess/WebProcess.h:
(WebKit::WebProcess::injectedBundle):
Load the InjectedBundle on LoadInjectedBundle message.
- WebKit2.xcodeproj/project.pbxproj:
- mac/WebKit2.exp:
- win/WebKit2.vcproj:
- win/WebKit2Generated.make:
Add the new files.
WebKitTools:
- MiniBrowser/MiniBrowser.xcodeproj/project.pbxproj:
- MiniBrowser/WebBundle-Info.plist: Added.
Add test InjectedBundle to the project.
- MiniBrowser/mac/AppDelegate.m:
(-[BrowserAppDelegate init]):
Get the path to the WebBundle from the the main bundle and pass it to the new
WKContextCreateWithInjectedBundlePath function.
- MiniBrowser/mac/BrowserWindowController.m:
(_didChangeProgress):
Fix the build. This has been broken for a while.
- MiniBrowser/mac/WebBundle: Added.
- MiniBrowser/mac/WebBundle/WebBundleMain.c: Added.
(_didCreatePage):
(WKBundleInitialize):
Add really basic InjectedBundle.
- MiniBrowser/win/BrowserView.cpp:
(BrowserView::create):
Switch from WKContextCreateWithProcessModel to WKContextCreate and remove commented out code.
- 3:47 PM Changeset in webkit [61221] by
-
- 2 edits in trunk/WebKitTools
Adding myself to the reviewers list.
https://bugs.webkit.org/show_bug.cgi?id=40693
Reviewed by Darin Adler.
- Scripts/webkitpy/common/config/committers.py:
- 3:44 PM Changeset in webkit [61220] by
-
- 2 edits in trunk/LayoutTests
2010-06-15 Andrew Scherkus <scherkus@chromium.org>
Unreviewed, updating Chromium test expectations for media layout tests.
- platform/chromium/test_expectations.txt:
- 3:33 PM Changeset in webkit [61219] by
-
- 2 edits in trunk/WebKit/qt
Fix build.
- WebCoreSupport/DumpRenderTreeSupportQt.cpp:
(DumpRenderTreeSupportQt::shouldClose): Call loader()->shouldClose().
- 3:30 PM Changeset in webkit [61218] by
-
- 2 edits in trunk/LayoutTests
Unreviewed, updating Chromium test expectations.
Mark following tests SLOW so they won't fail on TIMEOUT in Debug:
fast/frames/lots-of-iframes.html
fast/frames/lots-of-objects.html
- platform/chromium/test_expectations.txt:
- 3:20 PM Changeset in webkit [61217] by
-
- 16 edits in trunk
2010-06-15 Darin Adler <Darin Adler>
Reviewed by Adam Barth.
Move functions out of Frame class that were marked "move to Chrome"
https://bugs.webkit.org/show_bug.cgi?id=39636
- src/WebViewImpl.cpp: (WebKit::WebViewImpl::dispatchBeforeUnloadEvent): Call shouldClose on FrameLoader instead of going through Frame.
2010-06-15 Darin Adler <Darin Adler>
Reviewed by Adam Barth.
Move functions out of Frame class that were marked "move to Chrome"
https://bugs.webkit.org/show_bug.cgi?id=39636
- WebView.cpp: (WebView::shouldClose): Call shouldClose on FrameLoader instead of going through Frame.
2010-06-15 Darin Adler <Darin Adler>
Reviewed by Adam Barth.
Move functions out of Frame class that were marked "move to Chrome"
https://bugs.webkit.org/show_bug.cgi?id=39636
- WebFrame.cpp: (wxWebFrame::ShouldClose): Call shouldClose on FrameLoader instead of going through Frame.
2010-06-15 Darin Adler <Darin Adler>
Reviewed by Adam Barth.
Move functions out of Frame class that were marked "move to Chrome"
https://bugs.webkit.org/show_bug.cgi?id=39636
- WebView/WebView.mm: (-[WebView shouldClose]): Call shouldClose on FrameLoader instead of going through Frame.
2010-06-15 Darin Adler <Darin Adler>
Reviewed by Adam Barth.
Move functions out of Frame class that were marked "move to Chrome"
https://bugs.webkit.org/show_bug.cgi?id=39636
Refactoring that does not require new tests.
- loader/FrameLoader.cpp: (WebCore::FrameLoader::didOpenURL): Call setStatus and setDefaultStatus on DOMWindow rather than going through Frame. (WebCore::FrameLoader::open): Ditto. (WebCore::FrameLoader::continueLoadAfterNavigationPolicy): Call shouldClose on this object instead of going through Frame.
- page/DOMWindow.cpp: (WebCore::DOMWindow::dispatchAllPendingBeforeUnloadEvents): Call shouldClose on FrameLoader instead of going through Frame. (WebCore::DOMWindow::focus): Moved the code from Frame::focusWindow in here. (WebCore::DOMWindow::blur): Moved the code from Frame::unfocusWindow in here. (WebCore::DOMWindow::close): Moved the code from Frame::scheduleClose in here. (WebCore::DOMWindow::setStatus): Moved the code from Frame::setJSStatusBarText in here. (WebCore::DOMWindow::setDefaultStatus): Moved the code from Frame::setJSDefaultStatusBarText in here.
- page/DOMWindow.h: Added m_status and m_defaultStatus members to store the status messages being set by the DOM.
- page/Frame.cpp: Removed all the functions that were marked "to be moved into Chrome".
- page/Frame.h: Ditto.
2010-06-15 Darin Adler <Darin Adler>
Reviewed by Adam Barth.
Move functions out of Frame class that were marked "move to Chrome"
https://bugs.webkit.org/show_bug.cgi?id=39636
- WebProcess/WebPage/WebPage.cpp: (WebKit::WebPage::tryClose): Call shouldClose on FrameLoader instead of going through Frame.
- 3:04 PM Changeset in webkit [61216] by
-
- 3 edits in trunk/LayoutTests
2010-06-15 Darin Fisher <darin@chromium.org>
Fix whitespace error in expected results.
Looks like Chromium's TestShell and DRT do not agree in how whitespace
is generated in some cases.
- fast/history/history-back-within-subframe-expected.txt:
- platform/chromium/test_expectations.txt:
- 3:00 PM Changeset in webkit [61215] by
-
- 3 edits4 adds in trunk
2010-06-15 Simon Fraser <Simon Fraser>
Reviewed by Dave Hyatt.
Garbage shown outside HTML if HTML is absolutely positioned
https://bugs.webkit.org/show_bug.cgi?id=36163
Add a check that the root renderer (the document element's renderer) covers
the entire viewport before deciding that we don't need the RenderView
to paint its background. Fixes lack of painting with positioned, floated, and
display: table html elements.
Test: fast/repaint/positioned-document-element.html
- rendering/RenderView.cpp: (WebCore::RenderView::paintBoxDecorations):
- 3:00 PM Changeset in webkit [61214] by
-
- 3 edits4 adds in trunk
2010-06-15 Simon Fraser <Simon Fraser>
Reviewed by Dan Bernstein.
Safari 5 does not clear background with transformed html element
https://bugs.webkit.org/show_bug.cgi?id=40498
When the document element is composited, ensure that the FrameView
paints the background, because the composited layer may be transparent,
or might get moved via animation.
Test: compositing/repaint/composited-document-element.html
- rendering/RenderView.cpp: (WebCore::isComposited): (WebCore::rendererObscuresBackground):
- 2:48 PM Changeset in webkit [61213] by
-
- 2 edits in trunk/WebKit/mac
Remove getPluginInfoFromBundleAndMIMEDictionary:
Reviewed by Dan Bernstein.
- Plugins/WebBasePluginPackage.mm:
- 2:40 PM Changeset in webkit [61212] by
-
- 2 edits in trunk/WebKit/mac
Fold getPluginInfoFromBundleAndMIMEDictionary: into its sole caller.
Reviewed by Dan Bernstein.
- Plugins/WebBasePluginPackage.mm:
(-[WebBasePluginPackage getPluginInfoFromPLists]):
- 1:57 PM Changeset in webkit [61211] by
-
- 2 edits in trunk/WebKitTools
2010-06-15 Martin Robinson <mrobinson@igalia.com>
Reviewed by Xan Lopez.
Switch to using GIO methods instead of realpath in GtkLauncher to determine
the file URI. This should remove warnings about realpath being undefined
when compiling with '-ansi'.
- GtkLauncher/main.c: (filenameToURL): Use GIO instead of realpath to determine file URI.
- 1:48 PM WebKit Team edited by
- (diff)
- 1:41 PM Changeset in webkit [61210] by
-
- 1 edit1 add in trunk/LayoutTests
2010-06-15 Darin Fisher <darin@chromium.org>
Adding missing test results.
- fast/history/history-back-within-subframe-expected.txt: Added.
- 12:49 PM Changeset in webkit [61209] by
-
- 2 edits in trunk
2010-06-15 Xan Lopez <xlopez@igalia.com>
Unreviewed build fix.
Remove GSEAL from the debug config since the bots have a GTK+
version too old, duh.
- GNUmakefile.am:
- 12:32 PM Changeset in webkit [61208] by
-
- 2 edits in trunk/WebCore
2010-06-15 Xan Lopez <xlopez@igalia.com>
Try to fix GTK+ build.
- platform/gtk/GtkVersioning.h:
- 12:31 PM Changeset in webkit [61207] by
-
- 10 edits5 adds in trunk
2010-06-15 Darin Fisher <darin@chromium.org>
Reviewed by Brady Eidson.
Introduce HistoryItem::itemSequenceNumber and use it to identify
HistoryItems that are clones of one another.
Changes HistoryController::recursiveGoToItem to use itemSequenceNumber
equality instead of isTargetItem as the pre-requisite for not calling
FrameLoader::loadItem.
Changes FrameLoader::loadItem to require equivalent
documentSequenceNumber before initiating a same document navigation.
This alone would appear to fix the bug, but it does not go far enough
since without the itemSequenceNumber equality check, we'd re-load more
often than we should.
Moves documentSequenceNumber assignment into createItemTree as cleanup
and to ensure that it gets called properly whenever we create a cloned
HistoryItem. (createItemTree's mission is to create clones up until
or including the target frame depending on the value of the doClip
parameter.)
Removes the now unused HistoryController::urlsMatchItem.
Test: fast/history/history-back-within-subframe.html
http/tests/navigation/history-back-across-form-submission-to-fragment.html
- history/HistoryItem.cpp: (WebCore::generateSequenceNumber): (WebCore::HistoryItem::HistoryItem):
- history/HistoryItem.h: (WebCore::HistoryItem::setItemSequenceNumber): (WebCore::HistoryItem::itemSequenceNumber):
- loader/FrameLoader.cpp: (WebCore::FrameLoader::loadItem):
- loader/HistoryController.cpp: (WebCore::HistoryController::updateBackForwardListForFragmentScroll): (WebCore::HistoryController::createItemTree): (WebCore::HistoryController::recursiveGoToItem): (WebCore::HistoryController::pushState):
- loader/HistoryController.h:
- 12:14 PM Changeset in webkit [61206] by
-
- 12 edits in trunk
2010-06-15 Xan Lopez <xlopez@igalia.com>
Reviewed by Gustavo Noronha.
[GTK] Does not compile with -DGSEAL_ENABLE
https://bugs.webkit.org/show_bug.cgi?id=37851
Add GSEAL_ENABLE flag when doing debug builds.
- GNUmakefile.am:
WebCore:
2010-06-15 Xan Lopez <xlopez@igalia.com>
Reviewed by Gustavo Noronha.
[GTK] Does not compile with -DGSEAL_ENABLE
https://bugs.webkit.org/show_bug.cgi?id=37851
Fix compilation with GSEAL_ENABLE.
- platform/gtk/GtkVersioning.h:
- platform/gtk/PlatformScreenGtk.cpp: (WebCore::screenDepth): (WebCore::screenDepthPerComponent):
- platform/gtk/PopupMenuGtk.cpp: (WebCore::PopupMenu::show):
- platform/gtk/ScrollbarGtk.cpp: (ScrollbarGtk::detachAdjustment): (ScrollbarGtk::updateThumbPosition): (ScrollbarGtk::updateThumbProportion):
- plugins/gtk/PluginViewGtk.cpp: (WebCore::PluginView::paint): (WebCore::PluginView::initXEvent): (WebCore::PluginView::platformGetValue): (WebCore::PluginView::platformStart):
- plugins/gtk/gtk2xtbin.c: (gtk_xtbin_realize): (gtk_xtbin_new): (gtk_xtbin_set_position): (gtk_xtbin_unrealize):
WebKit/gtk:
2010-06-15 Xan Lopez <xlopez@igalia.com>
Reviewed by Gustavo Noronha.
[GTK] Does not compile with -DGSEAL_ENABLE
https://bugs.webkit.org/show_bug.cgi?id=37851
Fix compilation with GSEAL_ENABLE.
- WebCoreSupport/ChromeClientGtk.cpp: (WebKit::ChromeClient::pageRect): (WebKit::ChromeClient::contentsSizeChanged):
- tests/testdomnode.c: (test_dom_node_insertion):
- webkit/webkitwebview.cpp: (webkit_web_view_realize): (webkit_web_view_script_dialog): (webkit_web_view_drag_end): (webkit_web_view_init):
- 11:59 AM Changeset in webkit [61205] by
-
- 1 edit4 moves in trunk/LayoutTests
Increase limit on number of (i)frames from 200 to 1000.
https://bugs.webkit.org/show_bug.cgi?id=39427
Move the right test this time, move remove-iframe-crash back. Oops.
- compositing/iframes/lots-of-iframes-expected.txt: Removed.
- compositing/iframes/lots-of-iframes.html: Removed.
- compositing/iframes/remove-iframe-crash-expected.txt: Copied from fast/frames/remove-iframe-crash-expected.txt.
- compositing/iframes/remove-iframe-crash.html: Copied from fast/frames/remove-iframe-crash.html.
- fast/frames/lots-of-iframes-expected.txt: Copied from compositing/iframes/lots-of-iframes-expected.txt.
- fast/frames/lots-of-iframes.html: Copied from compositing/iframes/lots-of-iframes.html.
- fast/frames/remove-iframe-crash-expected.txt: Removed.
- fast/frames/remove-iframe-crash.html: Removed.
- 11:54 AM Changeset in webkit [61204] by
-
- 2 edits in trunk/WebKit/mac
2010-06-11 Simon Fraser <Simon Fraser>
Reviewed by Darin Adler.
<rdar://problem/8084721> Pages using accelerated compositing fail to update correctly in Carbon apps
The run loop observer used to commit compositing layer changes does not do
updates if [window viewsNeedDisplay] is true, because this indicates that a delayed window
update is pending (added in r58623).
However, Carbon apps don't use the NSWindow updating mechanism, so [window viewsNeedDisplay] always returns YES.
This caused us to never sync compositing layers.
So detect if the current window is wrapping a carbon window, and in that case consult the root
HIView to detect if display is pending.
- WebView/WebView.mm: (layerSyncRunLoopObserverCallBack):
- 11:52 AM Changeset in webkit [61203] by
-
- 3 edits in trunk/JavaScriptCore
Make JavaScriptCore build with clang++.
Reviewed by Sam Weinig.
- jit/JITInlineMethods.h:
(JSC::JIT::emitPutVirtualRegister):
Explicitly cast to an int.
- yarr/RegexCompiler.cpp:
(JSC::Yarr::compileRegex):
Return 0 instead of false.
- 11:48 AM Changeset in webkit [61202] by
-
- 2 edits in trunk/LayoutTests
2010-06-15 Kenneth Russell <kbr@google.com>
Unreviewed, test fix.
Fix test breakage from 40175
https://bugs.webkit.org/show_bug.cgi?id=40631
- fast/canvas/webgl/texture-npot.html:
- 11:40 AM Changeset in webkit [61201] by
-
- 2 edits in trunk/WebCore
2010-06-15 Xan Lopez <xlopez@igalia.com>
Unreviewed build fix.
Fix the build when WebSockets are disabled.
- bindings/js/JSWorkerContextCustom.cpp:
- 11:37 AM Changeset in webkit [61200] by
-
- 3 edits2 adds in trunk
2010-06-15 Simon Fraser <Simon Fraser>
Reviewed by Dan Bernstein.
YouTube thumbnail borders vanish during transition
https://bugs.webkit.org/show_bug.cgi?id=40551
Turn off the direct image optimization if the image has a clip style, so that is is
correctly rendered with the clip.
Test: compositing/images/clip-on-directly-composited-image.html
- rendering/RenderLayerBacking.cpp: (WebCore::RenderLayerBacking::isDirectlyCompositedImage):
- 11:31 AM Changeset in webkit [61199] by
-
- 1 edit4 moves in trunk/LayoutTests
Not reviewed, just moving tests.
Increase limit on number of (i)frames from 200 to 1000.
https://bugs.webkit.org/show_bug.cgi?id=39427
Move the new tests out of compositing directory.
- compositing/iframes/lots-of-objects-expected.txt: Removed.
- compositing/iframes/lots-of-objects.html: Removed.
- compositing/iframes/remove-iframe-crash-expected.txt: Removed.
- compositing/iframes/remove-iframe-crash.html: Removed.
- fast/frames/lots-of-objects-expected.txt: Copied from LayoutTests/compositing/iframes/lots-of-objects-expected.txt.
- fast/frames/lots-of-objects.html: Copied from LayoutTests/compositing/iframes/lots-of-objects.html.
- fast/frames/remove-iframe-crash-expected.txt: Copied from LayoutTests/compositing/iframes/remove-iframe-crash-expected.txt.
- fast/frames/remove-iframe-crash.html: Copied from LayoutTests/compositing/iframes/remove-iframe-crash.html.
- 10:50 AM Changeset in webkit [61198] by
-
- 8 edits in trunk
2010-06-15 Yury Semikhatsky <yurys@chromium.org>
Reviewed by Pavel Feldman.
[v8] Web Inspector: make ui tests pass when ScriptDebugServer is used
https://bugs.webkit.org/show_bug.cgi?id=40623
- bindings/v8/JavaScriptCallFrame.cpp: (WebCore::JavaScriptCallFrame::functionName): return empty string for anonymous functions instead of [anonymous].
- bindings/v8/ScriptDebugServer.cpp: (WebCore::ScriptDebugServer::handleV8DebugEvent): autocontinue on syntax errors since there is no stack trace and not much to inspect.
2010-06-15 Yury Semikhatsky <yurys@chromium.org>
Reviewed by Pavel Feldman.
[v8] Web Inspector: make ui tests pass when ScriptDebugServer is used
https://bugs.webkit.org/show_bug.cgi?id=40623
- src/js/DebuggerAgent.js: (devtools.DebuggerAgent.prototype.formatCallFrame_): return empty function name for anonymous functions.
- src/js/DebuggerScript.js:
- src/js/Tests.js: (.TestSuite.prototype.testProfilerTab.findVisibleView): (.TestSuite.prototype.testProfilerTab): (.TestSuite.prototype.testScriptsTabIsPopulatedOnInspectedPageRefresh.waitUntilScriptIsParsed): (.TestSuite.prototype.testSetBreakpoint.this): (.TestSuite.prototype.testSetBreakpoint): (.TestSuite.prototype.testEvalOnCallFrame.waitForBreakpointHit): (.TestSuite.prototype._executeCodeWhenScriptsAreParsed.executeFunctionInInspectedPage): (.TestSuite.prototype.testExpandScope.examineScopes): (.TestSuite.prototype.testExpandScope): (.TestSuite.prototype.testDebugIntrinsicProperties):
- 10:25 AM Changeset in webkit [61197] by
-
- 3 edits in trunk/WebKit/qt
[Qt] Rename NotificatioIconWrapper to NotificationWrapper
https://bugs.webkit.org/show_bug.cgi?id=40571
Reviewed by Kenneth Rohde Christiansen.
- WebCoreSupport/NotificationPresenterClientQt.cpp:
(WebCore::NotificationWrapper::NotificationWrapper):
(WebCore::NotificationWrapper::close):
(WebCore::NotificationWrapper::title):
(WebCore::NotificationWrapper::message):
(WebCore::NotificationWrapper::iconData):
(WebCore::NotificationWrapper::notificationClosed):
(WebCore::NotificationPresenterClientQt::displayNotification):
(WebCore::NotificationPresenterClientQt::cancel):
(WebCore::NotificationPresenterClientQt::notificationForWrapper):
- WebCoreSupport/NotificationPresenterClientQt.h:
(WebCore::NotificationWrapper::~NotificationWrapper):
- 9:55 AM Changeset in webkit [61196] by
-
- 3 edits1 delete in trunk
Remove some unnecessary steps for setting up the debugger on Windows
Apparently update-webkit does this for you now.
WebKitSite:
Rubber-stamped by Steve Falkenburg.
- building/debug.html: Removed the first two Windows steps, which are
now unnecessary, and updated the third to reflect reality.
WebKitTools:
Remove the redundant set-apple-windows-environment-variables script
Apparently update-webkit does this for you these days.
Rubber-stamped by Steve Falkenburg.
- Scripts/set-apple-windows-environment-variables: Removed.
- 9:40 AM Changeset in webkit [61195] by
-
- 4 edits in trunk
Make WebCore's and JavaScriptCore's DerivedSources available for debugging in production builds
Fixes <http://webkit.org/b/40626> <rdar://problem/8094205>.
Reviewed by Sam Weinig.
- JavaScriptCore.vcproj/JavaScriptCore.make: Copy the contents of
JavaScriptCore's DerivedSources directory to
AppleInternal/Sources/JavaScriptCore.
WebCore:
- WebCore.vcproj/WebCore.make: Copy the contents of WebCore's
DerivedSources directory to AppleInternal/Sources/WebCore.
- 9:40 AM Changeset in webkit [61194] by
-
- 2 edits3 adds2 deletes in trunk/WebKitSite
Improve instructions for debugging on Windows
Fixes <http://webkit.org/b/40585>.
Reviewed by Steve Falkenburg.
- building/debug.html: Improved the Windows instructions. We now
instruct users to set things up so that hitting F5 from WebKit.sln
will launch Safari with the WEBKITNIGHTLY environment variable
pointing to the location of the built WebKit.dll.
- building/console_vs2005.jpg: Removed.
- building/debug_vs2005.jpg: Removed.
- building/launch-debugger-vs2005.png: Added.
- building/set-as-startup-project-vs2005.png: Added.
- building/set-debugging-properties-vs2005.png: Added.
- 9:39 AM Changeset in webkit [61193] by
-
- 1 edit1 add in trunk/WebKitTools
Add a script to set the WebKitOutputDir and WebKitLibrariesDir environment variables
Fixes <http://webkit.org/b/40595>.
Reviewed by Steve Falkenburg.
- Scripts/set-apple-windows-environment-variables: Added.
(to_windows_path): Passes the passed-in path through cygpath to
generate a Windows-style path.
(main): Sets the WebKitOutputDir and WebKitLibrariesDir environment
variables to their defaults, if they aren't already set.
- 9:39 AM Changeset in webkit [61192] by
-
- 2 edits in trunk/WebKitTools
Speed up run-safari/debug-safari on Windows
Fixes <http://webkit.org/b/40586>.
Reviewed by Steve Falkenburg.
- Scripts/webkitdirs.pm:
(runSafari): When debugging, set up the environment to run Safari
using the built WebKit.dll, then use "devenv /debugexe Safari.exe" to
actually launch the debugger. When not debugging, just run WebKit.exe
and it will do the rest for us.
- 9:39 AM Changeset in webkit [61191] by
-
- 2 edits in trunk/WebKit/win
Add WebKitLauncherWin to WebKit.sln
Fixes <http://webkit.org/b/40583>.
Reviewed by Darin Adler.
- WebKit.vcproj/WebKit.sln: Added WebKitLauncherWin.vcproj. It depends
on WebKitAPITest, so is the last project to build. (Also removed
QTMovieWin's direct dependency on JavaScriptCore, since it already has
an indirect dependency on it.)
- 9:18 AM Changeset in webkit [61190] by
-
- 2 edits in trunk/WebKit/qt
2010-06-15 Laszlo Gombos <Laszlo Gombos>
Unreviewed, Symbian build fix.
[Qt] Update the def file with recent new exports.
- symbian/eabi/QtWebKitu.def:
- 9:18 AM Changeset in webkit [61189] by
-
- 3 edits2 adds in trunk
WebKit/mac: <rdar://problem/8077032> REGRESSION (r50796): Black background on AppleScript generated email
Reviewed by John Sullivan.
Test: platform/mac/editing/input/NSBackgroundColor-transparent.html
r50796 changed the initial background color from invalid to transparent. As a result,
NSAttributedStrings returned from +_web_attributedStringFromRange started including the
NSBackgroundColor attribute, with a transparent color as the value. This caused problems for
components in the system that ignore the alpha component, turning the color into opaque black.
- Misc/WebNSAttributedStringExtras.mm:
(+[NSAttributedString _web_attributedStringFromRange:]): Change to not include the background
and foreground color attributes if the color are transparent.
LayoutTests: Test for <rdar://problem/8077032> REGRESSION (r50796): Black background on AppleScript generated email
Reviewed by John Sullivan.
- platform/mac/editing/input/NSBackgroundColor-transparent-expected.txt: Added.
- platform/mac/editing/input/NSBackgroundColor-transparent.html: Added.
- 9:15 AM Changeset in webkit [61188] by
-
- 1 edit in trunk/WebKit/qt/ChangeLog
Unreviewed.
Fix typo in reviewer name in r61187
- 9:10 AM Changeset in webkit [61187] by
-
- 3 edits in trunk/WebKit/qt
[Qt] Build fix for Qt minimal after r61121
https://bugs.webkit.org/show_bug.cgi?id=40624
Reviewed by Somon Fraser.
- WebCoreSupport/NotificationPresenterClientQt.cpp:
(WebCore::NotificationIconWrapper::NotificationIconWrapper):
(WebCore::NotificationIconWrapper::close):
(WebCore::NotificationIconWrapper::title):
(WebCore::NotificationIconWrapper::message):
(WebCore::NotificationIconWrapper::iconData):
(WebCore::NotificationIconWrapper::notificationClosed):
- WebCoreSupport/NotificationPresenterClientQt.h:
(WebCore::NotificationIconWrapper::~NotificationIconWrapper):
- 6:57 AM Changeset in webkit [61186] by
-
- 2 edits in trunk/WebKit
2010-06-15 Gustavo Noronha Silva <Gustavo Noronha Silva>
Unreviewed EFL build fix. Simple typo.
- efl/WebCoreSupport/InspectorClientEfl.cpp: (WebCore::InspectorClientEfl::sendMessageToFrontend):
- 6:38 AM Changeset in webkit [61185] by
-
- 6 edits2 adds in trunk
2010-06-15 Zhenyao Mo <zmo@google.com>
Reviewed by Dimitri Glazkov.
Bring framebuffer functions to GLES2 conformance
https://bugs.webkit.org/show_bug.cgi?id=40175
- fast/canvas/webgl/framebuffer-test-expected.txt: Added.
- fast/canvas/webgl/framebuffer-test.html: Added.
- fast/canvas/webgl/resources/webgl-test.js: (assertMsg): Function added.
- fast/canvas/webgl/texture-npot.html: Remove assertMsg function.
2010-06-15 Zhenyao Mo <zmo@google.com>
Reviewed by Dimitri Glazkov.
Bring framebuffer functions to GLES2 conformance
https://bugs.webkit.org/show_bug.cgi?id=40175
Test: fast/canvas/webgl/framebuffer-test.html
- html/canvas/WebGLRenderingContext.cpp: (WebCore::WebGLRenderingContext::checkFramebufferStatus): Check input parameters and deal with default framebuffer situation. (WebCore::WebGLRenderingContext::framebufferRenderbuffer): Check input parameters. (WebCore::WebGLRenderingContext::framebufferTexture2D): Ditto. (WebCore::WebGLRenderingContext::getFramebufferAttachmentParameter): Ditto. (WebCore::WebGLRenderingContext::validateFramebufferFuncParameters): Check input parameters.
- html/canvas/WebGLRenderingContext.h: Add validateFramebufferFuncParameters.
- 6:21 AM Changeset in webkit [61184] by
-
- 2 edits in trunk/WebKitTools
2010-06-15 Diego Gonzalez <diegohcg@webkit.org>
Reviewed by Kenneth Rohde Christiansen.
[Qt] DRT EventSender support to graphics context events
https://bugs.webkit.org/show_bug.cgi?id=40324
- DumpRenderTree/qt/EventSenderQt.cpp: (EventSender::contextClick):
- 6:08 AM Changeset in webkit [61183] by
-
- 2 edits in trunk/WebCore
2010-06-15 Patrick Gansterer <paroga@paroga.com>
Reviewed by David Levin.
Buildfix for ResourceHandleWin after r24202 and r55542.
https://bugs.webkit.org/show_bug.cgi?id=32963
- platform/network/win/ResourceHandleWin.cpp: (WebCore::ResourceHandle::onHandleCreated): (WebCore::ResourceHandle::onRequestComplete): (WebCore::transferJobStatusCallback): (WebCore::ResourceHandle::start):
- 4:41 AM Changeset in webkit [61182] by
-
- 2 edits in trunk/LayoutTests
2010-06-15 Alejandro G. Castro <alex@igalia.com>
Unreviewed.
Add expected results changes requiered for the patch in the review
60961.
https://bugs.webkit.org/show_bug.cgi?id=40581
- platform/gtk/fast/js/global-constructors-expected.txt:
- platform/gtk/fast/js/global-constructors-expected.txt:
- 4:38 AM Changeset in webkit [61181] by
-
- 2 edits in trunk/WebCore
2010-06-12 Pavel Feldman <pfeldman@chromium.org>
Reviewed by Joe Pecoraro.
Web Inspector: Should not expose window.console._inspectorCommandLineAPI to the web.
- inspector/front-end/InjectedScript.js: (injectedScriptConstructor): (injectedScriptConstructor.):
- 2:14 AM Changeset in webkit [61180] by
-
- 2 edits in trunk/JavaScriptCore
Fix invalid access to non-static data member warning in JITPropertyAccess32_64 on ARM
https://bugs.webkit.org/show_bug.cgi?id=40423
Rubber-stamped by Eric Seidel.
Using OBJECT_OFFSETOF macro instead of objectof to bypass access to
non-static data member warning.
- jit/JITPropertyAccess32_64.cpp:
(JSC::JIT::privateCompilePutByIdTransition):
- 1:15 AM Changeset in webkit [61179] by
-
- 2 edits in trunk/WebCore
[Qt] The qt_webkit_version.pri file gets overwritten on install
https://bugs.webkit.org/show_bug.cgi?id=40487
Patch by Jocelyn Turcotte <jocelyn.turcotte@nokia.com> on 2010-06-15
Reviewed by Simon Hausmann.
Don't install qt_webkit_version.pri when building WebKit inside of Qt.
The import of WebKit into Qt will take care of providing the file
in mkspecs/modules and it'll be installed through projects.pro.
- WebCore.pro:
- 1:09 AM QtWebKitTableOfFeatures20 edited by
- (diff)
- 1:06 AM QtWebKitTableOfFeatures20 edited by
- (diff)
- 1:04 AM QtWebKitTableOfFeatures20 edited by
- (diff)
- 1:03 AM Changeset in webkit [61178] by
-
- 15 edits4 adds2 deletes in trunk
2010-06-15 Tony Chang <tony@chromium.org>
Reviewed by Ojan Vafai.
resolve urls in text/html clipboard data
https://bugs.webkit.org/show_bug.cgi?id=40044
- editing/pasteboard/copy-resolves-urls-expected.txt: Added.
- editing/pasteboard/copy-resolves-urls.html: Added.
- editing/pasteboard/paste-noscript-expected.txt:
- editing/pasteboard/paste-noscript.html: Updated to no longer throw a JS exception so the results are the same
with V8 and JSC
- http/tests/misc/copy-resolves-urls-expected.txt: Added.
- http/tests/misc/copy-resolves-urls.html: Added.
- platform/chromium-mac/editing/pasteboard/paste-noscript-expected.txt: No longer needed since results should match JSC
- platform/chromium-win/editing/pasteboard/paste-noscript-expected.txt: No longer needed since results should match JSC
2010-06-15 Tony Chang <tony@chromium.org>
Reviewed by Ojan Vafai.
resolve urls in text/html clipboard data
https://bugs.webkit.org/show_bug.cgi?id=40044
Allow text/html data copied from a page to contain full URLs when
dragging or copy/pasting.
Tests: editing/pasteboard/copy-resolves-urls.html
http/tests/misc/copy-resolves-urls.html
- WebCore.base.exp:
- editing/markup.cpp: (WebCore::appendStartMarkup): (WebCore::getStartMarkup): (WebCore::MarkupAccumulator::appendMarkup): (WebCore::createMarkup):
- editing/markup.h: (WebCore::):
- platform/chromium/ClipboardChromium.cpp: (WebCore::ClipboardChromium::writeRange):
- platform/chromium/PasteboardChromium.cpp: (WebCore::Pasteboard::writeSelection):
- platform/gtk/ClipboardGtk.cpp: (WebCore::ClipboardGtk::writeRange):
- platform/gtk/DataObjectGtk.cpp: (WebCore::DataObjectGtk::markup):
- platform/gtk/PasteboardGtk.cpp: (WebCore::Pasteboard::writeSelection):
- platform/haiku/PasteboardHaiku.cpp: (WebCore::Pasteboard::writeSelection):
- platform/qt/ClipboardQt.cpp: (WebCore::ClipboardQt::writeRange):
- platform/qt/PasteboardQt.cpp: (WebCore::Pasteboard::writeSelection):
- 12:36 AM QtWebKitTriageRoster edited by
- (diff)
- 12:01 AM Changeset in webkit [61177] by
-
- 2 edits in trunk/LayoutTests
Not reviewed, update Chromium expectations for a new test.
- platform/chromium/test_expectations.txt: