Diff
Modified: trunk/Source/WebCore/ChangeLog (94432 => 94433)
--- trunk/Source/WebCore/ChangeLog 2011-09-02 17:41:08 UTC (rev 94432)
+++ trunk/Source/WebCore/ChangeLog 2011-09-02 17:42:39 UTC (rev 94433)
@@ -1,3 +1,34 @@
+2011-09-02 Sam Weinig <[email protected]>
+
+ Remove BeforeProcessEvent, it was never meant to be
+ https://bugs.webkit.org/show_bug.cgi?id=67493
+
+ Reviewed by Anders Carlsson.
+
+ BeforeProcessEvent was added, never hooked up, and never removed.
+ Now it is being removed.
+
+ * CodeGenerators.pri:
+ * DerivedSources.make:
+ * GNUmakefile.list.am:
+ * WebCore.gypi:
+ * WebCore.pro:
+ * WebCore.vcproj/WebCore.vcproj:
+ * WebCore.xcodeproj/project.pbxproj:
+ * dom/BeforeProcessEvent.cpp: Removed.
+ * dom/BeforeProcessEvent.h: Removed.
+ * dom/BeforeProcessEvent.idl: Removed.
+ * dom/DOMAllInOne.cpp:
+ * dom/Document.cpp:
+ (WebCore::Document::addListenerTypeIfNeeded):
+ * dom/Document.h:
+ * dom/EventNames.h:
+ * html/HTMLAttributeNames.in:
+ * html/HTMLScriptElement.cpp:
+ (WebCore::HTMLScriptElement::parseMappedAttribute):
+ * html/HTMLStyleElement.cpp:
+ (WebCore::HTMLStyleElement::parseMappedAttribute):
+
2011-09-02 Adrienne Walker <[email protected]>
[chromium] Remove LayerRendererChromium references from the LayerChromium tree
Modified: trunk/Source/WebCore/CodeGenerators.pri (94432 => 94433)
--- trunk/Source/WebCore/CodeGenerators.pri 2011-09-02 17:41:08 UTC (rev 94432)
+++ trunk/Source/WebCore/CodeGenerators.pri 2011-09-02 17:42:39 UTC (rev 94433)
@@ -113,7 +113,6 @@
css/WebKitCSSTransformValue.idl \
dom/Attr.idl \
dom/BeforeLoadEvent.idl \
- dom/BeforeProcessEvent.idl \
dom/CharacterData.idl \
dom/ClientRect.idl \
dom/ClientRectList.idl \
Modified: trunk/Source/WebCore/DerivedSources.make (94432 => 94433)
--- trunk/Source/WebCore/DerivedSources.make 2011-09-02 17:41:08 UTC (rev 94432)
+++ trunk/Source/WebCore/DerivedSources.make 2011-09-02 17:42:39 UTC (rev 94433)
@@ -74,7 +74,6 @@
AudioSourceNode \
BarInfo \
BeforeLoadEvent \
- BeforeProcessEvent \
BiquadFilterNode \
Blob \
CDATASection \
Modified: trunk/Source/WebCore/GNUmakefile.list.am (94432 => 94433)
--- trunk/Source/WebCore/GNUmakefile.list.am 2011-09-02 17:41:08 UTC (rev 94432)
+++ trunk/Source/WebCore/GNUmakefile.list.am 2011-09-02 17:42:39 UTC (rev 94433)
@@ -37,8 +37,6 @@
DerivedSources/WebCore/JSBarInfo.h \
DerivedSources/WebCore/JSBeforeLoadEvent.cpp \
DerivedSources/WebCore/JSBeforeLoadEvent.h \
- DerivedSources/WebCore/JSBeforeProcessEvent.cpp \
- DerivedSources/WebCore/JSBeforeProcessEvent.h \
DerivedSources/WebCore/JSBlob.cpp \
DerivedSources/WebCore/JSBlob.h \
DerivedSources/WebCore/JSCanvasGradient.cpp \
@@ -1078,8 +1076,6 @@
Source/WebCore/dom/Attribute.cpp \
Source/WebCore/dom/Attribute.h \
Source/WebCore/dom/BeforeLoadEvent.h \
- Source/WebCore/dom/BeforeProcessEvent.cpp \
- Source/WebCore/dom/BeforeProcessEvent.h \
Source/WebCore/dom/BeforeTextInsertedEvent.cpp \
Source/WebCore/dom/BeforeTextInsertedEvent.h \
Source/WebCore/dom/BeforeUnloadEvent.cpp \
Modified: trunk/Source/WebCore/WebCore.gypi (94432 => 94433)
--- trunk/Source/WebCore/WebCore.gypi 2011-09-02 17:41:08 UTC (rev 94432)
+++ trunk/Source/WebCore/WebCore.gypi 2011-09-02 17:42:39 UTC (rev 94433)
@@ -1144,7 +1144,6 @@
'css/WebKitCSSTransformValue.idl',
'dom/Attr.idl',
'dom/BeforeLoadEvent.idl',
- 'dom/BeforeProcessEvent.idl',
'dom/CDATASection.idl',
'dom/CharacterData.idl',
'dom/ClientRect.idl',
@@ -5190,8 +5189,6 @@
'dom/Attr.cpp',
'dom/Attribute.cpp',
'dom/BeforeLoadEvent.h',
- 'dom/BeforeProcessEvent.cpp',
- 'dom/BeforeProcessEvent.h',
'dom/BeforeTextInsertedEvent.cpp',
'dom/BeforeTextInsertedEvent.h',
'dom/BeforeUnloadEvent.cpp',
@@ -7148,8 +7145,6 @@
'<(PRODUCT_DIR)/DerivedSources/WebCore/JSBarInfo.h',
'<(PRODUCT_DIR)/DerivedSources/WebCore/JSBeforeLoadEvent.cpp',
'<(PRODUCT_DIR)/DerivedSources/WebCore/JSBeforeLoadEvent.h',
- '<(PRODUCT_DIR)/DerivedSources/WebCore/JSBeforeProcessEvent.cpp',
- '<(PRODUCT_DIR)/DerivedSources/WebCore/JSBeforeProcessEvent.h',
'<(PRODUCT_DIR)/DerivedSources/WebCore/JSBiquadFilterNode.cpp',
'<(PRODUCT_DIR)/DerivedSources/WebCore/JSBiquadFilterNode.h',
'<(PRODUCT_DIR)/DerivedSources/WebCore/JSBlob.cpp',
Modified: trunk/Source/WebCore/WebCore.pro (94432 => 94433)
--- trunk/Source/WebCore/WebCore.pro 2011-09-02 17:41:08 UTC (rev 94432)
+++ trunk/Source/WebCore/WebCore.pro 2011-09-02 17:42:39 UTC (rev 94433)
@@ -456,7 +456,6 @@
dom/ActiveDOMObject.cpp \
dom/Attr.cpp \
dom/Attribute.cpp \
- dom/BeforeProcessEvent.cpp \
dom/BeforeTextInsertedEvent.cpp \
dom/BeforeUnloadEvent.cpp \
dom/CDATASection.cpp \
Modified: trunk/Source/WebCore/WebCore.vcproj/WebCore.vcproj (94432 => 94433)
--- trunk/Source/WebCore/WebCore.vcproj/WebCore.vcproj 2011-09-02 17:41:08 UTC (rev 94432)
+++ trunk/Source/WebCore/WebCore.vcproj/WebCore.vcproj 2011-09-02 17:42:39 UTC (rev 94433)
@@ -802,62 +802,6 @@
>
</File>
<File
- RelativePath="$(ConfigurationBuildDir)\obj\$(ProjectName)\DerivedSources\JSBeforeProcessEvent.cpp"
- >
- <FileConfiguration
- Name="Debug|Win32"
- ExcludedFromBuild="true"
- >
- <Tool
- Name="VCCLCompilerTool"
- />
- </FileConfiguration>
- <FileConfiguration
- Name="Release|Win32"
- ExcludedFromBuild="true"
- >
- <Tool
- Name="VCCLCompilerTool"
- />
- </FileConfiguration>
- <FileConfiguration
- Name="Debug_Cairo_CFLite|Win32"
- ExcludedFromBuild="true"
- >
- <Tool
- Name="VCCLCompilerTool"
- />
- </FileConfiguration>
- <FileConfiguration
- Name="Release_Cairo_CFLite|Win32"
- ExcludedFromBuild="true"
- >
- <Tool
- Name="VCCLCompilerTool"
- />
- </FileConfiguration>
- <FileConfiguration
- Name="Debug_All|Win32"
- ExcludedFromBuild="true"
- >
- <Tool
- Name="VCCLCompilerTool"
- />
- </FileConfiguration>
- <FileConfiguration
- Name="Production|Win32"
- ExcludedFromBuild="true"
- >
- <Tool
- Name="VCCLCompilerTool"
- />
- </FileConfiguration>
- </File>
- <File
- RelativePath="$(ConfigurationBuildDir)\obj\$(ProjectName)\DerivedSources\JSBeforeProcessEvent.h"
- >
- </File>
- <File
RelativePath="$(ConfigurationBuildDir)\obj\$(ProjectName)\DerivedSources\JSBlob.cpp"
>
<FileConfiguration
@@ -43230,62 +43174,6 @@
>
</File>
<File
- RelativePath="..\dom\BeforeProcessEvent.cpp"
- >
- <FileConfiguration
- Name="Debug|Win32"
- ExcludedFromBuild="true"
- >
- <Tool
- Name="VCCLCompilerTool"
- />
- </FileConfiguration>
- <FileConfiguration
- Name="Release|Win32"
- ExcludedFromBuild="true"
- >
- <Tool
- Name="VCCLCompilerTool"
- />
- </FileConfiguration>
- <FileConfiguration
- Name="Debug_Cairo_CFLite|Win32"
- ExcludedFromBuild="true"
- >
- <Tool
- Name="VCCLCompilerTool"
- />
- </FileConfiguration>
- <FileConfiguration
- Name="Release_Cairo_CFLite|Win32"
- ExcludedFromBuild="true"
- >
- <Tool
- Name="VCCLCompilerTool"
- />
- </FileConfiguration>
- <FileConfiguration
- Name="Debug_All|Win32"
- ExcludedFromBuild="true"
- >
- <Tool
- Name="VCCLCompilerTool"
- />
- </FileConfiguration>
- <FileConfiguration
- Name="Production|Win32"
- ExcludedFromBuild="true"
- >
- <Tool
- Name="VCCLCompilerTool"
- />
- </FileConfiguration>
- </File>
- <File
- RelativePath="..\dom\BeforeProcessEvent.h"
- >
- </File>
- <File
RelativePath="..\dom\BeforeTextInsertedEvent.cpp"
>
<FileConfiguration
Modified: trunk/Source/WebCore/WebCore.xcodeproj/project.pbxproj (94432 => 94433)
--- trunk/Source/WebCore/WebCore.xcodeproj/project.pbxproj 2011-09-02 17:41:08 UTC (rev 94432)
+++ trunk/Source/WebCore/WebCore.xcodeproj/project.pbxproj 2011-09-02 17:42:39 UTC (rev 94433)
@@ -1424,10 +1424,6 @@
516953971329A3C800B92D04 /* IconDatabaseBase.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 516953951329A3C800B92D04 /* IconDatabaseBase.cpp */; };
516953981329A3C800B92D04 /* IconDatabaseBase.h in Headers */ = {isa = PBXBuildFile; fileRef = 516953961329A3C800B92D04 /* IconDatabaseBase.h */; settings = {ATTRIBUTES = (Private, ); }; };
516BB7940CE91E6800512F79 /* JSTreeWalkerCustom.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 516BB7920CE91E6800512F79 /* JSTreeWalkerCustom.cpp */; };
- 51721FBB11D2790700638B42 /* BeforeProcessEvent.h in Headers */ = {isa = PBXBuildFile; fileRef = 51721FB911D2790700638B42 /* BeforeProcessEvent.h */; };
- 51721FD211D27EF200638B42 /* JSBeforeProcessEvent.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 51721FD011D27EF200638B42 /* JSBeforeProcessEvent.cpp */; };
- 51721FD311D27EF200638B42 /* JSBeforeProcessEvent.h in Headers */ = {isa = PBXBuildFile; fileRef = 51721FD111D27EF200638B42 /* JSBeforeProcessEvent.h */; };
- 5172204B11D2960500638B42 /* BeforeProcessEvent.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 5172204A11D2960500638B42 /* BeforeProcessEvent.cpp */; };
51741D0F0B07259A00ED442C /* BackForwardList.h in Headers */ = {isa = PBXBuildFile; fileRef = 51741D0B0B07259A00ED442C /* BackForwardList.h */; settings = {ATTRIBUTES = (Private, ); }; };
51741D110B07259A00ED442C /* HistoryItem.h in Headers */ = {isa = PBXBuildFile; fileRef = 51741D0D0B07259A00ED442C /* HistoryItem.h */; settings = {ATTRIBUTES = (Private, ); }; };
51741D120B07259A00ED442C /* HistoryItem.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 51741D0E0B07259A00ED442C /* HistoryItem.cpp */; };
@@ -8062,11 +8058,6 @@
516953951329A3C800B92D04 /* IconDatabaseBase.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = IconDatabaseBase.cpp; sourceTree = "<group>"; };
516953961329A3C800B92D04 /* IconDatabaseBase.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = IconDatabaseBase.h; sourceTree = "<group>"; };
516BB7920CE91E6800512F79 /* JSTreeWalkerCustom.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = JSTreeWalkerCustom.cpp; sourceTree = "<group>"; };
- 51721FB911D2790700638B42 /* BeforeProcessEvent.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = BeforeProcessEvent.h; sourceTree = "<group>"; };
- 51721FBA11D2790700638B42 /* BeforeProcessEvent.idl */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = BeforeProcessEvent.idl; sourceTree = "<group>"; };
- 51721FD011D27EF200638B42 /* JSBeforeProcessEvent.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = JSBeforeProcessEvent.cpp; sourceTree = "<group>"; };
- 51721FD111D27EF200638B42 /* JSBeforeProcessEvent.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = JSBeforeProcessEvent.h; sourceTree = "<group>"; };
- 5172204A11D2960500638B42 /* BeforeProcessEvent.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = BeforeProcessEvent.cpp; sourceTree = "<group>"; };
51741D0B0B07259A00ED442C /* BackForwardList.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = BackForwardList.h; sourceTree = "<group>"; };
51741D0D0B07259A00ED442C /* HistoryItem.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = HistoryItem.h; sourceTree = "<group>"; };
51741D0E0B07259A00ED442C /* HistoryItem.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; path = HistoryItem.cpp; sourceTree = "<group>"; };
@@ -17447,8 +17438,6 @@
children = (
BC946345107A934B00857193 /* JSBeforeLoadEvent.cpp */,
BC946347107A936600857193 /* JSBeforeLoadEvent.h */,
- 51721FD011D27EF200638B42 /* JSBeforeProcessEvent.cpp */,
- 51721FD111D27EF200638B42 /* JSBeforeProcessEvent.h */,
79AC9216109945C80021266E /* JSCompositionEvent.cpp */,
79AC9217109945C80021266E /* JSCompositionEvent.h */,
E4778B7D115A581A00B5D372 /* JSCustomEvent.cpp */,
@@ -19822,9 +19811,6 @@
A8C4A7F909D563270003AC8D /* Attribute.h */,
BC9462D7107A7B4C00857193 /* BeforeLoadEvent.h */,
BC9462CB107A7A3900857193 /* BeforeLoadEvent.idl */,
- 5172204A11D2960500638B42 /* BeforeProcessEvent.cpp */,
- 51721FB911D2790700638B42 /* BeforeProcessEvent.h */,
- 51721FBA11D2790700638B42 /* BeforeProcessEvent.idl */,
AB23A32509BBA7D00067CC53 /* BeforeTextInsertedEvent.cpp */,
AB23A32609BBA7D00067CC53 /* BeforeTextInsertedEvent.h */,
85031B260A44EFC700F992E0 /* BeforeUnloadEvent.cpp */,
@@ -20564,7 +20550,6 @@
F59C96001255B23F000623C0 /* BaseDateAndTimeInputType.h in Headers */,
F55B3DAE1251F12D003EF269 /* BaseTextInputType.h in Headers */,
BC9462D8107A7B4C00857193 /* BeforeLoadEvent.h in Headers */,
- 51721FBB11D2790700638B42 /* BeforeProcessEvent.h in Headers */,
AB23A32809BBA7D00067CC53 /* BeforeTextInsertedEvent.h in Headers */,
85031B3D0A44EFC700F992E0 /* BeforeUnloadEvent.h in Headers */,
B2C3DA240D006C1D00EF6F26 /* BidiContext.h in Headers */,
@@ -21900,7 +21885,6 @@
FDA15EB812B03EE1003A583A /* JSAudioSourceNode.h in Headers */,
BC124F000C26447A009E2349 /* JSBarInfo.h in Headers */,
BC946348107A936600857193 /* JSBeforeLoadEvent.h in Headers */,
- 51721FD311D27EF200638B42 /* JSBeforeProcessEvent.h in Headers */,
FDF09DC91399B62200688E5B /* JSBiquadFilterNode.h in Headers */,
2E2D99CE10E2BBDA00496337 /* JSBlob.h in Headers */,
1449E24C107D4A8400B5793F /* JSCallbackData.h in Headers */,
@@ -23889,7 +23873,6 @@
379E61CB126CA5C400B63E8D /* BaseCheckableInputType.cpp in Sources */,
F59C95FF1255B23F000623C0 /* BaseDateAndTimeInputType.cpp in Sources */,
F55B3DAD1251F12D003EF269 /* BaseTextInputType.cpp in Sources */,
- 5172204B11D2960500638B42 /* BeforeProcessEvent.cpp in Sources */,
AB23A32709BBA7D00067CC53 /* BeforeTextInsertedEvent.cpp in Sources */,
85031B3C0A44EFC700F992E0 /* BeforeUnloadEvent.cpp in Sources */,
B2C3DA230D006C1D00EF6F26 /* BidiContext.cpp in Sources */,
@@ -24830,7 +24813,6 @@
FDA15EB712B03EE1003A583A /* JSAudioSourceNode.cpp in Sources */,
BC124EFF0C26447A009E2349 /* JSBarInfo.cpp in Sources */,
BC946346107A934B00857193 /* JSBeforeLoadEvent.cpp in Sources */,
- 51721FD211D27EF200638B42 /* JSBeforeProcessEvent.cpp in Sources */,
FDF09DC81399B62200688E5B /* JSBiquadFilterNode.cpp in Sources */,
2E2D99CD10E2BBDA00496337 /* JSBlob.cpp in Sources */,
1449E287107D4DB400B5793F /* JSCallbackData.cpp in Sources */,
Deleted: trunk/Source/WebCore/dom/BeforeProcessEvent.cpp (94432 => 94433)
--- trunk/Source/WebCore/dom/BeforeProcessEvent.cpp 2011-09-02 17:41:08 UTC (rev 94432)
+++ trunk/Source/WebCore/dom/BeforeProcessEvent.cpp 2011-09-02 17:42:39 UTC (rev 94433)
@@ -1,44 +0,0 @@
-/*
- * Copyright (C) 2010 Apple Inc. All Rights Reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- * notice, this list of conditions and the following disclaimer in the
- * documentation and/or other materials provided with the distribution.
- *
- * THIS SOFTWARE IS PROVIDED BY APPLE, INC. ``AS IS'' AND ANY
- * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
- * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE COMPUTER, INC. OR
- * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
- * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
- * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
- * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
- * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- *
- */
-
-#include "config.h"
-#include "BeforeProcessEvent.h"
-
-namespace WebCore {
-
-String BeforeProcessEvent::text() const
-{
- // FIXME - Return innerText for <style> elements and inline <script> elements, or the resource text for remote <script> elements
- return String();
-}
-
-void BeforeProcessEvent::setText(const String&)
-{
- // FIXME - Replace innerText for <style> elements and inline <script> elements, and remove the src attribute on
- // remote <script> elements, replacing it with an innerText property.
-}
-
-} // namespace WebCore
Deleted: trunk/Source/WebCore/dom/BeforeProcessEvent.h (94432 => 94433)
--- trunk/Source/WebCore/dom/BeforeProcessEvent.h 2011-09-02 17:41:08 UTC (rev 94432)
+++ trunk/Source/WebCore/dom/BeforeProcessEvent.h 2011-09-02 17:42:39 UTC (rev 94433)
@@ -1,60 +0,0 @@
-/*
- * Copyright (C) 2010 Apple Inc. All Rights Reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- * notice, this list of conditions and the following disclaimer in the
- * documentation and/or other materials provided with the distribution.
- *
- * THIS SOFTWARE IS PROVIDED BY APPLE, INC. ``AS IS'' AND ANY
- * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
- * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE COMPUTER, INC. OR
- * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
- * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
- * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
- * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
- * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- *
- */
-
-#ifndef BeforeProcessEvent_h
-#define BeforeProcessEvent_h
-
-#include "Event.h"
-#include "EventNames.h"
-
-namespace WebCore {
-
-class BeforeProcessEvent : public Event {
-public:
- static PassRefPtr<BeforeProcessEvent> create()
- {
- return adoptRef(new BeforeProcessEvent);
- }
-
- void initBeforeProcessEvent(const AtomicString& type, bool canBubble, bool cancelable)
- {
- initEvent(type, canBubble, cancelable);
- }
-
- String text() const;
- void setText(const String&);
-
-private:
- BeforeProcessEvent()
- : Event(eventNames().beforeprocessEvent, false, true)
- {
- }
-
-};
-
-} // namespace WebCore
-
-#endif // BeforeProcessEvent_h
Deleted: trunk/Source/WebCore/dom/BeforeProcessEvent.idl (94432 => 94433)
--- trunk/Source/WebCore/dom/BeforeProcessEvent.idl 2011-09-02 17:41:08 UTC (rev 94432)
+++ trunk/Source/WebCore/dom/BeforeProcessEvent.idl 2011-09-02 17:42:39 UTC (rev 94433)
@@ -1,36 +0,0 @@
-/*
- * Copyright (C) 2010 Apple Inc. All Rights Reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- * notice, this list of conditions and the following disclaimer in the
- * documentation and/or other materials provided with the distribution.
- *
- * THIS SOFTWARE IS PROVIDED BY APPLE, INC. ``AS IS'' AND ANY
- * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
- * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE COMPUTER, INC. OR
- * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
- * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
- * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
- * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
- * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- *
- */
-
-module events {
-
- interface BeforeProcessEvent : Event {
- void initBeforeProcessEvent(in [Optional=CallWithDefaultValue] DOMString type,
- in [Optional=CallWithDefaultValue] boolean canBubble,
- in [Optional=CallWithDefaultValue] boolean cancelable);
- attribute DOMString text;
- };
-
-}
Modified: trunk/Source/WebCore/dom/DOMAllInOne.cpp (94432 => 94433)
--- trunk/Source/WebCore/dom/DOMAllInOne.cpp 2011-09-02 17:41:08 UTC (rev 94432)
+++ trunk/Source/WebCore/dom/DOMAllInOne.cpp 2011-09-02 17:42:39 UTC (rev 94433)
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2010 Apple Inc. All Rights Reserved.
+ * Copyright (C) 2010, 2011 Apple Inc. All Rights Reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
@@ -28,7 +28,6 @@
#include "ActiveDOMObject.cpp"
#include "Attr.cpp"
#include "Attribute.cpp"
-#include "BeforeProcessEvent.cpp"
#include "BeforeTextInsertedEvent.cpp"
#include "BeforeUnloadEvent.cpp"
#include "CDATASection.cpp"
Modified: trunk/Source/WebCore/dom/Document.cpp (94432 => 94433)
--- trunk/Source/WebCore/dom/Document.cpp 2011-09-02 17:41:08 UTC (rev 94432)
+++ trunk/Source/WebCore/dom/Document.cpp 2011-09-02 17:42:39 UTC (rev 94433)
@@ -3531,8 +3531,6 @@
addListenerType(TRANSITIONEND_LISTENER);
else if (eventType == eventNames().beforeloadEvent)
addListenerType(BEFORELOAD_LISTENER);
- else if (eventType == eventNames().beforeprocessEvent)
- addListenerType(BEFOREPROCESS_LISTENER);
#if ENABLE(TOUCH_EVENTS)
else if (eventType == eventNames().touchstartEvent
|| eventType == eventNames().touchmoveEvent
Modified: trunk/Source/WebCore/dom/Document.h (94432 => 94433)
--- trunk/Source/WebCore/dom/Document.h 2011-09-02 17:41:08 UTC (rev 94432)
+++ trunk/Source/WebCore/dom/Document.h 2011-09-02 17:42:39 UTC (rev 94433)
@@ -761,8 +761,7 @@
TRANSITIONEND_LISTENER = 0x800,
BEFORELOAD_LISTENER = 0x1000,
TOUCH_LISTENER = 0x2000,
- BEFOREPROCESS_LISTENER = 0x4000,
- SCROLL_LISTENER = 0x8000
+ SCROLL_LISTENER = 0x4000
};
bool hasListenerType(ListenerType listenerType) const { return (m_listenerTypes & listenerType); }
Modified: trunk/Source/WebCore/dom/EventNames.h (94432 => 94433)
--- trunk/Source/WebCore/dom/EventNames.h 2011-09-02 17:41:08 UTC (rev 94432)
+++ trunk/Source/WebCore/dom/EventNames.h 2011-09-02 17:42:39 UTC (rev 94433)
@@ -34,7 +34,6 @@
macro(beforecut) \
macro(beforeload) \
macro(beforepaste) \
- macro(beforeprocess) \
macro(beforeunload) \
macro(blocked) \
macro(blur) \
Modified: trunk/Source/WebCore/html/HTMLAttributeNames.in (94432 => 94433)
--- trunk/Source/WebCore/html/HTMLAttributeNames.in 2011-09-02 17:41:08 UTC (rev 94432)
+++ trunk/Source/WebCore/html/HTMLAttributeNames.in 2011-09-02 17:42:39 UTC (rev 94433)
@@ -159,7 +159,6 @@
onbeforecut
onbeforeload
onbeforepaste
-onbeforeprocess
onbeforeunload
onblur
oncanplay
Modified: trunk/Source/WebCore/html/HTMLScriptElement.cpp (94432 => 94433)
--- trunk/Source/WebCore/html/HTMLScriptElement.cpp 2011-09-02 17:41:08 UTC (rev 94432)
+++ trunk/Source/WebCore/html/HTMLScriptElement.cpp 2011-09-02 17:42:39 UTC (rev 94433)
@@ -75,8 +75,6 @@
setAttributeEventListener(eventNames().loadEvent, createAttributeEventListener(this, attr));
else if (attrName == onbeforeloadAttr)
setAttributeEventListener(eventNames().beforeloadEvent, createAttributeEventListener(this, attr));
- else if (attrName == onbeforeprocessAttr)
- setAttributeEventListener(eventNames().beforeprocessEvent, createAttributeEventListener(this, attr));
else
HTMLElement::parseMappedAttribute(attr);
}
Modified: trunk/Source/WebCore/html/HTMLStyleElement.cpp (94432 => 94433)
--- trunk/Source/WebCore/html/HTMLStyleElement.cpp 2011-09-02 17:41:08 UTC (rev 94432)
+++ trunk/Source/WebCore/html/HTMLStyleElement.cpp 2011-09-02 17:42:39 UTC (rev 94433)
@@ -56,8 +56,6 @@
{
if (attr->name() == titleAttr && m_sheet)
m_sheet->setTitle(attr->value());
- else if (attr->name() == onbeforeprocessAttr)
- setAttributeEventListener(eventNames().beforeprocessEvent, createAttributeEventListener(this, attr));
else
HTMLElement::parseMappedAttribute(attr);
}