Multiple File Input Icon Set Regardless of File List
[WebKit-https.git] / Tools / WebKitTestRunner / TestInvocation.cpp
index fe9916a..bcfd009 100644 (file)
@@ -794,6 +794,13 @@ void TestInvocation::didReceiveMessageFromInjectedBundle(WKStringRef messageName
         return;
     }
 
+#if PLATFORM(IOS_FAMILY)
+    if (WKStringIsEqualToUTF8CString(messageName, "SetOpenPanelFileURLsMediaIcon")) {
+        TestController::singleton().setOpenPanelFileURLsMediaIcon(static_cast<WKDataRef>(messageBody));
+        return;
+    }
+#endif
+
     ASSERT_NOT_REACHED();
 }