| Summary: | onload event is never fired if script element was added from readystatechange listener | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | sanachan.y | ||||||
| Component: | UI Events | Assignee: | Nobody <webkit-unassigned> | ||||||
| Status: | RESOLVED CONFIGURATION CHANGED | ||||||||
| Severity: | Normal | CC: | ahmad.saleem792, ap, bfulgham, cdumez, commit-queue, deepak.deepakmittal, gsnedders, japhet, man.zhong, rniwa, sanachan.y | ||||||
| Priority: | P2 | ||||||||
| Version: | 528+ (Nightly build) | ||||||||
| Hardware: | PC | ||||||||
| OS: | Linux | ||||||||
| Attachments: |
|
||||||||
|
Description
sanachan.y
2014-01-25 22:31:21 PST
Created attachment 222255 [details]
Test case for this bug to reproduce
Created attachment 222258 [details]
Patch
I'm not an expert of WebKit. Maybe this is incomplete and will make any side-effects.
When isDelayingLoadEvent() is pending then m_complete should be fale. Changes appears ok to me, I have verified these changes also, It is working fine.. I am not clear on Expected result of test case but all browsers show following output (in Private / Incognito tab or window): interactive complete Recived onload event Browsers tested - Safari 15.6 on macOS 12.5 , Chrome Canary 105 and Firefox Nightly 104 If it is expected result, I think it can be marked as "RESOLVED CONFIGURATION CHANGED" or else test case can be updated etc. Just wanted to share updated results. Thanks! Yeah, this appears to be fixed now. |