Changeset 267408 in webkit
- Timestamp:
- Sep 22, 2020, 8:28:32 AM (6 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 4 added
- 7 edited
-
CMakeLists.txt (modified) (1 diff)
-
ChangeLog (modified) (1 diff)
-
DerivedSources-input.xcfilelist (modified) (1 diff)
-
DerivedSources-output.xcfilelist (modified) (1 diff)
-
DerivedSources.make (modified) (1 diff)
-
WebCore.xcodeproj/project.pbxproj (modified) (2 diffs)
-
page/Performance+NavigationTiming.idl (added)
-
page/Performance+PerformanceTimeline.idl (added)
-
page/Performance+ResourceTiming.idl (added)
-
page/Performance+UserTiming.idl (added)
-
page/Performance.idl (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/CMakeLists.txt
r267402 r267408 1050 1050 page/NavigatorServiceWorker.idl 1051 1051 page/NavigatorShare.idl 1052 page/Performance+NavigationTiming.idl 1053 page/Performance+PerformanceTimeline.idl 1054 page/Performance+ResourceTiming.idl 1055 page/Performance+UserTiming.idl 1052 1056 page/Performance.idl 1053 1057 page/PerformanceEntry.idl -
trunk/Source/WebCore/ChangeLog
r267404 r267408 1 2020-09-22 Sam Weinig <weinig@apple.com> 2 3 [WebIDL] Split up Performance.idl into component partials 4 https://bugs.webkit.org/show_bug.cgi?id=216729 5 6 Reviewed by Darin Adler. 7 8 Split additions to the Peformance interface from the Navagation Timing, 9 Resource Timing, User Timing and Performance Timeline specs into their 10 own IDL files. Trying something new with the naming (using Performance 11 '+' name of the spec supplying the addition) for these partials to test 12 the waters. 13 14 * CMakeLists.txt: 15 * DerivedSources-input.xcfilelist: 16 * DerivedSources-output.xcfilelist: 17 * DerivedSources.make: 18 * WebCore.xcodeproj/project.pbxproj: 19 * page/Performance+NavigationTiming.idl: Added. 20 * page/Performance+PerformanceTimeline.idl: Added. 21 * page/Performance+ResourceTiming.idl: Added. 22 * page/Performance+UserTiming.idl: Added. 23 * page/Performance.idl: 24 1 25 2020-09-22 Zalan Bujtas <zalan@apple.com> 2 26 -
trunk/Source/WebCore/DerivedSources-input.xcfilelist
r267402 r267408 1028 1028 $(PROJECT_DIR)/page/NavigatorServiceWorker.idl 1029 1029 $(PROJECT_DIR)/page/NavigatorShare.idl 1030 $(PROJECT_DIR)/page/Performance+NavigationTiming.idl 1031 $(PROJECT_DIR)/page/Performance+PerformanceTimeline.idl 1032 $(PROJECT_DIR)/page/Performance+ResourceTiming.idl 1033 $(PROJECT_DIR)/page/Performance+UserTiming.idl 1030 1034 $(PROJECT_DIR)/page/Performance.idl 1031 1035 $(PROJECT_DIR)/page/PerformanceEntry.idl -
trunk/Source/WebCore/DerivedSources-output.xcfilelist
r267402 r267408 1385 1385 $(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSPbkdf2Params.cpp 1386 1386 $(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSPbkdf2Params.h 1387 $(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSPerformance+NavigationTiming.cpp 1388 $(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSPerformance+NavigationTiming.h 1389 $(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSPerformance+PerformanceTimeline.cpp 1390 $(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSPerformance+PerformanceTimeline.h 1391 $(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSPerformance+ResourceTiming.cpp 1392 $(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSPerformance+ResourceTiming.h 1393 $(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSPerformance+UserTiming.cpp 1394 $(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSPerformance+UserTiming.h 1387 1395 $(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSPerformance.cpp 1388 1396 $(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSPerformance.h -
trunk/Source/WebCore/DerivedSources.make
r267402 r267408 1039 1039 $(WebCore)/page/NavigatorServiceWorker.idl \ 1040 1040 $(WebCore)/page/NavigatorShare.idl \ 1041 $(WebCore)/page/Performance+NavigationTiming.idl \ 1042 $(WebCore)/page/Performance+PerformanceTimeline.idl \ 1043 $(WebCore)/page/Performance+ResourceTiming.idl \ 1044 $(WebCore)/page/Performance+UserTiming.idl \ 1041 1045 $(WebCore)/page/Performance.idl \ 1042 1046 $(WebCore)/page/PerformanceEntry.idl \ -
trunk/Source/WebCore/WebCore.xcodeproj/project.pbxproj
r267402 r267408 10239 10239 7C6752BA1B06E82000C279CB /* NonElementParentNode.idl */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = NonElementParentNode.idl; sourceTree = "<group>"; }; 10240 10240 7C6EFEEA1F946A2E00FFAD41 /* SettingsDefaultValues.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = SettingsDefaultValues.h; sourceTree = "<group>"; }; 10241 7C72471A2516744C00C363CD /* Performance+UserTiming.idl */ = {isa = PBXFileReference; lastKnownFileType = text; path = "Performance+UserTiming.idl"; sourceTree = "<group>"; }; 10242 7C72471C251674CE00C363CD /* Performance+PerformanceTimeline.idl */ = {isa = PBXFileReference; lastKnownFileType = text; path = "Performance+PerformanceTimeline.idl"; sourceTree = "<group>"; }; 10243 7C72471D2516752C00C363CD /* Performance+ResourceTiming.idl */ = {isa = PBXFileReference; lastKnownFileType = text; path = "Performance+ResourceTiming.idl"; sourceTree = "<group>"; }; 10244 7C72471E2516758800C363CD /* Performance+NavigationTiming.idl */ = {isa = PBXFileReference; lastKnownFileType = text; path = "Performance+NavigationTiming.idl"; sourceTree = "<group>"; }; 10241 10245 7C73FB05191EF416007DE061 /* UserMessageHandlersNamespace.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = UserMessageHandlersNamespace.cpp; sourceTree = "<group>"; }; 10242 10246 7C73FB06191EF417007DE061 /* UserMessageHandlersNamespace.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = UserMessageHandlersNamespace.h; sourceTree = "<group>"; }; … … 21573 21577 371E65CD13661EED00BEEDB0 /* PageSerializer.cpp */, 21574 21578 371E65CB13661EDC00BEEDB0 /* PageSerializer.h */, 21579 7C72471E2516758800C363CD /* Performance+NavigationTiming.idl */, 21580 7C72471C251674CE00C363CD /* Performance+PerformanceTimeline.idl */, 21581 7C72471D2516752C00C363CD /* Performance+ResourceTiming.idl */, 21582 7C72471A2516744C00C363CD /* Performance+UserTiming.idl */, 21575 21583 E526AF3E1727F8F200E41781 /* Performance.cpp */, 21576 21584 8A844D0211D3C18E0014065C /* Performance.h */, -
trunk/Source/WebCore/page/Performance.idl
r267402 r267408 42 42 // readonly attribute DOMHighResTimeStamp timeOrigin; 43 43 [Default] object toJSON(); 44 45 // https://w3c.github.io/navigation-timing/#extensions-to-the-performance-interface46 [Exposed=Window] readonly attribute PerformanceNavigation navigation;47 [Exposed=Window] readonly attribute PerformanceTiming timing;48 49 // https://w3c.github.io/performance-timeline/#extensions-to-the-performance-interface50 PerformanceEntryList getEntries();51 PerformanceEntryList getEntriesByType(DOMString entryType);52 PerformanceEntryList getEntriesByName(DOMString name, optional DOMString entryType);53 54 // https://w3c.github.io/resource-timing/#sec-extensions-performance-interface55 undefined clearResourceTimings();56 undefined setResourceTimingBufferSize(unsigned long maxSize);57 attribute EventHandler onresourcetimingbufferfull;58 59 // https://w3c.github.io/user-timing/#extensions-performance-interface60 [MayThrowException, CallWith=GlobalObject] PerformanceMark mark(DOMString markName, optional PerformanceMarkOptions markOptions);61 undefined clearMarks(optional DOMString markName);62 [MayThrowException, CallWith=GlobalObject] PerformanceMeasure measure(DOMString measureName, optional (DOMString or PerformanceMeasureOptions) startOrMeasureOptions, optional DOMString endMark);63 undefined clearMeasures(optional DOMString measureName);64 44 }; 65 66 typedef sequence<PerformanceEntry> PerformanceEntryList;
Note:
See TracChangeset
for help on using the changeset viewer.