1. 10 May, 2013 26 commits
    • zandobersek@gmail.com's avatar
      [GTK] Generated files are regenerated always · 7eaaf7be
      zandobersek@gmail.com authored
      https://bugs.webkit.org/show_bug.cgi?id=115908
      
      Reviewed by Carlos Garcia Campos.
      
      No new tests - no change in functionality.
      
      * GNUmakefile.am: Don't treat the window constructors IDL file as a dependency of the JavaScriptCore bindings.
      The file is generated during the IDL preprocessing, and the JSC bindings already depend on that step through
      the idl_supplemental_dependencies file. Because of that the window constructors IDL file has a phony target
      which seems to confuse the bindings generation rule into thinking that a complete regeration of the bindings is required.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@149887 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      7eaaf7be
    • akling@apple.com's avatar
      Caching of generated images in CSS should be smarter. · f7adfcf4
      akling@apple.com authored
      <http://webkit.org/b/115902>
      <rdar://problem/13542727>
      
      Reviewed by Antti Koivisto.
      
      Add an IntSize => GeneratorGeneratedImage cache at the CSSImageGeneratorValue level.
      
      CSSGradientValue is currently the only CSSImageGeneratorValue subclass that makes use of the cache.
      Generated images are kept for 3 seconds after last use.
      
      The main problem with the previous approach was that background renderers (e.g <body>, <tr>, etc)
      would be passed to multiple CSSImageGeneratorValue::getImage() calls with different sizes requested
      for each of the descendent renderers that inherit their background from the same parent.
      The cache wasn't smart enough for this, it just thought the background renderer was changing size
      a lot, and would regenerate the image over and over.
      
      We already had caching of intermediate image buffers for GeneratorGeneratedImage::drawPattern().
      This removes the eviction timer from that cache so that the intermediate images can live a bit longer.
      
      (WebCore::CSSImageGeneratorValue::cachedImageForSize):
      (WebCore::CSSImageGeneratorValue::saveCachedImageForSize):
      
          Renamed from getImage() and putImage().
      
      (WebCore::CSSImageGeneratorValue::evictCachedGeneratedImage):
      (WebCore::CSSImageGeneratorValue::CachedGeneratedImage::CachedGeneratedImage):
      (WebCore::CSSImageGeneratorValue::CachedGeneratedImage::evictionTimerFired):
      
          Let the CachedGeneratedImage throw itself out from cache when the timer fires.
      
      * css/CSSImageGeneratorValue.h:
      (CachedGeneratedImage):
      
          Exactly what it sounds like. These go into CSSImageGeneratorValue::m_images with the size
          as the hash key.
      
      * platform/graphics/GeneratorGeneratedImage.cpp:
      (WebCore::GeneratorGeneratedImage::drawPattern):
      * platform/graphics/GeneratorGeneratedImage.h:
      (WebCore::GeneratorGeneratedImage::~GeneratorGeneratedImage):
      (WebCore::GeneratorGeneratedImage::GeneratorGeneratedImage):
      
          Keep the intermediate image for drawPattern() until destruction instead of dropping it on
          a timer. These objects are now evicted by the CSSImageGeneratorValue's image cache
          after 3 seconds of disuse rather than kept for the lifetime of the renderer.
      
      * css/CSSCanvasValue.cpp:
      (WebCore::CSSCanvasValue::canvasChanged):
      (WebCore::CSSCanvasValue::canvasResized):
      * css/CSSCrossfadeValue.cpp:
      (WebCore::CSSCrossfadeValue::crossfadeChanged):
      * rendering/style/StyleGeneratedImage.cpp:
      (WebCore::StyleGeneratedImage::addClient):
      * css/CSSImageGeneratorValue.cpp:
      (WebCore::CSSImageGeneratorValue::addClient):
      (WebCore::CSSImageGeneratorValue::removeClient):
      
          CSSImageGeneratorValue::m_clients is now a HashCountedSet<RenderObject*>, tweak accordingly.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@149886 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f7adfcf4
    • jer.noble@apple.com's avatar
      REGRESSION (r149439): Video turns blank upon entering full screen for the first time · ce8b7504
      jer.noble@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=115617
      
      Reviewed by Eric Carlson.
      
      Partially revert the change introduced in r149439 for OS X 10.8 and previous. On these
      platforms, create a window with a NSZeroSize initial frame, which fixes the "blank"
      first-full screen behavior.
      
      * UIProcess/API/mac/WKView.mm:
      (-[WKView createFullScreenWindow]):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@149885 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      ce8b7504
    • zandobersek@gmail.com's avatar
      [WK2] Make the WebSoupRequestManager a supplement to the WebProcess · 01c50313
      zandobersek@gmail.com authored
      https://bugs.webkit.org/show_bug.cgi?id=115717
      
      Reviewed by Andreas Kling.
      
      WebSoupRequestManager should inherit from WebProcessSupplement and should be used as such
      by the WebProcess. This removes the need for the m_soupRequestManager member variable in
      the WebProcess class and brings the WebSoupRequestManager in line with other manager classes
      of which instances are controlled by the WebProcess class.
      
      * WebProcess/WebProcess.cpp:
      (WebKit::WebProcess::WebProcess): Add  the WebSoupRequestManager as a supplement.
      * WebProcess/WebProcess.h:
      (WebProcess): Remove the m_soupRequestManager member variable and its getter method.
      * WebProcess/soup/WebKitSoupRequestGeneric.cpp:
      (webkitSoupRequestGenericSendAsync): Access the WebSoupRequestManager as a supplement.
      (webkitSoupRequestGenericSendFinish): Ditto.
      * WebProcess/soup/WebProcessSoup.cpp:
      (WebKit::WebProcess::platformInitializeWebProcess): Access the WebSoupRequestManager as a supplement.
      * WebProcess/soup/WebSoupRequestManager.cpp:
      (WebKit::WebSoupRequestManager::supplementName): Specify the supplement's name.
      * WebProcess/soup/WebSoupRequestManager.h:
      (WebSoupRequestManager): Inherit from the WebProcessSupplement interface.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@149884 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      01c50313
    • commit-queue@webkit.org's avatar
      [GTK] Module Cairo fails to build under jhbuild · 25f2be0a
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=115854
      
      Patch by Brian Holt <brian.holt@samsung.com> on 2013-05-10
      Reviewed by Martin Robinson.
      
      Make cairo depend on glib in jhbuild.modules.
      
      * gtk/jhbuild.modules:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@149883 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      25f2be0a
    • andersca@apple.com's avatar
      Remove MemoryUsageSupport class · 526c552a
      andersca@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=115913
      
      Reviewed by Andreas Kling.
      
      MemoryUsageSupport was just used by a single call site in InspectorTimelineAgent,
      and the function called always returns zero on all platforms! Remove it.
      
      * CMakeLists.txt:
      * GNUmakefile.list.am:
      * Target.pri:
      * WebCore.vcproj/WebCore.vcproj:
      * WebCore.vcxproj/WebCore.vcxproj:
      * WebCore.vcxproj/WebCore.vcxproj.filters:
      * WebCore.xcodeproj/project.pbxproj:
      * inspector/InspectorMemoryAgent.cpp:
      * inspector/InspectorTimelineAgent.cpp:
      (WebCore):
      (WebCore::InspectorTimelineAgent::setNativeHeapStatistics):
      * platform/MemoryUsageSupport.cpp: Removed.
      * platform/MemoryUsageSupport.h: Removed.
      * platform/qt/MemoryUsageSupportQt.cpp: Removed.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@149882 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      526c552a
    • rniwa@webkit.org's avatar
      REGRESSION (r149652): Videos do not play on cnn.com, just black box · b9e8c3fd
      rniwa@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=115887
      
      Reviewed by Antti Koivisto.
      
      Source/WebCore:
      
      The bug was caused by window and document named item maps counting the same element twice
      when it has the same id and name attribute values. Fixed the bug by avoiding to add or remove
      an element per id and name attribute updates when it had already been added or removed by
      name and id attribute updates respectively.
      
      We do this by checking whether the other attribute affects the element's precense in window
      and document named item maps and avoiding to add or remove the attribute when they do and
      the other attribute is present in updateId and updateName.
      
      Consider a scenario when an object element has id "foo", and name attribute is about to be also
      set to "foo". If the id attribute doesn't affect element's presense in window or document
      named item maps, we're done. If it does, then the maps already have this element so we don't
      want to add it again. Conversely, if the element already has id and name attributes set to
      "foo", and we're moving the id attribute, then we want to remove the element from the maps only
      if the id doesn't affect the presence of the element in the maps.
      
      Unfortuntely, this logic doesn't work when we're inserting or removing an element on its entirely
      because updateId and updateName are called when both id and name attributes are present so skip
      this step (AlwaysUpdateHTMLDocumentNamedItemMaps) for the id attribute to break the symmetry.
      
      Test: fast/dom/HTMLDocument/image-with-same-id-and-name.html
            fast/dom/HTMLDocument/object-with-same-id-and-name.html
      
      * dom/Element.cpp:
      (WebCore::Element::insertedInto): Call updateId and updateName with
      AlwaysUpdateHTMLDocumentNamedItemMaps.
      (WebCore::Element::removedFrom): Ditto.
      (WebCore::Element::updateName): Don't add or remove this element if the id attribute has already
      done so except when we're inserting, removing, or cloning an element.
      (WebCore::Element::updateId): Ditto for the name attribute.
      (WebCore::Element::cloneAttributesFromElement): Added a comment and assert that we never call this
      function when this element is in the document. We can't update window and documemt named item
      maps here because image element's id attribute value, for example, is present in the document's
      named item map if it has a name attribute. Since this function calls updateId and updateName
      before updating attributes, this check is going to fail in DocumentNameCollection's
      nodeMatchesIfIdAttributeMatch and bad things will happen.
      
      * dom/Element.h:
      
      * editing/ReplaceNodeWithSpanCommand.cpp:
      (WebCore::swapInNodePreservingAttributesAndChildren): Clone children and attributes before
      inserting the swapped span to avoid hitting the assertion in cloneAttributesFromElement we added.
      
      * html/HTMLImageElement.cpp:
      (WebCore::HTMLImageElement::parseAttribute):
      
      * html/HTMLObjectElement.cpp:
      (WebCore::HTMLObjectElement::updateDocNamedItem):
      
      LayoutTests:
      
      Add regression tests.
      
      * fast/dom/HTMLDocument/image-with-same-id-and-name-expected.txt: Added.
      * fast/dom/HTMLDocument/image-with-same-id-and-name.html: Added.
      * fast/dom/HTMLDocument/object-with-same-id-and-name-expected.txt: Added.
      * fast/dom/HTMLDocument/object-with-same-id-and-name.html: Added.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@149881 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      b9e8c3fd
    • dino@apple.com's avatar
      Don't trust character widths for internal OS X fonts in form controls · 643f50c9
      dino@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=115883
      <rdar://problem/13817757>
      
      Reviewed by Darin Adler.
      
      We ignore the character width for a bunch of fonts when predicting
      the width of a form control. Some of the internal fonts in OS X are
      not in the ignored list. Rather than add them, simply test for
      fonts whose family begins with a period character ".".
      
      * rendering/RenderTextControl.cpp:
      (WebCore::RenderTextControl::hasValidAvgCharWidth): Return false for
          any family that starts with "."
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@149880 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      643f50c9
    • carlosgc@webkit.org's avatar
      [GTK] Remove unnecessary GLIB_CHECK_VERSION #ifdefs · 8e515664
      carlosgc@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=115904
      
      Reviewed by Martin Robinson.
      
      Source/WebCore:
      
      * bindings/gobject/WebKitDOMEventTarget.cpp:
      * platform/gtk/GtkVersioning.c:
      * platform/gtk/GtkVersioning.h:
      
      Source/WebKit2:
      
      * UIProcess/API/gtk/tests/TestInspectorServer.cpp:
      (startTestServerMonitor):
      * UIProcess/API/gtk/tests/TestWebKitAccessibility.cpp:
      (startTestServerMonitor):
      
      Source/WTF:
      
      * wtf/gobject/GRefPtr.cpp:
      
      Tools:
      
      * ImageDiff/gtk/ImageDiff.cpp:
      (main):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@149879 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      8e515664
    • zarvai@inf.u-szeged.hu's avatar
      Unreviewed. Fix the ENABLE(SHARED_WORKERS) build after r149864. · 788840c1
      zarvai@inf.u-szeged.hu authored
      * workers/SharedWorkerThread.cpp: include "SecurityOrigin.h"
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@149878 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      788840c1
    • kbalazs@webkit.org's avatar
      Add my new address to contributors.json. (Unreviewed) · e50ae476
      kbalazs@webkit.org authored
      * Scripts/webkitpy/common/config/contributors.json:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@149877 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      e50ae476
    • csaavedra@igalia.com's avatar
      Fix build after r149864. · b07d3c90
      csaavedra@igalia.com authored
      Unreviewed build fix.
      
      * loader/ThreadableLoader.h: include <wtf/text/AtomicString.h>
      when building with RESOURCE_TIMING enabled.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@149876 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      b07d3c90
    • ch.dumez@sisa.samsung.com's avatar
      Unreviewed. Move myself to the reviewers list. · 08a0eb62
      ch.dumez@sisa.samsung.com authored
      * Scripts/webkitpy/common/config/contributors.json:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@149875 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      08a0eb62
    • ch.dumez@sisa.samsung.com's avatar
      Unreviewed EFL gardening. · c542c685
      ch.dumez@sisa.samsung.com authored
      Rebaseline fast/dom/Range/getClientRects.html for EFL port.
      Skip accessibility/poorly-formed-aria-table.html introduced in
      r149858 but failing on EFL port.
      
      * platform/efl/TestExpectations:
      * platform/efl/fast/dom/Range/getClientRects-expected.txt:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@149874 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      c542c685
    • andersca@apple.com's avatar
      Fix build. · a7b0c739
      andersca@apple.com authored
      * bindings/js/ScriptController.cpp:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@149873 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      a7b0c739
    • zarvai@inf.u-szeged.hu's avatar
      [Qt] Unreviewed gardening. · e34a2bbd
      zarvai@inf.u-szeged.hu authored
      * platform/qt/fast/js/global-constructors-attributes-expected.txt: Rebaselining after r149845.
      * platform/qt/inspector/console/command-line-api-expected.txt: Added after r149829.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@149872 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      e34a2bbd
    • andersca@apple.com's avatar
      Remove ScriptInstance.h · c9e8eb3f
      andersca@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=115900
      
      Reviewed by Andreas Kling.
      
      Remove yet another abstraction now that we don't support V8.
      
      * GNUmakefile.list.am:
      * WebCore.vcproj/WebCore.vcproj:
      * WebCore.vcxproj/WebCore.vcxproj:
      * WebCore.vcxproj/WebCore.vcxproj.filters:
      * WebCore.xcodeproj/project.pbxproj:
      * bindings/js/ScriptController.h:
      (Bindings):
      (ScriptController):
      * bindings/js/ScriptControllerMac.mm:
      (WebCore::ScriptController::createScriptInstanceForWidget):
      * bindings/js/ScriptInstance.h: Removed.
      * html/HTMLPlugInElement.cpp:
      (WebCore::HTMLPlugInElement::getInstance):
      * html/HTMLPlugInElement.h:
      (Bindings):
      (HTMLPlugInElement):
      * platform/graphics/wince/MediaPlayerProxy.h:
      (WebMediaPlayerProxy):
      * rendering/RenderEmbeddedObject.cpp:
      * rendering/RenderSnapshottedPlugIn.cpp:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@149871 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      c9e8eb3f
    • ch.dumez@sisa.samsung.com's avatar
      Unreviewed EFL gardening. · 63fdfa78
      ch.dumez@sisa.samsung.com authored
      Skip several remaining shadow dom tests and rebaseline a few others.
      
      * platform/efl/TestExpectations:
      * platform/efl/fast/images/crossfade-client-not-removed-crash-expected.txt: Added.
      * platform/efl/fast/js/dom-static-property-for-in-iteration-expected.txt:
      * platform/efl/inspector/console/command-line-api-expected.txt: Added.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@149870 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      63fdfa78
    • andersca@apple.com's avatar
      Unreviewed, rolling out r149866. · 7c4df494
      andersca@apple.com authored
      http://trac.webkit.org/changeset/149866
      https://bugs.webkit.org/show_bug.cgi?id=115898
      
      Broke tests
      
      * dom/Document.cpp:
      (WebCore::Document::setDomain):
      (WebCore::Document::initSecurityContext):
      * page/SecurityOrigin.cpp:
      (WebCore::SecurityOrigin::SecurityOrigin):
      (WebCore::SecurityOrigin::isolatedCopy):
      (WebCore::SecurityOrigin::setDomainFromDOM):
      (WebCore::SecurityOrigin::grantUniversalAccess):
      * page/SecurityOrigin.h:
      (SecurityOrigin):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@149869 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      7c4df494
    • ch.dumez@sisa.samsung.com's avatar
      Unreviewed. Add my email to a few watchlists. · 3ff2f019
      ch.dumez@sisa.samsung.com authored
      * Scripts/webkitpy/common/config/watchlist:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@149868 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      3ff2f019
    • abucur@adobe.com's avatar
      Remove overflow dead code · 3ec40ce7
      abucur@adobe.com authored
      https://bugs.webkit.org/show_bug.cgi?id=115893
      
      Reviewed by Antti Koivisto.
      
      The patch removes unused public overflow accesor functions from RenderOverflow and InlineFlowBox.
      
      Tests: no tests, code cleanup.
      
      * rendering/InlineFlowBox.h: Removed logicalLeftLayoutOverflow and logicalRightLayoutOverflow.
      * rendering/RenderOverflow.h: Removed setMinYLayoutOverflow, setMaxYLayoutOverflow,
          setMinXLayoutOverflow, setMaxXLayoutOverflow, setMinYVisualOverflow, setMaxYVisualOverflow,
          setMinXVisualOverflow and setMaxXVisualOverflow.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@149867 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      3ec40ce7
    • andersca@apple.com's avatar
      Begin making SecurityOrigin immutable · dfff6ca2
      andersca@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=115898
      
      Reviewed by Andreas Kling.
      
      Replace SecurityOrigin::setDomainFromDOM and SecurityOrigin::grantUniversalAccess with
      member functions that return new SecurityOrigin objects.
      
      * dom/Document.cpp:
      (WebCore::Document::setDomain):
      Update the security origin to one returned by copyWithDomainSetFromDOM.
      
      (WebCore::Document::initSecurityContext):
      Set the security origin to one returned by copyWithUniversalAccessGranted().
      
      * page/SecurityOrigin.cpp:
      (WebCore::SecurityOrigin::SecurityOrigin):
      Add a new constructor that takes all the member variables as parameters. This is a little unwieldy at the moment,
      but all the boolean parameters could be replaced by a bitmask of flags.
      
      (WebCore::SecurityOrigin::isolatedCopy):
      Call the new constructor.
      
      (WebCore::SecurityOrigin::copyWithDomainSetFromDOM):
      Return a new security origin with m_domainWasSetInDOM set to true and the domain updated.
      
      (WebCore::SecurityOrigin::copyWithUniversalAccessGranted):
      Return a new security origin with m_universalAccess set to true.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@149866 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      dfff6ca2
    • andersca@apple.com's avatar
      Remove ScriptController::updateSecurityOrigin · b61156da
      andersca@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=115895
      
      Reviewed by Antti Koivisto.
      
      ScriptController::updateSecurityOrigin is just dead code now that the V8 bindings are gone.
      
      * bindings/js/ScriptController.cpp:
      * bindings/js/ScriptController.h:
      * dom/Document.cpp:
      (WebCore::Document::setIsViewSource):
      (WebCore::Document::setDomain):
      * dom/Document.h:
      (Document):
      * dom/SecurityContext.cpp:
      (WebCore::SecurityContext::enforceSandboxFlags):
      * dom/SecurityContext.h:
      (SecurityContext):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@149865 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      b61156da
    • andersca@apple.com's avatar
      Stop including SecurityOrigin.h where unnecessary · 7e9e4116
      andersca@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=115897
      
      Reviewed by Antti Koivisto.
      
      Move rarely called functions out of line so headers don't have to include SecurityOrigin.h
      
      * Modules/indexeddb/IDBFactoryBackendImpl.h:
      * Modules/webdatabase/DatabaseBackendBase.cpp:
      (WebCore::DatabaseBackendBase::databaseDebugName):
      * Modules/webdatabase/DatabaseBackendBase.h:
      (DatabaseBackendBase):
      * Modules/webdatabase/DatabaseSync.h:
      * bindings/js/JSDOMWindowCustom.h:
      * html/parser/XSSAuditor.cpp:
      * loader/ThreadableLoader.cpp:
      (WebCore::ThreadableLoaderOptions::ThreadableLoaderOptions):
      (WebCore::ThreadableLoaderOptions::~ThreadableLoaderOptions):
      (WebCore::ThreadableLoader::create):
      * loader/ThreadableLoader.h:
      (ThreadableLoaderOptions):
      * loader/WorkerThreadableLoader.cpp:
      * workers/DedicatedWorkerContext.cpp:
      * workers/DedicatedWorkerThread.cpp:
      * workers/SharedWorkerContext.cpp:
      * workers/WorkerThread.cpp:
      * workers/WorkerThread.h:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@149864 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      7e9e4116
    • commit-queue@webkit.org's avatar
      Unicode support missing from string representation of Contributors in committers.py · f8936e73
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=115859
      
      Patch by Simon Pena <simon.pena@samsung.com> on 2013-05-10
      Reviewed by Darin Adler.
      
      Contributors, in committers.py, provided a string representation in __str__ which
      didn't support unicode characters, so printing a contributor would fail in that case.
      This patch implements __unicode__ and makes __str__ use it to represent a contributor.
      The unit tests are updated accordingly, so they ensure that a unicode name can be shown.
      
      * Scripts/webkitpy/common/config/committers.py: Move the existing string representation
      to the newly implemented method __unicode__, and make __str__ display its utf-8 encoded
      representation.
      (Contributor.__str__):
      (Contributor):
      (Contributor.__unicode__):
      * Scripts/webkitpy/common/config/committers_unittest.py: Add a new test that checks that
      a contributor with unicode characters can be represented as a string.
      (CommittersTest):
      (CommittersTest.test_contributor_encoding):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@149863 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f8936e73
    • carlosgc@webkit.org's avatar
      Unreviewed. Fix GTK+ build after r149839. · 7ffcdb10
      carlosgc@webkit.org authored
      * platform/gtk/RenderThemeGtk3.cpp:
      (WebCore::gtkStyleChangedCallback):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@149862 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      7ffcdb10
  2. 09 May, 2013 14 commits
    • commit-queue@webkit.org's avatar
      Unskipped the webarchive tests for Mac that are not skipped for a reason other than · 9561ea36
      commit-queue@webkit.org authored
      dumpDOMAsWebArchive not being implemented, which was fixed in r149692.
      https://bugs.webkit.org/show_bug.cgi?id=115819
      
      Patch by Alex Christensen <achristensen@apple.com> on 2013-05-09
      Reviewed by Benjamin Poulain.
      
      * platform/efl-wk2/TestExpectations:
      Skip webarchive tests.
      * platform/gtk-wk2/TestExpectations:
      Skip webarchive tests.
      * platform/qt-5.0-mac-wk2/TestExpectations:
      Skip webarchive tests.
      * platform/qt-5.0-wk2/TestExpectations:
      Skip webarchive tests.
      * platform/wk2/TestExpectations:
      Removed universal skipping of webarchive tests, noted which tests are still skipped with bug numbers.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@149859 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      9561ea36
    • cfleizach@apple.com's avatar
      AX: VoiceOver is no longer seeing items in poorly formed tables · 44996313
      cfleizach@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=115837
      
      Reviewed by Darin Adler.
      
      Source/WebCore: 
      
      In case the author didn't include the rows of a table as the 
      direct children, a table needs to dive down its descendant chain
      until the rows are found. 
      
      I also took the opportunity to clean up a bit around what the different
      meanings of table are in the accessibility classes.
      
      Test: accessibility/poorly-formed-aria-table.html
      
      * accessibility/AccessibilityARIAGrid.cpp:
      (WebCore::AccessibilityARIAGrid::addRowDescendant):
      (WebCore::AccessibilityARIAGrid::addChildren):
      * accessibility/AccessibilityARIAGrid.h:
      (AccessibilityARIAGrid):
      * accessibility/AccessibilityARIAGridRow.cpp:
      (WebCore::AccessibilityARIAGridRow::parentTable):
      (WebCore):
      * accessibility/AccessibilityARIAGridRow.h:
      (AccessibilityARIAGridRow):
      * accessibility/AccessibilityObject.h:
      (WebCore::AccessibilityObject::isTable):
      * accessibility/AccessibilityTable.h:
      (AccessibilityTable):
      (WebCore::AccessibilityTable::isTable):
      (WebCore::toAccessibilityTable):
      * accessibility/AccessibilityTableRow.cpp:
      (WebCore::AccessibilityTableRow::parentTable):
      
      LayoutTests: 
      
      * accessibility/poorly-formed-aria-table-expected.txt: Added.
      * accessibility/poorly-formed-aria-table.html: Added.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@149858 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      44996313
    • zoltan@webkit.org's avatar
      [Qt] REGRESSION (r148975) shape-inside-percentage.html and... · 1e1a2b7d
      zoltan@webkit.org authored
      [Qt] REGRESSION (r148975) shape-inside-percentage.html and shape-inside-overflow-fixed-dimensions.html are failing after r148975
      https://bugs.webkit.org/show_bug.cgi?id=115053
      
      Reviewed by Alexandru Chiculita.
      
      I changed the tests to use Ahem font (overflow will be the same on every port) and modify the markup in order to be the similar
      for the two tests. The change fixes both tests and make them passing on Qt as well. I removed the tests from the TestExpectations.
      
      * fast/exclusions/shape-inside/shape-inside-overflow-fixed-dimensions-expected.html:
      * fast/exclusions/shape-inside/shape-inside-overflow-fixed-dimensions.html:
      * fast/exclusions/shape-inside/shape-inside-percentage-expected.html:
      * fast/exclusions/shape-inside/shape-inside-percentage.html:
      * platform/qt/TestExpectations:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@149857 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      1e1a2b7d
    • commit-queue@webkit.org's avatar
      REGRESSION: Disabled multiline select element now responds to (certain) clicks · 55af81fa
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=115710
      
      Patch by Yael Aharon <yael.aharon@intel.com> on 2013-05-09
      Reviewed by Kent Tamura.
      
      Source/WebCore:
      
      After http://trac.webkit.org/changeset/140286, select elements can scroll whether they
      are disabled or not. While they scroll, they also change the selected item.
      This patch allows the select element to scroll, but does not change the selection
      if the select element is disabled.
      
      Test: fast/forms/select/listbox-disabled-scroll-no-onchange.html
      Test: fast/forms/select/listbox-disabled-no-autoscroll.html
      
      * rendering/RenderListBox.cpp:
      (WebCore::RenderListBox::autoscroll):
      * rendering/RenderListBox.cpp:
      (WebCore::RenderListBox::stopAutoscroll):
      
      LayoutTests:
      
      Test that a disabled element does not change selection while scrolling.
      
      * fast/forms/select/listbox-disabled-scroll-no-onchange-expected.txt: Added.
      * fast/forms/select/listbox-disabled-scroll-no-onchange.html: Added.
      * fast/forms/select/listbox-disabled-no-autoscroll.html: Added.
      * fast/forms/select/listbox-disabled-no-autoscroll-expected.html: Added.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@149856 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      55af81fa
    • paroga@webkit.org's avatar
      [WIN][DRT] Remove duplicated (start|stop)JavaScriptThreads() · 0e09c3ba
      paroga@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=92371
      
      Reviewed by Brent Fulgham.
      
      Use JavaScriptThreading.cpp where the same functionality is
      implemented too. This reduces the dependency on the pthread
      library. Also replace assert() with WebKit ASSERT().
      
      * DumpRenderTree/DumpRenderTree.vcxproj/DumpRenderTree/DumpRenderTree.vcxproj:
      * DumpRenderTree/win/DumpRenderTree.cpp:
      (dumpHistoryItem):
      (dumpBackForwardList):
      * DumpRenderTree/win/DumpRenderTree.vcproj:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@149855 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      0e09c3ba
    • andersca@apple.com's avatar
      Clean up SecurityOrigin::databaseIdentifier · f89a5520
      andersca@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=115882
      
      Reviewed by Beth Dakin.
      
      Remove m_encodedHost and just call encodeHost from databaseIdentifier().
      Also, use a StringBuilder when constructing the database identifier to avoid allocating
      temporary String objects over and over.
      
      * page/SecurityOrigin.cpp:
      (WebCore::SecurityOrigin::SecurityOrigin):
      (WebCore):
      (WebCore::SecurityOrigin::createFromDatabaseIdentifier):
      (WebCore::SecurityOrigin::databaseIdentifier):
      * page/SecurityOrigin.h:
      (SecurityOrigin):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@149854 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f89a5520
    • andersca@apple.com's avatar
      Remove m_securityOrigin from XMLHttpRequest · e6c388c7
      andersca@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=115881
      
      Reviewed by Alexey Proskuryakov.
      
      The security origin passed to XMLHttpRequest::create was always null, so just get rid of the member variable completely.
      
      * xml/XMLHttpRequest.cpp:
      (WebCore::XMLHttpRequest::create):
      (WebCore::XMLHttpRequest::XMLHttpRequest):
      (WebCore::XMLHttpRequest::securityOrigin):
      * xml/XMLHttpRequest.h:
      (XMLHttpRequest):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@149853 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      e6c388c7
    • andersca@apple.com's avatar
      Fix build. · 0762fd98
      andersca@apple.com authored
      * WebProcess/InjectedBundle/API/mac/WKWebProcessPlugIn.mm:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@149852 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      0762fd98
    • ch.dumez@sisa.samsung.com's avatar
      Unreviewed build fix after r149836. · a9a1b17b
      ch.dumez@sisa.samsung.com authored
      It broke at least EFL and GTK builds. Move new static members initialization
      outside the class. Those need to have a definition outside the class because
      their address is used (e.g. CodeCacheMap::nonGlobalWorkingSetMaxEntries).
      
      * runtime/CodeCache.cpp:
      (JSC):
      * runtime/CodeCache.h:
      (CodeCacheMap):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@149850 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      a9a1b17b
    • andersca@apple.com's avatar
      Enable UI process storage · c9c36dbe
      andersca@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=115879
      <rdar://problem/12239765>
      
      Reviewed by Beth Dakin.
      
      * WebProcess/WebCoreSupport/WebPlatformStrategies.cpp:
      Flip the switch.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@149849 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      c9c36dbe
    • andersca@apple.com's avatar
      Remove extra spaces between right angle brackets in template declarations · c2550692
      andersca@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=115877
      
      Reviewed by Beth Dakin.
      
      C++11 doesn't require spaces between right angle brackets so remove all of them.
      
      * NetworkProcess/FileAPI/NetworkBlobRegistry.cpp:
      (WebKit::NetworkBlobRegistry::registerBlobURL):
      (WebKit::NetworkBlobRegistry::sandboxExtensions):
      * NetworkProcess/FileAPI/NetworkBlobRegistry.h:
      (NetworkBlobRegistry):
      * NetworkProcess/HostRecord.h:
      (HostRecord):
      * NetworkProcess/NetworkConnectionToWebProcess.cpp:
      (WebKit::NetworkConnectionToWebProcess::didReceiveMessage):
      (WebKit::NetworkConnectionToWebProcess::didClose):
      (WebKit::NetworkConnectionToWebProcess::registerBlobURL):
      * NetworkProcess/NetworkConnectionToWebProcess.h:
      (NetworkConnectionToWebProcess):
      * NetworkProcess/NetworkProcess.h:
      (NetworkProcess):
      * NetworkProcess/NetworkResourceLoadScheduler.cpp:
      (WebKit::NetworkResourceLoadScheduler::servePendingRequests):
      (WebKit::NetworkResourceLoadScheduler::removeScheduledLoaders):
      * NetworkProcess/NetworkResourceLoadScheduler.h:
      * NetworkProcess/SchedulableLoader.cpp:
      (WebKit::SchedulableLoader::SchedulableLoader):
      * NetworkProcess/SchedulableLoader.h:
      (SchedulableLoader):
      * Platform/CoreIPC/ArgumentCoders.h:
      * Platform/CoreIPC/Connection.cpp:
      (Connection::SyncMessageState):
      (CoreIPC::Connection::waitForMessage):
      (CoreIPC::Connection::processIncomingMessage):
      * Platform/CoreIPC/Connection.h:
      (Connection):
      * Platform/WorkQueue.h:
      (WorkQueue):
      * PluginProcess/PluginProcess.h:
      (PluginProcess):
      * Scripts/webkit2/messages_unittest.py:
      (CoreIPC):
      * Shared/BlockingResponseMap.h:
      (BlockingResponseMap):
      * Shared/ChildProcessProxy.h:
      (ChildProcessProxy):
      * Shared/ImmutableArray.cpp:
      (WebKit::ImmutableArray::ImmutableArray):
      * Shared/ImmutableArray.h:
      (WebKit::ImmutableArray::adopt):
      (ImmutableArray):
      * Shared/ImmutableDictionary.cpp:
      (WebKit::ImmutableDictionary::keys):
      * Shared/ImmutableDictionary.h:
      (ImmutableDictionary):
      * Shared/Network/CustomProtocols/CustomProtocolManager.h:
      (CustomProtocolManager):
      * Shared/SecurityOriginData.cpp:
      (WebKit::performAPICallbackWithSecurityOriginDataVector):
      * Shared/SessionState.cpp:
      * Shared/StatisticsData.h:
      (StatisticsData):
      * Shared/UserMessageCoders.h:
      (WebKit::UserMessageDecoder::baseDecode):
      * Shared/WebArchive.cpp:
      (WebKit::WebArchive::WebArchive):
      (WebKit::WebArchive::subresources):
      (WebKit::WebArchive::subframeArchives):
      * Shared/WebContextMenuItem.cpp:
      (WebKit::WebContextMenuItem::submenuItemsAsImmutableArray):
      * Shared/WebOpenPanelParameters.cpp:
      (WebKit::WebOpenPanelParameters::acceptMIMETypes):
      (WebKit::WebOpenPanelParameters::selectedFileNames):
      * Shared/mac/ArgumentCodersMac.mm:
      (CoreIPC::encode):
      * SharedWorkerProcess/SharedWorkerProcess.h:
      (SharedWorkerProcess):
      * UIProcess/API/mac/WKPrintingView.h:
      (WebFrameProxy):
      * UIProcess/API/mac/WKPrintingView.mm:
      (-[WKPrintingView _drawPreview:]):
      * UIProcess/API/mac/WKView.mm:
      (WebKit):
      * UIProcess/Downloads/DownloadProxyMap.cpp:
      (WebKit::DownloadProxyMap::processDidClose):
      * UIProcess/Downloads/DownloadProxyMap.h:
      (DownloadProxyMap):
      * UIProcess/GeolocationPermissionRequestManagerProxy.h:
      (GeolocationPermissionRequestManagerProxy):
      * UIProcess/Launcher/mac/DynamicLinkerEnvironmentExtractor.h:
      (DynamicLinkerEnvironmentExtractor):
      * UIProcess/Network/CustomProtocols/CustomProtocolManagerProxy.h:
      (CustomProtocolManagerProxy):
      * UIProcess/Network/NetworkProcessProxy.h:
      (NetworkProcessProxy):
      * UIProcess/Notifications/NotificationPermissionRequestManagerProxy.h:
      (NotificationPermissionRequestManagerProxy):
      * UIProcess/Notifications/WebNotificationManagerProxy.h:
      (WebNotificationManagerProxy):
      * UIProcess/Plugins/PluginProcessManager.h:
      (PluginProcessManager):
      * UIProcess/Plugins/PluginProcessProxy.h:
      (PluginProcessProxy):
      * UIProcess/Plugins/WebPluginSiteDataManager.cpp:
      (WebKit::WebPluginSiteDataManager::didGetSitesWithData):
      * UIProcess/Plugins/WebPluginSiteDataManager.h:
      (WebPluginSiteDataManager):
      * UIProcess/SharedWorkers/SharedWorkerProcessManager.h:
      (SharedWorkerProcessManager):
      * UIProcess/SharedWorkers/SharedWorkerProcessProxy.h:
      (SharedWorkerProcessProxy):
      * UIProcess/StatisticsRequest.cpp:
      (WebKit::StatisticsRequest::completedRequest):
      * UIProcess/Storage/StorageManager.cpp:
      (StorageManager::StorageArea):
      (WebKit::StorageManager::StorageArea::dispatchEvents):
      (StorageManager::SessionStorageNamespace):
      (WebKit::StorageManager::SessionStorageNamespace::getOrCreateStorageArea):
      (WebKit::StorageManager::SessionStorageNamespace::cloneTo):
      (WebKit::StorageManager::createLocalStorageMap):
      (WebKit::StorageManager::createSessionStorageMap):
      (WebKit::StorageManager::destroyStorageMap):
      (WebKit::StorageManager::invalidateConnectionInternal):
      (WebKit::StorageManager::findStorageArea):
      (WebKit::StorageManager::getOrCreateLocalStorageNamespace):
      * UIProcess/Storage/StorageManager.h:
      (StorageManager):
      * UIProcess/WebApplicationCacheManagerProxy.h:
      (WebApplicationCacheManagerProxy):
      * UIProcess/WebBackForwardList.cpp:
      (WebKit::WebBackForwardList::addItem):
      (WebKit::WebBackForwardList::backListAsImmutableArrayWithLimit):
      (WebKit::WebBackForwardList::forwardListAsImmutableArrayWithLimit):
      (WebKit::WebBackForwardList::clear):
      * UIProcess/WebBackForwardList.h:
      (WebKit):
      * UIProcess/WebContext.cpp:
      (WebKit::WebContext::createNewWebProcess):
      (WebKit::WebContext::enableProcessTermination):
      (WebKit::WebContext::pluginInfoStoreDidLoadPlugins):
      * UIProcess/WebContext.h:
      (WebContext):
      * UIProcess/WebCookieManagerProxy.cpp:
      (WebKit::WebCookieManagerProxy::didGetHostnamesWithCookies):
      * UIProcess/WebCookieManagerProxy.h:
      (WebCookieManagerProxy):
      * UIProcess/WebDatabaseManagerProxy.cpp:
      (WebKit::WebDatabaseManagerProxy::didGetDatabasesByOrigin):
      (WebKit::WebDatabaseManagerProxy::didGetDatabaseOrigins):
      * UIProcess/WebDatabaseManagerProxy.h:
      (WebDatabaseManagerProxy):
      * UIProcess/WebFormClient.cpp:
      (WebKit::WebFormClient::willSubmitForm):
      * UIProcess/WebFormClient.h:
      (WebFormClient):
      * UIProcess/WebKeyValueStorageManagerProxy.h:
      (WebKeyValueStorageManagerProxy):
      * UIProcess/WebLoaderClient.cpp:
      (WebKit::WebLoaderClient::didChangeBackForwardList):
      * UIProcess/WebLoaderClient.h:
      (WebLoaderClient):
      * UIProcess/WebMediaCacheManagerProxy.cpp:
      (WebKit::WebMediaCacheManagerProxy::didGetHostnamesWithMediaCache):
      * UIProcess/WebMediaCacheManagerProxy.h:
      (WebMediaCacheManagerProxy):
      * UIProcess/WebPageContextMenuClient.cpp:
      (WebKit::WebPageContextMenuClient::showContextMenu):
      * UIProcess/WebPageProxy.cpp:
      (ExceededDatabaseQuotaRecords):
      (WebKit::WebPageProxy::relatedPages):
      (WebKit::WebPageProxy::didChangeBackForwardList):
      (WebKit::WebPageProxy::handleWheelEvent):
      (WebKit::WebPageProxy::processNextQueuedWheelEvent):
      (WebKit::WebPageProxy::findStringMatches):
      (WebKit::WebPageProxy::willSubmitForm):
      (WebKit::WebPageProxy::pluginInformationDictionary):
      (WebKit::WebPageProxy::didFindStringMatches):
      (WebKit::WebPageProxy::didReceiveEvent):
      * UIProcess/WebPageProxy.h:
      (WebPageProxy):
      * UIProcess/WebPageProxy.messages.in:
      * UIProcess/WebProcessProxy.cpp:
      (WebKit::WebProcessProxy::disconnect):
      (WebKit::WebProcessProxy::didClose):
      (WebKit::WebProcessProxy::didBecomeUnresponsive):
      (WebKit::WebProcessProxy::interactionOccurredWhileUnresponsive):
      (WebKit::WebProcessProxy::didBecomeResponsive):
      (WebKit::WebProcessProxy::disconnectFramesFromPage):
      (WebKit::WebProcessProxy::frameCountInPage):
      * UIProcess/WebProcessProxy.h:
      (WebProcessProxy):
      * UIProcess/WebResourceCacheManagerProxy.h:
      (WebResourceCacheManagerProxy):
      * UIProcess/mac/WebContextMenuProxyMac.mm:
      (WebKit::populateNSMenu):
      (WebKit::nsMenuItemVector):
      * WebProcess/ApplicationCache/WebApplicationCacheManager.cpp:
      (WebKit::WebApplicationCacheManager::getApplicationCacheOrigins):
      * WebProcess/Geolocation/WebGeolocationManager.cpp:
      (WebKit::WebGeolocationManager::didChangePosition):
      (WebKit::WebGeolocationManager::didFailToDeterminePosition):
      * WebProcess/IconDatabase/WebIconDatabaseProxy.h:
      (WebIconDatabaseProxy):
      * WebProcess/InjectedBundle/API/mac/WKWebProcessPlugIn.mm:
      * WebProcess/InjectedBundle/InjectedBundle.cpp:
      (WebKit::InjectedBundle::originsWithApplicationCache):
      * WebProcess/InjectedBundle/InjectedBundleBackForwardListItem.cpp:
      (WebKit::InjectedBundleBackForwardListItem::children):
      * WebProcess/InjectedBundle/InjectedBundlePageEditorClient.cpp:
      (WebKit::InjectedBundlePageEditorClient::getPasteboardDataForRange):
      * WebProcess/InjectedBundle/InjectedBundlePageEditorClient.h:
      (InjectedBundlePageEditorClient):
      * WebProcess/InjectedBundle/InjectedBundlePageFormClient.cpp:
      (WebKit::InjectedBundlePageFormClient::willSendSubmitEvent):
      (WebKit::InjectedBundlePageFormClient::willSubmitForm):
      * WebProcess/InjectedBundle/InjectedBundlePageFormClient.h:
      (InjectedBundlePageFormClient):
      * WebProcess/InjectedBundle/InjectedBundlePageLoaderClient.cpp:
      (WebKit::InjectedBundlePageLoaderClient::featuresUsedInPage):
      * WebProcess/Network/WebResourceLoadScheduler.cpp:
      (WebKit::WebResourceLoadScheduler::internallyFailedLoadTimerFired):
      (WebKit::WebResourceLoadScheduler::networkProcessCrashed):
      * WebProcess/Network/WebResourceLoadScheduler.h:
      (WebResourceLoadScheduler):
      * WebProcess/Notifications/NotificationPermissionRequestManager.h:
      (NotificationPermissionRequestManager):
      * WebProcess/Notifications/WebNotificationManager.h:
      (WebNotificationManager):
      * WebProcess/Plugins/Netscape/NPRuntimeObjectMap.cpp:
      (WebKit::NPRuntimeObjectMap::invalidate):
      * WebProcess/Plugins/Netscape/NPRuntimeObjectMap.h:
      (NPRuntimeObjectMap):
      * WebProcess/Plugins/Netscape/NetscapePlugin.cpp:
      (WebKit::NetscapePlugin::stopAllStreams):
      * WebProcess/Plugins/Netscape/NetscapePlugin.h:
      (NetscapePlugin):
      * WebProcess/Plugins/Netscape/NetscapePluginStream.h:
      (NetscapePluginStream):
      * WebProcess/Plugins/PDF/SimplePDFPlugin.mm:
      (getAllScriptsInPDFDocument):
      (WebKit::SimplePDFPlugin::runScriptsInPDFDocument):
      * WebProcess/Plugins/PluginProcessConnectionManager.h:
      (PluginProcessConnectionManager):
      * WebProcess/Plugins/PluginView.cpp:
      (WebKit::PluginView::cancelAllStreams):
      * WebProcess/Plugins/PluginView.h:
      (PluginView):
      * WebProcess/Storage/StorageAreaMap.cpp:
      (WebKit::StorageAreaMap::dispatchSessionStorageEvent):
      (WebKit::StorageAreaMap::dispatchLocalStorageEvent):
      * WebProcess/Storage/StorageNamespaceImpl.cpp:
      (WebKit::StorageNamespaceImpl::storageArea):
      * WebProcess/Storage/StorageNamespaceImpl.h:
      (StorageNamespaceImpl):
      * WebProcess/Storage/WebKeyValueStorageManager.cpp:
      (WebKit::keyValueStorageOriginIdentifiers):
      * WebProcess/WebCoreSupport/WebDatabaseManager.cpp:
      (WebKit::WebDatabaseManager::getDatabasesByOrigin):
      (WebKit::WebDatabaseManager::getDatabaseOrigins):
      * WebProcess/WebCoreSupport/WebEditorClient.cpp:
      (WebKit::WebEditorClient::getClientPasteboardDataForRange):
      * WebProcess/WebCoreSupport/WebEditorClient.h:
      * WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp:
      (WebKit::WebFrameLoaderClient::dispatchWillSubmitForm):
      * WebProcess/WebCoreSupport/mac/WebEditorClientMac.mm:
      (WebKit::WebEditorClient::documentFragmentFromAttributedString):
      * WebProcess/WebPage/EventDispatcher.h:
      (EventDispatcher):
      * WebProcess/WebPage/FindController.cpp:
      (WebKit::FindController::findStringMatches):
      * WebProcess/WebPage/FindController.h:
      (FindController):
      * WebProcess/WebPage/WebBackForwardListProxy.cpp:
      (WebKit):
      * WebProcess/WebPage/WebFrame.cpp:
      (WebKit::WebFrame::childFrames):
      * WebProcess/WebPage/WebPage.cpp:
      (WebKit::WebPage::trackedRepaintRects):
      * WebProcess/WebPage/WebPage.h:
      (WebKit):
      (WebPage):
      * WebProcess/WebPage/mac/LayerTreeHostMac.h:
      * WebProcess/WebPage/mac/TiledCoreAnimationDrawingArea.h:
      (TiledCoreAnimationDrawingArea):
      * WebProcess/WebProcess.cpp:
      (WebKit::WebProcess::visitedLinkStateChanged):
      (WebKit::WebProcess::allVisitedLinkStateChanged):
      (WebKit::WebProcess::focusedWebPage):
      (WebKit::WebProcess::createWebPage):
      (WebKit::WebProcess::didClose):
      (WebKit::WebProcess::webPageGroup):
      (WebKit::addCaseFoldedCharacters):
      (WebKit::getWebCoreMemoryCacheStatistics):
      (WebKit::WebProcess::setTextCheckerState):
      * WebProcess/WebProcess.h:
      (WebProcess):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@149848 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      c2550692
    • andersca@apple.com's avatar
      Implement WebPlatformStrategies::transientLocalStorageNamespace · 99cf7460
      andersca@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=115876
      <rdar://problem/13852871>
      
      Reviewed by Beth Dakin.
      
      * WebProcess/WebCoreSupport/WebPlatformStrategies.cpp:
      (WebKit::WebPlatformStrategies::transientLocalStorageNamespace):
      Return a session storage namespace for a random page when UI process storage is enabled,
      otherwise call the base class implementation.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@149847 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      99cf7460
    • roger_fong@apple.com's avatar
      Unreviewed mac gardening. · 629e8254
      roger_fong@apple.com authored
      * platform/mac/inspector/command-line-api-expected.txt: Removed.
      * platform/mac/inspector/console: Added.
      * platform/mac/inspector/console/command-line-api-expected.txt: Added.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@149846 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      629e8254
    • ch.dumez@sisa.samsung.com's avatar
      [NoInterfaceObject] extended attribute should be removed for several interfaces · b973ffd0
      ch.dumez@sisa.samsung.com authored
      https://bugs.webkit.org/show_bug.cgi?id=115852
      
      Reviewed by Benjamin Poulain.
      
      Source/WebCore:
      
      Remove [NoInterfaceObject] extended attribute from the following Web IDL
      interfaces: SecurityPolicy, History, Location, Navigator, Performance,
      PerformanceEntry, PerformanceMark, PerformanceMeasure, PerformanceNavigation,
      PerformanceResourceTiming, PerformanceTiming and Screen.
      
      These interfaces should not have the [NoInterfaceObject] extended attribute
      according to their respective specifications:
      - http://www.w3.org/html/wg/drafts/html/master/browsers.html#the-history-interface
      - http://www.w3.org/html/wg/drafts/html/master/browsers.html#the-location-interface
      - https://dvcs.w3.org/hg/content-security-policy/raw-file/tip/csp-specification.dev.html#securitypolicy
      - http://www.w3.org/html/wg/drafts/html/master/webappapis.html#the-navigator-object
      - http://www.w3.org/TR/navigation-timing/#performance
      - https://dvcs.w3.org/hg/webperf/raw-file/tip/specs/PerformanceTimeline/Overview.html#sec-PerformanceEntry-interface
      - http://www.w3.org/TR/navigation-timing/#performancenavigation
      - http://www.w3.org/TR/navigation-timing/#performancetiming
      - http://www.w3.org/TR/user-timing/#performancemark
      - http://www.w3.org/TR/user-timing/#performancemeasure
      - http://www.w3c-test.org/webperf/specs/ResourceTiming/#performanceresourcetiming
      - http://dev.w3.org/csswg/cssom-view/#the-screen-interface
      
      The new behavior is consistent with the specifications, Firefox and soon Blink.
      
      No new tests, already covered by existing tests.
      
      * page/DOMSecurityPolicy.idl:
      * page/History.idl:
      * page/Location.idl:
      * page/Navigator.idl:
      * page/Performance.idl:
      * page/PerformanceEntry.idl:
      * page/PerformanceMark.idl:
      * page/PerformanceMeasure.idl:
      * page/PerformanceNavigation.idl:
      * page/PerformanceResourceTiming.idl:
      * page/PerformanceTiming.idl:
      * page/Screen.idl:
      
      LayoutTests:
      
      Rebaseline several layout tests whose output has changed now that a few more
      global constructors are exposed.
      
      * fast/dom/dom-constructors-expected.txt:
      * fast/js/global-constructors-attributes-expected.txt:
      * platform/efl/fast/js/global-constructors-attributes-expected.txt:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@149845 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      b973ffd0