[Webkit-unassigned] [Bug 167864] New: Creating a UIWebView in jspatch prevents assets from loading on iOS

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Feb 5 19:31:19 PST 2017


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

            Bug ID: 167864
           Summary: Creating a UIWebView in jspatch prevents assets from
                    loading on iOS
    Classification: Unclassified
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: iPhone / iPad
                OS: All
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: JavaScriptCore
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: xiang2743 at 163.com

JSPatch bridge Objective-C and Javascript using the Objective-C runtime. I use it for hotfixing of iOS App. I'm trying to create a webview in jspatch. However, it causes the new webview to load a webpage without its assets (css/js)。

: -[DOMHTMLBodyElement exceedsStructuralComplexity:]: unrecognized selector sent to instance 0x610000035560
: *** WebKit discarded an uncaught exception in the webView:didFinishLoadForFrame: delegate: <NSInvalidArgumentException> -[DOMHTMLBodyElement exceedsStructuralComplexity:]: unrecognized selector sent to instance 0x610000035560
: -[WebView _touchEventRegions]: unrecognized selector sent to instance 0x6180000ae460
: *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[WebView _touchEventRegions]: unrecognized selector sent to instance 0x6180000ae460'
*** First throw call stack:
(
0   CoreFoundation                      0x000000010892dd4b __exceptionPreprocess + 171
1   libobjc.A.dylib                     0x000000010838f21e objc_exception_throw + 48
2   CoreFoundation                      0x000000010899df04 -[NSObject(NSObject) doesNotRecognizeSelector:] + 132
3   CoreFoundation                      0x00000001088b3005 ___forwarding___ + 1013
4   CoreFoundation                      0x00000001088b2b88 _CF_forwarding_prep_0 + 120
5   UIKit                               0x0000000109c78810 -[UIWebBrowserView(UIWebTouchEventsGestureRecognizerDelegateImplementation) isAnyTouchOverActiveArea:] + 71
6   UIKit                               0x00000001098dd945 -[UIWebTouchEventsGestureRecognizer touchesBegan:withEvent:] + 131
7   UIKit                               0x0000000109a97e5d -[UIGestureRecognizer _touchesBegan:withEvent:] + 113
8   UIKit                               0x0000000109a84dc2 __55-[UIGestureEnvironment _updateGesturesForEvent:window:]_block_invoke + 341
9   UIKit                               0x0000000109a858e4 -[UIGestureEnvironment _deliverEvent:toGestureRecognizers:usingBlock:] + 298
10  UIKit                               0x0000000109a84ba6 -[UIGestureEnvironment _updateGesturesForEvent:window:] + 286
11  UIKit                               0x00000001095cac1d -[UIWindow sendEvent:] + 3989
12  UIKit                               0x00000001095779ab -[UIApplication sendEvent:] + 371
13  UIKit                               0x0000000109d6472d __dispatchPreprocessedEventFromEventQueue + 3248
14  UIKit                               0x0000000109d5d463 __handleEventQueue + 4879
15  CoreFoundation                      0x00000001088d2761 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17
16  CoreFoundation                      0x00000001088b798c __CFRunLoopDoSources0 + 556
17  CoreFoundation                      0x00000001088b6e76 __CFRunLoopRun + 918
18  CoreFoundation                      0x00000001088b6884 CFRunLoopRunSpecific + 420
19  GraphicsServices                    0x000000010dd3fa6f GSEventRunModal + 161
20  UIKit                               0x0000000109559c68 UIApplicationMain + 159
21  JSPatchDemo                         0x000000010709343f main + 111
22  libdyld.dylib                       0x000000010aeec68d start + 1
23  ???                                 0x0000000000000001 0x0 + 1
)

-- 
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/20170206/0d6d4ac2/attachment.html>


More information about the webkit-unassigned mailing list