HomeSort by relevance Sort by last modified time
    Searched refs:sniffedType (Results 1 - 3 of 3) sorted by null

  /external/webkit/Source/WebKit/qt/tests/MIMESniffing/
tst_MIMESniffing.cpp 43 static inline const char* errorText(const TestData& data, const char* sniffedType)
45 return QString("file: %1, advertised: %2, image: %3. sniffed mime type was expected to be \"%4\" but instead was \"%5\"").arg(data.file).arg(data.advertisedType).arg(data.isImage).arg(data.sniffedType).arg(sniffedType).toLatin1();
58 const char* sniffedType = sniffer.sniff(data.constData(), data.size());
60 QVERIFY2(!(sniffedType || testList[i].sniffedType) || (sniffedType && testList[i].sniffedType), errorText(testList[i], sniffedType));
62 if (sniffedType)
    [all...]
TestData.h 27 const char* sniffedType;
    [all...]
  /external/webkit/Source/WebCore/platform/network/soup/
ResourceHandleSoup.cpp 317 static void contentSniffedCallback(SoupMessage* msg, const char* sniffedType, GHashTable *params, gpointer data)
319 if (sniffedType) {
322 if (!officialType || strcmp(officialType, sniffedType))
323 soup_message_headers_set_content_type(msg->response_headers, sniffedType, params);

Completed in 103 milliseconds