Bug 145565

Summary: [UIWebView] local storage event listeners are not triggered
Product: WebKit Reporter: Eugene But <eugenebut>
Component: WebKit2Assignee: Nobody <webkit-unassigned>
Status: NEW    
Severity: Normal CC: andersca, sam, stuartmorgan
Priority: P2 Keywords: InRadar
Version: 528+ (Nightly build)   
Hardware: iPhone / iPad   
OS: All   
Attachments:
Description Flags
Test App none

Eugene But
Reported 2015-06-02 13:21:33 PDT
Created attachment 254088 [details] 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).
Attachments
Test App (24.47 KB, application/zip)
2015-06-02 13:21 PDT, Eugene But
no flags
Eugene But
Comment 1 2015-06-02 13:22:43 PDT
Note You need to log in before you can comment on or make changes to this bug.