Commit 383dde58 authored by ap@apple.com's avatar ap@apple.com

Reviewed by Adele Peterson.

        https://bugs.webkit.org/show_bug.cgi?id=28758
        <rdar://problem/6440869> Implement pageshow and pagehide events for b/f cache (28758)

        Tests: fast/events/pageshow-pagehide-on-back-cached.html
               fast/events/pageshow-pagehide-on-back-uncached.html
               fast/events/pageshow-pagehide.html

        * loader/FrameLoader.cpp: (WebCore::FrameLoader::stopLoading): Dispatch pagehide event
        (this function is called both when a document goes away, and when it goes to b/f cache).

        * page/DOMWindow.cpp:
        (WebCore::DOMWindow::dispatchAllPendingUnloadEvents): Dispatch pagehide right before unload.
        (WebCore::DOMWindow::dispatchPageTransitionEvent): Do what it takes to add a new event handler
        that can be installed on Window object.
        (WebCore::DOMWindow::onpagehide): Ditto.
        (WebCore::DOMWindow::setOnpagehide): Ditto.
        (WebCore::DOMWindow::onpageshow): Ditto.
        (WebCore::DOMWindow::setOnpageshow): Ditto.

        * history/CachedFrame.cpp: (WebCore::CachedFrame::restore): Dispatch pageshow for a page
        that isn't being restored from cache.

        * dom/PageTransitionEvent.cpp: Added.
        (WebCore::PageTransitionEvent::PageTransitionEvent):
        (WebCore::PageTransitionEvent::~PageTransitionEvent):
        (WebCore::PageTransitionEvent::initPageTransitionEvent):
        * dom/PageTransitionEvent.h: Added.
        (WebCore::PageTransitionEvent::create):
        (WebCore::PageTransitionEvent::isPageTransitionEvent):
        (WebCore::PageTransitionEvent::persisted):
        * dom/PageTransitionEvent.idl: Added.
        Add event class implementation.

        * html/HTMLBodyElement.cpp: (WebCore::HTMLBodyElement::parseMappedAttribute): Support
        inline listener definition (note that adding listeners to document.body programmatically
        is not supported, matching Firefox).

        * dom/Document.cpp:
        (WebCore::Document::implicitClose): Dispatch pageshow event right before load event.
        (WebCore::Document::dispatchPageTransitionEvent): Do what it takes to add a new event for
        Docuemnt.
        (WebCore::Document::createEvent): Ditto.

        * dom/Document.h: Added dispatchPageTransitionEvent.

        * DerivedSources.make:
        * GNUmakefile.am:
        * WebCore.gypi:
        * WebCore.pro:
        * WebCore.vcproj/WebCore.vcproj:
        * WebCore.xcodeproj/project.pbxproj:
        * WebCoreSources.bkl:
        * bindings/js/JSEventCustom.cpp: (WebCore::toJS):
        * dom/Event.cpp: (WebCore::Event::isPageTransitionEvent):
        * dom/Event.h:
        * dom/EventNames.h:
        * html/HTMLAttributeNames.in:
        * page/DOMWindow.h:
        * page/DOMWindow.idl:
        Do what it takes to add a new event type.



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@47824 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent d5c8c768
2009-08-26 Alexey Proskuryakov <ap@apple.com>
Reviewed by Adele Peterson.
https://bugs.webkit.org/show_bug.cgi?id=28758
<rdar://problem/6440869> Implement pageshow and pagehide events for b/f cache (28758)
* fast/dom/Window/window-properties-expected.txt:
* fast/dom/prototype-inheritance-expected.txt:
* fast/js/global-constructors-expected.txt:
Updated results for new event type.
* fast/events/pageshow-pagehide-expected.txt: Added.
* fast/events/pageshow-pagehide-on-back-cached-expected.txt: Added.
* fast/events/pageshow-pagehide-on-back-cached.html: Added.
* fast/events/pageshow-pagehide-on-back-uncached-expected.txt: Added.
* fast/events/pageshow-pagehide-on-back-uncached.html: Added.
* fast/events/pageshow-pagehide.html: Added.
* fast/events/resources/pageshow-pagehide-subframe-2.html: Added.
* fast/events/resources/pageshow-pagehide-subframe.html: Added.
* fast/events/resources/pageshow-pagehide-subsubframe-2.html: Added.
* fast/events/resources/pageshow-pagehide-subsubframe.html: Added.
2009-08-27 Renata Hodovan <hodovan.renata@stud.u-szeged.hu>
Reviewed by Ariya Hidayat.
......
......@@ -1170,6 +1170,8 @@ window.OverflowEvent.BOTH [number]
window.OverflowEvent.HORIZONTAL [number]
window.OverflowEvent.VERTICAL [number]
window.OverflowEvent.prototype [printed above as window.Event.prototype]
window.PageTransitionEvent [object PageTransitionEventConstructor]
window.PageTransitionEvent.prototype [printed above as window.Event.prototype]
window.Plugin [object PluginConstructor]
window.Plugin.prototype [object PluginPrototype]
window.Plugin.prototype.item [function]
......@@ -1751,6 +1753,8 @@ window.onmouseup [null]
window.onmousewheel [null]
window.onoffline [null]
window.ononline [null]
window.onpagehide [null]
window.onpageshow [null]
window.onpause [null]
window.onplay [null]
window.onplaying [null]
......
......@@ -249,6 +249,8 @@ PASS inner.Option.isInner is true
PASS inner.Option.constructor.isInner is true
PASS inner.OverflowEvent.isInner is true
PASS inner.OverflowEvent.constructor.isInner is true
PASS inner.PageTransitionEvent.isInner is true
PASS inner.PageTransitionEvent.constructor.isInner is true
PASS inner.Plugin.isInner is true
PASS inner.Plugin.constructor.isInner is true
PASS inner.PluginArray.isInner is true
......
frame "<!--framePath //<!--frame0-->-->" - has 1 onunload handler(s)
frame "<!--framePath //<!--frame0-->/<!--frame0-->-->" - has 1 onunload handler(s)
frame "<!--framePath //<!--frame0-->/<!--frame0-->-->" - has 1 onunload handler(s)
frame "<!--framePath //<!--frame0-->-->" - has 1 onunload handler(s)
Test pageshow/pagehide event behavior in subframes.
***Original load - onload and pageshow events should fire for subframes, and then for main frame***
Subsubframe window.onload
Subsubframe window.onpageshow, target = [object HTMLDocument], persisted = false
Subframe window.onload
Subframe window.onpageshow, target = [object HTMLDocument], persisted = false
Main frame window.onload
Main frame window.onpageshow, target = [object HTMLDocument], persisted = false
***Navigating bottom-level subframe, onpagehide events should fire for subsubframe***
Subsubframe window.onpagehide, target = [object HTMLDocument], persisted = false
Subsubframe window.onunload
Subsubframe window.onload
Subsubframe window.onpageshow, target = [object HTMLDocument], persisted = false
***Navigating mid-level subframe, onpagehide events should fire for both subframes***
Subframe window.onpagehide, target = [object HTMLDocument], persisted = false
Subframe window.onunload
Subsubframe window.onpagehide, target = [object HTMLDocument], persisted = false
Subsubframe window.onunload
Subframe window.onload
Subframe window.onpageshow, target = [object HTMLDocument], persisted = false
***Done***
ALERT: window.onload
ALERT: window.onpageshow, target = [object HTMLDocument], persisted = false
ALERT: window.onpagehide, target = [object HTMLDocument], persisted = true
ALERT: window.onpageshow, target = [object HTMLDocument], persisted = true
Test pageshow/pagehide event behavior when navigating back to an cached page.
<p>Test pageshow/pagehide event behavior when navigating back to an cached page.</p>
<script>
if (window.layoutTestController) {
layoutTestController.dumpAsText();
layoutTestController.waitUntilDone();
layoutTestController.overridePreference("WebKitUsesPageCachePreferenceKey", 1);
}
window.onload = function(evt) {
alert("window.onload");
}
window.onpageshow = function(evt) {
alert("window.onpageshow" + ", target = " + evt.target + ", persisted = " + evt.persisted);
if (evt.persisted) {
// Returned back.
window.onpagehide = null;
setTimeout(function() { if (window.layoutTestController) layoutTestController.notifyDone(); }, 0);
} else {
setTimeout('window.location.href = "data:text/html,<script>history.back();</scr" + "ipt>"', 0);
}
}
window.onpagehide = function(evt) {
alert("window.onpagehide" + ", target = " + evt.target + ", persisted = " + evt.persisted);
}
</script>
main frame - has 1 onunload handler(s)
ALERT: window.onload
ALERT: window.onpageshow, target = [object HTMLDocument], persisted = false
ALERT: window.onpagehide, target = [object HTMLDocument], persisted = false
main frame "pageshow/pagehide" - has 1 onunload handler(s)
ALERT: window.onload
ALERT: window.onpageshow, target = [object HTMLDocument], persisted = false
Test pageshow/pagehide event behavior when navigating back to an uncached page.
<p>Test pageshow/pagehide event behavior when navigating back to an uncached page.</p>
<script>
if (window.layoutTestController) {
layoutTestController.dumpAsText();
layoutTestController.waitUntilDone();
}
window.onload = function(evt) {
alert("window.onload");
if (window.name == 'pageshow/pagehide') {
// Returned back.
window.name = "";
window.onpagehide = null;
setTimeout(function() { if (window.layoutTestController) layoutTestController.notifyDone(); }, 10);
} else {
window.name = "pageshow/pagehide";
setTimeout('window.location = "data:text/html,<script>history.back();</scr" + "ipt>"', 0);
}
}
window.onunload = function() {} // prevent caching
window.onpageshow = function(evt) {
alert("window.onpageshow" + ", target = " + evt.target + ", persisted = " + evt.persisted);
}
window.onpagehide = function(evt) {
alert("window.onpagehide" + ", target = " + evt.target + ", persisted = " + evt.persisted);
}
</script>
<p>Test pageshow/pagehide event behavior in subframes.</p>
<iframe src="resources/pageshow-pagehide-subframe.html"</iframe>
<pre id=log></pre>
<script>
if (window.layoutTestController) {
layoutTestController.dumpAsText();
layoutTestController.waitUntilDone();
}
function log(message)
{
var log = document.getElementById("log");
log.innerHTML += message + "\n";
}
var state = 0;
log("***Original load - onload and pageshow events should fire for subframes, and then for main frame***");
window.onload = function(evt) {
log("Main frame window.onload");
}
window.addEventListener("pageshow", function(evt) {
log("Main frame window.onpageshow" + ", target = " + evt.target + ", persisted = " + evt.persisted);
log("***Navigating bottom-level subframe, onpagehide events should fire for subsubframe***");
frames[0].frames[0].location = "resources/pageshow-pagehide-subsubframe-2.html";
}, true);
window.onpagehide = function(evt) {
log("Main frame window.onpagehide" + ", target = " + evt.target + ", persisted = " + evt.persisted);
}
window.addEventListener("message", function(evt) {
if (evt.data == "subframe-loaded") {
if (state == 1) {
log("***Done***");
if (window.layoutTestController)
layoutTestController.notifyDone();
}
} else if (evt.data == "subsubframe-loaded") {
if (state == 0) {
log("***Navigating mid-level subframe, onpagehide events should fire for both subframes***");
frames[0].location = "resources/pageshow-pagehide-subframe-2.html";
state = 1;
}
}
}, true);
</script>
<p>Subframe-2</p>
<script>
window.onload = function(evt) {
top.log("Subframe window.onload");
}
window.onunload = function(evt) {
top.log("Subframe window.onunload");
}
window.onpageshow = function(evt) {
top.log("Subframe window.onpageshow" + ", target = " + evt.target + ", persisted = " + evt.persisted);
top.postMessage("subframe-loaded", "*");
}
window.onpagehide = function(evt) {
top.log("Subframe window.onpagehide" + ", target = " + evt.target + ", persisted = " + evt.persisted);
}
</script>
<body onpageshow='onPageshow(event)' onpagehide='onPagehide(event)'>
<p>Subframe</p>
<iframe src="pageshow-pagehide-subsubframe.html"</iframe>
<script>
window.onload = function(evt) {
top.log("Subframe window.onload");
}
window.onunload = function(evt) {
top.log("Subframe window.onunload");
}
function onPageshow(evt)
{
top.log("Subframe window.onpageshow" + ", target = " + evt.target + ", persisted = " + evt.persisted);
top.postMessage("subframe-loaded", "*");
}
function onPagehide(evt)
{
top.log("Subframe window.onpagehide" + ", target = " + evt.target + ", persisted = " + evt.persisted);
}
</script>
</body>
<p>Subsubframe-2</p>
<script>
window.onload = function(evt) {
top.log("Subsubframe window.onload");
}
window.onunload = function(evt) {
top.log("Subsubframe window.onunload");
}
window.onpageshow = function(evt) {
top.log("Subsubframe window.onpageshow" + ", target = " + evt.target + ", persisted = " + evt.persisted);
top.postMessage("subsubframe-loaded", "*");
}
window.onpagehide = function(evt) {
top.log("Subsubframe window.onpagehide" + ", target = " + evt.target + ", persisted = " + evt.persisted);
}
</script>
<p>Subsubframe</p>
<script>
window.onload = function(evt) {
top.log("Subsubframe window.onload");
}
window.onunload = function(evt) {
top.log("Subsubframe window.onunload");
}
window.onpageshow = function(evt) {
top.log("Subsubframe window.onpageshow" + ", target = " + evt.target + ", persisted = " + evt.persisted);
}
window.onpagehide = function(evt) {
top.log("Subsubframe window.onpagehide" + ", target = " + evt.target + ", persisted = " + evt.persisted);
}
</script>
......@@ -124,6 +124,7 @@ PASS NodeList.toString() is '[object NodeListConstructor]'
PASS Notation.toString() is '[object NotationConstructor]'
PASS Option.toString() is '[object OptionConstructor]'
PASS OverflowEvent.toString() is '[object OverflowEventConstructor]'
PASS PageTransitionEvent.toString() is '[object PageTransitionEventConstructor]'
PASS Plugin.toString() is '[object PluginConstructor]'
PASS PluginArray.toString() is '[object PluginArrayConstructor]'
PASS ProcessingInstruction.toString() is '[object ProcessingInstructionConstructor]'
......
2009-08-26 Alexey Proskuryakov <ap@apple.com>
Reviewed by Adele Peterson.
https://bugs.webkit.org/show_bug.cgi?id=28758
<rdar://problem/6440869> Implement pageshow and pagehide events for b/f cache (28758)
Tests: fast/events/pageshow-pagehide-on-back-cached.html
fast/events/pageshow-pagehide-on-back-uncached.html
fast/events/pageshow-pagehide.html
* loader/FrameLoader.cpp: (WebCore::FrameLoader::stopLoading): Dispatch pagehide event
(this function is called both when a document goes away, and when it goes to b/f cache).
* page/DOMWindow.cpp:
(WebCore::DOMWindow::dispatchAllPendingUnloadEvents): Dispatch pagehide right before unload.
(WebCore::DOMWindow::dispatchPageTransitionEvent): Do what it takes to add a new event handler
that can be installed on Window object.
(WebCore::DOMWindow::onpagehide): Ditto.
(WebCore::DOMWindow::setOnpagehide): Ditto.
(WebCore::DOMWindow::onpageshow): Ditto.
(WebCore::DOMWindow::setOnpageshow): Ditto.
* history/CachedFrame.cpp: (WebCore::CachedFrame::restore): Dispatch pageshow for a page
that isn't being restored from cache.
* dom/PageTransitionEvent.cpp: Added.
(WebCore::PageTransitionEvent::PageTransitionEvent):
(WebCore::PageTransitionEvent::~PageTransitionEvent):
(WebCore::PageTransitionEvent::initPageTransitionEvent):
* dom/PageTransitionEvent.h: Added.
(WebCore::PageTransitionEvent::create):
(WebCore::PageTransitionEvent::isPageTransitionEvent):
(WebCore::PageTransitionEvent::persisted):
* dom/PageTransitionEvent.idl: Added.
Add event class implementation.
* html/HTMLBodyElement.cpp: (WebCore::HTMLBodyElement::parseMappedAttribute): Support
inline listener definition (note that adding listeners to document.body programmatically
is not supported, matching Firefox).
* dom/Document.cpp:
(WebCore::Document::implicitClose): Dispatch pageshow event right before load event.
(WebCore::Document::dispatchPageTransitionEvent): Do what it takes to add a new event for
Docuemnt.
(WebCore::Document::createEvent): Ditto.
* dom/Document.h: Added dispatchPageTransitionEvent.
* DerivedSources.make:
* GNUmakefile.am:
* WebCore.gypi:
* WebCore.pro:
* WebCore.vcproj/WebCore.vcproj:
* WebCore.xcodeproj/project.pbxproj:
* WebCoreSources.bkl:
* bindings/js/JSEventCustom.cpp: (WebCore::toJS):
* dom/Event.cpp: (WebCore::Event::isPageTransitionEvent):
* dom/Event.h:
* dom/EventNames.h:
* html/HTMLAttributeNames.in:
* page/DOMWindow.h:
* page/DOMWindow.idl:
Do what it takes to add a new event type.
2009-08-27 Pavel Feldman <pfeldman@chromium.org>
Reviewed by NOBODY (build fix).
......@@ -210,6 +210,7 @@ DOM_CLASSES = \
Notification \
NotificationCenter \
OverflowEvent \
PageTransitionEvent \
Plugin \
PluginArray \
PositionError \
......
......@@ -138,6 +138,7 @@ IDL_BINDINGS += \
WebCore/dom/NodeList.idl \
WebCore/dom/Notation.idl \
WebCore/dom/OverflowEvent.idl \
WebCore/dom/PageTransitionEvent.idl \
WebCore/dom/ProcessingInstruction.idl \
WebCore/dom/ProgressEvent.idl \
WebCore/dom/Range.idl \
......@@ -744,6 +745,8 @@ webcore_sources += \
WebCore/dom/OptionElement.h \
WebCore/dom/OverflowEvent.cpp \
WebCore/dom/OverflowEvent.h \
WebCore/dom/PageTransitionEvent.cpp \
WebCore/dom/PageTransitionEvent.h \
WebCore/dom/Position.cpp \
WebCore/dom/Position.h \
WebCore/dom/PositionIterator.cpp \
......
......@@ -64,6 +64,7 @@
'dom/NodeList.idl',
'dom/Notation.idl',
'dom/OverflowEvent.idl',
'dom/PageTransitionEvent.idl',
'dom/ProcessingInstruction.idl',
'dom/ProgressEvent.idl',
'dom/Range.idl',
......@@ -1037,6 +1038,8 @@
'dom/OptionGroupElement.h',
'dom/OverflowEvent.cpp',
'dom/OverflowEvent.h',
'dom/PageTransitionEvent.cpp',
'dom/PageTransitionEvent.h',
'dom/Position.cpp',
'dom/Position.h',
'dom/PositionIterator.cpp',
......
......@@ -348,6 +348,7 @@ IDL_BINDINGS += \
dom/NodeList.idl \
dom/Notation.idl \
dom/OverflowEvent.idl \
dom/PageTransitionEvent.idl \
dom/ProcessingInstruction.idl \
dom/ProgressEvent.idl \
dom/RangeException.idl \
......@@ -863,6 +864,7 @@ SOURCES += \
dom/OptionGroupElement.cpp \
dom/OptionElement.cpp \
dom/OverflowEvent.cpp \
dom/PageTransitionEvent.cpp \
dom/Position.cpp \
dom/PositionIterator.cpp \
dom/ProcessingInstruction.cpp \
......@@ -1529,6 +1531,7 @@ HEADERS += \
dom/OptionElement.h \
dom/OptionGroupElement.h \
dom/OverflowEvent.h \
dom/PageTransitionEvent.h \
dom/Position.h \
dom/PositionIterator.h \
dom/ProcessingInstruction.h \
......
......@@ -7674,6 +7674,54 @@
RelativePath="$(WebKitOutputDir)\obj\$(ProjectName)\DerivedSources\JSOverflowEvent.h"
>
</File>
<File
RelativePath="$(WebKitOutputDir)\obj\$(ProjectName)\DerivedSources\JSPageTransitionEvent.cpp"
>
<FileConfiguration
Name="Debug|Win32"
ExcludedFromBuild="true"
>
<Tool
Name="VCCLCompilerTool"
/>
</FileConfiguration>
<FileConfiguration
Name="Release|Win32"
ExcludedFromBuild="true"
>
<Tool
Name="VCCLCompilerTool"
/>
</FileConfiguration>
<FileConfiguration
Name="Debug_Internal|Win32"
ExcludedFromBuild="true"
>
<Tool
Name="VCCLCompilerTool"
/>
</FileConfiguration>
<FileConfiguration
Name="Debug_Cairo|Win32"
ExcludedFromBuild="true"
>
<Tool
Name="VCCLCompilerTool"
/>
</FileConfiguration>
<FileConfiguration
Name="Release_Cairo|Win32"
ExcludedFromBuild="true"
>
<Tool
Name="VCCLCompilerTool"
/>
</FileConfiguration>
</File>
<File
RelativePath="$(WebKitOutputDir)\obj\$(ProjectName)\DerivedSources\JSPageTransitionEvent.h"
>
</File>
<File
RelativePath="$(WebKitOutputDir)\obj\$(ProjectName)\DerivedSources\JSPlugin.cpp"
>
......@@ -24119,6 +24167,14 @@
RelativePath="..\dom\OverflowEvent.h"
>
</File>
<File
RelativePath="..\dom\PageTransitionEvent.cpp"
>
</File>
<File
RelativePath="..\dom\PageTransitionEvent.h"
>
</File>
<File
RelativePath="..\dom\default\PlatformMessagePortChannel.cpp"
>
......
......@@ -4491,6 +4491,13 @@
E1271A140EEEC80400F61213 /* WorkerNavigator.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E1271A130EEEC80400F61213 /* WorkerNavigator.cpp */; };
E1271A580EEECDE400F61213 /* JSWorkerNavigator.h in Headers */ = {isa = PBXBuildFile; fileRef = E1271A560EEECDE400F61213 /* JSWorkerNavigator.h */; };
E1271A590EEECDE400F61213 /* JSWorkerNavigator.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E1271A570EEECDE400F61213 /* JSWorkerNavigator.cpp */; };
E1284ADA10447AEB00EAEB52 /* PageTransitionEvent.idl in Resources */ = {isa = PBXBuildFile; fileRef = E1284AD910447AEB00EAEB52 /* PageTransitionEvent.idl */; };
E1284AE110447D4500EAEB52 /* PageTransitionEvent.h in Headers */ = {isa = PBXBuildFile; fileRef = E1284AE010447D4500EAEB52 /* PageTransitionEvent.h */; };
E1284AEA10447DEE00EAEB52 /* PageTransitionEvent.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E1284AE910447DEE00EAEB52 /* PageTransitionEvent.cpp */; };
E1284BB110449FFA00EAEB52 /* JSPageTransitionEvent.h in Headers */ = {isa = PBXBuildFile; fileRef = E1284BAF10449FFA00EAEB52 /* JSPageTransitionEvent.h */; };
E1284BB210449FFA00EAEB52 /* JSPageTransitionEvent.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E1284BB010449FFA00EAEB52 /* JSPageTransitionEvent.cpp */; };
E1284BD51044A01E00EAEB52 /* DOMPageTransitionEvent.mm in Sources */ = {isa = PBXBuildFile; fileRef = E1284BD31044A01E00EAEB52 /* DOMPageTransitionEvent.mm */; };
E1284BD61044A01E00EAEB52 /* DOMPageTransitionEvent.h in Headers */ = {isa = PBXBuildFile; fileRef = E1284BD41044A01E00EAEB52 /* DOMPageTransitionEvent.h */; };
E12EDB7B0B308A78002704B6 /* EventTarget.h in Headers */ = {isa = PBXBuildFile; fileRef = E12EDB7A0B308A78002704B6 /* EventTarget.h */; settings = {ATTRIBUTES = (Private, ); }; };
E12EDBEA0B308E0B002704B6 /* EventTarget.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E12EDBE90B308E0B002704B6 /* EventTarget.cpp */; };
E17A4A1B0D97991D00FC10C6 /* DOMSVGAltGlyphElement.h in Copy Generated Headers */ = {isa = PBXBuildFile; fileRef = 65AA6BAC0D974A00000541AE /* DOMSVGAltGlyphElement.h */; };
......@@ -9511,6 +9518,13 @@
E1271A510EEECD1C00F61213 /* WorkerNavigator.idl */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = WorkerNavigator.idl; sourceTree = "<group>"; };
E1271A560EEECDE400F61213 /* JSWorkerNavigator.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = JSWorkerNavigator.h; sourceTree = "<group>"; };
E1271A570EEECDE400F61213 /* JSWorkerNavigator.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = JSWorkerNavigator.cpp; sourceTree = "<group>"; };
E1284AD910447AEB00EAEB52 /* PageTransitionEvent.idl */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = PageTransitionEvent.idl; sourceTree = "<group>"; };
E1284AE010447D4500EAEB52 /* PageTransitionEvent.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = PageTransitionEvent.h; sourceTree = "<group>"; };
E1284AE910447DEE00EAEB52 /* PageTransitionEvent.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = PageTransitionEvent.cpp; sourceTree = "<group>"; };
E1284BAF10449FFA00EAEB52 /* JSPageTransitionEvent.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = JSPageTransitionEvent.h; sourceTree = "<group>"; };
E1284BB010449FFA00EAEB52 /* JSPageTransitionEvent.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = JSPageTransitionEvent.cpp; sourceTree = "<group>"; };
E1284BD31044A01E00EAEB52 /* DOMPageTransitionEvent.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = DOMPageTransitionEvent.mm; sourceTree = "<group>"; };
E1284BD41044A01E00EAEB52 /* DOMPageTransitionEvent.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DOMPageTransitionEvent.h; sourceTree = "<group>"; };
E12EDB7A0B308A78002704B6 /* EventTarget.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = EventTarget.h; sourceTree = "<group>"; };
E12EDBE90B308E0B002704B6 /* EventTarget.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = EventTarget.cpp; sourceTree = "<group>"; };
E182568D0EF2B02D00933242 /* JSWorkerContext.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = JSWorkerContext.cpp; sourceTree = "<group>"; };
......@@ -11535,6 +11549,8 @@
85C7F5BD0AAFB7CC004014DD /* DOMMutationEvent.mm */,
85C7F5CE0AAFB8D9004014DD /* DOMOverflowEvent.h */,
85C7F5CF0AAFB8D9004014DD /* DOMOverflowEvent.mm */,
E1284BD41044A01E00EAEB52 /* DOMPageTransitionEvent.h */,
E1284BD31044A01E00EAEB52 /* DOMPageTransitionEvent.mm */,
BCC573330D695BBE006EF517 /* DOMProgressEvent.h */,
BCC573340D695BBE006EF517 /* DOMProgressEvent.mm */,
933A14750B7D1BAF00A53FFD /* DOMTextEvent.h */,
......@@ -13039,6 +13055,8 @@
65DF31E809D1CC60000BE325 /* JSMutationEvent.h */,
1A0D573E0A5C7867007EDD4C /* JSOverflowEvent.cpp */,
1A0D573F0A5C7867007EDD4C /* JSOverflowEvent.h */,
E1284BB010449FFA00EAEB52 /* JSPageTransitionEvent.cpp */,
E1284BAF10449FFA00EAEB52 /* JSPageTransitionEvent.h */,
933A14B60B7D1D5200A53FFD /* JSTextEvent.cpp */,
933A14B70B7D1D5200A53FFD /* JSTextEvent.h */,
A86629CA09DA2B47009633A5 /* JSUIEvent.cpp */,
......@@ -15136,6 +15154,9 @@
1A0D57340A5C77FE007EDD4C /* OverflowEvent.cpp */,
1A0D57350A5C77FE007EDD4C /* OverflowEvent.h */,
1A0D57380A5C7812007EDD4C /* OverflowEvent.idl */,
E1284AE910447DEE00EAEB52 /* PageTransitionEvent.cpp */,
E1284AE010447D4500EAEB52 /* PageTransitionEvent.h */,
E1284AD910447AEB00EAEB52 /* PageTransitionEvent.idl */,
41BF700D0FE86F61005E8DEC /* PlatformMessagePortChannel.cpp */,
41BF700E0FE86F61005E8DEC /* PlatformMessagePortChannel.h */,
BE91FC8C06133666005E3790 /* Position.cpp */,
......@@ -17527,6 +17548,7 @@
BCFA930810333193007B25D1 /* RenderOverflow.h in Headers */,
0014628B103CD1DE000B20DB /* OriginAccessEntry.h in Headers */,
B51BF6F1102C9E590002C15A /* SQLTransactionClient.h in Headers */,
E1284AE110447D4500EAEB52 /* PageTransitionEvent.h in Headers */,
49C7B9941042D2D30009D447 /* JSCanvasBuffer.h in Headers */,
49C7B9961042D2D30009D447 /* JSCanvasByteArray.h in Headers */,
49C7B9981042D2D30009D447 /* JSCanvasFramebuffer.h in Headers */,
......@@ -17550,6 +17572,8 @@
49C7B9E61042D32F0009D447 /* CanvasTexture.h in Headers */,
49C7B9FC1042D3650009D447 /* GraphicsContext3D.h in Headers */,
49C7BA001042D38C0009D447 /* Canvas3DLayer.h in Headers */,
E1284BB110449FFA00EAEB52 /* JSPageTransitionEvent.h in Headers */,
E1284BD61044A01E00EAEB52 /* DOMPageTransitionEvent.h in Headers */,
510D4A34103165EE0049EA54 /* SocketStreamErrorBase.h in Headers */,
510D4A37103165EE0049EA54 /* SocketStreamHandleBase.h in Headers */,
510D4A38103165EE0049EA54 /* SocketStreamHandleClient.h in Headers */,
......@@ -17656,6 +17680,7 @@
85136CA80AED665900F90A3D /* westResizeCursor.png in Resources */,
1AB1AE7A0C051FDE00139F4F /* zoomInCursor.png in Resources */,
1AB1AE7B0C051FDE00139F4F /* zoomOutCursor.png in Resources */,
E1284ADA10447AEB00EAEB52 /* PageTransitionEvent.idl in Resources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
......@@ -19619,6 +19644,7 @@
B5C1123B102B6C4600096578 /* SQLTransactionCoordinator.cpp in Sources */,
0014628A103CD1DE000B20DB /* OriginAccessEntry.cpp in Sources */,
B51BF6F0102C9E590002C15A /* SQLTransactionClient.cpp in Sources */,
E1284AEA10447DEE00EAEB52 /* PageTransitionEvent.cpp in Sources */,
49C7B97E1042D2080009D447 /* JSCanvasNumberArrayCustom.cpp in Sources */,
49C7B97F1042D2080009D447 /* JSCanvasRenderingContext3DCustom.cpp in Sources */,
49C7B9931042D2D30009D447 /* JSCanvasBuffer.cpp in Sources */,
......@@ -19646,6 +19672,8 @@
49C7BA8D1042F5B10009D447 /* JSDocumentCustom.cpp in Sources */,
49C7D4FB1042F95F0009D447 /* JSCanvasRenderingContext3D.cpp in Sources */,
4983A97010435E9000DB70F9 /* JSCanvasRenderingContextCustom.cpp in Sources */,
E1284BB210449FFA00EAEB52 /* JSPageTransitionEvent.cpp in Sources */,
E1284BD51044A01E00EAEB52 /* DOMPageTransitionEvent.mm in Sources */,
510D4A33103165EE0049EA54 /* SocketStreamErrorBase.cpp in Sources */,
510D4A36103165EE0049EA54 /* SocketStreamHandleBase.cpp in Sources */,
51ABAE1F103C1913008C5260 /* SocketStreamHandleCFNet.cpp in Sources */,
......@@ -385,6 +385,7 @@ This file contains the list of files needed to build WebCore.
DerivedSources/WebCore/JSNodeList.cpp
DerivedSources/WebCore/JSNotation.cpp
DerivedSources/WebCore/JSOverflowEvent.cpp
DerivedSources/WebCore/JSPageTransitionEvent.cpp
DerivedSources/WebCore/JSPlugin.cpp
DerivedSources/WebCore/JSPluginArray.cpp
DerivedSources/WebCore/JSPositionError.cpp
......@@ -488,6 +489,7 @@ This file contains the list of files needed to build WebCore.
dom/OptionGroupElement.cpp
dom/OptionElement.cpp
dom/OverflowEvent.cpp
dom/PageTransitionEvent.cpp
dom/Position.cpp
dom/PositionIterator.cpp
dom/ProcessingInstruction.cpp
......
......@@ -38,6 +38,7 @@
#include "JSMouseEvent.h"
#include "JSMutationEvent.h"
#include "JSOverflowEvent.h"
#include "JSPageTransitionEvent.h"
#include "JSProgressEvent.h"
#include "JSTextEvent.h"