[Webkit-unassigned] [Bug 145565] New: [UIWebView] local storage event listeners are not triggered

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jun 2 13:21:33 PDT 2015


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

            Bug ID: 145565
           Summary: [UIWebView] local storage event listeners are not
                    triggered
    Classification: Unclassified
           Product: WebKit
           Version: 528+ (Nightly build)
          Hardware: iOS
                OS: All
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebKit2
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: eugenebut at chromium.org

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

Event listeners added via window.addEventListener('storage', listener, false); are not triggered when local storage is changed in UIWebView.

Steps to Reproduce:
1.) Unarchive UIWebView.zip
2.) Build and launch attached project
3.) Observe changes of rendered text

Expected Results:
Rendered text should change from "Listener Page" to "modified key: test_key", because 'storage' even listener updates a document when local storage is changed.

Actual Results:
Page remains unchanged and always shows "Listener Page" text.


Can not reproduce with WKWebView (change USE_UI_WEB_VIEW macro to 0 in ViewController.m).

-- 
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/20150602/12793e30/attachment-0001.html>


More information about the webkit-unassigned mailing list