Changeset 186268 in webkit
- Timestamp:
- Jul 3, 2015, 2:58:14 PM (9 years ago)
- Location:
- trunk
- Files:
-
- 45 edited
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/ChangeLog
r186260 r186268 1 2015-07-03 Dan Bernstein <mitz@apple.com> 2 3 [Xcode] Update some build settings as recommended by Xcode 7 4 https://bugs.webkit.org/show_bug.cgi?id=146597 5 6 Reviewed by Sam Weinig. 7 8 * Configurations/Base.xcconfig: Enabled CLANG_WARN_UNREACHABLE_CODE and 9 GCC_NO_COMMON_BLOCKS. Removed GCC_MODEL_TUNING. 10 11 * JavaScriptCore.xcodeproj/project.pbxproj: Updated LastUpgradeCheck. 12 13 * dfg/DFGGraph.h: Tweaked the definition of DFG_CRASH to suppress unreachable code warnings. 14 1 15 2015-07-03 Yusuke Suzuki <utatane.tea@gmail.com> 2 16 -
trunk/Source/JavaScriptCore/Configurations/Base.xcconfig
r184906 r186268 37 37 CLANG_WARN_ENUM_CONVERSION = YES; 38 38 CLANG_WARN_INT_CONVERSION = YES; 39 CLANG_WARN_UNREACHABLE_CODE = YES; 39 40 CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 40 41 COMBINE_HIDPI_IMAGES = NO; … … 54 55 GCC_GENERATE_DEBUGGING_SYMBOLS = YES; 55 56 GCC_INLINES_ARE_PRIVATE_EXTERN = YES; 56 GCC_ MODEL_TUNING[sdk=macosx*] = G5;57 GCC_NO_COMMON_BLOCKS = YES; 57 58 GCC_OBJC_CALL_CXX_CDTORS = YES; 58 59 GCC_PRECOMPILE_PREFIX_HEADER = YES; -
trunk/Source/JavaScriptCore/JavaScriptCore.xcodeproj/project.pbxproj
r186252 r186268 6706 6706 BuildIndependentTargetsInParallel = YES; 6707 6707 LastSwiftUpdateCheck = 0700; 6708 LastUpgradeCheck = 0 600;6708 LastUpgradeCheck = 0700; 6709 6709 }; 6710 6710 buildConfigurationList = 149C277108902AFE008A9EFC /* Build configuration list for PBXProject "JavaScriptCore" */; -
trunk/Source/JavaScriptCore/bytecompiler/BytecodeGenerator.cpp
r186246 r186268 1464 1464 1465 1465 default: 1466 scope = nullptr; 1466 1467 RELEASE_ASSERT_NOT_REACHED(); 1467 scope = nullptr;1468 1468 break; 1469 1469 } -
trunk/Source/JavaScriptCore/dfg/DFGGraph.h
r184776 r186268 96 96 } while (false) 97 97 98 #define DFG_CRASH(graph, node, reason) \ 99 (graph).handleAssertionFailure( \ 100 (node), __FILE__, __LINE__, WTF_PRETTY_FUNCTION, (reason)); 98 #define DFG_CRASH(graph, node, reason) do { \ 99 (graph).handleAssertionFailure( \ 100 (node), __FILE__, __LINE__, WTF_PRETTY_FUNCTION, (reason)); \ 101 } while (false) 101 102 102 103 struct InlineVariableData { -
trunk/Source/ThirdParty/ANGLE/ANGLE.xcodeproj/project.pbxproj
r186169 r186268 1160 1160 attributes = { 1161 1161 LastSwiftUpdateCheck = 0700; 1162 LastUpgradeCheck = 0 600;1162 LastUpgradeCheck = 0700; 1163 1163 }; 1164 1164 buildConfigurationList = FB39D0731200ED9200088E69 /* Build configuration list for PBXProject "ANGLE" */; -
trunk/Source/ThirdParty/ANGLE/ChangeLog
r186262 r186268 1 2015-07-03 Dan Bernstein <mitz@apple.com> 2 3 [Xcode] Update some build settings as recommended by Xcode 7 4 https://bugs.webkit.org/show_bug.cgi?id=146597 5 6 Reviewed by Sam Weinig. 7 8 * ANGLE.xcodeproj/project.pbxproj: Enabled CLANG_WARN_BOOL_CONVERSION, 9 CLANG_WARN_ENUM_CONVERSION, CLANG_WARN_INT_CONVERSION, ENABLE_STRICT_OBJC_MSGSEND and 10 GCC_NO_COMMON_BLOCKS. 11 12 * Configurations/Base.xcconfig: Updated LastUpgradeCheck. 13 1 14 2015-07-03 Per Arne Vollan <peavo@outlook.com> 2 15 -
trunk/Source/ThirdParty/ANGLE/Configurations/Base.xcconfig
r184862 r186268 8 8 CLANG_CXX_LANGUAGE_STANDARD = gnu++0x; 9 9 CLANG_CXX_LIBRARY = libc++; 10 CLANG_WARN_BOOL_CONVERSION = YES; 10 11 CLANG_WARN_CONSTANT_CONVERSION = YES; 11 12 CLANG_WARN_EMPTY_BODY = YES; 13 CLANG_WARN_ENUM_CONVERSION = YES; 14 CLANG_WARN_INT_CONVERSION = YES; 12 15 CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 13 16 DEAD_CODE_STRIPPING = YES; … … 18 21 GCC_ENABLE_CPP_RTTI = NO; 19 22 GCC_ENABLE_OBJC_EXCEPTIONS = YES; 23 ENABLE_STRICT_OBJC_MSGSEND = YES; 20 24 GCC_ENABLE_OBJC_GC = $(GCC_ENABLE_OBJC_GC_$(PLATFORM_NAME)_$(USE_INTERNAL_SDK)); 21 25 GCC_ENABLE_OBJC_GC_macosx_ = NO; … … 24 28 GCC_FAST_OBJC_DISPATCH = YES; 25 29 GCC_INLINES_ARE_PRIVATE_EXTERN = YES; 26 GCC_ MODEL_TUNING[sdk=macosx*] = G5;30 GCC_NO_COMMON_BLOCKS = YES; 27 31 GCC_OBJC_CALL_CXX_CDTORS = YES; 28 32 GCC_OPTIMIZATION_LEVEL = s; -
trunk/Source/WTF/ChangeLog
r186220 r186268 1 2015-07-03 Dan Bernstein <mitz@apple.com> 2 3 [Xcode] Update some build settings as recommended by Xcode 7 4 https://bugs.webkit.org/show_bug.cgi?id=146597 5 6 Reviewed by Sam Weinig. 7 8 * Configurations/Base.xcconfig: Enabled CLANG_WARN_UNREACHABLE_CODE and 9 GCC_NO_COMMON_BLOCKS. Removed GCC_MODEL_TUNING. 10 11 * WTF.xcodeproj/project.pbxproj: Updated LastUpgradeCheck. 12 1 13 2015-07-01 Alex Christensen <achristensen@webkit.org> 2 14 -
trunk/Source/WTF/Configurations/Base.xcconfig
r184845 r186268 37 37 CLANG_WARN_ENUM_CONVERSION = YES; 38 38 CLANG_WARN_INT_CONVERSION = YES; 39 CLANG_WARN_UNREACHABLE_CODE = YES; 39 40 CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 40 41 COMBINE_HIDPI_IMAGES = NO; … … 54 55 GCC_GENERATE_DEBUGGING_SYMBOLS = YES; 55 56 GCC_INLINES_ARE_PRIVATE_EXTERN = YES; 56 GCC_ MODEL_TUNING[sdk=macosx*] = G5;57 GCC_NO_COMMON_BLOCKS = YES; 57 58 GCC_OBJC_CALL_CXX_CDTORS = YES; 58 59 GCC_PRECOMPILE_PREFIX_HEADER = YES; -
trunk/Source/WTF/WTF.xcodeproj/project.pbxproj
r185658 r186268 1266 1266 attributes = { 1267 1267 LastSwiftUpdateCheck = 0700; 1268 LastUpgradeCheck = 0 600;1268 LastUpgradeCheck = 0700; 1269 1269 }; 1270 1270 buildConfigurationList = 5D247B5C14689B8600E78B76 /* Build configuration list for PBXProject "WTF" */; -
trunk/Source/WebCore/ChangeLog
r186267 r186268 1 2015-07-03 Dan Bernstein <mitz@apple.com> 2 3 [Xcode] Update some build settings as recommended by Xcode 7 4 https://bugs.webkit.org/show_bug.cgi?id=146597 5 6 Reviewed by Sam Weinig. 7 8 * Configurations/Base.xcconfig: Enabled CLANG_WARN_UNREACHABLE_CODE, 9 GCC_WARN_UNDECLARED_SELECTOR, and GCC_NO_COMMON_BLOCKS. Removed GCC_MODEL_TUNING. 10 11 * WebCore.xcodeproj/project.pbxproj: Updated LastUpgradeCheck. Disabled -Wunreachable-code 12 for two bison-generated source files. Updated for rename of WebScriptObject.h. 13 14 * bindings/objc/WebScriptObject.mm: 15 (-[WebUndefined dealloc]): Removed unreachable code and suppressed warning about not calling 16 super. 17 * bridge/objc/WebScriptObject.h: Renamed to WebScriptObjectProtocol.h to enabled inlcuding 18 the other WebScriptObject.h. 19 * bridge/objc/WebScriptObjectProtocol.h: Renamed from WebScriptObject.h. 20 21 * bridge/objc/objc_class.mm: Updated for rename and included WebScriptObject.h because we 22 use selectors declared in that file. 23 24 * bridge/objc/objc_instance.mm: Ditto. 25 (ObjCRuntimeMethod::create): Resolved ambiguity between JSC::JSValue and the Objective-C 26 JSValue class. 27 (ObjCRuntimeMethod::createStructure): Ditto. 28 (ObjcInstance::invokeMethod): Ditto. 29 (ObjcInstance::invokeObjcMethod): Ditto. 30 (ObjcInstance::invokeDefaultMethod): Ditto. 31 (ObjcInstance::setValueOfUndefinedField): Ditto. 32 (ObjcInstance::getValueOfUndefinedField): Ditto. 33 (ObjcInstance::defaultValue): Ditto. 34 (ObjcInstance::stringValue): Ditto. 35 (ObjcInstance::numberValue): Ditto. 36 (ObjcInstance::booleanValue): Ditto. 37 (ObjcInstance::valueOf): Ditto, 38 39 * bridge/objc/objc_runtime.h: Moved definition of isFallbackMethod() from here to the 40 implementation. 41 * bridge/objc/objc_runtime.mm: Updated for rename and included WebScriptObject.h because we 42 use selectors declared in that file. 43 (JSC::Bindings::ObjcMethod::isFallbackMethod): Moved definition from the header to here. 44 45 * bridge/objc/objc_utility.mm: Updated for rename. 46 47 * cssjit/SelectorCompiler.cpp: 48 (WebCore::SelectorCompiler::addScrollbarPseudoClassType): Removed unreachable code. 49 50 * platform/graphics/mac/MediaPlayerPrivateQTKit.mm: 51 Added declarations to the WebCoreMovieObserver interface. 52 (WebCore::MediaPlayerPrivateQTKit::disableUnsupportedTracks): Suppressed 53 -Wundeclared-selector around invocation of a selector that is not declared anywhere. 54 1 55 2015-07-03 Kyounga Ra <kyounga@alticast.com> 2 56 -
trunk/Source/WebCore/Configurations/Base.xcconfig
r185923 r186268 37 37 CLANG_WARN_ENUM_CONVERSION = YES; 38 38 CLANG_WARN_INT_CONVERSION = YES; 39 CLANG_WARN_UNREACHABLE_CODE = YES; 39 40 CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 41 GCC_WARN_UNDECLARED_SELECTOR = YES; 40 42 COMBINE_HIDPI_IMAGES = NO; 41 43 DEBUG_INFORMATION_FORMAT = dwarf-with-dsym; … … 53 55 GCC_FAST_OBJC_DISPATCH = YES; 54 56 GCC_GENERATE_DEBUGGING_SYMBOLS = YES; 55 GCC_ MODEL_TUNING[sdk=macosx*] = G5;57 GCC_NO_COMMON_BLOCKS = YES; 56 58 GCC_OBJC_CALL_CXX_CDTORS = YES; 57 59 GCC_PRECOMPILE_PREFIX_HEADER = YES; … … 75 77 GCC_WARN_NON_VIRTUAL_DESTRUCTOR = YES; 76 78 GCC_WARN_SIGN_COMPARE = YES; 77 GCC_WARN_UNDECLARED_SELECTOR = NO;78 79 GCC_WARN_UNINITIALIZED_AUTOS = YES; 79 80 GCC_WARN_UNUSED_FUNCTION = YES; -
trunk/Source/WebCore/WebCore.xcodeproj/project.pbxproj
r186182 r186268 724 724 1A569D190D7E2B82007C3983 /* objc_utility.h in Headers */ = {isa = PBXBuildFile; fileRef = 1A569CEA0D7E2B82007C3983 /* objc_utility.h */; }; 725 725 1A569D1A0D7E2B82007C3983 /* objc_utility.mm in Sources */ = {isa = PBXBuildFile; fileRef = 1A569CEB0D7E2B82007C3983 /* objc_utility.mm */; }; 726 1A569D1B0D7E2B82007C3983 /* WebScriptObject .h in Headers */ = {isa = PBXBuildFile; fileRef = 1A569CEC0D7E2B82007C3983 /* WebScriptObject.h */; };726 1A569D1B0D7E2B82007C3983 /* WebScriptObjectProtocol.h in Headers */ = {isa = PBXBuildFile; fileRef = 1A569CEC0D7E2B82007C3983 /* WebScriptObjectProtocol.h */; }; 727 727 1A569D1E0D7E2B82007C3983 /* runtime_array.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1A569CEF0D7E2B82007C3983 /* runtime_array.cpp */; }; 728 728 1A569D1F0D7E2B82007C3983 /* runtime_array.h in Headers */ = {isa = PBXBuildFile; fileRef = 1A569CF00D7E2B82007C3983 /* runtime_array.h */; }; … … 740 740 1A750D8E0A90E521000FF215 /* JSNodeIterator.h in Headers */ = {isa = PBXBuildFile; fileRef = 1A750D8C0A90E521000FF215 /* JSNodeIterator.h */; }; 741 741 1A750DD40A90E729000FF215 /* JSNodeIteratorCustom.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1A750DD30A90E729000FF215 /* JSNodeIteratorCustom.cpp */; }; 742 1A7629D50A07425100989F5B /* XPathGrammar.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1A7629D30A07425100989F5B /* XPathGrammar.cpp */; };742 1A7629D50A07425100989F5B /* XPathGrammar.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1A7629D30A07425100989F5B /* XPathGrammar.cpp */; settings = {COMPILER_FLAGS = "-Wno-unreachable-code"; }; }; 743 743 1A7629D60A07425100989F5B /* XPathGrammar.h in Headers */ = {isa = PBXBuildFile; fileRef = 1A7629D40A07425100989F5B /* XPathGrammar.h */; }; 744 744 1A762C730A074F2600989F5B /* JSXPathEvaluator.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1A762C6B0A074F2600989F5B /* JSXPathEvaluator.cpp */; }; … … 2234 2234 63F5D4F70E8C4B7100C0BD04 /* ElementRareData.h in Headers */ = {isa = PBXBuildFile; fileRef = 637B7ADE0E8767B800E32194 /* ElementRareData.h */; }; 2235 2235 650F53DC09D15DDA00C9B0C8 /* CSSGrammar.h in Headers */ = {isa = PBXBuildFile; fileRef = 650F53DB09D15DDA00C9B0C8 /* CSSGrammar.h */; }; 2236 650F53DD09D15DDF00C9B0C8 /* CSSGrammar.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 6565814409D13043000E61D7 /* CSSGrammar.cpp */; };2236 650F53DD09D15DDF00C9B0C8 /* CSSGrammar.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 6565814409D13043000E61D7 /* CSSGrammar.cpp */; settings = {COMPILER_FLAGS = "-Wno-unreachable-code"; }; }; 2237 2237 650FBF2A0D9AF047008FC292 /* SVGHKernElement.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 650FBF270D9AF046008FC292 /* SVGHKernElement.cpp */; }; 2238 2238 650FBF2B0D9AF047008FC292 /* SVGHKernElement.h in Headers */ = {isa = PBXBuildFile; fileRef = 650FBF280D9AF047008FC292 /* SVGHKernElement.h */; }; … … 7846 7846 1A569CEA0D7E2B82007C3983 /* objc_utility.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = objc_utility.h; sourceTree = "<group>"; }; 7847 7847 1A569CEB0D7E2B82007C3983 /* objc_utility.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = objc_utility.mm; sourceTree = "<group>"; }; 7848 1A569CEC0D7E2B82007C3983 /* WebScriptObject .h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WebScriptObject.h; sourceTree = "<group>"; };7848 1A569CEC0D7E2B82007C3983 /* WebScriptObjectProtocol.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WebScriptObjectProtocol.h; sourceTree = "<group>"; }; 7849 7849 1A569CEF0D7E2B82007C3983 /* runtime_array.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = runtime_array.cpp; sourceTree = "<group>"; }; 7850 7850 1A569CF00D7E2B82007C3983 /* runtime_array.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = runtime_array.h; sourceTree = "<group>"; }; … … 15357 15357 E16982541134629D00894115 /* ObjCRuntimeObject.h */, 15358 15358 E169825F1134636A00894115 /* ObjCRuntimeObject.mm */, 15359 1A569CEC0D7E2B82007C3983 /* WebScriptObject .h */,15359 1A569CEC0D7E2B82007C3983 /* WebScriptObjectProtocol.h */, 15360 15360 ); 15361 15361 path = objc; … … 27257 27257 CE95208A1811B475007A5392 /* WebSafeIncrementalSweeperIOS.h in Headers */, 27258 27258 1CAF34810A6C405200ABE06E /* WebScriptObject.h in Headers */, 27259 1A569D1B0D7E2B82007C3983 /* WebScriptObject .h in Headers */,27259 1A569D1B0D7E2B82007C3983 /* WebScriptObjectProtocol.h in Headers */, 27260 27260 1CAF34830A6C405200ABE06E /* WebScriptObjectPrivate.h in Headers */, 27261 27261 97AABD1B14FA09D5007457AE /* WebSocket.h in Headers */, … … 27452 27452 BuildIndependentTargetsInParallel = YES; 27453 27453 LastSwiftUpdateCheck = 0700; 27454 LastUpgradeCheck = 0 600;27454 LastUpgradeCheck = 0700; 27455 27455 }; 27456 27456 buildConfigurationList = 149C284308902B11008A9EFC /* Build configuration list for PBXProject "WebCore" */; -
trunk/Source/WebCore/bindings/objc/WebScriptObject.mm
r185608 r186268 673 673 } 674 674 675 #pragma clang diagnostic push 676 #pragma clang diagnostic ignored "-Wobjc-missing-super-calls" 675 677 - (void)dealloc 676 678 { 677 679 return; 678 [super dealloc]; // make -Wdealloc-check happy 679 } 680 } 681 #pragma clang diagnostic pop 680 682 681 683 + (WebUndefined *)undefined -
trunk/Source/WebCore/bridge/objc/objc_class.mm
r185369 r186268 29 29 #include "objc_instance.h" 30 30 #include "WebScriptObject.h" 31 #include "WebScriptObjectProtocol.h" 31 32 32 33 namespace JSC { -
trunk/Source/WebCore/bridge/objc/objc_instance.mm
r176278 r186268 31 31 #import "ObjCRuntimeObject.h" 32 32 #import "WebScriptObject.h" 33 #import "WebScriptObjectProtocol.h" 33 34 #import "runtime/FunctionPrototype.h" 34 35 #import "runtime_method.h" … … 195 196 } 196 197 197 static Structure* createStructure(VM& vm, JSC::JSGlobalObject* globalObject, JS Value prototype)198 static Structure* createStructure(VM& vm, JSC::JSGlobalObject* globalObject, JSC::JSValue prototype) 198 199 { 199 200 return Structure::create(vm, globalObject, prototype, TypeInfo(ObjectType, StructureFlags), &s_info); … … 219 220 const ClassInfo ObjCRuntimeMethod::s_info = { "ObjCRuntimeMethod", &RuntimeMethod::s_info, 0, CREATE_METHOD_TABLE(ObjCRuntimeMethod) }; 220 221 221 JS Value ObjcInstance::getMethod(ExecState* exec, PropertyName propertyName)222 JSC::JSValue ObjcInstance::getMethod(ExecState* exec, PropertyName propertyName) 222 223 { 223 224 Method* method = getClass()->methodNamed(propertyName, this); … … 225 226 } 226 227 227 JS Value ObjcInstance::invokeMethod(ExecState* exec, RuntimeMethod* runtimeMethod)228 JSC::JSValue ObjcInstance::invokeMethod(ExecState* exec, RuntimeMethod* runtimeMethod) 228 229 { 229 230 if (!asObject(runtimeMethod)->inherits(ObjCRuntimeMethod::info())) … … 236 237 } 237 238 238 JS Value ObjcInstance::invokeObjcMethod(ExecState* exec, ObjcMethod* method)239 JSC::JSValue ObjcInstance::invokeObjcMethod(ExecState* exec, ObjcMethod* method) 239 240 { 240 241 JSValue result = jsUndefined(); … … 354 355 } 355 356 356 JS Value ObjcInstance::invokeDefaultMethod(ExecState* exec)357 JSC::JSValue ObjcInstance::invokeDefaultMethod(ExecState* exec) 357 358 { 358 359 JSValue result = jsUndefined(); … … 437 438 } 438 439 439 JS Value ObjcInstance::getValueOfUndefinedField(ExecState* exec, PropertyName propertyName) const440 JSC::JSValue ObjcInstance::getValueOfUndefinedField(ExecState* exec, PropertyName propertyName) const 440 441 { 441 442 String name(propertyName.publicName()); … … 470 471 } 471 472 472 JS Value ObjcInstance::defaultValue(ExecState* exec, PreferredPrimitiveType hint) const473 JSC::JSValue ObjcInstance::defaultValue(ExecState* exec, PreferredPrimitiveType hint) const 473 474 { 474 475 if (hint == PreferString) … … 483 484 } 484 485 485 JS Value ObjcInstance::stringValue(ExecState* exec) const486 JSC::JSValue ObjcInstance::stringValue(ExecState* exec) const 486 487 { 487 488 return convertNSStringToString(exec, [getObject() description]); 488 489 } 489 490 490 JS Value ObjcInstance::numberValue(ExecState*) const491 JSC::JSValue ObjcInstance::numberValue(ExecState*) const 491 492 { 492 493 // FIXME: Implement something sensible … … 494 495 } 495 496 496 JS Value ObjcInstance::booleanValue() const497 JSC::JSValue ObjcInstance::booleanValue() const 497 498 { 498 499 // FIXME: Implement something sensible … … 500 501 } 501 502 502 JS Value ObjcInstance::valueOf(ExecState* exec) const503 JSC::JSValue ObjcInstance::valueOf(ExecState* exec) const 503 504 { 504 505 return stringValue(exec); -
trunk/Source/WebCore/bridge/objc/objc_runtime.h
r183575 r186268 62 62 63 63 NSMethodSignature *getMethodSignature() const; 64 65 bool isFallbackMethod() const { return _selector == @selector(invokeUndefinedMethodFromWebScript:withArguments:); }64 65 bool isFallbackMethod() const; 66 66 void setJavaScriptName(CFStringRef n) { _javaScriptName = n; } 67 67 CFStringRef javaScriptName() const { return _javaScriptName.get(); } -
trunk/Source/WebCore/bridge/objc/objc_runtime.mm
r182205 r186268 30 30 #include "ObjCRuntimeObject.h" 31 31 #include "WebScriptObject.h" 32 #include "WebScriptObjectProtocol.h" 32 33 #include "objc_instance.h" 33 34 #include "runtime_array.h" … … 73 74 } 74 75 76 bool ObjcMethod::isFallbackMethod() const 77 { 78 return _selector == @selector(invokeUndefinedMethodFromWebScript:withArguments:); 79 } 80 75 81 // ---------------------- ObjcField ---------------------- 76 82 -
trunk/Source/WebCore/bridge/objc/objc_utility.mm
r165676 r186268 27 27 #include "objc_utility.h" 28 28 29 #include "WebScriptObjectProtocol.h" 29 30 #include "objc_instance.h" 30 31 #include "runtime_array.h" 31 32 #include "runtime_object.h" 32 #include "WebScriptObject.h"33 33 #include <runtime/JSGlobalObject.h> 34 34 #include <runtime/JSLock.h> -
trunk/Source/WebCore/cssjit/SelectorCompiler.cpp
r185854 r186268 434 434 } 435 435 436 static inline FunctionType addScrollbarPseudoClassType(const CSSSelector& selector, SelectorFragment& fragment)436 static inline FunctionType addScrollbarPseudoClassType(const CSSSelector&, SelectorFragment&) 437 437 { 438 438 // FIXME: scrollbar pseudoclass interaction with :not doesn't behave correctly. … … 440 440 // https://bugs.webkit.org/show_bug.cgi?id=146221 441 441 return FunctionType::CannotCompile; 442 443 switch (selector.pseudoClassType()) {444 case CSSSelector::PseudoClassWindowInactive:445 fragment.unoptimizedPseudoClasses.append(JSC::FunctionPtr(isWindowInactive));446 return FunctionType::SimpleSelectorChecker;447 case CSSSelector::PseudoClassDisabled:448 return fragment.appendUnoptimizedPseudoClassWithContext(scrollbarMatchesDisabledPseudoClass);449 case CSSSelector::PseudoClassEnabled:450 return fragment.appendUnoptimizedPseudoClassWithContext(scrollbarMatchesEnabledPseudoClass);451 case CSSSelector::PseudoClassHorizontal:452 return fragment.appendUnoptimizedPseudoClassWithContext(scrollbarMatchesHorizontalPseudoClass);453 case CSSSelector::PseudoClassVertical:454 return fragment.appendUnoptimizedPseudoClassWithContext(scrollbarMatchesVerticalPseudoClass);455 case CSSSelector::PseudoClassDecrement:456 return fragment.appendUnoptimizedPseudoClassWithContext(scrollbarMatchesDecrementPseudoClass);457 case CSSSelector::PseudoClassIncrement:458 return fragment.appendUnoptimizedPseudoClassWithContext(scrollbarMatchesIncrementPseudoClass);459 case CSSSelector::PseudoClassStart:460 return fragment.appendUnoptimizedPseudoClassWithContext(scrollbarMatchesStartPseudoClass);461 case CSSSelector::PseudoClassEnd:462 return fragment.appendUnoptimizedPseudoClassWithContext(scrollbarMatchesEndPseudoClass);463 case CSSSelector::PseudoClassDoubleButton:464 return fragment.appendUnoptimizedPseudoClassWithContext(scrollbarMatchesDoubleButtonPseudoClass);465 case CSSSelector::PseudoClassSingleButton:466 return fragment.appendUnoptimizedPseudoClassWithContext(scrollbarMatchesSingleButtonPseudoClass);467 case CSSSelector::PseudoClassNoButton:468 return fragment.appendUnoptimizedPseudoClassWithContext(scrollbarMatchesNoButtonPseudoClass);469 case CSSSelector::PseudoClassCornerPresent:470 return fragment.appendUnoptimizedPseudoClassWithContext(scrollbarMatchesCornerPresentPseudoClass);471 case CSSSelector::PseudoClassActive:472 return fragment.appendUnoptimizedPseudoClassWithContext(scrollbarMatchesActivePseudoClass);473 case CSSSelector::PseudoClassHover:474 return fragment.appendUnoptimizedPseudoClassWithContext(scrollbarMatchesHoverPseudoClass);475 default:476 return FunctionType::CannotMatchAnything;477 }478 return FunctionType::CannotMatchAnything;479 442 } 480 443 -
trunk/Source/WebCore/platform/graphics/mac/MediaPlayerPrivateQTKit.mm
r185593 r186268 155 155 -(void)setDelayCallbacks:(BOOL)shouldDelay; 156 156 -(void)loadStateChanged:(NSNotification *)notification; 157 - (void)loadedRangesChanged:(NSNotification *)notification; 157 158 -(void)rateChanged:(NSNotification *)notification; 158 159 -(void)sizeChanged:(NSNotification *)notification; … … 160 161 -(void)didEnd:(NSNotification *)notification; 161 162 -(void)layerHostChanged:(NSNotification *)notification; 163 - (void)newImageAvailable:(NSNotification *)notification; 162 164 @end 163 165 … … 1427 1429 // they will be composited under the video tracks, forcing QT to do extra 1428 1430 // work. 1431 #pragma clang diagnostic push 1432 #pragma clang diagnostic ignored "-Wundeclared-selector" 1429 1433 QTTrack *chapterTrack = [track performSelector:@selector(chapterlist)]; 1434 #pragma clang diagnostic pop 1430 1435 if (!chapterTrack) 1431 1436 continue; -
trunk/Source/WebInspectorUI/ChangeLog
r186227 r186268 1 2015-07-03 Dan Bernstein <mitz@apple.com> 2 3 [Xcode] Update some build settings as recommended by Xcode 7 4 https://bugs.webkit.org/show_bug.cgi?id=146597 5 6 Reviewed by Sam Weinig. 7 8 * Configurations/Base.xcconfig: Enabled CLANG_WARN_UNREACHABLE_CODE and 9 GCC_NO_COMMON_BLOCKS. 10 * WebInspectorUI.xcodeproj/project.pbxproj: Updated LastUpgradeCheck. 11 1 12 2015-07-02 Devin Rousso <drousso@apple.com> 2 13 -
trunk/Source/WebInspectorUI/Configurations/Base.xcconfig
r184862 r186268 22 22 CLANG_WARN_ENUM_CONVERSION = YES; 23 23 CLANG_WARN_INT_CONVERSION = YES; 24 CLANG_WARN_UNREACHABLE_CODE = YES; 24 25 CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 25 26 ENABLE_STRICT_OBJC_MSGSEND = YES; … … 32 33 GCC_FAST_OBJC_DISPATCH = YES; 33 34 GCC_GENERATE_DEBUGGING_SYMBOLS = YES; 35 GCC_NO_COMMON_BLOCKS = YES; 34 36 GCC_OPTIMIZATION_LEVEL = s; 35 37 GCC_PRECOMPILE_PREFIX_HEADER = NO; -
trunk/Source/WebInspectorUI/WebInspectorUI.xcodeproj/project.pbxproj
r185658 r186268 121 121 attributes = { 122 122 LastSwiftUpdateCheck = 0700; 123 LastUpgradeCheck = 0 600;123 LastUpgradeCheck = 0700; 124 124 ORGANIZATIONNAME = Apple; 125 125 }; -
trunk/Source/WebKit/ChangeLog
r186220 r186268 1 2015-07-03 Dan Bernstein <mitz@apple.com> 2 3 [Xcode] Update some build settings as recommended by Xcode 7 4 https://bugs.webkit.org/show_bug.cgi?id=146597 5 6 Reviewed by Sam Weinig. 7 8 * WebKit.xcodeproj/project.pbxproj: Updated LastUpgradeCheck. 9 1 10 2015-07-01 Alex Christensen <achristensen@webkit.org> 2 11 -
trunk/Source/WebKit/WebKit.xcodeproj/project.pbxproj
r185999 r186268 2003 2003 attributes = { 2004 2004 LastSwiftUpdateCheck = 0700; 2005 LastUpgradeCheck = 0 600;2005 LastUpgradeCheck = 0700; 2006 2006 }; 2007 2007 buildConfigurationList = 149C283208902B0F008A9EFC /* Build configuration list for PBXProject "WebKit" */; -
trunk/Source/WebKit/mac/ChangeLog
r186240 r186268 1 2015-07-03 Dan Bernstein <mitz@apple.com> 2 3 [Xcode] Update some build settings as recommended by Xcode 7 4 https://bugs.webkit.org/show_bug.cgi?id=146597 5 6 Reviewed by Sam Weinig. 7 8 * Configurations/Base.xcconfig: Enabled CLANG_WARN_UNREACHABLE_CODE, 9 GCC_WARN_UNDECLARED_SELECTOR and GCC_NO_COMMON_BLOCKS. Removed GCC_MODEL_TUNING. 10 1 11 2015-07-02 Timothy Horton <timothy_horton@apple.com> 2 12 -
trunk/Source/WebKit/mac/Configurations/Base.xcconfig
r184853 r186268 37 37 CLANG_WARN_ENUM_CONVERSION = YES; 38 38 CLANG_WARN_INT_CONVERSION = YES; 39 CLANG_WARN_UNREACHABLE_CODE = YES; 39 40 CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 41 GCC_WARN_UNDECLARED_SELECTOR = YES; 40 42 COMBINE_HIDPI_IMAGES = NO; 41 43 DEBUG_INFORMATION_FORMAT = dwarf-with-dsym; … … 53 55 GCC_FAST_OBJC_DISPATCH = YES; 54 56 GCC_GENERATE_DEBUGGING_SYMBOLS = YES; 55 GCC_ MODEL_TUNING[sdk=macosx*] = G5;57 GCC_NO_COMMON_BLOCKS = YES; 56 58 GCC_OBJC_CALL_CXX_CDTORS = YES; 57 59 GCC_PRECOMPILE_PREFIX_HEADER = YES; -
trunk/Source/WebKit2/ChangeLog
r186258 r186268 1 2015-07-03 Dan Bernstein <mitz@apple.com> 2 3 [Xcode] Update some build settings as recommended by Xcode 7 4 https://bugs.webkit.org/show_bug.cgi?id=146597 5 6 Reviewed by Sam Weinig. 7 8 * Configurations/Base.xcconfig: Enabled CLANG_WARN_UNREACHABLE_CODE and 9 GCC_NO_COMMON_BLOCKS. Removed GCC_MODEL_TUNING. 10 11 * WebKit2.xcodeproj/project.pbxproj: Updated LastUpgradeCheck. 12 1 13 2015-07-03 Carlos Garcia Campos <cgarcia@igalia.com> 2 14 -
trunk/Source/WebKit2/Configurations/Base.xcconfig
r184853 r186268 37 37 CLANG_WARN_ENUM_CONVERSION = YES; 38 38 CLANG_WARN_INT_CONVERSION = YES; 39 CLANG_WARN_UNREACHABLE_CODE = YES; 39 40 CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 40 41 COMBINE_HIDPI_IMAGES = NO; … … 53 54 GCC_FAST_OBJC_DISPATCH = YES; 54 55 GCC_GENERATE_DEBUGGING_SYMBOLS = YES; 55 GCC_ MODEL_TUNING = G5;56 GCC_NO_COMMON_BLOCKS = YES; 56 57 GCC_OBJC_CALL_CXX_CDTORS = YES; 57 58 GCC_PRECOMPILE_PREFIX_HEADER = YES; -
trunk/Source/WebKit2/WebKit2.xcodeproj/project.pbxproj
r186229 r186268 8733 8733 attributes = { 8734 8734 LastSwiftUpdateCheck = 0700; 8735 LastUpgradeCheck = 0 600;8735 LastUpgradeCheck = 0700; 8736 8736 }; 8737 8737 buildConfigurationList = 1DEB91B108733DA50010E9CD /* Build configuration list for PBXProject "WebKit2" */; -
trunk/Source/bmalloc/ChangeLog
r186242 r186268 1 2015-07-03 Dan Bernstein <mitz@apple.com> 2 3 [Xcode] Update some build settings as recommended by Xcode 7 4 https://bugs.webkit.org/show_bug.cgi?id=146597 5 6 Reviewed by Sam Weinig. 7 8 * Configurations/Base.xcconfig: Enabled CLANG_WARN_UNREACHABLE_CODE, GCC_NO_COMMON_BLOCKS, 9 and ENABLE_STRICT_OBJC_MSGSEND. Removed GCC_MODEL_TUNING. 10 11 * bmalloc.xcodeproj/project.pbxproj: Updated LastUpgradeCheck. 12 1 13 2015-07-02 Geoffrey Garen <ggaren@apple.com> 2 14 -
trunk/Source/bmalloc/Configurations/Base.xcconfig
r184845 r186268 37 37 CLANG_WARN_ENUM_CONVERSION = YES; 38 38 CLANG_WARN_INT_CONVERSION = YES; 39 CLANG_WARN_UNREACHABLE_CODE = YES; 39 40 CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 40 41 DEBUG_INFORMATION_FORMAT = dwarf-with-dsym; … … 52 53 GCC_GENERATE_DEBUGGING_SYMBOLS = YES; 53 54 GCC_INLINES_ARE_PRIVATE_EXTERN = YES; 54 GCC_ MODEL_TUNING[sdk=macosx*] = G5;55 GCC_NO_COMMON_BLOCKS = YES; 55 56 GCC_OBJC_CALL_CXX_CDTORS = YES; 56 57 GCC_PRECOMPILE_PREFIX_HEADER = YES; 58 ENABLE_STRICT_OBJC_MSGSEND = YES; 57 59 GCC_PREPROCESSOR_DEFINITIONS = $(DEBUG_DEFINES) HAVE_HEADER_DETECTION_H $(inherited); 58 60 GCC_STRICT_ALIASING = YES; -
trunk/Source/bmalloc/bmalloc.xcodeproj/project.pbxproj
r185658 r186268 411 411 attributes = { 412 412 LastSwiftUpdateCheck = 0700; 413 LastUpgradeCheck = 0 600;413 LastUpgradeCheck = 0700; 414 414 }; 415 415 buildConfigurationList = 145F683A179DC45F00D65598 /* Build configuration list for PBXProject "bmalloc" */; -
trunk/Tools/ChangeLog
r186248 r186268 1 2015-07-03 Dan Bernstein <mitz@apple.com> 2 3 [Xcode] Update some build settings as recommended by Xcode 7 4 https://bugs.webkit.org/show_bug.cgi?id=146597 5 6 Reviewed by Sam Weinig. 7 8 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Updated LastUpgradeCheck. 9 10 * DumpRenderTree/mac/Configurations/Base.xcconfig: Enabled GCC_NO_COMMON_BLOCKS, 11 ENABLE_STRICT_OBJC_MSGSEND, CLANG_WARN_BOOL_CONVERSION, CLANG_WARN_CONSTANT_CONVERSION, 12 CLANG_WARN_EMPTY_BODY, CLANG_WARN_ENUM_CONVERSION, CLANG_WARN_INT_CONVERSION, 13 CLANG_WARN_UNREACHABLE_CODE, GCC_WARN_ABOUT_RETURN_TYPE, 14 GCC_WARN_UNINITIALIZED_AUTOS, and GCC_WARN_UNDECLARED_SELECTOR. 15 16 * DumpRenderTree/mac/EventSendingController.mm: 17 (+[EventSendingController webScriptNameForSelector:]): Removed check for setDragMode:, 18 which was removed in r19101. 19 20 * DumpRenderTree/mac/TextInputController.m: 21 (-[TextInputController interpretKeyEvents:withSender:]): Suppressed -Wundeclared-selector 22 around used of a selector not that is not declared anywhere. 23 24 * MiniBrowser/Configurations/Base.xcconfig: Enabled GCC_NO_COMMON_BLOCKS. 25 26 * MiniBrowser/MiniBrowser.xcodeproj/project.pbxproj: Updated LastUpgradeCheck. 27 28 * TestWebKitAPI/Configurations/Base.xcconfig: Enabled GCC_NO_COMMON_BLOCKS, 29 ENABLE_STRICT_OBJC_MSGSEND, CLANG_WARN_BOOL_CONVERSION, CLANG_WARN_CONSTANT_CONVERSION, 30 CLANG_WARN_EMPTY_BODY, CLANG_WARN_ENUM_CONVERSION, CLANG_WARN_INT_CONVERSION, 31 CLANG_WARN_UNREACHABLE_CODE, GCC_WARN_ABOUT_RETURN_TYPE, 32 GCC_WARN_UNINITIALIZED_AUTOS, and GCC_WARN_UNDECLARED_SELECTOR. 33 34 * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj: Updated LastUpgradeCheck. 35 1 36 2015-07-02 Daniel Bates <dabates@apple.com> 2 37 -
trunk/Tools/DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj
r185658 r186268 841 841 attributes = { 842 842 LastSwiftUpdateCheck = 0700; 843 LastUpgradeCheck = 0700; 843 844 }; 844 845 buildConfigurationList = 149C29C308902C6D008A9EFC /* Build configuration list for PBXProject "DumpRenderTree" */; -
trunk/Tools/DumpRenderTree/mac/Configurations/Base.xcconfig
r184845 r186268 31 31 PLATFORM_HEADER_SEARCH_PATHS[sdk=macosx*] = mac/InternalHeaders $(NEXT_ROOT)/usr/local/include/WebCoreTestSupport; 32 32 FRAMEWORK_SEARCH_PATHS[sdk=iphone*] = $(SYSTEM_LIBRARY_DIR)/PrivateFrameworks; 33 GCC_NO_COMMON_BLOCKS = YES; 34 ENABLE_STRICT_OBJC_MSGSEND=YES; 33 35 GCC_PREPROCESSOR_DEFINITIONS = $(DEBUG_DEFINES) $(GCC_PREPROCESSOR_DEFINITIONS_$(PLATFORM_NAME)); 34 36 GCC_PREPROCESSOR_DEFINITIONS_macosx = ENABLE_DASHBOARD_SUPPORT; … … 40 42 GCC_PRECOMPILE_PREFIX_HEADER = YES 41 43 GCC_TREAT_WARNINGS_AS_ERRORS = YES 44 CLANG_WARN_BOOL_CONVERSION = YES; 45 CLANG_WARN_CONSTANT_CONVERSION = YES; 46 CLANG_WARN_EMPTY_BODY = YES; 47 CLANG_WARN_ENUM_CONVERSION = YES; 48 CLANG_WARN_INT_CONVERSION = YES; 49 CLANG_WARN_UNREACHABLE_CODE = YES; 42 50 GCC_VERSION = com.apple.compilers.llvm.clang.1_0; 43 51 GCC_WARN_ABOUT_DEPRECATED_FUNCTIONS = NO 52 GCC_WARN_ABOUT_RETURN_TYPE = YES; 53 GCC_WARN_UNINITIALIZED_AUTOS = YES; 44 54 GCC_WARN_UNUSED_FUNCTION = YES 45 55 GCC_WARN_UNUSED_VARIABLE = YES 56 CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 57 GCC_WARN_UNDECLARED_SELECTOR = YES; 46 58 // FIXME: <http://webkit.org/b/118590> DumpRenderTree should build with -Wshorten-64-to-32 47 59 GCC_WARN_64_TO_32_BIT_CONVERSION[arch=arm64] = NO; -
trunk/Tools/DumpRenderTree/mac/EventSendingController.mm
r182821 r186268 261 261 if (aSelector == @selector(mouseMoveToX:Y:)) 262 262 return @"mouseMoveTo"; 263 if (aSelector == @selector(setDragMode:))264 return @"setDragMode";265 263 if (aSelector == @selector(mouseScrollByX:andY:)) 266 264 return @"mouseScrollBy"; -
trunk/Tools/DumpRenderTree/mac/TextInputController.m
r179450 r186268 537 537 538 538 id result = [inputMethodHandler callWebScriptMethod:@"call" withArguments:[NSArray arrayWithObjects:inputMethodHandler, eventParam, nil]]; 539 if (![result respondsToSelector:@selector(boolValue)] || ![result boolValue]) 539 if (![result respondsToSelector:@selector(boolValue)] || ![result boolValue]) { 540 #pragma clang diagnostic push 541 #pragma clang diagnostic ignored "-Wundeclared-selector" 540 542 [sender doCommandBySelector:@selector(noop:)]; // AppKit sends noop: if the ime does not handle an event 541 542 inputMethodView = nil; 543 #pragma clang diagnostic pop 544 } 545 546 inputMethodView = nil; 543 547 return YES; 544 548 } -
trunk/Tools/MiniBrowser/Configurations/Base.xcconfig
r179450 r186268 48 48 WARNING_CFLAGS = -Wall -W -Wno-unused-parameter 49 49 LINKER_DISPLAYS_MANGLED_NAMES = YES; 50 GCC_NO_COMMON_BLOCKS = YES; 50 51 51 52 TARGET_MAC_OS_X_VERSION_MAJOR = $(MAC_OS_X_VERSION_MAJOR); -
trunk/Tools/MiniBrowser/MiniBrowser.xcodeproj/project.pbxproj
r185658 r186268 266 266 attributes = { 267 267 LastSwiftUpdateCheck = 0700; 268 LastUpgradeCheck = 0 600;268 LastUpgradeCheck = 0700; 269 269 TargetAttributes = { 270 270 8D1107260486CEB800E47090 = { -
trunk/Tools/TestWebKitAPI/Configurations/Base.xcconfig
r184845 r186268 29 29 FRAMEWORK_SEARCH_PATHS_macosx = $(SYSTEM_LIBRARY_DIR)/Frameworks/Quartz.framework/Frameworks $(SYSTEM_LIBRARY_DIR)/Frameworks/ApplicationServices.framework/Frameworks $(SYSTEM_LIBRARY_DIR)/Frameworks/CoreServices.framework/Frameworks; 30 30 31 GCC_NO_COMMON_BLOCKS = YES; 31 32 GCC_PREPROCESSOR_DEFINITIONS = $(DEBUG_DEFINES) GTEST_HAS_TR1_TUPLE=0 GTEST_HAS_RTTI=0 $(GCC_PREPROCESSOR_DEFINITIONS_$(PLATFORM_NAME)); 32 33 GCC_PREPROCESSOR_DEFINITIONS_macosx = ENABLE_DASHBOARD_SUPPORT; … … 36 37 GCC_ENABLE_CPP_EXCEPTIONS = NO; 37 38 GCC_ENABLE_CPP_RTTI = NO; 39 ENABLE_STRICT_OBJC_MSGSEND = YES; 38 40 GCC_PRECOMPILE_PREFIX_HEADER = YES 39 41 GCC_TREAT_WARNINGS_AS_ERRORS = YES 40 42 GCC_VERSION = com.apple.compilers.llvm.clang.1_0; 43 CLANG_WARN_BOOL_CONVERSION = YES; 44 CLANG_WARN_CONSTANT_CONVERSION = YES; 45 CLANG_WARN_EMPTY_BODY = YES; 46 CLANG_WARN_ENUM_CONVERSION = YES; 47 CLANG_WARN_INT_CONVERSION = YES; 48 CLANG_WARN_UNREACHABLE_CODE = YES; 41 49 GCC_WARN_ABOUT_DEPRECATED_FUNCTIONS = NO 50 GCC_WARN_ABOUT_RETURN_TYPE = YES; 51 GCC_WARN_UNINITIALIZED_AUTOS = YES; 42 52 GCC_WARN_UNUSED_FUNCTION = YES 43 53 GCC_WARN_UNUSED_VARIABLE = YES 54 CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 55 GCC_WARN_UNDECLARED_SELECTOR = YES; 44 56 GCC_WARN_64_TO_32_BIT_CONVERSION[arch=arm64] = NO; 45 57 GCC_WARN_64_TO_32_BIT_CONVERSION[arch=x86_64] = NO; -
trunk/Tools/TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj
r186006 r186268 4 4 classes = { 5 5 }; 6 objectVersion = 4 5;6 objectVersion = 46; 7 7 objects = { 8 8 … … 1390 1390 attributes = { 1391 1391 LastSwiftUpdateCheck = 0700; 1392 LastUpgradeCheck = 0700; 1392 1393 TargetAttributes = { 1393 1394 7CCE7E8B1A41144E00447C4C = { … … 1397 1398 }; 1398 1399 buildConfigurationList = 1DEB927808733DD40010E9CD /* Build configuration list for PBXProject "TestWebKitAPI" */; 1399 compatibilityVersion = "Xcode 3. 1";1400 compatibilityVersion = "Xcode 3.2"; 1400 1401 developmentRegion = English; 1401 1402 hasScannedForEncodings = 1; -
trunk/Tools/TestWebKitAPI/Tests/mac/InspectorBar.mm
r178293 r186268 66 66 EXPECT_TRUE([webView.get() respondsToSelector:@selector(typingAttributes)]); 67 67 NSDictionary *attributes = [(id)webView.get() typingAttributes]; 68 #pragma clang diagnostic push 69 #pragma clang diagnostic ignored "-Wundeclared-selector" 68 70 [(id)[[[webView.get() mainFrame] frameView] documentView] doCommandBySelector:@selector(bold:)]; 71 #pragma clang diagnostic pop 69 72 EXPECT_FALSE([attributes isEqual:[(id)webView.get() typingAttributes]]); 70 73
Note:
See TracChangeset
for help on using the changeset viewer.