| Summary: | Freeze closing pdf rendered in non active tab | ||||||
|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Kimmo Kinnunen <kkinnunen> | ||||
| Component: | WebKit Process Model | Assignee: | Nobody <webkit-unassigned> | ||||
| Status: | NEW --- | ||||||
| Severity: | Normal | CC: | bart.corremans, sabouhallawa, webkit-bug-importer | ||||
| Priority: | P2 | Keywords: | InRadar | ||||
| Version: | WebKit Nightly Build | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| See Also: | https://bugs.webkit.org/show_bug.cgi?id=237674 | ||||||
| Attachments: |
|
||||||
|
Description
Kimmo Kinnunen
2022-05-23 01:08:32 PDT
Bart, could you describe the repro steps? E.g. - does the problem repro with file urls or with http urls only? - what exactly you do after clicking "click me"? - which window should be closed for repro? - what problems do you see, how do you observe them? One sequence that doesn't seem to work correctly: 1. open the index.html 2. click click me 3. observe new tab focusing 4. close the original tab that is now inactive 5. observe the new tab not being able to load the pdf, rather it shows safari network error page Thanks for following up on this. Using the attached repro, the issue consistently triggers: - Open index.html - Click the button. - Before the pdf loads (it's on a timeout), return to the first tab and click the button again. Remain on the newly opened tab this time. - When the inactive tab finishes loading the PDF, close it without making it active. This can be either before or after the PDF in the current tab finishes loading. Sometimes it happens more quickly with just the following steps: - Open index.html - Click the button. Return to the first tab before the pdf loads. - When the pdf is loaded in the inactive tab, the browser may already be frozen (button will no longer be work). (In reply to Kimmo Kinnunen from comment #1) > Bart, could you describe the repro steps? > E.g. > - does the problem repro with file urls or with http urls only? > - what exactly you do after clicking "click me"? > - which window should be closed for repro? > - what problems do you see, how do you observe them? > > > One sequence that doesn't seem to work correctly: > 1. open the index.html > 2. click click me > 3. observe new tab focusing > 4. close the original tab that is now inactive > 5. observe the new tab not being able to load the pdf, rather it shows > safari network error page I wrote my previous comment before seeing this one. I have listed two repro scenarios there. The sequence you mention with the network error is not something I had tested myself, but I can also reproduce that. This seems like a separate issue? |