Modified: trunk/Source/WebInspectorUI/UserInterface/Models/NativeFunctionParameters.js (201649 => 201650)
--- trunk/Source/WebInspectorUI/UserInterface/Models/NativeFunctionParameters.js 2016-06-03 18:22:10 UTC (rev 201649)
+++ trunk/Source/WebInspectorUI/UserInterface/Models/NativeFunctionParameters.js 2016-06-03 18:36:13 UTC (rev 201650)
@@ -838,10 +838,11 @@
__proto__: null,
},
- FontLoader: {
- checkFont: "font, [text]",
- loadFont: "params",
- notifyWhenFontsReady: "callback",
+ FontFaceSet: {
+ add: "font",
+ check: "font, [text=\" \"]",
+ delete: "font",
+ load: "font, [text=\" \"]",
__proto__: null,
},
@@ -955,6 +956,11 @@
__proto__: null,
},
+ HTMLSlotElement: {
+ assignedNodes: "[options]",
+ __proto__: null,
+ },
+
HTMLTableElement: {
deleteRow: "[index]",
insertRow: "[index]",
@@ -2142,24 +2148,27 @@
updateIce: "configuration",
__proto__: null,
},
-};
-(function() {
- var EventTarget = {
+ EventTarget: {
addEventListener: "type, listener, [useCapture=false]",
removeEventListener: "type, listener, [useCapture=false]",
dispatchEvent: "event",
- };
+ __proto__: null,
+ },
+};
+(function() {
+ // COMPATIBILITY (iOS 9): EventTarget properties were on instances, now there
+ // is an actual EventTarget prototype in the chain.
+ var EventTarget = WebInspector.NativePrototypeFunctionParameters.EventTarget;
var eventTargetTypes = [
"Node", "Window",
- "AudioNode", "AudioTrackList", "DOMApplicationCache", "FileReader", "FontLoader",
+ "AudioNode", "AudioTrackList", "DOMApplicationCache", "FileReader",
"MediaController", "MediaStreamTrack", "MessagePort", "Notification", "RTCDTMFSender",
"SpeechSynthesisUtterance", "TextTrack", "TextTrackCue", "TextTrackList",
"VideoTrackList", "WebKitMediaKeySession", "WebKitNamedFlow", "WebSocket",
"WorkerGlobalScope", "XMLHttpRequest", "webkitMediaStream", "webkitRTCPeerConnection"
];
-
for (var type of eventTargetTypes)
Object.assign(WebInspector.NativePrototypeFunctionParameters[type], EventTarget);