[Webkit-unassigned] [Bug 150122] New: WKUserScript is not injected after window.open

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Oct 14 09:53:31 PDT 2015


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

            Bug ID: 150122
           Summary: WKUserScript is not injected after window.open
    Classification: Unclassified
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: All
                OS: iOS 9.0
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebKit2
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: eugenebut at chromium.org

Created attachment 263081
  --> https://bugs.webkit.org/attachment.cgi?id=263081&action=review
Test App

WKUserScript is not injected after window.open if |userContentController| property is reassigned to |WKUserContentController|.

Steps to Reproduce:
1. Build and launch WKWebView test app (attached).
2. Tap "Show referrer using window.open" link
3. Tap "Close" button to close child window
4. Tap "Go" button to reload this page
5. Tap "Show referrer using window.open" link again

Expected Results:
NSAssert should not fire, WKUserScript should be injected.

Actual Results:
NSAssert fires, because WKUserScript is not injected

Version:
iOS 9.0.2 (13A452)

Notes:
GOOGLER: eugenebut

Configuration:
iPhone 5s 16 GB

-- 
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/20151014/1532146c/attachment.html>


More information about the webkit-unassigned mailing list