Changeset 194398 in webkit
- Timestamp:
- Dec 23, 2015, 3:25:28 PM (11 years ago)
- Location:
- trunk
- Files:
-
- 5 edited
-
Source/WebKit/win/ChangeLog (modified) (1 diff)
-
Source/WebKit/win/WebKitCOMAPI.cpp (modified) (2 diffs)
-
Source/WebKit/win/WebKitCOMAPI.h (modified) (2 diffs)
-
Tools/ChangeLog (modified) (1 diff)
-
Tools/DumpRenderTree/win/TestRunnerWin.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit/win/ChangeLog
r194322 r194398 1 2015-12-23 Brent Fulgham <bfulgham@apple.com> 2 3 Web Inspector: add support for running protocol-test.js tests on Windows 4 https://bugs.webkit.org/show_bug.cgi?id=148037 5 <rdar://problem/22292237> 6 7 Reviewed by Simon Fraser. 8 9 Provide API for WebKit.dll clients to request its CFBundleRef. 10 11 * WebKitCOMAPI.cpp: 12 (webKitBundle): Added. 13 * WebKitCOMAPI.h: 14 1 15 2015-12-20 Dan Bernstein <mitz@apple.com> 2 16 -
trunk/Source/WebKit/win/WebKitCOMAPI.cpp
r188662 r194398 30 30 31 31 #include <WebCore/COMPtr.h> 32 #include <WebCore/WebCoreBundleWin.h> 32 33 33 34 struct CLSIDHash { … … 75 76 return factory->CreateInstance(pUnkOuter, riid, ppvObject); 76 77 } 78 79 CFBundleRef webKitBundle() 80 { 81 return WebCore::webKitBundle(); 82 } -
trunk/Source/WebKit/win/WebKitCOMAPI.h
r188662 r194398 1 1 /* 2 * Copyright (C) 2009 Apple Inc. All rights reserved.2 * Copyright (C) 2009, 2015 Apple Inc. All rights reserved. 3 3 * 4 4 * Redistribution and use in source and binary forms, with or without … … 43 43 HRESULT WEBKIT_API WebKitCreateInstance(REFCLSID, IUnknown* pUnkOuter, REFIID, _COM_Outptr_ void** ppvObject); 44 44 45 typedef struct __CFBundle* CFBundleRef; 46 CFBundleRef WEBKIT_API webKitBundle(); 47 45 48 } 46 49 -
trunk/Tools/ChangeLog
r194397 r194398 1 2015-12-23 Brent Fulgham <bfulgham@apple.com> 2 3 Web Inspector: add support for running protocol-test.js tests on Windows 4 https://bugs.webkit.org/show_bug.cgi?id=148037 5 <rdar://problem/22292237> 6 7 Reviewed by Simon Fraser. 8 9 * DumpRenderTree/win/TestRunnerWin.cpp: 10 (TestRunner::inspectorTestStubURL): Provide implementation. 11 1 12 2015-12-23 Eric Carlson <eric.carlson@apple.com> 2 13 -
trunk/Tools/DumpRenderTree/win/TestRunnerWin.cpp
r188709 r194398 1096 1096 JSStringRef TestRunner::inspectorTestStubURL() 1097 1097 { 1098 // FIXME: Implement this to support Web Inspector tests using `protocol-test.js`. 1099 // See https://bugs.webkit.org/show_bug.cgi?id=148025. 1100 printf("ERROR: TestRunner::inspectorTestStubURL() not implemented\n"); 1101 1102 return nullptr; 1098 CFBundleRef webkitBundle = webKitBundle(); 1099 if (!webkitBundle) 1100 return nullptr; 1101 1102 RetainPtr<CFURLRef> url = adoptCF(CFBundleCopyResourceURL(webkitBundle, CFSTR("TestStub"), CFSTR("html"), CFSTR("WebInspectorUI"))); 1103 if (!url) 1104 return nullptr; 1105 1106 return JSStringCreateWithCFString(CFURLGetString(url.get())); 1103 1107 } 1104 1108
Note:
See TracChangeset
for help on using the changeset viewer.