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

Changeset 211118 in webkit


Ignore:
Timestamp:
Jan 24, 2017, 3:49:34 PM (10 years ago)
Author:
commit-queue@webkit.org
Message:

Remove always true unsafePluginPastingEnabled setting
https://bugs.webkit.org/show_bug.cgi?id=167360

Patch by Joseph Pecoraro <Joseph Pecoraro> on 2017-01-24
Reviewed by Andreas Kling.

Source/WebCore:

Setting added by Chromium and never used by other ports.

  • dom/ScriptableDocumentParser.cpp:

(WebCore::ScriptableDocumentParser::ScriptableDocumentParser):

  • page/Settings.in:

LayoutTests:

  • editing/pasteboard/paste-noplugin-expected.txt: Removed.
  • editing/pasteboard/paste-noplugin-xhtml-expected.txt: Removed.
  • editing/pasteboard/paste-noplugin-xhtml.xhtml: Removed.
  • editing/pasteboard/paste-noplugin.html: Removed.
  • platform/efl/TestExpectations:
  • platform/wk2/TestExpectations:
Location:
trunk
Files:
4 deleted
6 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r211108 r211118  
     12017-01-24  Joseph Pecoraro  <pecoraro@apple.com>
     2
     3        Remove always true unsafePluginPastingEnabled setting
     4        https://bugs.webkit.org/show_bug.cgi?id=167360
     5
     6        Reviewed by Andreas Kling.
     7
     8        * editing/pasteboard/paste-noplugin-expected.txt: Removed.
     9        * editing/pasteboard/paste-noplugin-xhtml-expected.txt: Removed.
     10        * editing/pasteboard/paste-noplugin-xhtml.xhtml: Removed.
     11        * editing/pasteboard/paste-noplugin.html: Removed.
     12        * platform/efl/TestExpectations:
     13        * platform/wk2/TestExpectations:
     14
    1152017-01-24  Zalan Bujtas  <zalan@apple.com>
    216
  • trunk/LayoutTests/platform/efl/TestExpectations

    r211092 r211118  
    17141714Bug(EFL) editing/pasteboard/paste-list-003.html [ Failure ]
    17151715Bug(EFL) editing/pasteboard/paste-list-004.html [ Failure ]
    1716 Bug(EFL) editing/pasteboard/paste-noplugin-xhtml.xhtml [ Failure ]
    17171716Bug(EFL) editing/pasteboard/paste-noscript-svg.html [ Failure ]
    17181717Bug(EFL) editing/pasteboard/paste-noscript-xhtml.xhtml [ Failure ]
  • trunk/LayoutTests/platform/wk2/TestExpectations

    r211024 r211118  
    306306# These tests use Flash, which is not a good idea, because it is not installed on all machines that run tests.
    307307# WebKitTestRunner detects attempts to use Flash, and raises an assertion.
    308 editing/pasteboard/paste-noplugin.html [ Skip ]
    309308fast/dom/beforeload/flash-before-load.html [ Skip ]
    310309fast/dom/beforeload/remove-flash-in-beforeload-listener.html [ Skip ]
  • trunk/Source/WebCore/ChangeLog

    r211114 r211118  
     12017-01-24  Joseph Pecoraro  <pecoraro@apple.com>
     2
     3        Remove always true unsafePluginPastingEnabled setting
     4        https://bugs.webkit.org/show_bug.cgi?id=167360
     5
     6        Reviewed by Andreas Kling.
     7
     8        Setting added by Chromium and never used by other ports.
     9
     10        * dom/ScriptableDocumentParser.cpp:
     11        (WebCore::ScriptableDocumentParser::ScriptableDocumentParser):
     12        * page/Settings.in:
     13
    1142017-01-24  Anders Carlsson  <andersca@apple.com>
    215
  • trunk/Source/WebCore/dom/ScriptableDocumentParser.cpp

    r156980 r211118  
    2828
    2929#include "Document.h"
    30 #include "Frame.h"
    31 #include "ScriptController.h"
    3230#include "Settings.h"
    3331
     
    3937    , m_parserContentPolicy(parserContentPolicy)
    4038{
    41     if (!pluginContentIsAllowed(m_parserContentPolicy) && (!document.settings() || document.settings()->unsafePluginPastingEnabled()))
     39    if (!pluginContentIsAllowed(m_parserContentPolicy))
    4240        m_parserContentPolicy = allowPluginContent(m_parserContentPolicy);
    4341
  • trunk/Source/WebCore/page/Settings.in

    r211092 r211118  
    9999
    100100xssAuditorEnabled initial=false
    101 unsafePluginPastingEnabled initial=true
    102101acceleratedCompositingForFixedPositionEnabled initial=defaultAcceleratedCompositingForFixedPositionEnabled
    103102acceleratedCompositingForOverflowScrollEnabled initial=false
Note: See TracChangeset for help on using the changeset viewer.