Closed
Bug 1050456
Opened 10 years ago
Closed 10 years ago
Kill pages that reach the maximum script execution timeout in prerendering mode
Categories
(Core :: DOM: Core & HTML, defect)
Tracking
()
RESOLVED
FIXED
mozilla39
Tracking | Status | |
---|---|---|
firefox39 | --- | fixed |
People
(Reporter: ehsan.akhgari, Assigned: ehsan.akhgari)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
5.99 KB,
patch
|
bzbarsky
:
review+
|
Details | Diff | Splinter Review |
The reasoning is that we cannot show the dialog to the user.
Assignee | ||
Updated•10 years ago
|
Assignee: nobody → ehsan
Assignee | ||
Comment 1•10 years ago
|
||
Attachment #8572207 -
Flags: review?(bzbarsky)
Comment 2•10 years ago
|
||
Comment on attachment 8572207 [details] [diff] [review]
Prevent prerendered pages from showing the slow script dialog
>+ // This doesn't work yet. We manage to get the source of the script somehow.
>+ // TODO investigate if we can get to the page running the script from there...
What's with these comments?
>+ if (docShell && docShell->GetIsPrerendered()) {
Might be nice to have a getter for prerendering state on the window so we don't have to do the docshell dance here....
r=me either way, as long as those comments are fixed to either reflect reality or explain what they're talking about.
Attachment #8572207 -
Flags: review?(bzbarsky) → review+
Assignee | ||
Comment 3•10 years ago
|
||
(In reply to Not doing reviews right now from comment #2)
> Comment on attachment 8572207 [details] [diff] [review]
> Prevent prerendered pages from showing the slow script dialog
>
> >+ // This doesn't work yet. We manage to get the source of the script somehow.
> >+ // TODO investigate if we can get to the page running the script from there...
>
> What's with these comments?
Oops, sorry I was investigating issues with the test, these are my todo comments.
> >+ if (docShell && docShell->GetIsPrerendered()) {
>
> Might be nice to have a getter for prerendering state on the window so we
> don't have to do the docshell dance here....
Done:
https://hg.mozilla.org/integration/mozilla-inbound/rev/3d9f869afa7c
https://hg.mozilla.org/integration/mozilla-inbound/rev/52b5566554b0
Comment 4•10 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/3d9f869afa7c
https://hg.mozilla.org/mozilla-central/rev/52b5566554b0
Status: NEW → RESOLVED
Closed: 10 years ago
status-firefox39:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla39
Updated•6 years ago
|
Component: DOM → DOM: Core & HTML
You need to log in
before you can comment on or make changes to this bug.
Description
•