<html>
    <head>
      <base href="https://bugs.webkit.org/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [UIWebView] local storage event listeners are not triggered"
   href="https://bugs.webkit.org/show_bug.cgi?id=145565">145565</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>[UIWebView] local storage event listeners are not triggered
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>WebKit
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>528+ (Nightly build)
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>iOS
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>Normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P2
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>WebKit2
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>webkit-unassigned&#64;lists.webkit.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>eugenebut&#64;chromium.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=254088" name="attach_254088" title="Test App">attachment 254088</a> <a href="attachment.cgi?id=254088&amp;action=edit" title="Test App">[details]</a></span>
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 &quot;Listener Page&quot; to &quot;modified key: test_key&quot;, because 'storage' even listener updates a document when local storage is changed.

Actual Results:
Page remains unchanged and always shows &quot;Listener Page&quot; text.


Can not reproduce with WKWebView (change USE_UI_WEB_VIEW macro to 0 in ViewController.m).</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>