Changeset 242666 in webkit
- Timestamp:
- Mar 8, 2019, 4:59:40 PM (7 years ago)
- Location:
- trunk/Source/WebKit
- Files:
-
- 4 edited
-
ChangeLog (modified) (1 diff)
-
UIProcess/ProcessAssertion.cpp (modified) (2 diffs)
-
UIProcess/ProcessAssertion.h (modified) (5 diffs)
-
UIProcess/ios/ProcessAssertionIOS.mm (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit/ChangeLog
r242664 r242666 1 2019-03-08 Chris Dumez <cdumez@apple.com> 2 3 Enable ProcessAssertions on iOS Simulator 4 https://bugs.webkit.org/show_bug.cgi?id=195479 5 6 Reviewed by Alexey Proskuryakov. 7 8 Enable ProcessAssertions on iOS Simulator. We have some layout tests timing out in the 9 iOS Simulator due to the WebContent process suspending. Turning on ProcessAssertions in 10 the iOS Simulator seems to make those tests pass. 11 12 * UIProcess/ProcessAssertion.cpp: 13 * UIProcess/ProcessAssertion.h: 14 * UIProcess/ios/ProcessAssertionIOS.mm: 15 1 16 2019-03-08 Chris Dumez <cdumez@apple.com> 2 17 -
trunk/Source/WebKit/UIProcess/ProcessAssertion.cpp
r242610 r242666 27 27 #include "ProcessAssertion.h" 28 28 29 #if !PLATFORM(IOS_FAMILY) || PLATFORM(IOS_FAMILY_SIMULATOR)29 #if !PLATFORM(IOS_FAMILY) 30 30 31 31 namespace WebKit { … … 45 45 } // namespace WebKit 46 46 47 #endif // !PLATFORM(IOS_FAMILY) || PLATFORM(IOS_FAMILY_SIMULATOR)47 #endif // !PLATFORM(IOS_FAMILY) -
trunk/Source/WebKit/UIProcess/ProcessAssertion.h
r242646 r242666 35 35 #endif 36 36 37 #if PLATFORM(IOS_FAMILY) && !PLATFORM(IOS_FAMILY_SIMULATOR)37 #if PLATFORM(IOS_FAMILY) 38 38 #include <wtf/RetainPtr.h> 39 39 OBJC_CLASS BKSProcessAssertion; … … 67 67 virtual void setState(AssertionState); 68 68 69 #if PLATFORM(IOS_FAMILY) && !PLATFORM(IOS_FAMILY_SIMULATOR)69 #if PLATFORM(IOS_FAMILY) 70 70 protected: 71 71 enum class Validity { No, Yes, Unset }; … … 76 76 77 77 private: 78 #if PLATFORM(IOS_FAMILY) && !PLATFORM(IOS_FAMILY_SIMULATOR)78 #if PLATFORM(IOS_FAMILY) 79 79 RetainPtr<BKSProcessAssertion> m_assertion; 80 80 Validity m_validity { Validity::Unset }; … … 84 84 }; 85 85 86 #if PLATFORM(IOS_FAMILY) && !PLATFORM(IOS_FAMILY_SIMULATOR)86 #if PLATFORM(IOS_FAMILY) 87 87 88 88 class ProcessAndUIAssertion final : public ProcessAssertion { … … 105 105 using ProcessAndUIAssertion = ProcessAssertion; 106 106 107 #endif // PLATFORM(IOS_FAMILY) && !PLATFORM(IOS_FAMILY_SIMULATOR)107 #endif // PLATFORM(IOS_FAMILY) 108 108 109 109 } // namespace WebKit -
trunk/Source/WebKit/UIProcess/ios/ProcessAssertionIOS.mm
r242646 r242666 27 27 #import "ProcessAssertion.h" 28 28 29 #if PLATFORM(IOS_FAMILY) && !PLATFORM(IOS_FAMILY_SIMULATOR)29 #if PLATFORM(IOS_FAMILY) 30 30 31 31 #import "AssertionServicesSPI.h" … … 257 257 } // namespace WebKit 258 258 259 #endif // PLATFORM(IOS_FAMILY) && !PLATFORM(IOS_FAMILY_SIMULATOR)259 #endif // PLATFORM(IOS_FAMILY)
Note:
See TracChangeset
for help on using the changeset viewer.