Bug 67105 - REGRESSION: iframe load event resets the Japanese Input Method
Summary: REGRESSION: iframe load event resets the Japanese Input Method
Status: RESOLVED DUPLICATE of bug 59121
Alias: None
Product: WebKit
Classification: Unclassified
Component: Frames (show other bugs)
Version: 528+ (Nightly build)
Hardware: Mac (Intel) OS X 10.7
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-28 22:46 PDT by Naofumi Kagami
Modified: 2013-04-12 16:44 PDT (History)
1 user (show)

See Also:


Attachments
Minimal HTML to reproduce the regression (3.14 KB, application/zip)
2011-08-28 22:46 PDT, Naofumi Kagami
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Naofumi Kagami 2011-08-28 22:46:20 PDT
Created attachment 105461 [details]
Minimal HTML to reproduce the regression

I have noticed the issue on all Safari builds (including the final released versions) on Mac OS X 10.7 (Lion).

I have added an attachment that isolates the issue.

To reproduce:
1. Unzip and access index.html from the browser. 
2. Turn on the Japanese Input Method.
3. Enter Japanese text in the text area field.
4. Notice that whenever the iframe is refreshed, the Japanese text is reset.

Japanese text is refreshed only when the frame content is loaded. Frames that don't load correctly (i.e. wrong URL) do not clear Japanese text.

This was not an issue with the previous release of Safari, but since I only have Lion testing environment, I can't pin down exactly when the regression happened. I have tested all Webkit Nightlies that run on Lion, down to r90316, and have confirmed the regression.

Real-world issues

This is a problem when you have an iframe on a page that either refreshes or takes time to load. 
When the iframe is fully loaded, it will reset all text that has been entered in the Japanese Input Method. 
Since many webpages load advertisements as iframes, and since these are often slow or refreshed, the issue might be rather common.
Comment 1 Alexey Proskuryakov 2011-08-29 00:36:32 PDT

*** This bug has been marked as a duplicate of bug 59121 ***
Comment 2 Alexey Proskuryakov 2011-08-29 00:38:17 PDT
> Since many webpages load advertisements as iframes, and since these are often slow or refreshed, the issue might be rather common.

Are you aware of any Web sites that are affected? That would help prioritize fixing this.
Comment 3 Naofumi Kagami 2011-08-29 00:50:42 PDT
I did notice some similar behavior on the Japanese Amazon website (http://amazon.co.jp).

However, the Ad format (Flash, iframe /w JS, AJAX) changes depending on what ads are being featured. Also since this is a timing issue, it is difficult to replicate on external websites.

Hence I'm not sure if what I saw on Amazon is the exact same issue, or something else.

Simple answer, "I'm not sure".

(In reply to comment #2)
> > Since many webpages load advertisements as iframes, and since these are often slow or refreshed, the issue might be rather common.
> 
> Are you aware of any Web sites that are affected? That would help prioritize fixing this.
Comment 4 Naofumi Kagami 2013-04-12 16:23:01 PDT
(In reply to comment #2)
> > Since many webpages load advertisements as iframes, and since these are often slow or refreshed, the issue might be rather common.
> 
> Are you aware of any Web sites that are affected? That would help prioritize fixing this.

This issue is now rather severe. It happens when updating your status on Facebook, each time they load up new ads.
Comment 5 Alexey Proskuryakov 2013-04-12 16:44:48 PDT
Yes, thanks for the update!