| Index: Source/platform/ScriptForbiddenScope.h
|
| diff --git a/Source/platform/ScriptForbiddenScope.h b/Source/platform/ScriptForbiddenScope.h
|
| index 18998057a451b2a83c6a963966029dcea55ad7ab..a68fdceaf0179411614e1a8964ce03848cb41845 100644
|
| --- a/Source/platform/ScriptForbiddenScope.h
|
| +++ b/Source/platform/ScriptForbiddenScope.h
|
| @@ -24,18 +24,6 @@ public:
|
| TemporaryChange<unsigned> m_change;
|
| };
|
|
|
| - // FIXME: This should be removed. AllowSuperUnsafeScript is used
|
| - // to exceptionally allow script execution in ScriptForbiddenScope, because
|
| - // some real-world plugins try to execute script in ScriptForbiddenScope.
|
| - // This is unsafe and we should get rid of all the unsafe script executions.
|
| - class PLATFORM_EXPORT AllowSuperUnsafeScript {
|
| - public:
|
| - AllowSuperUnsafeScript();
|
| - ~AllowSuperUnsafeScript();
|
| - private:
|
| - TemporaryChange<unsigned> m_change;
|
| - };
|
| -
|
| static void enter();
|
| static void exit();
|
| static bool isScriptForbidden();
|
|
|