⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Timeline



Apr 30, 2011:

9:17 PM Changeset in webkit [85406] by jschuh@chromium.org
  • 4 edits
    2 adds in trunk

2011-04-30 Justin Schuh <jschuh@chromium.org>

Reviewed by Dirk Schulze.

Make RenderSVGResourceFilter take ownership of filter data when painting
https://bugs.webkit.org/show_bug.cgi?id=51524

  • svg/custom/filter-on-svgimage-expected.txt: Added.
  • svg/custom/filter-on-svgimage.svg: Added.

2011-04-30 Justin Schuh <jschuh@chromium.org>

Reviewed by Dirk Schulze.

Make RenderSVGResourceFilter take ownership of filter data when painting
https://bugs.webkit.org/show_bug.cgi?id=51524

Test: svg/custom/filter-on-svgimage.svg

  • rendering/svg/RenderSVGResourceFilter.cpp: (WebCore::RenderSVGResourceFilter::removeClientFromCache): (WebCore::RenderSVGResourceFilter::postApplyResource):
  • rendering/svg/RenderSVGResourceFilter.h: (WebCore::FilterData::FilterData):
9:16 PM Changeset in webkit [85405] by abarth@webkit.org
  • 18 edits in trunk/Source

2011-04-30 Adam Barth <abarth@webkit.org>

Reviewed by Adam Barth.

Enable strict OwnPtr for GTK
https://bugs.webkit.org/show_bug.cgi?id=59861

  • wtf/OwnPtr.h:

2011-04-30 Martin Robinson <mrobinson@igalia.com>

Reviewed by Adam Barth.

Enable strict mode for OwnPtr and PassOwnPtr
https://bugs.webkit.org/show_bug.cgi?id=59428

Fix assignments and .set() calls with OwnPtr to use adoptPtr. Have GeolocationService
factory methods return a PassOwnPtr.

No new tests. This should not change functionality.

  • platform/GeolocationService.cpp: (WebCore::createGeolocationServiceNull): (WebCore::GeolocationService::create):
  • platform/GeolocationService.h:
  • platform/android/GeolocationServiceAndroid.cpp: (WebCore::GeolocationServiceAndroid::create):
  • platform/android/GeolocationServiceAndroid.h:
  • platform/efl/GeolocationServiceEfl.cpp: (WebCore::GeolocationServiceEfl::create):
  • platform/efl/GeolocationServiceEfl.h:
  • platform/graphics/cairo/CairoUtilities.cpp: (WebCore::appendPathToCairoContext):
  • platform/graphics/cairo/GraphicsContextCairo.cpp: (WebCore::drawPathShadow): (WebCore::GraphicsContext::clip):
  • platform/graphics/cairo/ImageBufferCairo.cpp: (WebCore::ImageBuffer::ImageBuffer):
  • platform/graphics/cairo/OwnPtrCairo.h:
  • platform/graphics/cairo/PathCairo.cpp: (WebCore::Path::Path): (WebCore::Path::operator=): (WebCore::Path::apply):
  • platform/gtk/GeolocationServiceGtk.cpp: (WebCore::GeolocationServiceGtk::create):
  • platform/gtk/GeolocationServiceGtk.h:
  • platform/mock/GeolocationServiceMock.cpp: (WebCore::GeolocationServiceMock::create):
  • platform/mock/GeolocationServiceMock.h:
6:05 PM Changeset in webkit [85404] by barraclough@apple.com
  • 2 edits in trunk/Source/JavaScriptCore

ARMv7 build fix.

  • assembler/AssemblerBufferWithConstantPool.h:
4:59 PM Changeset in webkit [85403] by barraclough@apple.com
  • 16 edits in trunk/Source/JavaScriptCore

Bug 59869 - AssemblerBuffer cleanup - disambiguate size()

Reviewed by Oliver Hunt.

The method size() is called on the AssemblerBuffer both to acquire
the complete size of the code, and to get a position to use as a
label into the code. Instead, add an explicit 'label' method.

  • assembler/ARMAssembler.cpp:

(JSC::ARMAssembler::executableCopy):

  • assembler/ARMAssembler.h:

(JSC::ARMAssembler::blx):
(JSC::ARMAssembler::codeSize):
(JSC::ARMAssembler::label):
(JSC::ARMAssembler::loadBranchTarget):

  • assembler/ARMv7Assembler.h:

(JSC::ARMv7Assembler::b):
(JSC::ARMv7Assembler::blx):
(JSC::ARMv7Assembler::bx):
(JSC::ARMv7Assembler::label):
(JSC::ARMv7Assembler::codeSize):
(JSC::ARMv7Assembler::ARMInstructionFormatter::codeSize):
(JSC::ARMv7Assembler::ARMInstructionFormatter::data):

  • assembler/AbstractMacroAssembler.h:
  • assembler/AssemblerBuffer.h:

(JSC::AssemblerBuffer::codeSize):
(JSC::AssemblerBuffer::label):

  • assembler/AssemblerBufferWithConstantPool.h:
  • assembler/LinkBuffer.h:

(JSC::LinkBuffer::LinkBuffer):
(JSC::LinkBuffer::linkCode):

  • assembler/MIPSAssembler.h:

(JSC::MIPSAssembler::newJmpSrc):
(JSC::MIPSAssembler::appendJump):
(JSC::MIPSAssembler::label):
(JSC::MIPSAssembler::codeSize):
(JSC::MIPSAssembler::relocateJumps):

  • assembler/SH4Assembler.h:

(JSC::SH4Assembler::loadConstant):
(JSC::SH4Assembler::loadConstantUnReusable):
(JSC::SH4Assembler::call):
(JSC::SH4Assembler::jmp):
(JSC::SH4Assembler::jne):
(JSC::SH4Assembler::je):
(JSC::SH4Assembler::label):
(JSC::SH4Assembler::executableCopy):
(JSC::SH4Assembler::oneShortOp):
(JSC::SH4Assembler::codeSize):

  • assembler/X86Assembler.h:

(JSC::X86Assembler::call):
(JSC::X86Assembler::jmp_r):
(JSC::X86Assembler::codeSize):
(JSC::X86Assembler::label):
(JSC::X86Assembler::executableCopy):
(JSC::X86Assembler::X86InstructionFormatter::immediateRel32):
(JSC::X86Assembler::X86InstructionFormatter::codeSize):
(JSC::X86Assembler::X86InstructionFormatter::label):
(JSC::X86Assembler::X86InstructionFormatter::executableCopy):

  • dfg/DFGJITCompiler.cpp:

(JSC::DFG::JITCompiler::compileFunction):

  • jit/JIT.cpp:

(JSC::JIT::privateCompile):

  • jit/JITOpcodes.cpp:

(JSC::JIT::privateCompileCTIMachineTrampolines):

  • jit/JITOpcodes32_64.cpp:

(JSC::JIT::privateCompileCTIMachineTrampolines):

  • yarr/YarrJIT.cpp:

(JSC::Yarr::YarrGenerator::compile):

1:05 PM Component Model edited by Dimitri Glazkov
(diff)
10:34 AM BuildingGtk edited by Martin Robinson
(diff)
8:29 AM Changeset in webkit [85402] by pfeldman@chromium.org
  • 2 edits in trunk/Source/WebCore

2011-04-30 Pavel Feldman <pfeldman@chromium.org>

Not reviewed: inspector toolbar titles were 2px off.

  • inspector/front-end/inspector.css: (#toolbar-dropdown .toolbar-label):
5:18 AM Changeset in webkit [85401] by Adam Roben
  • 2 edits in trunk/LayoutTests

Skip another test that requires layoutTestController.setAlwaysAcceptCookies on mac-wk2

<http://webkit.org/b/42778> tracks implementing this feature.

  • platform/mac-wk2/Skipped: Added

http/tests/xmlhttprequest/cross-origin-cookie-storage.html.

5:16 AM Changeset in webkit [85400] by Adam Roben
  • 2 edits in trunk/LayoutTests

Skip another test that requires eventSender.keyDown on mac-wk2

<http://webkit.org/b/42194> tracks implementing this feature.

  • platform/mac-wk2/Skipped: Added plugins/keyboard-events.html.
5:14 AM Changeset in webkit [85399] by Adam Roben
  • 2 edits in trunk/LayoutTests

Skip another test that requires layoutTestController.overridePreference on mac-wk2

<http://webkit.org/b/42197> tracks implementing this feature.

  • platform/mac-wk2/Skipped: Added fast/canvas/webgl/framebuffer-object-attachment.html.
5:01 AM Changeset in webkit [85398] by Adam Roben
  • 2 edits in trunk/LayoutTests

Skip a failing test on mac-wk2

I can't check in expected failure results because the results are slightly different each
time.

<http://webkit.org/b/59865> tracks the failure.

  • platform/mac-wk2/Skipped: Added transitions/transition-timing-function.html.
5:01 AM Changeset in webkit [85397] by Adam Roben
  • 2 edits in trunk/LayoutTests

Skip a flaky test on mac-wk2

<http://webkit.org/b/58990> tracks the failure.

  • platform/mac-wk2/Skipped: Added editing/undo/undo-iframe-location-change.html.
5:01 AM Changeset in webkit [85396] by Adam Roben
  • 1 edit
    1 delete in trunk/LayoutTests

Remove mac-wk2 expected failure results for an animation test

Looks like this started passing in r85340. (I hope it wasn't because animation-api-1.html,
which is now skipped, was causing this one to fail!)

Fixes <http://webkit.org/b/56528> <rdar://problem/9147568> REGRESSION (r80846):
animations/animation-controller-drt-api.html failing in WebKit2

  • platform/mac-wk2/animations/animation-controller-drt-api-expected.txt: Removed.
2:24 AM Changeset in webkit [85395] by mihaip@chromium.org
  • 15 edits in trunk/Source

2011-04-30 Mihai Parparita <mihaip@chromium.org>

Reviewed by Eric Seidel.

V8Proxy.h shouldn't include SecurityOrigin.h
https://bugs.webkit.org/show_bug.cgi?id=59859

Remove SecurityOrigin.h #include from V8Proxy.h. Touching
SecurityOrigin.h now rebuilds 234 targets instead of 638 (when building
chromium's DumpRenderTree).

  • bindings/v8/NPV8Object.cpp:
  • bindings/v8/V8Proxy.cpp:
  • bindings/v8/V8Proxy.h:
  • css/CSSStyleSelector.cpp:
  • dom/XMLDocumentParserLibxml2.cpp:
  • html/HTMLLinkElement.cpp:
  • loader/SubframeLoader.cpp:
  • page/History.cpp:
  • storage/IDBFactory.cpp:
  • storage/StorageAreaImpl.cpp:

2011-04-30 Mihai Parparita <mihaip@chromium.org>

Reviewed by Eric Seidel.

V8Proxy.h shouldn't include SecurityOrigin.h
https://bugs.webkit.org/show_bug.cgi?id=59859

Add SecurityOrigin.h includes to places that were relying on transitive
includes.

  • src/ApplicationCacheHost.cpp:
  • src/WebGeolocationPermissionRequest.cpp:
1:13 AM Changeset in webkit [85394] by Csaba Osztrogonác
  • 2 edits in trunk/LayoutTests

[Qt] Add one more flakey test to the Skipped list.

  • platform/qt-mac/Skipped:
1:11 AM Changeset in webkit [85393] by jer.noble@apple.com
  • 5 edits
    2 adds in trunk/Source/WebKit/win

2011-04-29 Jer Noble <jer.noble@apple.com>

Reviewed by Adam Roben.

Implement FULLSCREEN_API on Windows, Part 2: WebKit
https://bugs.webkit.org/show_bug.cgi?id=59785

Initial implementation of full screen API on windows. No animation
occurs when entering or exiting full screen. Re-use existing window
classes (MediaPlayerPrivateFullscreenWindow) to host the webView.

  • WebCoreSupport/WebChromeClient.cpp: (WebChromeClient::supportsFullScreenForElement): Call into WebView. (WebChromeClient::enterFullScreenForElement): Call into WebFullScreenController. (WebChromeClient::exitFullScreenForElement): Ditto.
  • WebFullScreenController.cpp: Added. (WebFullScreenController::Private::Private): Private data storage class. (WebFullScreenController::Private::~Private): (WebFullScreenController::Private::fullscreenClientWndProc): Handle window

message for full screen window.

(WebFullScreenController::WebFullScreenController):
(WebFullScreenController::~WebFullScreenController):
(WebFullScreenController::setElement): Added.
(WebFullScreenController::element): Added.
(WebFullScreenController::isFullScreen): Added.
(WebFullScreenController::enterFullScreen): Create and display full screen

window, moving webView as child window.

(WebFullScreenController::exitFullScreen): Destroy full screen window and

move webView back where we found it.

  • WebFullScreenController.h: Added.
  • WebKit.vcproj/WebKit.vcproj:
  • WebView.cpp: (WebView::keyDown): Handle the ESC key. (WebView::notifyPreferencesChanged): (WebView::supportsFullScreenForElement): Do not support full screen if

full screen preference is disabled, or if keyboard access is requested.

(WebView::isFullScreen): Added.
(WebView::fullScreenController): Added.

  • WebView.h:

Apr 29, 2011:

11:56 PM Changeset in webkit [85392] by Csaba Osztrogonác
  • 3 edits in trunk/LayoutTests

Unreviewed. Update Qt specific expected files after r85355.
https://bugs.webkit.org/show_bug.cgi?id=59833

  • platform/qt/fast/table/prepend-in-anonymous-table-expected.txt:
  • platform/qt/tables/mozilla_expected_failures/other/test4-expected.txt:
10:48 PM Changeset in webkit [85391] by abarth@webkit.org
  • 2 edits in trunk/Source/JavaScriptCore

2011-04-29 Adam Barth <abarth@webkit.org>

Attempt to fix the Windows build.

10:20 PM Changeset in webkit [85390] by xan@webkit.org
  • 2 edits in trunk/Source/WebKit/gtk

2011-04-29 Xan Lopez <xlopez@igalia.com>

Reviewed by Martin Robinson.

[Gtk+] Crash when navigating back
https://bugs.webkit.org/show_bug.cgi?id=59799

The innerNode management in WebKitHitTestResult was relying on the
old DOM bindings behavior where every DOM objects had to be
disposed by the caller. Now the objects are garbage collected by
WebKit when either the parent frame or document dies, so this is
not needed anymore. Update the code to simply take ownership of
the node, which effectively correctly balances the reference
count.

  • webkit/webkithittestresult.cpp: (webkit_hit_test_result_dispose): call C++ dtors in private data. (webkit_hit_test_result_get_property): adatp to GRefPtr API. (webkit_hit_test_result_init): call C++ ctors in private data.
9:30 PM Changeset in webkit [85389] by jer.noble@apple.com
  • 11 edits
    4 adds in trunk/Source

2011-04-28 Jer Noble <jer.noble@apple.com>

Reviewed by Jon Honeycutt.

Implement FULLSCREEN_API on Windows, Part 1: Stubs
https://bugs.webkit.org/show_bug.cgi?id=59778

Create all the stubs necessary to for enabling FULLSCREEN_API
on Windows. This includes the COM interfaces for preferences and
for overriding full screen behavior in a UI Delegate.

  • Interfaces/IWebPreferencesPrivate.idl: Add functions for enabling

full screen preference.

  • Interfaces/IWebUIDelegatePrivate.idl: Add functions for overriding

full screen behavior.

  • WebCoreSupport/WebChromeClient.cpp: (WebChromeClient::supportsFullScreenForElement): Added. (WebChromeClient::enterFullScreenForElement): Added. (WebChromeClient::exitFullScreenForElement): Added.
  • WebCoreSupport/WebChromeClient.h:
  • WebPreferenceKeysPrivate.h: Added WebKitFullScreenEnable key.
  • WebPreferences.cpp: (WebPreferences::isFullScreenEnabled): Added. Implements function

defined in IWebUIDelegatePrivate.

(WebPreferences::setFullScreenEnabled): Ditto.

  • WebPreferences.h:

2011-04-28 Jer Noble <jer.noble@apple.com>

Reviewed by Jon Honeycutt.

Implement FULLSCREEN_API on Windows, Part 1: Stubs
https://bugs.webkit.org/show_bug.cgi?id=59778

Add Windows specific stubs for WebKit2 full screen APIs.

  • UIProcess/win/WebFullScreenManagerProxyWin.cpp: Added. (WebKit::WebFullScreenManagerProxy::enterFullScreen): Added stub. (WebKit::WebFullScreenManagerProxy::exitFullScreen): Added stub. (WebKit::WebFullScreenManagerProxy::beganEnterFullScreenAnimation): Added stub. (WebKit::WebFullScreenManagerProxy::finishedEnterFullScreenAnimation): Added stub. (WebKit::WebFullScreenManagerProxy::beganExitFullScreenAnimation): Added stub. (WebKit::WebFullScreenManagerProxy::finishedExitFullScreenAnimation): Added stub. (WebKit::WebFullScreenManagerProxy::enterAcceleratedCompositingMode): Added stub. (WebKit::WebFullScreenManagerProxy::exitAcceleratedCompositingMode): Added stub. (WebKit::WebFullScreenManagerProxy::getFullScreenRect): Added stub.
  • WebProcess/FullScreen/win/WebFullScreenManagerWin.cpp: Added. (WebKit::WebFullScreenManager::create): Added. Returns a WebFullScreenManagerWin. (WebKit::WebFullScreenManagerWin::create): Added. (WebKit::WebFullScreenManagerWin::WebFullScreenManagerWin): Added. (WebKit::WebFullScreenManagerWin::~WebFullScreenManagerWin): Added. (WebKit::WebFullScreenManagerWin::setRootFullScreenLayer): Added stub. (WebKit::WebFullScreenManagerWin::beginEnterFullScreenAnimation): Added stub. (WebKit::WebFullScreenManagerWin::beginExitFullScreenAnimation): Added stub.
  • WebProcess/FullScreen/win/WebFullScreenManagerWin.h: Added.
  • win/WebKit2.vcproj: Added new classes.
9:30 PM Changeset in webkit [85388] by abarth@webkit.org
  • 14 edits
    4 adds in trunk

2011-04-29 Adam Barth <abarth@webkit.org>

Reviewed by Eric Seidel.

CSP script-src should block eval
https://bugs.webkit.org/show_bug.cgi?id=59850

Test that both function-eval and operator-eval are correctly blocked
and allowed according to the policy.

  • http/tests/security/contentSecurityPolicy/eval-allowed-expected.txt: Added.
  • http/tests/security/contentSecurityPolicy/eval-allowed.html: Added.
  • http/tests/security/contentSecurityPolicy/eval-blocked-expected.txt: Added.
  • http/tests/security/contentSecurityPolicy/eval-blocked.html: Added.

2011-04-29 Adam Barth <abarth@webkit.org>

Reviewed by Eric Seidel.

CSP script-src should block eval
https://bugs.webkit.org/show_bug.cgi?id=59850

ggaren recommend a different approach to this patch, essentially
installing a new function for function-eval and changing the AST
representation of operator-eval to call function-eval. However, I'm
not sure that approach is workable because the ASTBuilder doesn't know
about global objects, and there is added complication due to the cache.

This approach is more dynamic, adding a branch in EvalExecutable to
detect whether eval is current disabled in the lexical scope. The spec
is slightly unclear about whether we should return undefined or throw
an exception. I've asked Brandon to clarify the spec, but throwing an
exception seems natural.

  • JavaScriptCore.exp:
  • runtime/Executable.cpp: (JSC::EvalExecutable::compileInternal):
  • runtime/JSGlobalObject.cpp: (JSC::JSGlobalObject::disableEval):
  • runtime/JSGlobalObject.h: (JSC::JSGlobalObject::JSGlobalObject): (JSC::JSGlobalObject::isEvalEnabled):

2011-04-29 Adam Barth <abarth@webkit.org>

Reviewed by Eric Seidel.

CSP script-src should block eval
https://bugs.webkit.org/show_bug.cgi?id=59850

Rather than have JavaScriptCore call back into WebCore to learn whether
eval is enabled, we push that bit of the policy into JavaScriptCore.

Tests: http/tests/security/contentSecurityPolicy/eval-allowed.html

http/tests/security/contentSecurityPolicy/eval-blocked.html

  • bindings/js/ScriptController.cpp: (WebCore::ScriptController::disableEval):
  • bindings/js/ScriptController.h:
  • page/ContentSecurityPolicy.cpp: (WebCore::ContentSecurityPolicy::didReceiveHeader): (WebCore::ContentSecurityPolicy::internalAllowEval): (WebCore::ContentSecurityPolicy::allowEval):
  • page/ContentSecurityPolicy.h:
9:18 PM Changeset in webkit [85387] by Joseph Pecoraro
  • 1 edit
    1 add in trunk/LayoutTests

2011-04-29 Joseph Pecoraro <Joseph Pecoraro>

Unreviewed. Add windows expected results for a new test.

  • platform/win/fast/forms/date-input-visible-strings-expected.txt: Added.
8:47 PM Changeset in webkit [85386] by ap@apple.com
  • 2 edits in trunk/Source/WebKit2

Reviewed by Simon Fraser and Dan Bernstein.

WebKit2: WebPluginTypeEnabled key is ignored when enumerating plug-ins
https://bugs.webkit.org/show_bug.cgi?id=59852
<rdar://problem/9314011>

  • Shared/Plugins/Netscape/mac/NetscapePluginModuleMac.mm: (WebKit::getPluginInfoFromPropertyLists): Do what WebKit1 does (but in CF dialect). And yes, I've seen plists with both numbers and booleans used .
8:26 PM Changeset in webkit [85385] by Joseph Pecoraro
  • 2 edits in trunk/Source/WebCore

2011-04-29 Joseph Pecoraro <Joseph Pecoraro>

GTK build fix. Missed moving DateComponents and
adding LocalizedDate files for their build file.

  • GNUmakefile.list.am:
7:56 PM Changeset in webkit [85384] by abarth@webkit.org
  • 3 edits
    6 adds in trunk

2011-04-29 Adam Barth <abarth@webkit.org>

Reviewed by Eric Seidel.

style-src should block @style
https://bugs.webkit.org/show_bug.cgi?id=59293

Testing makes perfect.

  • http/tests/security/contentSecurityPolicy/inline-style-attribute-allowed-expected.txt: Added.
  • http/tests/security/contentSecurityPolicy/inline-style-attribute-allowed.html: Added.
  • http/tests/security/contentSecurityPolicy/inline-style-attribute-blocked-expected.txt: Added.
  • http/tests/security/contentSecurityPolicy/inline-style-attribute-blocked.html: Added.
  • http/tests/security/contentSecurityPolicy/inline-style-attribute-on-html-expected.txt: Added.
  • http/tests/security/contentSecurityPolicy/inline-style-attribute-on-html.html: Added.

2011-04-29 Adam Barth <abarth@webkit.org>

Reviewed by Eric Seidel.

style-src should block @style
https://bugs.webkit.org/show_bug.cgi?id=59293

This patch blocks @style when style-src doesn't have the
'unsafe-inline' token. This patch blocks the parsing of the attribute
itself. That feels vaguely like too low a level to interpose the
policy, but there didn't seem to be anywhere else natural to enforce
the policy.

Tests: http/tests/security/contentSecurityPolicy/inline-style-attribute-allowed.html

http/tests/security/contentSecurityPolicy/inline-style-attribute-blocked.html
http/tests/security/contentSecurityPolicy/inline-style-on-html.html

  • dom/StyledElement.cpp: (WebCore::StyledElement::parseMappedAttribute):
7:50 PM Changeset in webkit [85383] by eric@webkit.org
  • 4 edits in trunk/Tools

2011-04-29 Eric Seidel <eric@webkit.org>

Reviewed by Adam Barth.

land-safely patches should show show their place in the commit-queue
https://bugs.webkit.org/show_bug.cgi?id=59853

This complicated the "should we show the bubbles or the submit-to-ews button"
logic substantially. :( But now we'll show both the commit-queue position
as well as the submit-to-ews button for land-safely (cq+ only) patches.
Previously we would only show the submit-to-ews button.

  • QueueStatusServer/handlers/statusbubble.py:
  • QueueStatusServer/templates/statusbubble.html:
7:41 PM Changeset in webkit [85382] by Joseph Pecoraro
  • 21 edits
    2 moves
    4 adds in trunk

2011-04-29 Joseph Pecoraro <Joseph Pecoraro>

Reviewed by Kent Tamura.

Allow Localized Date Strings for Date Input Fields
https://bugs.webkit.org/show_bug.cgi?id=59752

The render tree dump prints out the visible string
inside the <input> field.

  • fast/forms/date-input-visible-strings.html: Added.
  • platform/mac/fast/forms/date-input-visible-strings-expected.txt: Added.

2011-04-29 Joseph Pecoraro <Joseph Pecoraro>

Reviewed by Kent Tamura.

Allow Localized Date Strings for Date Input Fields
https://bugs.webkit.org/show_bug.cgi?id=59752

Test: fast/forms/date-input-visible-strings.html

  • CMakeLists.txt:
  • WebCore.gypi:
  • WebCore.pro:
  • WebCore.vcproj/WebCore.vcproj:
  • WebCore.xcodeproj/project.pbxproj: update build files for moving DateComponents from WebCore/html to WebCore/platform and adding the LocalizedDate files.
  • html/BaseDateAndTimeInputType.cpp: (WebCore::BaseDateAndTimeInputType::serialize): (WebCore::BaseDateAndTimeInputType::serializeWithComponents): (WebCore::BaseDateAndTimeInputType::serializeWithMilliseconds): InputType::serialize for a double value with date types is different for the month type because it assumes the incoming value is months instead of msecs (matching valueAsNumber in HTML5). So provide a more general serialization function, serializeWithComponents, that will always serialize a string correctly for the current type but taking in a DateComponents object. The default serialize, and new serializeWithMilliseconds, can fall back to this and allows an override point for the month type.
  • html/MonthInputType.cpp: (WebCore::MonthInputType::serializeWithMilliseconds): the month type is a case where the default serialize does not take msec, so provide an implementation for month which handles msec input.
  • html/BaseDateAndTimeInputType.cpp: (WebCore::BaseDateAndTimeInputType::setValueAsDate): switch to serializeWithMilliseconds as the incoming date value is msec.
  • html/MonthInputType.cpp: (WebCore::MonthInputType::setValueAsDate): removed.
  • html/BaseDateAndTimeInputType.cpp: (WebCore::BaseDateAndTimeInputType::visibleValue): allow localized formatting of a date value. (WebCore::BaseDateAndTimeInputType::convertFromVisibleValue): allow parsing for a formatted date value.
  • html/BaseDateAndTimeInputType.h:
  • platform/DateComponents.cpp: Renamed from Source/WebCore/html/DateComponents.cpp. Expose the Type enum so it can be used outside of the DateComponents class.
  • platform/text/LocalizedDate.h: Added.
  • platform/text/LocalizedDateNone.cpp: Added. (WebCore::formatLocalizedDate): Default implementation falls back to existing HTML5 date input value formatting.
  • html/BaseDateAndTimeInputType.h:
  • html/DateInputType.cpp: (WebCore::DateInputType::dateType):
  • html/DateInputType.h:
  • html/DateTimeInputType.cpp: (WebCore::DateTimeInputType::dateType):
  • html/DateTimeInputType.h:
  • html/DateTimeLocalInputType.cpp: (WebCore::DateTimeLocalInputType::dateType):
  • html/DateTimeLocalInputType.h:
  • html/MonthInputType.cpp: (WebCore::MonthInputType::dateType):
  • html/MonthInputType.h:
  • html/TimeInputType.cpp: (WebCore::TimeInputType::dateType):
  • html/TimeInputType.h:
  • html/WeekInputType.cpp: (WebCore::WeekInputType::dateType):
  • html/WeekInputType.h: Accessors for the desired date type of a date input type. This allows the base class to write a generic algorithm.
7:22 PM Changeset in webkit [85381] by abarth@webkit.org
  • 5 edits
    4 adds in trunk

2011-04-29 Adam Barth <abarth@webkit.org>

Reviewed by Eric Seidel.

style-src should block inline style from <style>
https://bugs.webkit.org/show_bug.cgi?id=59292

Testing makes perfect.

  • http/tests/security/contentSecurityPolicy/inline-style-allowed-expected.txt: Added.
  • http/tests/security/contentSecurityPolicy/inline-style-allowed.html: Added.
  • http/tests/security/contentSecurityPolicy/inline-style-blocked-expected.txt: Added.
  • http/tests/security/contentSecurityPolicy/inline-style-blocked.html: Added.

2011-04-29 Adam Barth <abarth@webkit.org>

Reviewed by Eric Seidel.

style-src should block inline style from <style>
https://bugs.webkit.org/show_bug.cgi?id=59292

The spec has been updated to allow blocking of inline styles with
style-src. This will help folks defend against tricky CSS3 injections.

This patch covers the <style> case. The next patch will cover the
@style case.

Tests: http/tests/security/contentSecurityPolicy/inline-style-allowed.html

http/tests/security/contentSecurityPolicy/inline-style-blocked.html

  • dom/StyleElement.cpp: (WebCore::StyleElement::createSheet):
  • page/ContentSecurityPolicy.cpp: (WebCore::ContentSecurityPolicy::allowInlineStyle):
  • page/ContentSecurityPolicy.h:
7:17 PM Changeset in webkit [85380] by commit-queue@webkit.org
  • 2 edits in trunk/Tools

2011-04-29 Naoki Takano <takano.naoki@gmail.com>

Reviewed by Adam Barth.

Add my name to contributers.
https://bugs.webkit.org/show_bug.cgi?id=59854

  • Scripts/webkitpy/common/config/committers.py:
6:31 PM Changeset in webkit [85379] by weinig@apple.com
  • 2 edits in trunk/LayoutTests

Add tests using layoutTestController.setPrivateBrowsingEnabled to the WebKit2
skipped list. Covered by https://bugs.webkit.org/show_bug.cgi?id=59857

  • platform/mac-wk2/Skipped:
6:16 PM Changeset in webkit [85378] by commit-queue@webkit.org
  • 12 edits in trunk/Source

2011-04-29 Chris Evans <cevans@chromium.org>

Reviewed by Adam Barth.

Add WebCore::Setting to block displaying and/or running insecure content on secure pages
https://bugs.webkit.org/show_bug.cgi?id=58378

Test: To follow in subsequent patch, including the wiring to expose the new settings to LayoutTests.

  • loader/FrameLoader.cpp: (WebCore::FrameLoader::checkIfDisplayInsecureContent): Return whether or not the load should be blocked, and tweak the message upon blocking. (WebCore::FrameLoader::checkIfRunInsecureContent): Return whether or not the load should be blocked, and tweak the message upon blocking.
  • loader/FrameLoader.h:
  • loader/MainResourceLoader.cpp: (WebCore::MainResourceLoader::willSendRequest): Check if the frame load is blocked due to mixed content and cancel it if so. The check was moved up so that it occurs before firing the load callbacks, to avoid any outgoing network hits or accounting. Redirects are handled because willSendRequest is called for each one in the chain.
  • loader/SubframeLoader.cpp: (WebCore::SubframeLoader::loadMediaPlayerProxyPlugin): Handle the blocking of mixed-content plug-in loads. (WebCore::SubframeLoader::loadPlugin): Handle the blocking of mixed-content plug-in loads.
  • loader/cache/CachedResourceLoader.cpp: (WebCore::CachedResourceLoader::canRequest): Handle the blocking of various loads due to mixed content conditions.
  • page/Settings.cpp: (WebCore::Settings::Settings): Permit mixed-content loads by default to avoid a change in behavior by default.
  • page/Settings.h: Add two new booleans to control blocking of mixed content (displaying and running thereof). (WebCore::Settings::setAllowDisplayOfInsecureContent): (WebCore::Settings::allowDisplayOfInsecureContent): (WebCore::Settings::setAllowRunningOfInsecureContent): (WebCore::Settings::allowRunningOfInsecureContent):

2011-04-29 Chris Evans <cevans@chromium.org>

Reviewed by Adam Barth.

Add WebCore::Setting to block displaying and/or running insecure content on secure pages
https://bugs.webkit.org/show_bug.cgi?id=58378

  • public/WebSettings.h:
  • src/WebSettingsImpl.cpp: (WebKit::WebSettingsImpl::setAllowDisplayOfInsecureContent): (WebKit::WebSettingsImpl::setAllowRunningOfInsecureContent):
  • src/WebSettingsImpl.h: Simple plumbing for the new boolean settings.
6:13 PM Changeset in webkit [85377] by rniwa@webkit.org
  • 2 edits in trunk/Source/WebCore

2011-04-29 Ryosuke Niwa <rniwa@webkit.org>

Reviewed by Eric Seidel.

Extract a function to obtain VisiblePosition from RenderText::positionForPoint
https://bugs.webkit.org/show_bug.cgi?id=59811

Extracted lineDirectionPointFitsInBox from positionForPoint.

  • rendering/RenderText.cpp: (WebCore::lineDirectionPointFitsInBox): (WebCore::RenderText::positionForPoint):
6:01 PM Changeset in webkit [85376] by Beth Dakin
  • 4 edits in trunk/Source/WebKit2

https://bugs.webkit.org/show_bug.cgi?id=59846
Scrolling causes rounded bottom window corners to become square
<rdar://problem/9234239>

Reviewed by Simon Fraser.

Keep track of the m_windowBottomCornerIntersectionRect in WKView.
Invalidate the rect before scrolling. And if the rect is non-zero during a
display, mask the corners, then set the rect to zero so that only displays that
happen right after a scroll bother to do this.

  • UIProcess/API/mac/PageClientImpl.mm:

(WebKit::PageClientImpl::scrollView):

  • UIProcess/API/mac/WKView.mm:

(-[WKView displayIfNeeded]):
(-[WKView _cacheWindowBottomCornerRect]):

  • UIProcess/API/mac/WKViewInternal.h:
5:57 PM Changeset in webkit [85375] by ggaren@apple.com
  • 8 edits
    2 adds in trunk

2011-04-29 Geoffrey Garen <ggaren@apple.com>

Reviewed by Alexey Proskuryakov.

REGRESSION: r83938 abandons GC memory
https://bugs.webkit.org/show_bug.cgi?id=59604

This bug was caused by script and image elements waiting indefinitely
for their loads to finish.

  • bindings/js/JSNodeCustom.cpp: (WebCore::isReachableFromDOM): Don't test for the load event firing, since the load event doesn't fire in cases of canceled or errored loads. Instead, test hasPendingActivity().


Don't do this test at all for script elements because script elements
can't load while outside the document. (fast/dom/script-element-gc.html
verifies that this is correct.)

  • html/HTMLImageElement.cpp: (WebCore::HTMLImageElement::hasPendingActivity):
  • html/HTMLImageElement.h:
  • loader/ImageLoader.cpp: (WebCore::ImageEventSender::hasPendingEvents): (WebCore::ImageLoader::hasPendingLoadEvent):
  • loader/ImageLoader.h: Added API for finding out if an image element has pending activity.
  • loader/cache/CachedResource.cpp: (WebCore::CachedResource::setRequest): All loads are supposed to end in data(allDataReceived = true) or error(), but in the edge case of a canceled load, all we get is a call to setRequest(0). Be sure to record that we're no longer loading in that case, otherwise our element will leak forever, waiting for its load to complete.

2011-04-29 Geoffrey Garen <ggaren@apple.com>

Reviewed by Alexey Proskuryakov.

REGRESSION: r83938 abandons GC memory
https://bugs.webkit.org/show_bug.cgi?id=59604


Test an edge case of an image that has finished loading but has not yet
fired its load event.

  • fast/dom/gc-image-element-expected.txt: Added.
  • fast/dom/gc-image-element.html: Added.
5:23 PM Changeset in webkit [85374] by eae@chromium.org
  • 3 edits
    2 adds in trunk

2011-04-29 Emil Eklund <eae@chromium.org>

Reviewed by Tony Chang.

Setting outerHTML should merge text nodes
https://bugs.webkit.org/show_bug.cgi?id=52686

Add test for setting Element.outerHTML.

  • fast/dom/set-outer-html-expected.txt: Added.
  • fast/dom/set-outer-html.html: Added.

2011-04-29 Emil Eklund <eae@chromium.org>

Reviewed by Tony Chang.

Setting outerHTML should merge text nodes
https://bugs.webkit.org/show_bug.cgi?id=52686

When setting outerHTML adjacent text nodes should be merged. This matches
the behavior of outerText and the IE implementation of outerHTML.

Test: fast/dom/set-outer-html.html

  • html/HTMLElement.cpp: (WebCore::mergeWithNextTextNode): Move function to before setOuterHTML. (WebCore::HTMLElement::setOuterHTML): Merge adjacent text nodes after replacing the element.
5:15 PM Changeset in webkit [85373] by eae@chromium.org
  • 5 edits
    1 delete in trunk

2011-04-29 Emil A Eklund <eae@chromium.org>

Reviewed by Dimitri Glazkov.

Onchange on text fields has an incoherent behavior
https://bugs.webkit.org/show_bug.cgi?id=57330

Add tests for typing and then deleting text from an empty field.

  • fast/events/onchange-text-form-field-expected.txt:
  • fast/events/onchange-text-form-field.html:
  • platform/gtk/fast/events/onchange-text-form-field-expected.txt: Removed.

2011-04-29 Emil A Eklund <eae@chromium.org>

Reviewed by Dimitri Glazkov.

Onchange on text fields has an incoherent behavior
https://bugs.webkit.org/show_bug.cgi?id=57330

  • html/HTMLFormControlElement.cpp: (WebCore::HTMLTextFormControlElement::insertedIntoDocument): Initialize m_textAsOfLastFormControlChangeEvent to empty string rather than null for empty fields.
5:11 PM Changeset in webkit [85372] by barraclough@apple.com
  • 11 edits in trunk/Source/JavaScriptCore

https://bugs.webkit.org/show_bug.cgi?id=59847
Remove linkOffset from LinkBuffer

Reviewed by Oliver Hunt.

This is redundant since removal of recompilation for exception info.

  • assembler/LinkBuffer.h:

(JSC::LinkBuffer::LinkBuffer):
(JSC::LinkBuffer::linkCode):

  • dfg/DFGJITCompiler.cpp:

(JSC::DFG::JITCompiler::compileFunction):

  • jit/JIT.cpp:

(JSC::JIT::JIT):
(JSC::JIT::privateCompile):

  • jit/JIT.h:

(JSC::JIT::compile):
(JSC::JIT::compileCTIMachineTrampolines):
(JSC::JIT::compileCTINativeCall):

  • jit/JITOpcodes.cpp:

(JSC::JIT::privateCompileCTIMachineTrampolines):

  • jit/JITOpcodes32_64.cpp:

(JSC::JIT::privateCompileCTIMachineTrampolines):
(JSC::JIT::privateCompileCTINativeCall):

  • jit/JITPropertyAccess.cpp:

(JSC::JIT::stringGetByValStubGenerator):
(JSC::JIT::privateCompilePutByIdTransition):
(JSC::JIT::privateCompilePatchGetArrayLength):
(JSC::JIT::privateCompileGetByIdProto):
(JSC::JIT::privateCompileGetByIdSelfList):
(JSC::JIT::privateCompileGetByIdProtoList):
(JSC::JIT::privateCompileGetByIdChainList):
(JSC::JIT::privateCompileGetByIdChain):

  • jit/JITPropertyAccess32_64.cpp:

(JSC::JIT::stringGetByValStubGenerator):
(JSC::JIT::privateCompilePutByIdTransition):
(JSC::JIT::privateCompilePatchGetArrayLength):
(JSC::JIT::privateCompileGetByIdProto):
(JSC::JIT::privateCompileGetByIdSelfList):
(JSC::JIT::privateCompileGetByIdProtoList):
(JSC::JIT::privateCompileGetByIdChainList):
(JSC::JIT::privateCompileGetByIdChain):

  • jit/SpecializedThunkJIT.h:

(JSC::SpecializedThunkJIT::finalize):

  • yarr/YarrJIT.cpp:

(JSC::Yarr::YarrGenerator::compile):

5:00 PM Changeset in webkit [85371] by commit-queue@webkit.org
  • 2 edits in trunk/Source/WebKit2

2011-04-29 Jia Pu <jpu@apple.com>

Reviewed by Sam Weinig.

[Mac] Scrolling WK2 window should dismiss autocorrection panel.
https://bugs.webkit.org/show_bug.cgi?id=59809
<rdar://problem/9317410>

  • UIProcess/WebPageProxy.cpp: (WebKit::WebPageProxy::pageDidScroll): Dimiss autocorrection panel in this function.
4:38 PM Changeset in webkit [85370] by commit-queue@webkit.org
  • 2 edits in trunk/Tools

2011-04-29 Keith Kyzivat <keith.kyzivat@nokia.com>

Reviewed by Csaba Osztrogonác.

[Qt] Don't build TestNetscapePlugin if ENABLE_NETSCAPE_PLUGIN_API=0
https://bugs.webkit.org/show_bug.cgi?id=59772

  • Tools.pro:
4:30 PM Changeset in webkit [85369] by kbr@google.com
  • 2 edits in trunk/Source/WebKit/chromium

2011-04-29 Kenneth Russell <kbr@google.com>

Unreviewed build fix. Skip WebPageNewSerializerTest.cpp in Windows multi-DLL build.

  • WebKit.gyp:
4:28 PM Changeset in webkit [85368] by ap@apple.com
  • 2 edits in trunk/Source/WebKit2

Reviewed by Dan Bernstein.

WebKit2: Typing with Input methods still enters Roman characters in Safari search field frequently
https://bugs.webkit.org/show_bug.cgi?id=59829
<rdar://problem/9336907>

This patch regresses behavior somewhat in that inline input isn't discarded when something
happens in an inactive window. This doesn't work well in shipping Safari either.

  • UIProcess/API/mac/WKView.mm: (-[WKView _notifyInputContextAboutDiscardedComposition]): Added a method that calls -discardMarkedText with a safety check. (-[WKView setMarkedText:selectedRange:replacementRange:]): Use it. (-[WKView _updateTextInputStateIncludingSecureInputState:]): Use it. (-[WKView _resetTextInputState]): Use it.
4:20 PM Changeset in webkit [85367] by kbr@google.com
  • 2 edits in trunk/LayoutTests

2011-04-29 Kenneth Russell <kbr@google.com>

Unreviewed. Merged in all downstream Chromium test expectations.

  • platform/chromium/test_expectations.txt:
4:17 PM Changeset in webkit [85366] by Chris Fleizach
  • 4 edits in trunk/Source/WebKit2

2011-04-29 Chris Fleizach <Chris Fleizach>

Reviewed by Beth Dakin.

AX: Remote accessibility should build on snow leopard
https://bugs.webkit.org/show_bug.cgi?id=59767

  • UIProcess/API/mac/WKView.mm: (-[WKView _updateRemoteAccessibilityRegistration:]): (-[WKView viewDidMoveToWindow]): (-[WKView _setAccessibilityWebProcessToken:]):
  • WebProcess/WebPage/mac/WebPageMac.mm: (WebKit::WebPage::platformInitialize): (WebKit::WebPage::registerUIProcessAccessibilityTokens):
  • WebProcess/mac/WebProcessMainMac.mm: (WebKit::WebProcessMain):
4:13 PM Changeset in webkit [85365] by inferno@chromium.org
  • 5 edits
    12 adds in trunk/LayoutTests

2011-04-29 Abhishek Arya <inferno@chromium.org>

Unreviewed.


Chromium rebaselines for r85355.
https://bugs.webkit.org/show_bug.cgi?id=59833

  • platform/chromium-linux/fast/table/dynamic-caption-add-before-child-expected.png: Added.
  • platform/chromium-linux/fast/table/dynamic-caption-add-remove-before-child-expected.png: Added.
  • platform/chromium-linux/fast/table/multiple-captions-display-expected.png: Added.
  • platform/chromium-mac-leopard/fast/table/dynamic-caption-add-before-child-expected.png: Added.
  • platform/chromium-mac-leopard/fast/table/dynamic-caption-add-remove-before-child-expected.png: Added.
  • platform/chromium-mac-leopard/fast/table/multiple-captions-display-expected.png: Added.
  • platform/chromium-mac/tables/mozilla_expected_failures/other/test4-expected.png:
  • platform/chromium-win/fast/table/dynamic-caption-add-before-child-expected.png: Added.
  • platform/chromium-win/fast/table/dynamic-caption-add-before-child-expected.txt: Added.
  • platform/chromium-win/fast/table/dynamic-caption-add-remove-before-child-expected.png: Added.
  • platform/chromium-win/fast/table/dynamic-caption-add-remove-before-child-expected.txt: Added.
  • platform/chromium-win/fast/table/multiple-captions-display-expected.png: Added.
  • platform/chromium-win/fast/table/multiple-captions-display-expected.txt: Added.
  • platform/chromium-win/fast/table/prepend-in-anonymous-table-expected.txt:
  • platform/chromium-win/tables/mozilla_expected_failures/other/test4-expected.txt:
  • platform/chromium/test_expectations.txt:
4:12 PM Changeset in webkit [85364] by weinig@apple.com
  • 3 edits in trunk/Source/WebKit2

2011-04-29 Sam Weinig <sam@webkit.org>

Reviewed by Dan Bernstein.

Add protection for shared memory failing to allocate
<rdar://problem/9125287>
https://bugs.webkit.org/show_bug.cgi?id=59842

  • Platform/mac/SharedMemoryMac.cpp: (WebKit::SharedMemory::create): Add logging in shared memory failure cases.
  • WebProcess/WebPage/DrawingAreaImpl.cpp: (WebKit::DrawingAreaImpl::display): Guard against ShareableBitmap failing to create a shared memory backing.
3:37 PM Changeset in webkit [85363] by Stephanie Lewis
  • 2 edits in trunk/Tools

Remove the production configuration guard since installs only happen in production anyway.
Works around a bug in Xcode

Rubber-stamped by Adam Roben.

  • DumpRenderTree/mac/PerlSupport/Makefile:
3:20 PM Changeset in webkit [85362] by evan@chromium.org
  • 5 edits in trunk/Source/WebKit/chromium

2011-04-28 Evan Martin <evan@chromium.org>

Reviewed by Tony Chang.

[chromium] support components build on Linux
https://bugs.webkit.org/show_bug.cgi?id=59748

  • WebKit.gyp: adjust tests to not be Windows-specific.
  • public/WebCommon.h: add #defines to support Linux.
  • public/linux/WebFontRenderStyle.h: expose Linux-specific API.
  • tests/RunAllTests.cpp: adjust ifdefs to not be Windows-specific.
3:11 PM Component Model edited by Dimitri Glazkov
(diff)
2:55 PM Changeset in webkit [85361] by barraclough@apple.com
  • 5 edits in trunk

https://bugs.webkit.org/show_bug.cgi?id=59221
[RegexFuzz] Regression blocking testing

Reviewed by Oliver Hunt & Geoff Garen.

Source/JavaScriptCore:

Okay, so the bug here is that when, in the case of a TypeParentheticalAssertion
node, emitDisjunction recursively calls to itself to emit the nested disjunction
the value of parenthesesInputCountAlreadyChecked is bogus (doesn't take into
account the uncheck that has just taken place).

Also, the special handling given to countToCheck in the case of parenthetical
assertions is nonsense, delete it, along with the isParentheticalAssertion argument.

  • yarr/YarrInterpreter.cpp:

(JSC::Yarr::ByteCompiler::emitDisjunction):

LayoutTests:

Add new tests for parenthetical assertions.

  • fast/regex/assertion-expected.txt:
  • fast/regex/script-tests/assertion.js:
2:44 PM Changeset in webkit [85360] by Adam Roben
  • 9 edits in trunk

Ensure PHP's short_open_tag and log_errors settings are turned on

These are usually on by default, but you can't trust defaults!

Reviewed by Sam Weinig.

Tools:

Remove a PHP setting that is now provided by httpd.conf

r85155 added this setting, but putting it in httpd.conf makes more sense (since the setting
isn't dependent on paths that could be different on each user's machine).

  • Scripts/webkitperl/httpd.pm:

(getDefaultConfigForTestDirectory): Removed log_errors setting.

LayoutTests:

  • http/conf/apache2-debian-httpd.conf:
  • http/conf/apache2-httpd.conf:
  • http/conf/apache2-msys-httpd.conf:
  • http/conf/cygwin-httpd.conf:
  • http/conf/fedora-httpd.conf:
  • http/conf/httpd.conf:

Added settings to turn on short_open_tag and log_errors.

2:43 PM Changeset in webkit [85359] by Stephanie Lewis
  • 3 edits in trunk/Source/WebKit2

https://bugs.webkit.org/show_bug.cgi?id=59776
<rdar://problem/9287113> REGRESSION: Safari cold/warm launch time 15% to 2x regression
On the first draw the WebProcess is just going to send us blank bits anyway so don't
pause waiting for the update. Continue drawing a blank window until the WebProcess
sends us the update.

Reviewed by Darin Adler.

  • UIProcess/DrawingAreaProxyImpl.cpp:

(WebKit::DrawingAreaProxyImpl::DrawingAreaProxyImpl):
(WebKit::DrawingAreaProxyImpl::paint):
(WebKit::DrawingAreaProxyImpl::didUpdateBackingStoreState):
(WebKit::DrawingAreaProxyImpl::sendUpdateBackingStoreState):

  • UIProcess/DrawingAreaProxyImpl.h:
2:41 PM Component Model edited by Dimitri Glazkov
(diff)
2:41 PM Component Model edited by Dimitri Glazkov
(diff)
2:32 PM Changeset in webkit [85358] by ojan@chromium.org
  • 2 edits in trunk/LayoutTests

2011-04-29 Ojan Vafai <ojan@chromium.org>

Inlude new expected results accidentally excluded from
http://trac.webkit.org/changeset/85346.

  • fast/harness/results-expected.txt:
2:21 PM Component Model edited by Dimitri Glazkov
(diff)
2:21 PM Component Model edited by Dimitri Glazkov
(diff)
2:21 PM Component Model edited by Dimitri Glazkov
(diff)
2:14 PM Component Model edited by Dimitri Glazkov
(diff)
2:07 PM Component Model edited by Dimitri Glazkov
(diff)
1:56 PM Changeset in webkit [85357] by Csaba Osztrogonác
  • 2 edits in trunk/Source/WebCore

[Qt] Unreviewed buildfix after r85343.

Enable strict OwnPtr for Qt
https://bugs.webkit.org/show_bug.cgi?id=59667

  • plugins/mac/PluginViewMac.mm:

(WebCore::PluginView::platformStart):

1:42 PM Changeset in webkit [85356] by jonlee@apple.com
  • 12 edits in trunk/Source

2011-04-29 Jon Lee <jonlee@apple.com>

Reviewed by mitzpettel.

REGRESSION (WebKit2): (Mac) Selection is gone after switching tabs (59721)
<rdar://problem/9327332>
https://bugs.webkit.org/show_bug.cgi?id=59721

Removing shouldClearSelectionWhenLosingWebPageFocus(). Reverting changelist 83814.

  • WebCore.exp.in:
  • editing/EditingBehavior.h:

2011-04-29 Jon Lee <jonlee@apple.com>

Reviewed by mitzpettel.

REGRESSION (WebKit2): (Mac) Selection is gone after switching tabs (59721)
<rdar://problem/9327332>
https://bugs.webkit.org/show_bug.cgi?id=59721

When resigning first responder status, check to see if we need to maintain an inactive
selection in the web view. If we don't, we clear the selection.

This also reverts the change made in 83814, since that was a different attempt to solve this same issue.

  • UIProcess/API/C/WKPage.cpp: (WKPageSetMaintainsInactiveSelection): Export setMaintainsInactiveSelection()
  • UIProcess/API/C/WKPage.h:
  • UIProcess/API/mac/WKView.mm: (-[WKView resignFirstResponder]): Check and see if we need to maintain the selection in the view prior to resigning. If not, we clear the selection
  • UIProcess/WebPageProxy.cpp: (WebKit::WebPageProxy::clearSelection): Send message across process boundary (WebKit::WebPageProxy::setMaintainsInactiveSelection): Sets variable
  • UIProcess/WebPageProxy.h: New member variable to keep track of whether we need to maintain the current selection (WebKit::WebPageProxy::maintainsInactiveSelection): Returns variable
  • WebProcess/WebPage/WebPage.cpp: (WebKit::WebPage::setFocused): Reverting code to just set the focused bit instead of also clearing the selection (WebKit::WebPage::clearSelection):
  • WebProcess/WebPage/WebPage.h:
  • WebProcess/WebPage/WebPage.messages.in: add new ClearSelection() message
1:38 PM Changeset in webkit [85355] by inferno@chromium.org
  • 6 edits
    16 adds in trunk

2011-04-29 Abhishek Arya <inferno@chromium.org>

Reviewed by Dave Hyatt.

Allow only first table caption and destroy the remaining ones.
https://bugs.webkit.org/show_bug.cgi?id=58249

Previously, we were only laying out the first table caption.
However Table::layout didn't mark the other ones as not needing
layout. So after table layout completes, table is marked as not
needing layout with its other table caption still needing layout.
This causes incorrect layout root calculations and set it to a
node which is already getting deleted.

Tests: fast/table/dynamic-caption-add-before-child.xhtml

fast/table/dynamic-caption-add-remove-before-child.xhtml
fast/table/multiple-captions-crash.xhtml
fast/table/multiple-captions-crash2.xhtml
fast/table/multiple-captions-display.xhtml

  • rendering/RenderTable.cpp: (WebCore::RenderTable::addChild): when new caption or a before child caption is added, we need to explicitly trigger section recalc or otherwise layout won't catch it. (WebCore::RenderTable::removeChild): when child to be removed is m_caption, make sure to trigger style recalc on the table. (WebCore::RenderTable::recalcCaption): code to destroy captions other than the first one. (WebCore::RenderTable::recalcSections): call recalcCaption helper. Store the next sibling early since child can get destroyed in recalcCaption.
  • rendering/RenderTable.h:

2011-04-21 Abhishek Arya <inferno@chromium.org>

Reviewed by Dave Hyatt.

Tests that we do not crash on

ASSERT(!m_layoutRoot->container()
!m_layoutRoot->container()->needsLayout())

when a table has two or more captions.
https://bugs.webkit.org/show_bug.cgi?id=58249

  • fast/table/dynamic-caption-add-before-child.xhtml: Added. Tests that before child caption becomes the first caption.
  • fast/table/dynamic-caption-add-remove-before-child.xhtml: Added. Tests that when we remove the before child caption, the original caption becomes the first caption and is drawn.
  • fast/table/multiple-captions-crash-expected.txt: Added.
  • fast/table/multiple-captions-crash.xhtml: Added. Tests that we do not crash when table has multiple captions and captions (other than the first one) have input elements added as their child.
  • fast/table/multiple-captions-crash2-expected.txt: Added.
  • fast/table/multiple-captions-crash2.xhtml: Added. Same as multiple-captions-crash.xhtml but this testcase does not have enclosing table tags for the captions.
  • fast/table/multiple-captions-display.xhtml: Added. Tests that only the first caption and captions with position fixed (display=BLOCK) are shown. Other captions are not added to table.
  • platform/mac/fast/table/dynamic-caption-add-before-child-expected.checksum: Added.
  • platform/mac/fast/table/dynamic-caption-add-before-child-expected.png: Added.
  • platform/mac/fast/table/dynamic-caption-add-before-child-expected.txt: Added.
  • platform/mac/fast/table/dynamic-caption-add-remove-before-child-expected.checksum: Added.
  • platform/mac/fast/table/dynamic-caption-add-remove-before-child-expected.png: Added.
  • platform/mac/fast/table/dynamic-caption-add-remove-before-child-expected.txt: Added.
  • platform/mac/fast/table/multiple-captions-display-expected.checksum: Added.
  • platform/mac/fast/table/multiple-captions-display-expected.png: Added.
  • platform/mac/fast/table/multiple-captions-display-expected.txt: Added.
  • platform/mac/fast/table/prepend-in-anonymous-table-expected.png:
  • platform/mac/fast/table/prepend-in-anonymous-table-expected.txt: Rebaseline test because we do not allow captions other than the first one.
  • platform/mac/tables/mozilla_expected_failures/other/test4-expected.txt: Rebaseline test because we do not allow captions other than the first one.
1:29 PM Changeset in webkit [85354] by dino@apple.com
  • 3 edits in trunk/LayoutTests

2011-04-29 Dean Jackson <dino@apple.com>

https://bugs.webkit.org/show_bug.cgi?id=59729

Another followup from adding ENABLE(ANIMATION_API). Fix
tests that mention webkitGetAnimations().

  • fast/dom/Window/window-properties-expected.txt:
  • platform/qt/fast/dom/Window/window-properties-expected.txt:
12:46 PM Changeset in webkit [85353] by ddkilzer@apple.com
  • 2 edits in trunk/Source/WebCore

Remove WML
https://bugs.webkit.org/show_bug.cgi?id=59678

  • DerivedSources.make: Removed $(WebCore)/wml path in VPATH.
12:42 PM Changeset in webkit [85352] by jonlee@apple.com
  • 2 edits in trunk/Tools

2011-04-29 Jon Lee <jonlee@apple.com>

Unreviewed, Adding Jon Lee as a committer

  • Scripts/webkitpy/common/config/committers.py:
12:40 PM Changeset in webkit [85351] by jamesr@google.com
  • 5 edits in branches/chromium/742/Source/WebCore

Merge 84546 - 2011-04-21 Nat Duca <nduca@chromium.org>

Reviewed by James Robinson.

[chromium] Fix artefacts in compositor HUD when resizing
https://bugs.webkit.org/show_bug.cgi?id=58969

HUD was using the tiler program and not setting the texture
transform. The HUD would thus draw with a texture transform based
on the last tile drawn, leading sometimes to distortion.

  • platform/graphics/chromium/LayerRendererChromium.cpp: (WebCore::LayerRendererChromium::initializeSharedObjects): (WebCore::LayerRendererChromium::cleanupSharedObjects):
  • platform/graphics/chromium/LayerRendererChromium.h: (WebCore::LayerRendererChromium::headsUpDisplayProgram):
  • platform/graphics/chromium/cc/CCHeadsUpDisplay.cpp: (WebCore::CCHeadsUpDisplay::draw):
  • platform/graphics/chromium/cc/CCHeadsUpDisplay.h:

TBR=commit-queue@webkit.org
BUG=81011
Review URL: http://codereview.chromium.org/6901134

12:32 PM Changeset in webkit [85350] by jamesr@google.com
  • 2 edits in trunk/Source/WebCore

2011-04-29 James Robinson <jamesr@chromium.org>

Unreviewed, rolling out r85330.
http://trac.webkit.org/changeset/85330
https://bugs.webkit.org/show_bug.cgi?id=41311

Caused unexpected border rendering change on 500 tests on chromium linux.

  • platform/graphics/skia/GraphicsContextSkia.cpp: (WebCore::GraphicsContext::drawConvexPolygon): (WebCore::GraphicsContext::clipConvexPolygon):
12:20 PM Changeset in webkit [85349] by Csaba Osztrogonác
  • 2 edits in trunk/Source/WebCore

[Qt] Unreviewed buildfix after r85343.

Enable strict OwnPtr for Qt
https://bugs.webkit.org/show_bug.cgi?id=59667

  • plugins/win/PluginViewWin.cpp:

(WebCore::PluginView::wndProc):
(WebCore::PluginView::snapshot):

12:19 PM Changeset in webkit [85348] by dino@apple.com
  • 14 edits in trunk/LayoutTests

2011-04-29 Dean Jackson <dino@apple.com>

https://bugs.webkit.org/show_bug.cgi?id=59729

Followup from adding an ENABLE flag that is disabled by
default. Adjust broken test results.

  • fast/dom/Window/window-properties-expected.txt:
  • fast/dom/Window/window-property-descriptors-expected.txt:
  • fast/dom/prototype-inheritance-2-expected.txt:
  • fast/dom/prototype-inheritance-expected.txt:
  • fast/js/global-constructors-expected.txt:
  • platform/chromium/fast/dom/prototype-inheritance-expected.txt:
  • platform/qt/fast/dom/Window/window-properties-expected.txt:
  • platform/qt/fast/dom/Window/window-property-descriptors-expected.txt:
  • platform/qt/fast/dom/prototype-inheritance-expected.txt:
  • platform/qt/fast/js/global-constructors-expected.txt:
  • platform/win/fast/dom/Window/window-property-descriptors-expected.txt:
  • platform/win/fast/dom/prototype-inheritance-expected.txt:
  • platform/win/fast/js/global-constructors-expected.txt:
12:17 PM Changeset in webkit [85347] by ojan@chromium.org
  • 8 edits in trunk/Tools

2011-04-28 Ojan Vafai <ojan@chromium.org>

Reviewed by Tony Chang.

fix pretty_patch_available and wdiff_available
https://bugs.webkit.org/show_bug.cgi?id=59761

These methods rely on the check_* method being called first.
This would only happen when we actually tried to compute a diff,
but computing the diff happens on a different process.

Also fix setting _wdiff_avialable to True by default.

  • Scripts/webkitpy/layout_tests/port/base.py:
  • Scripts/webkitpy/layout_tests/port/chromium_linux.py:
  • Scripts/webkitpy/layout_tests/port/chromium_linux_unittest.py:
12:14 PM Changeset in webkit [85346] by ojan@chromium.org
  • 3 edits in trunk/LayoutTests

2011-04-29 Ojan Vafai <ojan@chromium.org>

Reviewed by Eric Seidel.

handle flaky failures
https://bugs.webkit.org/show_bug.cgi?id=59820

Handle that actual can be a space-separated list of results
when we do retries. Also, show expected flaky tests that pass
in the unexpected passes table.

  • fast/harness/resources/results-test.js:
  • fast/harness/results.html:
12:12 PM Changeset in webkit [85345] by andersca@apple.com
  • 6 edits in trunk/Source/WebKit2

2011-04-29 Anders Carlsson <andersca@apple.com>

Reviewed by Darin Adler.

Application cache doesn't work due to a sandbox violation
https://bugs.webkit.org/show_bug.cgi?id=59818
<rdar://problem/9346971>

Add a sandbox extension for the application cache directory.

  • Shared/WebProcessCreationParameters.cpp: (WebKit::WebProcessCreationParameters::encode): (WebKit::WebProcessCreationParameters::decode): Encode and decode the sandbox extension handle.
  • Shared/WebProcessCreationParameters.h: Add a applicationCacheDirectoryExtensionHandle member.
  • UIProcess/WebContext.cpp: (WebKit::WebContext::ensureWebProcess): If we have a non-empty application cache directory, create a sandbox extension and pass it to the creation parameters.
  • WebProcess/WebProcess.cpp: (WebKit::WebProcess::initializeWebProcess): Create and consume a sandbox extension.
  • WebProcess/WebProcess.h: Add an m_applicationCachePathExtension member variable.
12:09 PM Changeset in webkit [85344] by ojan@chromium.org
  • 2 edits in trunk/Tools

2011-04-29 Ojan Vafai <ojan@chromium.org>

Reviewed by Eric Seidel.

exclude skipped tests from the summarized results
https://bugs.webkit.org/show_bug.cgi?id=59813

If we find a need fo skipped tests later, we should either create
a skipped.json file or expose this some other way. As it is, the data
is unused and is hugely bloating the size of full_results.json.

  • Scripts/webkitpy/layout_tests/layout_package/manager.py:
11:53 AM Changeset in webkit [85343] by Csaba Osztrogonác
  • 9 edits in trunk/Source

2011-04-29 Csaba Osztrogonác <Csaba Osztrogonác>

Reviewed by Adam Barth.

Enable strict OwnPtr for Qt
https://bugs.webkit.org/show_bug.cgi?id=59667

  • wtf/OwnPtr.h:

2011-04-29 Csaba Osztrogonác <Csaba Osztrogonác>

Reviewed by Adam Barth.

Enable strict OwnPtr for Qt
https://bugs.webkit.org/show_bug.cgi?id=59667

  • platform/graphics/qt/ImageBufferQt.cpp: (WebCore::ImageBufferData::ImageBufferData): (WebCore::ImageBuffer::ImageBuffer):
  • platform/graphics/qt/ImageDecoderQt.cpp: (WebCore::ImageDecoderQt::setData):
  • platform/graphics/qt/ImageDecoderQt.h:
  • platform/network/qt/QNetworkReplyHandler.cpp: (WebCore::QNetworkReplyWrapper::QNetworkReplyWrapper): (WebCore::QNetworkReplyHandler::QNetworkReplyHandler):

2011-04-29 Csaba Osztrogonác <Csaba Osztrogonác>

Reviewed by Adam Barth.

Enable strict OwnPtr for Qt
https://bugs.webkit.org/show_bug.cgi?id=59667

  • Api/qwebpage.cpp: (QWebPagePrivate::QWebPagePrivate):
11:37 AM Changeset in webkit [85342] by commit-queue@webkit.org
  • 1 edit
    2 adds in trunk/LayoutTests

2011-04-29 Mark Pilgrim <pilgrim@chromium.org>

Reviewed by Tony Chang.

Port Mozilla's IndexedDB tests: index with integer keys
https://bugs.webkit.org/show_bug.cgi?id=59794

  • storage/indexeddb/mozilla/create-index-with-integer-keys-expected.txt: Added.
  • storage/indexeddb/mozilla/create-index-with-integer-keys.html: Added.
11:19 AM Changeset in webkit [85341] by Adam Roben
  • 2 edits in trunk/Tools

Make DumpRenderTreeSupport get installed when the default configuration is built

The default configuration is Production, but in that case the CONFIGURATION environment
variable is set to the empty string.

Reviewed by Sam Weinig.

  • DumpRenderTree/mac/PerlSupport/Makefile: Set CONFIGURATION to Production if it isn't

already set so that later logic that depends on CONFIGURATION having that value will work.

11:15 AM Changeset in webkit [85340] by dino@apple.com
  • 22 edits in trunk

2011-04-29 Dean Jackson <dino@apple.com>

Reviewed by Simon Fraser.

Add ENABLE macro for WebKitAnimation
https://bugs.webkit.org/show_bug.cgi?id=59729

Add new feature to toggle WebKit Animation API.

  • configure.ac:
  • platform/chromium/test_expectations.txt:
  • platform/gtk/Skipped:
  • platform/mac/Skipped:
  • platform/qt/Skipped:
  • platform/win/Skipped:
  • Configurations/FeatureDefines.xcconfig: for JavaScriptCore, WebCore, WebKit/mac, WebKit2
11:10 AM Changeset in webkit [85339] by andersca@apple.com
  • 2 edits in trunk/Source/WebKit2

2011-04-29 Anders Carlsson <andersca@apple.com>

Reviewed by Brian Weinstein.

Crash when closing a tab that is unresponsive
https://bugs.webkit.org/show_bug.cgi?id=59810
<rdar://problem/9329133>

Back out r84643 - there was no rationale for this change, and it's causing crashes.

  • UIProcess/WebPageProxy.cpp: (WebKit::WebPageProxy::close): (WebKit::WebPageProxy::processDidCrash):
11:00 AM Changeset in webkit [85338] by dino@apple.com
  • 3 edits
    3 adds in trunk

2011-04-29 Dean Jackson <dino@apple.com>

Reviewed by Simon Fraser.

https://bugs.webkit.org/show_bug.cgi?id=59149
(Regression) Existing animations are not replaced when filling.

Hardware animations that fill forwards were not being correctly
replaced when the animation was removed. The actual animation
logic was working correctly, but it wasn't deleting the
CoreAnimation animation from the PlatformLayer. The fix was
to explicitly call endAnimation when disconnecting the animation
from its RenderObject.

Test: animations/3d/replace-filling-transform.html

  • page/animation/AnimationBase.h: (WebCore::AnimationBase::clear): call endAnimation as the animation is cleared

2011-04-29 Dean Jackson <dino@apple.com>

Reviewed by Simon Fraser.

https://bugs.webkit.org/show_bug.cgi?id=59149
(Regression) Existing animations are not replaced when filling.

Add a test that exercises the case where a hardware animation
is in a filling mode, then is replaced by a new animation.

  • animations/3d/replace-filling-transform-expected.txt: Added.
  • animations/3d/replace-filling-transform.html: Added.
  • animations/3d/replace-filling-transform-expected.png: Added.
10:34 AM Changeset in webkit [85337] by commit-queue@webkit.org
  • 1 edit
    2 adds in trunk/LayoutTests

2011-04-29 Mark Pilgrim <pilgrim@chromium.org>

Reviewed by Tony Chang.

Port Mozilla's IndexedDB tests: indexes against autoincrementing keys
https://bugs.webkit.org/show_bug.cgi?id=59722

  • storage/indexeddb/mozilla/autoincrement-indexes-expected.txt: Added.
  • storage/indexeddb/mozilla/autoincrement-indexes.html: Added.
10:29 AM Changeset in webkit [85336] by Csaba Osztrogonác
  • 2 edits in trunk/LayoutTests

Remove WML
https://bugs.webkit.org/show_bug.cgi?id=59678

[Qt] Remove WML tests from the Skipped list after r85256.

  • platform/qt/Skipped:
10:20 AM Changeset in webkit [85335] by inferno@chromium.org
  • 4 edits
    2 adds in trunk

2011-04-28 Abhishek Arya <inferno@chromium.org>

Reviewed by Nikolas Zimmermann.

Tests that we do not crash when inline text is removed and we
try to access layout attributes containing that inline text.
https://bugs.webkit.org/show_bug.cgi?id=59161

  • svg/text/inline-text-destroy-attributes-crash-expected.txt: Added.
  • svg/text/inline-text-destroy-attributes-crash.xhtml: Added.

2011-04-29 Abhishek Arya <inferno@chromium.org>

Reviewed by Nikolas Zimmermann.

When svg inline text is getting destroyed, make sure to mark
its svg text ancestor as needing a positioning values update.
This helps to recalculate layout attributes and makes sure
that svg inline text is not used again.
https://bugs.webkit.org/show_bug.cgi?id=59161

Test: svg/text/inline-text-destroy-attributes-crash.xhtml

  • rendering/svg/RenderSVGInlineText.cpp: (WebCore::RenderSVGInlineText::destroy):
  • rendering/svg/RenderSVGInlineText.h:
10:18 AM Changeset in webkit [85334] by weinig@apple.com
  • 2 edits in trunk/Tools

Make production the default build type for WebKitTestRunner, matching
all other projects.

Reviewed by Adam Roben.

  • WebKitTestRunner/WebKitTestRunner.xcodeproj/project.pbxproj:
10:12 AM Changeset in webkit [85333] by Csaba Osztrogonác
  • 2 edits in trunk/LayoutTests

[Qt] Add flakey tests to the Skipped list.

  • platform/qt-mac/Skipped:
9:57 AM Changeset in webkit [85332] by kevino@webkit.org
  • 6 edits in trunk

[wx] Unreviewed build fixes for recent changes in WebKit trunk and wxMSW.

9:53 AM Changeset in webkit [85331] by pfeldman@chromium.org
  • 1 edit
    2 adds in trunk/Websites/webkit.org

2011-04-29 Pavel Feldman <pfeldman@chromium.org>

Not reviewed: adding image files for the blog post.

  • blog-files/inspector/remote-debugging-attached.png: Added.
  • blog-files/inspector/remote-debugging-discovery.png: Added.
9:48 AM Changeset in webkit [85330] by commit-queue@webkit.org
  • 2 edits in trunk/Source/WebCore

2011-04-29 Mike Reed <reed@google.com>

Reviewed by Ojan Vafai.

Skia: Need to implement GraphicsContext::clipConvexPolygon()
https://bugs.webkit.org/show_bug.cgi?id=41311

This does not (yet) enable HAVE_PATH_BASED_BORDER_RADIUS_DRAWING
as that shows other issues/question unrelated to clipping.
https://bugs.webkit.org/show_bug.cgi?id=41311

No new tests. covered by existing layout tests

  • platform/graphics/skia/GraphicsContextSkia.cpp: (WebCore::setPathFromConvexPoints): (WebCore::GraphicsContext::drawConvexPolygon): (WebCore::GraphicsContext::clipConvexPolygon):
9:29 AM Changeset in webkit [85329] by Adam Roben
  • 3 edits in trunk/LayoutTests

Move some tests that time out in Debug from win-xp/Skipped to win/Skipped

This will help people who run tests in Debug on Windows 7.

  • platform/win-xp/Skipped: Moved two XHR tests from here...
  • platform/win/Skipped: ...to here.
9:19 AM Changeset in webkit [85328] by jberlin@webkit.org
  • 2 edits in trunk/LayoutTests

WebKit2 needs layoutTestController.overridePreference.
https://bugs.webkit.org/show_bug.cgi?id=42197

Add http/tests/inspector/network/ping.html, which uses overridePreference, to the mac-wk2
Skipped list to get the bots green.

  • platform/mac-wk2/Skipped:
9:15 AM Changeset in webkit [85327] by commit-queue@webkit.org
  • 2 edits in trunk/Source/WebCore

2011-04-29 Mike Lawther <mikelawther@chromium.org>

Reviewed by Ojan Vafai.

Fix IR->SR typo in enum value (and resulting style fails)
https://bugs.webkit.org/show_bug.cgi?id=59779

No functionality change, so no new tests

  • css/CSSPrimitiveValueMappings.h: (WebCore::CSSPrimitiveValue::CSSPrimitiveValue): (WebCore::CSSPrimitiveValue::operator EShapeRendering):
9:02 AM Changeset in webkit [85326] by pfeldman@chromium.org
  • 2 edits in trunk/LayoutTests

2011-04-29 Pavel Feldman <pfeldman@google.com>

Not reviewed: skip new flaky inspector tests for resource tree model on GTK for now.

  • platform/gtk/Skipped:
8:56 AM Changeset in webkit [85325] by pfeldman@chromium.org
  • 2 edits in trunk/LayoutTests

2011-04-29 Pavel Feldman <pfeldman@google.com>

Not reviewed: skip flaky inspector tests for now.

  • platform/mac/Skipped:
8:35 AM Changeset in webkit [85324] by pfeldman@chromium.org
  • 5 edits
    6 adds in trunk

2011-04-29 Pavel Feldman <pfeldman@google.com>

Reviewed by Yury Semikhatsky.

Web Inspector: CSS editing breaks when entering "color: rgb(1"
https://bugs.webkit.org/show_bug.cgi?id=59789

  • inspector/styles/styles-add-invalid-property-expected.txt: Added.
  • inspector/styles/styles-add-invalid-property.html: Added.
  • inspector/styles/styles-cancel-editing-expected.txt: Added.
  • inspector/styles/styles-cancel-editing.html: Added.
  • inspector/styles/styles-commit-editing-expected.txt: Added.
  • inspector/styles/styles-commit-editing.html: Added.

2011-04-29 Pavel Feldman <pfeldman@google.com>

Reviewed by Yury Semikhatsky.

Web Inspector: CSS editing breaks when entering "color: rgb(1"
https://bugs.webkit.org/show_bug.cgi?id=59789

Tests: inspector/styles/styles-add-invalid-property.html

inspector/styles/styles-cancel-editing.html
inspector/styles/styles-commit-editing.html

  • inspector/front-end/CSSStyleModel.js: (WebInspector.CSSProperty.prototype.setText.callback): (WebInspector.CSSProperty.prototype.setText):
  • inspector/front-end/StylesSidebarPane.js: (WebInspector.StylePropertyTreeElement.prototype.selectElement): (WebInspector.StylePropertyTreeElement.prototype): (WebInspector.StylePropertyTreeElement.prototype.styleText.updateInterface.majorChange.isRevert.originalPropertyText):
  • inspector/front-end/inspector.js: (WebInspector.startEditing.defaultFinishHandler): (WebInspector.startEditing.keyDownEventListener): (WebInspector.startEditing):
7:39 AM Changeset in webkit [85323] by vestbo@webkit.org
  • 8 edits in trunk/Source

ENABLE(QT_BEARER) -> USE(QT_BEARER)

Reviewed by Simon Hausmann.

7:39 AM Changeset in webkit [85322] by vestbo@webkit.org
  • 5 edits in trunk/Source

ENABLE(QT_USERAGENT_DEVICEMODEL) -> USE(QT_MOBILITY_SYSTEMINFO)

Reviewed by Simon Hausmann.

6:15 AM Changeset in webkit [85321] by podivilov@chromium.org
  • 8 edits
    1 add in trunk

2011-04-29 Pavel Podivilov <podivilov@chromium.org>

Reviewed by Pavel Feldman.

Web Inspector: breakpoints set in original and formatted scripts are messed up after navigation.
https://bugs.webkit.org/show_bug.cgi?id=59476

  • http/tests/inspector/inspector-test.js: (initialize_InspectorTest.InspectorTest.navigate): (initialize_InspectorTest.InspectorTest.reloadPage): (initialize_InspectorTest.InspectorTest.pageLoaded): (initialize_InspectorTest.InspectorTest.runWhenPageLoads): ():
  • inspector/debugger/resources/test-navigation.html: Added.
  • inspector/debugger/script-formatter-expected.txt:
  • inspector/debugger/script-formatter.html:

2011-04-29 Pavel Podivilov <podivilov@chromium.org>

Reviewed by Pavel Feldman.

Web Inspector: breakpoints set in original and formatted scripts are messed up after navigation.
https://bugs.webkit.org/show_bug.cgi?id=59476

  • inspector/front-end/DebuggerPresentationModel.js: (WebInspector.DebuggerPresentationModel.prototype.setFormatSourceFiles): (WebInspector.DebuggerPresentationModel.prototype._removeBreakpointFromDebugger): (WebInspector.PresentationBreakpoint.prototype.serialize):
  • inspector/front-end/ScriptsPanel.js: (WebInspector.ScriptsPanel.prototype._addOptionToFilesSelect.optionCompare): (WebInspector.ScriptsPanel.prototype._addOptionToFilesSelect): (WebInspector.ScriptsPanel.prototype.reset):
6:06 AM Changeset in webkit [85320] by podivilov@chromium.org
  • 13 edits in trunk

2011-04-28 Pavel Podivilov <podivilov@chromium.org>

Reviewed by Yury Semikhatsky.

Web Inspector: include script end line:column in scriptParsed parameters.
https://bugs.webkit.org/show_bug.cgi?id=59717

  • inspector/debugger/debugger-scripts-expected.txt:
  • inspector/debugger/debugger-scripts.html:

2011-04-28 Pavel Podivilov <podivilov@chromium.org>

Reviewed by Yury Semikhatsky.

Web Inspector: include script end line:column in scriptParsed parameters.
https://bugs.webkit.org/show_bug.cgi?id=59717

  • bindings/js/ScriptDebugServer.cpp: (WebCore::ScriptDebugServer::dispatchDidParseSource):
  • bindings/v8/DebuggerScript.js: ():
  • bindings/v8/ScriptDebugServer.cpp: (WebCore::ScriptDebugServer::dispatchDidParseSource):
  • inspector/Inspector.json:
  • inspector/InspectorDebuggerAgent.cpp: (WebCore::InspectorDebuggerAgent::resolveBreakpoint): (WebCore::InspectorDebuggerAgent::didParseSource):
  • inspector/InspectorDebuggerAgent.h: (WebCore::InspectorDebuggerAgent::Script::Script):
  • inspector/ScriptDebugListener.h:
  • inspector/front-end/DebuggerModel.js: (WebInspector.DebuggerModel.prototype._parsedScriptSource): (WebInspector.DebuggerModel.prototype._failedToParseScriptSource): (WebInspector.DebuggerDispatcher.prototype.scriptParsed):
  • inspector/front-end/Script.js: (WebInspector.Script):
5:36 AM Changeset in webkit [85319] by yurys@chromium.org
  • 27 edits in trunk

2011-04-28 Yury Semikhatsky <yurys@chromium.org>

Reviewed by Pavel Feldman.

Web Inspector: [protocol] Evaluate should expose thrown exception value
https://bugs.webkit.org/show_bug.cgi?id=59000

  • inspector/console/console-dir-expected.txt:
  • inspector/console/console-eval-global-expected.txt:
  • inspector/console/console-format-expected.txt:
  • inspector/extensions/extensions-eval-expected.txt:
  • inspector/protocol/console-agent-expected.txt:
  • inspector/protocol/runtime-agent-expected.txt:

2011-04-28 Yury Semikhatsky <yurys@chromium.org>

Reviewed by Pavel Feldman.

Web Inspector: [protocol] Evaluate should expose thrown exception value
https://bugs.webkit.org/show_bug.cgi?id=59000

Each evaluation command may have either thrown or returned result. This is indicated
by wasThrown property in the protocol.

  • inspector/InjectedScript.cpp: (WebCore::InjectedScript::evaluate): (WebCore::InjectedScript::evaluateOn): (WebCore::InjectedScript::evaluateOnCallFrame): (WebCore::InjectedScript::getProperties): (WebCore::InjectedScript::makeEvalCall):
  • inspector/InjectedScript.h:
  • inspector/InjectedScriptSource.js:
  • inspector/Inspector.json: Removed "error" remote object type, added "wasThrown" property to the evaluation results.
  • inspector/InspectorDebuggerAgent.cpp: (WebCore::InspectorDebuggerAgent::evaluateOnCallFrame):
  • inspector/InspectorDebuggerAgent.h:
  • inspector/InspectorRuntimeAgent.cpp: (WebCore::InspectorRuntimeAgent::evaluate): (WebCore::InspectorRuntimeAgent::evaluateOn): (WebCore::InspectorRuntimeAgent::getProperties):
  • inspector/InspectorRuntimeAgent.h:
  • inspector/front-end/ConsoleView.js: (WebInspector.ConsoleView.prototype.completions.evaluated): (WebInspector.ConsoleView.prototype.evalInInspectedWindow): (WebInspector.ConsoleView.prototype._enterKeyPressed.printResult): (WebInspector.ConsoleView.prototype._enterKeyPressed): (WebInspector.ConsoleCommandResult):
  • inspector/front-end/DebuggerPresentationModel.js: (WebInspector.PresenationCallFrame.prototype.evaluate):
  • inspector/front-end/ElementsTreeOutline.js: (WebInspector.ElementsTreeElement.prototype._createTooltipForNode.setTooltip):
  • inspector/front-end/ExtensionPanel.js: (WebInspector.ExtensionSidebarPane.prototype._onEvaluate):
  • inspector/front-end/ExtensionServer.js: (WebInspector.ExtensionServer.prototype._onEvaluateOnInspectedPage):
  • inspector/front-end/ObjectPropertiesSection.js: (WebInspector.ObjectPropertyTreeElement.prototype.update):
  • inspector/front-end/PropertiesSidebarPane.js: (WebInspector.PropertiesSidebarPane.prototype.update.nodePrototypesReady):
  • inspector/front-end/SourceFrame.js: (WebInspector.SourceFrame.prototype._showPopup.showObjectPopup): (WebInspector.SourceFrame.prototype._showPopup):
5:36 AM Changeset in webkit [85318] by Carlos Garcia Campos
  • 2 edits in trunk/Source/WebKit2

2011-04-29 Carlos Garcia Campos <cgarcia@igalia.com>

Reviewed by Martin Robinson.

[GTK] Rename page as pageProxy in WebKitWebViewBase
https://bugs.webkit.org/show_bug.cgi?id=59790

To avoid consufion between page client and page proxy. Also rename
some methods to webkitWebViewBase* for consistency.

  • UIProcess/API/gtk/WebKitWebViewBase.cpp: (webkitWebViewBaseFinalize): (webkitWebViewBaseExpose): (webkitWebViewBaseDraw): (webkitWebViewBaseSizeAllocate): (webkitWebViewBaseFocusInEvent): (webkitWebViewBaseFocusOutEvent): (webkitWebViewBaseKeyPressEvent): (webkitWebViewBaseKeyReleaseEvent): (webkitWebViewBaseButtonPressEvent): (webkitWebViewBaseButtonReleaseEvent): (webkitWebViewBaseScrollEvent): (webkitWebViewBaseMotionNotifyEvent): (webkit_web_view_base_class_init): (webkitWebViewBaseCreate): (webkitWebViewBaseGetPage):
5:21 AM Changeset in webkit [85317] by podivilov@chromium.org
  • 7 edits in trunk

2011-04-29 Sheriff Bot <webkit.review.bot@gmail.com>

Unreviewed, rolling out r85315.
http://trac.webkit.org/changeset/85315
https://bugs.webkit.org/show_bug.cgi?id=59792

Broke script-formatter.html test (Requested by podivilov on
#webkit).

  • http/tests/inspector/inspector-test.js: (initialize_InspectorTest.InspectorTest.reloadPage): (initialize_InspectorTest.InspectorTest.pageReloaded): (initialize_InspectorTest.InspectorTest.runWhenPageLoads): ():
  • inspector/debugger/script-formatter-expected.txt:
  • inspector/debugger/script-formatter.html:

2011-04-29 Sheriff Bot <webkit.review.bot@gmail.com>

Unreviewed, rolling out r85315.
http://trac.webkit.org/changeset/85315
https://bugs.webkit.org/show_bug.cgi?id=59792

Broke script-formatter.html test (Requested by podivilov on
#webkit).

  • inspector/front-end/DebuggerPresentationModel.js: (WebInspector.DebuggerPresentationModel.prototype.setFormatSourceFiles): (WebInspector.DebuggerPresentationModel.prototype._removeBreakpointFromDebugger.didRemoveBreakpoint): (WebInspector.DebuggerPresentationModel.prototype._removeBreakpointFromDebugger): (WebInspector.PresentationBreakpoint.prototype.serialize):
  • inspector/front-end/ScriptsPanel.js: (WebInspector.ScriptsPanel.prototype._addOptionToFilesSelect.optionCompare): (WebInspector.ScriptsPanel.prototype._addOptionToFilesSelect): (WebInspector.ScriptsPanel.prototype.reset):
4:43 AM Changeset in webkit [85316] by commit-queue@webkit.org
  • 9 edits
    2 adds in trunk

2011-04-29 Vsevolod Vlasov <vsevik@chromium.org>

Reviewed by Pavel Feldman.

Web Inspector: Hyperlink Auditing (ping) requests are not shown in network panel
https://bugs.webkit.org/show_bug.cgi?id=58794

Added ping requests to network panel.

  • http/tests/inspector/network/ping-expected.txt: Added.
  • http/tests/inspector/network/ping.html: Added.

2011-04-29 Vsevolod Vlasov <vsevik@chromium.org>

Reviewed by Pavel Feldman.

Web Inspector: Hyperlink Auditing (ping) requests are not shown in network panel
https://bugs.webkit.org/show_bug.cgi?id=58794

Added ping requests to network panel.

Test: http/tests/inspector/network/ping.html

  • English.lproj/localizedStrings.js:
  • inspector/InspectorInstrumentation.cpp: (WebCore::InspectorInstrumentation::continueAfterPingLoaderImpl):
  • inspector/InspectorInstrumentation.h: (WebCore::InspectorInstrumentation::continueAfterPingLoader):
  • inspector/front-end/NetworkPanel.js: (WebInspector.NetworkDataGridNode.prototype.refreshResource): (WebInspector.NetworkDataGridNode.prototype._refreshStatusCell): (WebInspector.NetworkDataGridNode.prototype._refreshTypeCell):
  • inspector/front-end/Resource.js: (WebInspector.Resource.prototype.get formParameters): (WebInspector.Resource.prototype.requestContentType): (WebInspector.Resource.prototype.isPingRequest):
  • loader/PingLoader.cpp: (WebCore::PingLoader::PingLoader):
  • loader/PingLoader.h:
4:35 AM Changeset in webkit [85315] by podivilov@chromium.org
  • 7 edits in trunk

2011-04-28 Pavel Podivilov <podivilov@chromium.org>

Reviewed by Pavel Feldman.

Web Inspector: breakpoints set in original and formatted scripts are messed up after navigation.
https://bugs.webkit.org/show_bug.cgi?id=59476

  • http/tests/inspector/inspector-test.js: (initialize_InspectorTest.InspectorTest.navigate): (initialize_InspectorTest.InspectorTest.reloadPage): (initialize_InspectorTest.InspectorTest.pageLoaded): (initialize_InspectorTest.InspectorTest.runWhenPageLoads): ():
  • inspector/debugger/script-formatter-expected.txt:
  • inspector/debugger/script-formatter.html:

2011-04-28 Pavel Podivilov <podivilov@chromium.org>

Reviewed by Pavel Feldman.

Web Inspector: breakpoints set in original and formatted scripts are messed up after navigation.
https://bugs.webkit.org/show_bug.cgi?id=59476

  • inspector/front-end/DebuggerPresentationModel.js: (WebInspector.DebuggerPresentationModel.prototype.toggleFormatSourceFiles): (WebInspector.DebuggerPresentationModel.prototype._removeBreakpointFromDebugger): (WebInspector.PresentationBreakpoint.prototype.serialize):
  • inspector/front-end/ScriptsPanel.js: (WebInspector.ScriptsPanel.prototype._addOptionToFilesSelect.optionCompare): (WebInspector.ScriptsPanel.prototype._addOptionToFilesSelect): (WebInspector.ScriptsPanel.prototype.reset):
3:23 AM Changeset in webkit [85314] by commit-queue@webkit.org
  • 2 edits in trunk/Source/WebKit/chromium

2011-04-29 Vsevolod Vlasov <vsevik@chromium.org>

Reviewed by Pavel Feldman.

Chromium DevTools: Fix network panel timing/size/headers tests.
https://bugs.webkit.org/show_bug.cgi?id=59696

  • src/js/Tests.js: (.TestSuite.prototype.testNetworkSize.finishResource): (.TestSuite.prototype.testNetworkSyncSize.finishResource): (.TestSuite.prototype.testNetworkRawHeadersText.finishResource): (.TestSuite.prototype.testNetworkTiming.finishResource):
2:55 AM Changeset in webkit [85313] by Carlos Garcia Campos
  • 3 edits in trunk/Tools

2011-04-29 Carlos Garcia Campos <cgarcia@igalia.com>

Reviewed by Martin Robinson.

[GTK] Implement UI client in minibrowser
https://bugs.webkit.org/show_bug.cgi?id=58416

It also allows to open more than one minibrowser window from the
command line.

  • MiniBrowser/gtk/BrowserWindow.c: (browserWindowFinalize): (browser_window_init): (browserWindowConstructed): (createNewPage): (showPage): (closePage): (runJavaScriptAlert): (browserWindowUIClientInit):
  • MiniBrowser/gtk/main.c: (loadURI): (main):
2:34 AM Changeset in webkit [85312] by pfeldman@chromium.org
  • 14 edits in trunk/Source

2011-04-29 Pavel Feldman <pfeldman@google.com>

Reviewed by Yury Semikhatsky.

Web Inspector: add "open link in new tab" action into the network and resources panels.
https://bugs.webkit.org/show_bug.cgi?id=59788

This change also distinguishes context menu items case between platforms.

  • English.lproj/localizedStrings.js:
  • inspector/front-end/ConsoleView.js: (WebInspector.ConsoleView.prototype._handleContextMenuEvent):
  • inspector/front-end/DOMBreakpointsSidebarPane.js: (WebInspector.DOMBreakpointsSidebarPane):
  • inspector/front-end/ElementsPanel.js: (WebInspector.ElementsPanel.prototype._contextMenuEventFired): (WebInspector.ElementsPanel.prototype.populateHrefContextMenu):
  • inspector/front-end/ElementsTreeOutline.js: (WebInspector.ElementsTreeElement.prototype._populateTagContextMenu): (WebInspector.ElementsTreeElement.prototype._populateTextContextMenu):
  • inspector/front-end/NetworkPanel.js: (WebInspector.NetworkPanel.prototype._contextMenu):
  • inspector/front-end/ResourcesPanel.js: (WebInspector.FrameResourceTreeElement.prototype._handleContextMenuEvent): (WebInspector.FrameResourceTreeElement.prototype._appendSaveAsAction): (WebInspector.ResourceRevisionTreeElement.prototype._handleContextMenuEvent):
  • inspector/front-end/Settings.js:
  • inspector/front-end/SourceFrame.js: (WebInspector.SourceFrame.prototype.populateLineGutterContextMenu):
  • inspector/front-end/TextViewer.js: (WebInspector.TextViewer.prototype._contextMenu):
  • inspector/front-end/inspector.js: (WebInspector.openLinkExternallyLabel): (WebInspector.openResource): (WebInspector.useLowerCaseMenuTitles):

2011-04-29 Pavel Feldman <pfeldman@google.com>

Reviewed by Yury Semikhatsky.

Web Inspector: add "open link in new tab" action into the network and resources panels.
https://bugs.webkit.org/show_bug.cgi?id=59788

This change also distinguishes context menu items case between platforms.

  • src/js/DevTools.js:
2:32 AM Changeset in webkit [85311] by Carlos Garcia Campos
  • 3 edits
    2 adds in trunk/Tools

2011-04-29 Carlos Garcia Campos <cgarcia@igalia.com>

Reviewed by Martin Robinson.

[GTK] Implement page loader client in MiniBrowser
https://bugs.webkit.org/show_bug.cgi?id=58024

A new class BrowserWindow has been added to implement the page
loader client. It makes supporting multiple windows easier. Window
title and url entry are now updated during the loading process.

  • MiniBrowser/gtk/BrowserWindow.c: Added. (activateUriEntryCallback): (goBackCallback): (goForwardCallback): (browserWindowFinalize): (browserWindowGetProperty): (browserWindowSetProperty): (browser_window_init): (browserWindowConstructed): (browser_window_class_init): (browserWindowUpdateTitle): (browserWindowSetTitle): (browserWindowSetLoadProgress): (browserWindowUpdateURL): (didStartProvisionalLoadForFrame): (didReceiveServerRedirectForProvisionalLoadForFrame): (didFailProvisionalLoadWithErrorForFrame): (didCommitLoadForFrame): (didFinishDocumentLoadForFrame): (didFinishLoadForFrame): (didFailLoadWithErrorForFrame): (didReceiveTitleForFrame): (didFirstLayoutForFrame): (didFirstVisuallyNonEmptyLayoutForFrame): (didRemoveFrameFromHierarchy): (didStartProgress): (didChangeProgress): (didFinishProgress): (didBecomeUnresponsive): (didBecomeResponsive): (browserWindowLoaderClientInit): (browser_window_new): (browser_window_get_view):
  • MiniBrowser/gtk/BrowserWindow.h: Added.
  • MiniBrowser/gtk/GNUmakefile.am:
  • MiniBrowser/gtk/main.c: (createWindow):
2:31 AM Changeset in webkit [85310] by apavlov@chromium.org
  • 1 edit in branches/chromium/742/Source/WebCore/inspector/front-end/Settings.js

Merge 85272 - 2011-04-28 Ilya Tikhonovsky <loislo@chromium.org> Unreviewed trivial one-line fix inspired by wrong patch for https://bugs.webkit.org/show_bug.cgi?id=59630. * inspector/front-end/Settings.js: (WebInspector.Settings):
TBR=loislo@chromium.org
Review URL: http://codereview.chromium.org/6903137

12:18 AM Changeset in webkit [85309] by Carlos Garcia Campos
  • 2 edits in trunk/Source/WebKit2

2011-04-29 Carlos Garcia Campos <cgarcia@igalia.com>

Unreviewed. Fix a crash after r85214.

  • UIProcess/API/gtk/WebKitWebViewBase.cpp: (webkit_web_view_base_init): Add line to create the page client instance, removed by mistake in r85214.
12:07 AM Changeset in webkit [85308] by Stephanie Lewis
  • 2 edits in trunk/Tools

http://bugs.webkit.org/show_bug.cgi?id=59743
<rdar://problem/9040413> Add an install target for production builds.

Reviewed by Mark Rowe.

  • DumpRenderTree/mac/PerlSupport/Makefile:
Note: See TracTimeline for information about the timeline view.