Status: Unconfirmed Owner: [EMAIL PROTECTED] Labels: Type-Bug Pri-2 OS-All Area-Misc
New issue 4956 by [EMAIL PROTECTED]: onLoad events not fired when loading js file on parent window, initialized from modal dialog http://code.google.com/p/chromium/issues/detail?id=4956 Chrome Version : <REPLACE this with your version. Ex: 0.4.154.25> URLs (if applicable) : Other browsers tested: Add OK or FAIL after other browsers where you have tested this issue: Safari 3: FAIL Firefox 3: OK IE 7: OK What steps will reproduce the problem? 1. Start modaldialog.html (see attachments) 2. Click button to open modal dialog 3. Click button on modal dialog to load modaldialog.js on main page What is the expected result? 'modaldialog.js is loaded' alert should pop up What happens instead? -The first time the alert will show AFTER the modal dialog is closed -When reopening the modal dialog and pressing the button again the alert will show (due too caching I guess) Please provide any additional information below. Attach a screenshot if possible. At this moment the dialog is not modal at all (see http://code.google.com/p/chromium/issues/detail?id=4202) but thats an other issue. The modal dialog only should hold user events, not document load events. Right now the behaviour is also inconsistent when the js file is already loaded. Then the onload event will be dispatched (as expected :) ). (We are using this functionality, for not having to load all libraries again.) Attachments: modaldialog.html 1.2 KB modaldialog.js 0 bytes -- You received this message because you are listed in the owner or CC fields of this issue, or because you starred this issue. You may adjust your issue notification preferences at: http://code.google.com/hosting/settings --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Chromium-bugs" group. To post to this group, send email to chromium-bugs@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/chromium-bugs?hl=en -~----------~----~----~----~------~----~------~--~---