1. 04 Sep, 2012 8 commits
  2. 03 Sep, 2012 32 commits
    • noel.gordon@gmail.com's avatar
      http/tests/incremental/partial-jpeg.html is flaky · 2c4064a2
      noel.gordon@gmail.com authored
      https://bugs.webkit.org/show_bug.cgi?id=82480
      
      Reviewed by Kent Tamura.
      
      Remove this test: we have a more robust partial load test now in
      http/tests/images/jpg-img-partial-load.html
      
      * http/tests/incremental/partial-jpeg-expected.png: Removed.
      * http/tests/incremental/partial-jpeg-expected.txt: Removed.
      * http/tests/incremental/partial-jpeg.html: Removed.
      * http/tests/incremental/resources/checkerboard.jpg: Removed.
      * http/tests/incremental/resources/partial-jpeg.php: Removed.
      * platform/chromium/TestExpectations:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@127439 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      2c4064a2
    • kling@webkit.org's avatar
      Share immutable ElementAttributeData between elements with identical attributes. · 7c575786
      kling@webkit.org authored
      <http://webkit.org/b/94990>
      
      Reviewed by Antti Koivisto.
      
      Keep a cache of ElementAttributeData objects for a given set of attributes and reuse
      them in elements with identical attribute maps. ElementAttributeData is made ref-counted
      to facilitate this. A copy-on-write mechanism is already in place, since mutating call
      sites have to go via Element::mutableAttributeData().
      
      The cache is held by Document and cleared in Document::finishedParsing() since the vast
      majority of immutable ElementAttributeData will be constructed during parsing.
      
      On the HTML5 spec at <http://whatwg.org/c/>, we get a cache hit rate of nearly 80%,
      translating into a 3.5MB reduction in memory use.
      
      * dom/Document.cpp:
      (WebCore::Document::finishedParsing):
      (ImmutableAttributeDataCacheKey):
      (WebCore::ImmutableAttributeDataCacheKey::ImmutableAttributeDataCacheKey):
      (WebCore::ImmutableAttributeDataCacheKey::operator!=):
      (WebCore::ImmutableAttributeDataCacheKey::hash):
      (ImmutableAttributeDataCacheEntry):
      (WebCore::Document::cachedImmutableAttributeData):
      * dom/Document.h:
      * dom/Element.cpp:
      (WebCore::Element::parserSetAttributes):
      * dom/Element.h:
      * dom/ElementAttributeData.cpp:
      (WebCore::ElementAttributeData::createImmutable):
      (WebCore::ElementAttributeData::ElementAttributeData):
      * dom/ElementAttributeData.h:
      (WebCore::ElementAttributeData::create):
      (ElementAttributeData):
      (WebCore::ElementAttributeData::makeMutable):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@127438 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      7c575786
    • commit-queue@webkit.org's avatar
      Web Inspector: the URL of worker inspector window sometimes is invalid · 228a27b4
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=95334
      
      Patch by Peter Wang <peter.wang@torchmobile.com.cn> on 2012-09-03
      Reviewed by Pavel Feldman.
      
      In "_openInspectorWindow", before "&dedicatedWorkerId=" should have a '?' to make the whole URL valid.
      
      No new tests case for this bug.
      
      * inspector/front-end/WorkerManager.js:
      (WebInspector.WorkerManager.prototype._openInspectorWindow):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@127437 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      228a27b4
    • commit-queue@webkit.org's avatar
      [EFL] Fix e_dbus_shutdown() error when exiting the Minibrowser · c0a39b8a
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=95636
      
      Patch by Jinwoo Song <jinwoo7.song@samsung.com> on 2012-09-03
      Reviewed by Gyuyoung Kim.
      
      Source/WebCore:
      
      Check if the m_timer is active in stopUpdating()
      to know the BatteryProvider is updating or not.
      By checking the timer, stopUpdating() will be called
      only BatteryProviderEfl is updating.
      
      * platform/efl/BatteryProviderEfl.cpp:
      (WebCore::BatteryProviderEfl::stopUpdating):
      
      Source/WebKit/efl:
      
      Invoke stopUpdating() in the destructor of BatteryClinetEfl()
      to call e_ukit_shutdown() and e_dbus_shutdown() if and when
      stopUpdating() has not been called explicitly.
      
      * WebCoreSupport/BatteryClientEfl.cpp:
      (BatteryClientEfl::~BatteryClientEfl):
      * WebCoreSupport/BatteryClientEfl.h:
      (BatteryClientEfl):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@127436 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      c0a39b8a
    • bashi@chromium.org's avatar
      [Chromium] Unreviewed test expectations update after r127410 · 4756340c
      bashi@chromium.org authored
      Removed further platform-specific text expectations.
      
      * platform/chromium-mac/fast/forms/time-multiple-fields/time-multiple-fields-appearance-pseudo-classes-expected.txt: Removed.
      * platform/chromium-mac/fast/forms/time-multiple-fields/time-multiple-fields-appearance-style-expected.txt: Removed.
      * platform/chromium-win/fast/forms/time-multiple-fields/time-multiple-fields-appearance-pseudo-classes-expected.txt: Removed.
      * platform/chromium-win/fast/forms/time-multiple-fields/time-multiple-fields-appearance-style-expected.txt: Removed.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@127435 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      4756340c
    • commit-queue@webkit.org's avatar
      [WK2][WTR] Implement WebKitEnableCaretBrowsing attribute in testRunner.overridePreference · a7d4e015
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=95576
      
      Patch by Kangil Han <kangil.han@samsung.com> on 2012-09-03
      Reviewed by Maciej Stachowiak.
      
      Added a line of macro to implement WebKitEnableCaretBrowsing attribute in testRunner.overridePreference
      
      Source/WebKit2:
      
      * WebProcess/InjectedBundle/InjectedBundle.cpp:
      (WebKit::InjectedBundle::overrideBoolPreferenceForTestRunner):
      
      LayoutTests:
      
      * platform/wk2/Skipped: Removed fast/repaint/no-caret-repaint-in-non-content-editable-element.html test case.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@127434 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      a7d4e015
    • bashi@chromium.org's avatar
      [Chromium] Unreviewed test expectations update after r127410 · 6c698168
      bashi@chromium.org authored
      * platform/chromium-mac/fast/forms/time-multiple-fields/time-multiple-fields-appearance-disabled-readonly-expected.txt: Removed.
      * platform/chromium-win/fast/forms/time-multiple-fields/time-multiple-fields-appearance-disabled-readonly-expected.txt: Removed.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@127433 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      6c698168
    • allan.jensen@nokia.com's avatar
      [Qt] Not all activated elements highlighted, but some frames are · bfae6e96
      allan.jensen@nokia.com authored
      https://bugs.webkit.org/show_bug.cgi?id=95683
      
      Reviewed by Kenneth Rohde Christiansen.
      
      Use the new function Node::willRespondToMouseClickEvents to better determine if the element
      can be tap-activated and avoid documents and frames completely.
      
      * WebProcess/WebPage/WebPage.cpp:
      (WebKit::WebPage::highlightPotentialActivation):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@127432 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      bfae6e96
    • ryuan.choi@samsung.com's avatar
      [EFL] Change the focus when the web view is clicked in MiniBrowser and EWebLauncher · 2400d3f2
      ryuan.choi@samsung.com authored
      https://bugs.webkit.org/show_bug.cgi?id=95689
      
      Reviewed by Kenneth Rohde Christiansen.
      
      In Minibrowser & EWebLauncher, the web view loses the focus when url bar is clicked.
      So, there are bugs that key events are always generated in url bar although
      the user clicked the web view.
      
      This patch recovers the focus of the web view when left button is pressed and
      adds for MiniBrowser to toggle the focus when middle button is pressed
      like EWebLauncher already did.
      
      * EWebLauncher/main.c:
      (on_mouse_down):
      * MiniBrowser/efl/main.c:
      (on_mouse_down):
      (browserCreate):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@127431 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      2400d3f2
    • commit-queue@webkit.org's avatar
      Added ANDROID_GDBSERVER definition for Ant · 5598b51c
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=95265
      
      Patch by Tao Bai <michaelbai@chromium.org> on 2012-09-03
      Reviewed by Adam Barth.
      
      ANDROID_GDBSERVER will replace ANDROID_TOOLCHAIN, because the ANDROID_TOOLCHAIN
      is only used for finding the gdbserver.
      
      Source/WebKit/chromium:
      
      * WebKitUnitTests.gyp:
      
      Tools:
      
      * DumpRenderTree/DumpRenderTree.gyp/DumpRenderTree.gyp:
      * TestWebKitAPI/TestWebKitAPI.gyp/TestWebKitAPI.gyp:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@127430 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      5598b51c
    • commit-queue@webkit.org's avatar
      Unreviewed, rolling out r127427. · 39121586
      commit-queue@webkit.org authored
      http://trac.webkit.org/changeset/127427
      https://bugs.webkit.org/show_bug.cgi?id=95695
      
      Breaks some inspector/debugger tests on JSC (Requested by
      vsevik on #webkit).
      
      Patch by Sheriff Bot <webkit.review.bot@gmail.com> on 2012-09-03
      
      Source/WebCore:
      
      * WebCore.gypi:
      * WebCore.vcproj/WebCore.vcproj:
      * inspector/compile-front-end.py:
      * inspector/front-end/CompilerScriptMapping.js:
      * inspector/front-end/JavaScriptSource.js:
      (WebInspector.JavaScriptSource):
      * inspector/front-end/NetworkUISourceCodeProvider.js: Removed.
      * inspector/front-end/RawSourceCode.js:
      (WebInspector.RawSourceCode):
      (WebInspector.RawSourceCode.prototype.addScript):
      (WebInspector.RawSourceCode.prototype.rawLocationToUILocation):
      (WebInspector.RawSourceCode.prototype._createUISourceCode):
      (WebInspector.RawSourceCode.prototype.uiLocationToRawLocation):
      (WebInspector.RawSourceCode.prototype.uiSourceCode):
      (WebInspector.RawSourceCode.prototype._finishedLoading):
      * inspector/front-end/ResourceScriptMapping.js:
      (WebInspector.ResourceScriptMapping):
      (WebInspector.ResourceScriptMapping.prototype.rawLocationToUILocation):
      (WebInspector.ResourceScriptMapping.prototype.addScript):
      (WebInspector.ResourceScriptMapping.prototype._shouldBindScriptToContentProvider):
      (WebInspector.ResourceScriptMapping.prototype._handleUISourceCodeChanged):
      (WebInspector.ResourceScriptMapping.prototype._uiSourceCodeAdded):
      (WebInspector.ResourceScriptMapping.prototype._uiSourceCodeReplaced):
      (WebInspector.ResourceScriptMapping.prototype._uiSourceCodeRemoved):
      (WebInspector.ResourceScriptMapping.prototype._bindScriptToRawSourceCode):
      (WebInspector.ResourceScriptMapping.prototype._reset):
      * inspector/front-end/ScriptSnippetModel.js:
      (WebInspector.ScriptSnippetModel.prototype._addScriptSnippet):
      (WebInspector.ScriptSnippetModel.prototype._createUISourceCodeForScript):
      (WebInspector.SnippetJavaScriptSource):
      * inspector/front-end/StylesUISourceCodeProvider.js: Added.
      (WebInspector.StylesUISourceCodeProvider):
      (WebInspector.StylesUISourceCodeProvider.prototype._populate):
      (WebInspector.StylesUISourceCodeProvider.prototype._resourceAdded):
      (WebInspector.StylesUISourceCodeProvider.prototype._reset):
      * inspector/front-end/UISourceCode.js:
      (WebInspector.UISourceCode):
      (WebInspector.UISourceCode.prototype.uiLocationToRawLocation):
      * inspector/front-end/WebKit.qrc:
      * inspector/front-end/inspector.html:
      * inspector/front-end/inspector.js:
      
      LayoutTests:
      
      * http/tests/inspector/network/network-request-revision-content.html:
      * http/tests/inspector/workspace-test.js: Removed.
      * inspector/debugger/breakpoint-manager.html:
      * inspector/debugger/dynamic-script-tag-expected.txt:
      * inspector/debugger/dynamic-script-tag.html:
      * inspector/debugger/network-uisourcecode-provider-expected.txt: Removed.
      * inspector/debugger/network-uisourcecode-provider.html: Removed.
      * inspector/debugger/raw-source-code-expected.txt: Added.
      * inspector/debugger/raw-source-code.html: Added.
      * inspector/debugger/resource-script-mapping-expected.txt: Removed.
      * inspector/debugger/resource-script-mapping.html: Removed.
      * inspector/debugger/scripts-panel.html:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@127429 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      39121586
    • peter@chromium.org's avatar
      Unreviewed. Rolled DEPS. · a1d1b75f
      peter@chromium.org authored
      * DEPS:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@127428 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      a1d1b75f
    • vsevik@chromium.org's avatar
      Web Inspector: Create JavaScriptSources based on network resources. · 935589d5
      vsevik@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=95352
      
      Reviewed by Pavel Feldman.
      
      Source/WebCore:
      
      Introduced NetworkUISourceCodeProvider that is listening for ResourceTreeModel and creates UISourceCodes for them.
      RawSourceCode does not create uiSourceCodes based on resource anymore (this is done by NetworkUISourceCodeProvider instead).
      Moved script <-> uiSourceCode binding logic from RawSourceCode to ResourceScriptMapping.
      Removed rawSourceCode as it was not needed anymore.
      
      Tests: inspector/debugger/network-uisourcecode-provider.html
             inspector/debugger/resource-script-mapping.html
      
      * WebCore.gypi:
      * WebCore.vcproj/WebCore.vcproj:
      * inspector/compile-front-end.py:
      * inspector/front-end/CompilerScriptMapping.js:
      * inspector/front-end/JavaScriptSource.js:
      (WebInspector.JavaScriptSource):
      * inspector/front-end/NetworkUISourceCodeProvider.js: Renamed from Source/WebCore/inspector/front-end/StylesUISourceCodeProvider.js.
      (WebInspector.NetworkUISourceCodeProvider):
      (WebInspector.NetworkUISourceCodeProvider.prototype._populate):
      (WebInspector.NetworkUISourceCodeProvider.prototype._styleResourceAdded):
      (WebInspector.NetworkUISourceCodeProvider.prototype._scriptResourceAdded.resourceFinished):
      (WebInspector.NetworkUISourceCodeProvider.prototype._scriptResourceAdded):
      (WebInspector.NetworkUISourceCodeProvider.prototype._addJavaScriptSource):
      (WebInspector.NetworkUISourceCodeProvider.prototype._addUISourceCode):
      (WebInspector.NetworkUISourceCodeProvider.prototype._resourceAdded):
      (WebInspector.NetworkUISourceCodeProvider.prototype._reset):
      * inspector/front-end/RawSourceCode.js:
      * inspector/front-end/ResourceScriptMapping.js:
      (WebInspector.ResourceScriptMapping):
      (WebInspector.ResourceScriptMapping.prototype.rawLocationToUILocation):
      (WebInspector.ResourceScriptMapping.prototype._bindUISourceCodeToScripts):
      (WebInspector.ResourceScriptMapping.prototype._scriptsForSourceURL):
      (WebInspector.ResourceScriptMapping.prototype._addOrReplaceTemporaryUISourceCode.get var):
      (WebInspector.ResourceScriptMapping.prototype._addOrReplaceTemporaryUISourceCode):
      (WebInspector.ResourceScriptMapping.prototype.get _uiSourceCodeReplaced):
      (WebInspector.ResourceScriptMapping.prototype._reset):
      * inspector/front-end/ScriptSnippetModel.js:
      (WebInspector.ScriptSnippetModel.prototype._addScriptSnippet):
      (WebInspector.ScriptSnippetModel.prototype._createUISourceCodeForScript):
      (WebInspector.SnippetJavaScriptSource):
      * inspector/front-end/UISourceCode.js:
      (WebInspector.UISourceCode):
      (WebInspector.UISourceCode.prototype.uiLocationToRawLocation):
      (WebInspector.UISourceCode.prototype.setSourceMapping):
      * inspector/front-end/WebKit.qrc:
      * inspector/front-end/inspector.html:
      * inspector/front-end/inspector.js:
      
      LayoutTests:
      
      Removed raw-source-code.html test as RawSourceCode was removed by this patch.
      Added resource-script-mapping.html to test script <-> uiSourceCode binding behavior.
      Added network-uisourcecode-provider.html to test uiSourceCode creation behavior.
      Updated dynamic-script-tag.html to better match expected behavior.
      
      * http/tests/inspector/network/network-request-revision-content.html:
      * http/tests/inspector/workspace-test.js: Added.
      (initialize_WorkspaceTest.InspectorTest.createWorkspace):
      (initialize_WorkspaceTest.InspectorTest.waitForWorkspaceUISourceCodeReplacedEvent.uiSourceCodeReplaced):
      (initialize_WorkspaceTest.InspectorTest.waitForWorkspaceUISourceCodeReplacedEvent):
      (initialize_WorkspaceTest.InspectorTest.waitForWorkspaceUISourceCodeAddedEvent.uiSourceCodeAdded):
      (initialize_WorkspaceTest.InspectorTest.waitForWorkspaceUISourceCodeAddedEvent):
      (initialize_WorkspaceTest.InspectorTest.addMockUISourceCodeToWorkspace):
      (initialize_WorkspaceTest.InspectorTest._defaultUISourceCodeProviderEventHandler):
      (initialize_WorkspaceTest.InspectorTest.dumpUISourceCode.didRequestContent):
      (initialize_WorkspaceTest.InspectorTest.dumpUISourceCode):
      (initialize_WorkspaceTest):
      * inspector/debugger/breakpoint-manager.html:
      * inspector/debugger/dynamic-script-tag-expected.txt:
      * inspector/debugger/dynamic-script-tag.html:
      * inspector/debugger/network-uisourcecode-provider-expected.txt: Added.
      * inspector/debugger/network-uisourcecode-provider.html: Added.
      * inspector/debugger/raw-source-code-expected.txt: Removed.
      * inspector/debugger/raw-source-code.html: Removed.
      * inspector/debugger/resource-script-mapping-expected.txt: Added.
      * inspector/debugger/resource-script-mapping.html: Added.
      * inspector/debugger/scripts-panel.html:
      * inspector/debugger/source-frame-count.html:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@127427 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      935589d5
    • commit-queue@webkit.org's avatar
      Web Inspector: [WebGL] Make the injected __resourceObject property non-enumerable · 3f0230d6
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=95682
      
      Patch by Andrey Adaikin <aandrey@chromium.org> on 2012-09-03
      Reviewed by Pavel Feldman.
      
      Make the injected auxiliary property __resourceObject non-enumerable to hide it from for..in iterations.
      Ideally this property should be completely hidden from the user's code.
      Drive-by: Fix couple of small FIXME's.
      
      * inspector/InjectedScriptWebGLModuleSource.js:
      (.):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@127426 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      3f0230d6
    • tommyw@google.com's avatar
      MediaStream API: Add Ice-related functionality to RTCPeerConnection · e902e881
      tommyw@google.com authored
      https://bugs.webkit.org/show_bug.cgi?id=95565
      
      Reviewed by Adam Barth.
      
      Source/Platform:
      
      * Platform.gypi:
      * chromium/public/WebRTCICECandidateDescriptor.h: Copied from Source/Platform/chromium/public/WebRTCPeerConnectionHandlerClient.h.
      (WebCore):
      (WebKit):
      (WebRTCICECandidateDescriptor):
      (WebKit::WebRTCICECandidateDescriptor::WebRTCICECandidateDescriptor):
      (WebKit::WebRTCICECandidateDescriptor::~WebRTCICECandidateDescriptor):
      (WebKit::WebRTCICECandidateDescriptor::operator=):
      (WebKit::WebRTCICECandidateDescriptor::isNull):
      * chromium/public/WebRTCPeerConnectionHandler.h:
      (WebKit):
      (WebRTCPeerConnectionHandler):
      * chromium/public/WebRTCPeerConnectionHandlerClient.h:
      (WebKit):
      (WebRTCPeerConnectionHandlerClient):
      
      Source/WebCore:
      
      Adds all Ice-related functionality to RTCPeerConnection, including
      events, callbacks and methods.
      
      Test: fast/mediastream/RTCPeerConnection-ice.html
      
      * CMakeLists.txt:
      * GNUmakefile.list.am:
      * Modules/mediastream/RTCIceCandidateEvent.cpp: Added.
      (WebCore):
      (WebCore::RTCIceCandidateEvent::create):
      (WebCore::RTCIceCandidateEvent::RTCIceCandidateEvent):
      (WebCore::RTCIceCandidateEvent::~RTCIceCandidateEvent):
      (WebCore::RTCIceCandidateEvent::candidate):
      (WebCore::RTCIceCandidateEvent::interfaceName):
      * Modules/mediastream/RTCIceCandidateEvent.h: Added.
      (WebCore):
      (RTCIceCandidateEvent):
      * Modules/mediastream/RTCIceCandidateEvent.idl: Added.
      * Modules/mediastream/RTCPeerConnection.cpp:
      (WebCore::RTCPeerConnection::RTCPeerConnection):
      (WebCore::RTCPeerConnection::updateIce):
      (WebCore):
      (WebCore::RTCPeerConnection::addIceCandidate):
      (WebCore::RTCPeerConnection::iceState):
      (WebCore::RTCPeerConnection::close):
      (WebCore::RTCPeerConnection::didGenerateIceCandidate):
      (WebCore::RTCPeerConnection::didChangeIceState):
      (WebCore::RTCPeerConnection::stop):
      (WebCore::RTCPeerConnection::changeIceState):
      * Modules/mediastream/RTCPeerConnection.h:
      (RTCPeerConnection):
      * Modules/mediastream/RTCPeerConnection.idl:
      * WebCore.gypi:
      * dom/EventNames.h:
      (WebCore):
      * dom/EventNames.in:
      * platform/chromium/support/WebRTCICECandidateDescriptor.cpp: Copied from Source/WebCore/platform/mediastream/chromium/RTCPeerConnectionHandlerChromium.cpp.
      (WebKit):
      (WebKit::WebRTCICECandidateDescriptor::WebRTCICECandidateDescriptor):
      (WebKit::WebRTCICECandidateDescriptor::assign):
      (WebKit::WebRTCICECandidateDescriptor::reset):
      (WebKit::WebRTCICECandidateDescriptor::initialize):
      (WebKit::WebRTCICECandidateDescriptor::operator PassRefPtr<WebCore::RTCIceCandidateDescriptor>):
      (WebKit::WebRTCICECandidateDescriptor::candidate):
      (WebKit::WebRTCICECandidateDescriptor::sdpMid):
      (WebKit::WebRTCICECandidateDescriptor::sdpMLineIndex):
      * platform/mediastream/RTCIceCandidateDescriptor.h:
      (WebCore::RTCIceCandidateDescriptor::candidate):
      (WebCore::RTCIceCandidateDescriptor::sdpMid):
      (WebCore::RTCIceCandidateDescriptor::sdpMLineIndex):
      * platform/mediastream/RTCPeerConnectionHandler.h:
      (WebCore):
      (RTCPeerConnectionHandler):
      * platform/mediastream/RTCPeerConnectionHandlerClient.h:
      (WebCore):
      (RTCPeerConnectionHandlerClient):
      * platform/mediastream/chromium/RTCPeerConnectionHandlerChromium.cpp:
      (WebCore::RTCPeerConnectionHandlerChromium::updateIce):
      (WebCore):
      (WebCore::RTCPeerConnectionHandlerChromium::addIceCandidate):
      (WebCore::RTCPeerConnectionHandlerChromium::didGenerateICECandidate):
      (WebCore::RTCPeerConnectionHandlerChromium::didChangeICEState):
      * platform/mediastream/chromium/RTCPeerConnectionHandlerChromium.h:
      (WebKit):
      (RTCPeerConnectionHandlerChromium):
      
      Source/WebKit/chromium:
      
      * src/AssertMatchingEnums.cpp:
      
      Tools:
      
      * DumpRenderTree/chromium/MockWebRTCPeerConnectionHandler.cpp:
      (MockWebRTCPeerConnectionHandler::MockWebRTCPeerConnectionHandler):
      (MockWebRTCPeerConnectionHandler::updateICE):
      (MockWebRTCPeerConnectionHandler::addICECandidate):
      * DumpRenderTree/chromium/MockWebRTCPeerConnectionHandler.h:
      (MockWebRTCPeerConnectionHandler):
      
      LayoutTests:
      
      * fast/mediastream/RTCPeerConnection-ice-expected.txt: Added.
      * fast/mediastream/RTCPeerConnection-ice.html: Added.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@127425 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      e902e881
    • allan.jensen@nokia.com's avatar
      Unreviewed build fix after r127421 · c89458b7
      allan.jensen@nokia.com authored
      * rendering/HitTestResult.cpp:
      (WebCore::HitTestLocation::HitTestLocation):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@127423 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      c89458b7
    • commit-queue@webkit.org's avatar
      [EFL][WK2] Add ewk_settings. · 4cdf2d7e
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=91206
      
      Patch by Eunmi Lee <eunmi15.lee@samsung.com> on 2012-09-03
      Reviewed by Gyuyoung Kim.
      
      Add the ewk_settings which wraps the WKPreferencesRef.
      The ewk_settings will be created by the ewk_view and it will be
      destroyed when the ewk_view is destroyed. I make each view to have
      its own group to make one ewk_settings sets preferences only for
      one ewk_view.
      The application can get the ewk_settings from ewk_view using
      ewk_view_settings_get() API.
      
      * UIProcess/API/efl/EWebKit2.h:
      * UIProcess/API/efl/ewk_settings.cpp: Added.
      (ewk_settings_enable_scripts_set):
      (ewk_settings_enable_scripts_get):
      (ewk_settings_auto_load_images_set):
      (ewk_settings_auto_load_images_get):
      * UIProcess/API/efl/ewk_settings.h: Added.
      * UIProcess/API/efl/ewk_settings_private.h: Added.
      (_Ewk_Settings):
      (_Ewk_Settings::_Ewk_Settings):
      * UIProcess/API/efl/ewk_view.cpp:
      (_Ewk_View_Private_Data):
      (_ewk_view_initialize):
      (ewk_view_settings_get):
      * UIProcess/API/efl/ewk_view.h:
      * UIProcess/API/efl/tests/test_ewk2_settings.cpp: Added.
      (TEST_F):
      * UIProcess/API/efl/tests/test_ewk2_view.cpp:
      (TEST_F):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@127422 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      4cdf2d7e
    • allan.jensen@nokia.com's avatar
      Move AllowShadowContent flag to HitTestRequest · 4c7e3523
      allan.jensen@nokia.com authored
      https://bugs.webkit.org/show_bug.cgi?id=95685
      
      Reviewed by Antonio Gomes.
      
      Moves the flag and updates the interface for HitTestResult::addNodeToRectBasedTestResult so that
      it can read the flag from HitTestRequest instead of from HitTestResult.
      
      No change in functionality. No new tests.
      
      * dom/Document.cpp:
      (WebCore::Document::nodesFromRect):
      * page/EventHandler.cpp:
      (WebCore::EventHandler::hitTestResultAtPoint):
      * rendering/HitTestRequest.h:
      * rendering/HitTestResult.cpp:
      (WebCore::HitTestLocation::HitTestLocation):
      (WebCore::HitTestResult::HitTestResult):
      (WebCore::HitTestResult::operator=):
      (WebCore::HitTestResult::addNodeToRectBasedTestResult):
      * rendering/HitTestResult.h:
      (HitTestLocation):
      (HitTestResult):
      * rendering/InlineFlowBox.cpp:
      (WebCore::InlineFlowBox::nodeAtPoint):
      * rendering/InlineTextBox.cpp:
      (WebCore::InlineTextBox::nodeAtPoint):
      * rendering/RenderBlock.cpp:
      (WebCore::RenderBlock::nodeAtPoint):
      * rendering/RenderBox.cpp:
      (WebCore::RenderBox::nodeAtPoint):
      * rendering/RenderImage.cpp:
      (WebCore::RenderImage::nodeAtPoint):
      * rendering/RenderLayer.cpp:
      (WebCore::RenderLayer::hitTestLayer):
      (WebCore::RenderLayer::hitTestList):
      * rendering/RenderMultiColumnSet.cpp:
      (WebCore::RenderMultiColumnSet::nodeAtPoint):
      * rendering/RenderRegion.cpp:
      (WebCore::RenderRegion::nodeAtPoint):
      * rendering/RenderTable.cpp:
      (WebCore::RenderTable::nodeAtPoint):
      * rendering/svg/RenderSVGRoot.cpp:
      (WebCore::RenderSVGRoot::nodeAtPoint):
      * rendering/svg/SVGInlineTextBox.cpp:
      (WebCore::SVGInlineTextBox::nodeAtPoint):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@127421 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      4c7e3523
    • allan.jensen@nokia.com's avatar
      Wheel-events fails temporarily after reload · 0b833670
      allan.jensen@nokia.com authored
      https://bugs.webkit.org/show_bug.cgi?id=94934
      
      Reviewed by Kenneth Rohde Christiansen.
      
      Set fixed visible content rect using visibleContentBounds instead of WebPage::size. Otherwise the
      content rect will be incorrectly set to the entire document size, when resizesToContents is active.
      
      Test: UIProcess/API/qt/tests/qmltests/WebView/tst_wheelEventHandling.qml
      
      * UIProcess/API/qt/tests/qmltests/WebView/tst_wheelEventHandling.qml:
      * WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp:
      (WebKit::WebFrameLoaderClient::transitionToCommittedForNewPage):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@127420 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      0b833670
    • commit-queue@webkit.org's avatar
      [EFL] Use WebKitVersion.h to get version information · 3b4355c0
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=95669
      
      Patch by Jinwoo Song <jinwoo7.song@samsung.com> on 2012-09-03
      Reviewed by Gyuyoung Kim.
      
      .:
      
      WEBKIT_USER_AGENT_MAJOR_VERSION and WEBKIT_USER_AGENT_MINOR_VERSION
      are defined as constant in the OptionsEfl.cmake. But we do not need
      to define these here but can use the defined constant in WebKitVersion.h.
      
      WebKitVersion.h is already generated with the version information
      from the Source/WebCore/Configurations/Version.xcconfig.
      
      * Source/cmake/OptionsEfl.cmake: Do not set WEBKIT_USER_AGENT_* variables.
      * Source/cmakeconfig.h.cmake: Remove WEBKIT_USER_AGENT_* definitions
      as no more port uses.
      
      Source/WebKit/efl:
      
      Use WEBKIT_MAJOR_VERSION and WEBKIT_MINOR_VERSION
      in the WebKitVersion.h
      
      Relocate the StorageTracker.h to keep the sorted order.
      
      * ewk/ewk_settings.cpp:
      (ewk_settings_default_user_agent_get):
      
      Source/WebKit2:
      
      Use WEBKIT_MAJOR_VERSION and WEBKIT_MINOR_VERSION
      in the WebKitVersion.h
      
      * UIProcess/efl/WebPageProxyEfl.cpp:
      (WebKit::WebPageProxy::standardUserAgent):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@127419 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      3b4355c0
    • apavlov@chromium.org's avatar
      Web Inspector: Unhide hidden characters · d94a7994
      apavlov@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=93888
      
      Reviewed by Pavel Feldman.
      
      Source/WebCore:
      
      Certain invisible characters will be rendered as HTML entity references in the DOM tree to make them visible to the user.
      
      * inspector/front-end/ElementsTreeOutline.js:
      (WebInspector.ElementsTreeElement.prototype._startEditingTextNode):
      
      LayoutTests:
      
      * inspector/elements/elements-panel-structure-expected.txt:
      * inspector/elements/elements-panel-structure.html:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@127418 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      d94a7994
    • pfeldman@chromium.org's avatar
      Web Inspector: rename JavaScriptContextManager to RuntimeModel for consistency. · 0b551f35
      pfeldman@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=95677
      
      Reviewed by Yury Semikhatsky.
      
      - renamed the file and the usages
      - renamed isolatedContextCreated to executionContextCreated for consistency.
      
      * WebCore.gypi:
      * WebCore.vcproj/WebCore.vcproj:
      * inspector/Inspector.json:
      * inspector/PageRuntimeAgent.cpp:
      (WebCore::PageRuntimeAgent::notifyContextCreated):
      * inspector/compile-front-end.py:
      * inspector/front-end/RuntimeModel.js: Renamed from Source/WebCore/inspector/front-end/JavaScriptContextManager.js.
      (WebInspector.RuntimeModel):
      (WebInspector.RuntimeModel.prototype._frameAdded):
      (WebInspector.RuntimeModel.prototype._frameDetached):
      (WebInspector.RuntimeModel.prototype._executionContextCreated):
      (WebInspector.RuntimeDispatcher):
      (WebInspector.RuntimeDispatcher.prototype.executionContextCreated):
      * inspector/front-end/WebKit.qrc:
      * inspector/front-end/inspector.html:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@127417 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      0b551f35
    • dominik.rottsches@intel.com's avatar
      [EFL] Unreviewed gardening. · 9215a299
      dominik.rottsches@intel.com authored
      Unskipping message-port-close.html after bug 85811 was resolved.
      
      * platform/efl/TestExpectations:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@127416 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      9215a299
    • caseq@chromium.org's avatar
      Web Inspector: use linkifyResourceAsNode, not linkifyLocation when linkifying resources in Timeline · ca26659a
      caseq@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=95540
      
      Reviewed by Pavel Feldman.
      
      Linkify recource details using WebInspector.linkifyResourceAsNode(), so these bypass linkifier. Also
      fix closure compiler warning.
      
      * inspector/front-end/TimelinePresentationModel.js:
      (WebInspector.TimelinePresentationModel.Record.prototype._generatePopupContentWithImagePreview):
      (WebInspector.TimelinePresentationModel.Record.prototype._linkifyLocation):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@127415 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      ca26659a
    • pfeldman@chromium.org's avatar
      Web Inspector: fixed front-end compilation warnings. · 672c0c14
      pfeldman@chromium.org authored
      Not reviewed.
      
      * inspector/front-end/FilteredItemSelectionDialog.js:
      * inspector/front-end/HeapSnapshotView.js:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@127414 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      672c0c14
    • pfeldman@chromium.org's avatar
      Web Inspector: paint grid on top of box highlight. · 9fe3e69b
      pfeldman@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=95676
      
      Reviewed by Alexander Pavlov.
      
      Otherwise, ruler numbers are not visible when selecting body.
      
      * inspector/InspectorOverlayPage.html:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@127413 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      9fe3e69b
    • pfeldman@chromium.org's avatar
      Web Inspector: get rid of context execution id fallback. · 948e28f4
      pfeldman@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=95567
      
      Reviewed by Yury Semikhatsky.
      
      Source/WebCore:
      
      We now assign execution context id upon changes in the UI.
      
      * inspector/front-end/ConsoleView.js:
      (WebInspector.ConsoleView.prototype.get statusBarItems):
      (WebInspector.ConsoleView.prototype._contextAdded):
      (WebInspector.ConsoleView.prototype._addContextList):
      (WebInspector.ConsoleView.prototype._contextListRemoved):
      (WebInspector.ConsoleView.prototype._updateExecutionContextSelector):
      (WebInspector.ConsoleView.prototype._appendExecutionContextOption):
      (WebInspector.ConsoleView.prototype._executionContextChanged):
      (WebInspector.ConsoleView.prototype._contextListUpdated):
      (WebInspector.ConsoleView.prototype._addedExecutionContext):
      (WebInspector.ConsoleView.prototype.evalInInspectedWindow.evalCallback):
      (WebInspector.ConsoleView.prototype.evalInInspectedWindow):
      (WebInspector.ConsoleView.prototype._enterKeyPressed):
      * inspector/front-end/JavaScriptContextManager.js:
      (WebInspector.JavaScriptContextManager):
      (WebInspector.JavaScriptContextManager.prototype.contextLists):
      (WebInspector.JavaScriptContextManager.prototype.contextByFrameAndSecurityOrigin):
      (WebInspector.JavaScriptContextManager.prototype._frameAdded):
      (WebInspector.JavaScriptContextManager.prototype._frameNavigated):
      (WebInspector.JavaScriptContextManager.prototype._frameDetached):
      (WebInspector.JavaScriptContextManager.prototype.isolatedContextCreated):
      (WebInspector.FrameExecutionContextList):
      (WebInspector.FrameExecutionContextList.prototype._frameNavigated):
      (WebInspector.FrameExecutionContextList.prototype._addExecutionContext):
      (WebInspector.FrameExecutionContextList.prototype.executionContexts):
      (WebInspector.FrameExecutionContextList.prototype.contextBySecurityOrigin):
      
      LayoutTests:
      
      * http/tests/inspector/console-cd-completions.html:
      * http/tests/inspector/console-cd.html:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@127412 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      948e28f4
    • commit-queue@webkit.org's avatar
      [EFL] Fix resizing issues related to URL bar in Minibrowser / EWebLauncher · 194bce3d
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=95670
      
      Patch by Christophe Dumez <christophe.dumez@intel.com> on 2012-09-03
      Reviewed by Kenneth Rohde Christiansen.
      
      Fix layout issues related to the URL bar in Minibrowser
      and EWebLauncher when the window is resized.
      
      The URL bar was not resized accordingly and the Web
      page was moved behing the URL bar, hiding part of it.
      
      * EWebLauncher/main.c:
      (on_ecore_evas_resize):
      (closeWindow):
      * EWebLauncher/url_bar.c:
      (url_bar_width_set):
      (url_bar_add):
      * EWebLauncher/url_bar.h:
      * MiniBrowser/efl/main.c:
      (on_ecore_evas_resize):
      (main):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@127411 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      194bce3d
    • yosin@chromium.org's avatar
      Unreviewed rebaseline for bug 94287. · 3325b32c
      yosin@chromium.org authored
      Update Chromium-Mac and Chromium-Win images for multiple field time input UI.
      
      * platform/chromium-mac-snowleopard/fast/forms/time-multiple-fields/time-multiple-fields-appearance-disabled-readonly-expected.png: Added.
      * platform/chromium-mac-snowleopard/fast/forms/time-multiple-fields/time-multiple-fields-appearance-pseudo-classes-expected.png: Added.
      * platform/chromium-mac-snowleopard/fast/forms/time-multiple-fields/time-multiple-fields-appearance-style-expected.png: Added.
      * platform/chromium-mac/fast/forms/time-multiple-fields/time-multiple-fields-appearance-disabled-readonly-expected.png: Added.
      * platform/chromium-mac/fast/forms/time-multiple-fields/time-multiple-fields-appearance-disabled-readonly-expected.txt: Added.
      * platform/chromium-mac/fast/forms/time-multiple-fields/time-multiple-fields-appearance-pseudo-classes-expected.png: Added.
      * platform/chromium-mac/fast/forms/time-multiple-fields/time-multiple-fields-appearance-pseudo-classes-expected.txt: Added.
      * platform/chromium-mac/fast/forms/time-multiple-fields/time-multiple-fields-appearance-style-expected.png: Added.
      * platform/chromium-mac/fast/forms/time-multiple-fields/time-multiple-fields-appearance-style-expected.txt: Added.
      * platform/chromium-win/fast/forms/time-multiple-fields/time-multiple-fields-appearance-disabled-readonly-expected.png: Added.
      * platform/chromium-win/fast/forms/time-multiple-fields/time-multiple-fields-appearance-disabled-readonly-expected.txt: Added.
      * platform/chromium-win/fast/forms/time-multiple-fields/time-multiple-fields-appearance-pseudo-classes-expected.png: Added.
      * platform/chromium-win/fast/forms/time-multiple-fields/time-multiple-fields-appearance-pseudo-classes-expected.txt: Added.
      * platform/chromium-win/fast/forms/time-multiple-fields/time-multiple-fields-appearance-style-expected.png: Added.
      * platform/chromium-win/fast/forms/time-multiple-fields/time-multiple-fields-appearance-style-expected.txt: Added.
      * platform/chromium/TestExpectations:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@127410 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      3325b32c
    • commit-queue@webkit.org's avatar
      [EFL] Mark http/tests/incremental/slow-utf8-text.pl as flaky · 69a3e570
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=95673
      
      Unreviewed EFL gardening.
      
      Mark http/tests/incremental/slow-utf8-text.pl as flaky
      as it does not always time out.
      
      Patch by Christophe Dumez <christophe.dumez@intel.com> on 2012-09-03
      
      * platform/efl/TestExpectations:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@127409 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      69a3e570
    • paroga@webkit.org's avatar
      Unreviewed. Build fix for ENABLE(CLASSIC_INTERPRETER) after r127393. · cf080b87
      paroga@webkit.org authored
      * interpreter/Interpreter.h:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@127408 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      cf080b87
    • yosin@chromium.org's avatar
      Unreviewed, rolling out r127406. · e9042970
      yosin@chromium.org authored
      http://trac.webkit.org/changeset/127406
      https://bugs.webkit.org/show_bug.cgi?id=95674
      
      Expectation images are missing (Requested by yosin1 on
      #webkit).
      
      Patch by Sheriff Bot <webkit.review.bot@gmail.com> on 2012-09-03
      
      * platform/chromium-mac-snowleopard/fast/forms/time-multiple-fields/time-multiple-fields-appearance-disabled-readonly-expected.png: Removed.
      * platform/chromium-mac/fast/forms/time-multiple-fields/time-multiple-fields-appearance-disabled-readonly-expected.png: Removed.
      * platform/chromium-mac/fast/forms/time-multiple-fields/time-multiple-fields-appearance-disabled-readonly-expected.txt: Removed.
      * platform/chromium-win/fast/forms/time-multiple-fields/time-multiple-fields-appearance-disabled-readonly-expected.png: Removed.
      * platform/chromium-win/fast/forms/time-multiple-fields/time-multiple-fields-appearance-disabled-readonly-expected.txt: Removed.
      * platform/chromium/TestExpectations:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@127407 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      e9042970