[Webkit-unassigned] [Bug 165897] XMLHttpRequest timeout in 60 second in Safari on iOS 10 and above

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Jan 29 23:36:41 PST 2017


https://bugs.webkit.org/show_bug.cgi?id=165897

--- Comment #17 from Rahul Tiwari <rahult001 at gmail.com> ---
(In reply to comment #16)
> Just comment out the line with preferredFramesPerSecond in it.  I don't
> think it'll critically break anything.  Definitely heading in the right
> direction.

Moving ahead tried below mentioned steps - 

Error:

/AppleWebkit1/webkit/Source/WebCore/platform/graphics/ios/DisplayRefreshMonitorIOS.mm:60:23: error: property 'preferredFramesPerSecond' not found on object of type
      'CADisplayLink *'
        m_displayLink.preferredFramesPerSecond = 60;

Action Taken:

Commented out preferredFramesPerSecond in the DisplayRefreshMonitorIOS.mm file.

Error:

Users/vgarg/AppleWebkit1/webkit/Source/WebCore/platform/gamepad/cocoa/GameControllerGamepad.mm:40:31: error: use of undeclared identifier 'GCControllerPlayerIndex'; did you mean
      'GCControllerPlayerIndexUnset'?
    controller.playerIndex = (GCControllerPlayerIndex)(GCControllerPlayerIndex1 + index);
                              ^~~~~~~~~~~~~~~~~~~~~~~
                              GCControllerPlayerIndexUnset

Action Taken:
Commented out the above line.


Error:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator8.4.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGColorSpace.h:74:29: note: 
      'kCGColorSpaceSRGB' has been explicitly marked unavailable here
CG_EXTERN const CFStringRef kCGColorSpaceSRGB
                            ^
/Users/vgarg/AppleWebkit1/webkit/Source/WebCore/platform/graphics/cg/GraphicsContextCG.cpp:112:72: error: use of undeclared identifier 'kCGColorSpaceDisplayP3'; did you mean
      'ColorSpaceDisplayP3'?
    static CGColorSpaceRef displayP3Space = CGColorSpaceCreateWithName(kCGColorSpaceDisplayP3);
                                                                       ^~~~~~~~~~~~~~~~~~~~~~
                                                                       ColorSpaceDisplayP3

Action Taken:

Replaced line “static CGColorSpaceRef displayP3Space = CGColorSpaceCreateWithName(kCGColorSpaceDisplayP3);” with “static CGColorSpaceRef displayP3Space = displayP3Space;”.

Error:

/Users/vgarg/AppleWebkit1/webkit/Source/WebCore/platform/graphics/cg/GraphicsContextCG.cpp:86:67: error: 'kCGColorSpaceSRGB' is unavailable: not available on iOS
    static CGColorSpaceRef sRGBSpace = CGColorSpaceCreateWithName(kCGColorSpaceSRGB);

Action Taken:

Commented out the method content and all the lines which were calling it.


Error:

/Users/vgarg/AppleWebkit1/webkit/Source/WebCore/html/HTMLInputElement.cpp:1985:12: error: no matching constructor for initialization of 'WTF::String'
    return String { selectionDirection() };

How should we go about tackling the above error ?

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20170130/be08febb/attachment.html>


More information about the webkit-unassigned mailing list