Closed Bug 1421607 Opened 7 years ago Closed 7 years ago

Do black marking of bfcache documents during GC

Categories

(Core :: DOM: Core & HTML, enhancement)

enhancement
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla59
Tracking Status
firefox59 --- fixed

People

(Reporter: smaug, Assigned: smaug)

Details

Attachments

(1 file, 2 obsolete files)

Attached patch black_windows.diff (obsolete) — Splinter Review
remote: View your change here:
remote:   https://hg.mozilla.org/try/rev/95dd198e41c2ff2074b831ebe088ffaceda24741
remote: 
remote: Follow the progress of your build on Treeherder:
remote:   https://treeherder.mozilla.org/#/jobs?repo=try&revision=95dd198e41c2ff2074b831ebe088ffaceda24741
remote: recorded changegroup in replication log in 0.053s
This is tricky. nsIWindowWatcher can't be accessed there, since we have mock nsIWindowWatcher  implementations in JS.
Attached patch black_windows_2.diff (obsolete) — Splinter Review
Approach 2
Use the window list.

remote: View your change here:
remote:   https://hg.mozilla.org/try/rev/9b95792f057e92ed44c17f4eed61fcb07ecee585
remote: 
remote: Follow the progress of your build on Treeherder:
remote:   https://treeherder.mozilla.org/#/jobs?repo=try&revision=9b95792f057e92ed44c17f4eed61fcb07ecee585
remote: recorded changegroup in replication log in 0.048s
Assignee: nobody → bugs
Attachment #8932849 - Attachment is obsolete: true
Er, crap, the assertion is obviously wrong.
remote: View your change here:
remote:   https://hg.mozilla.org/try/rev/e7576181c7f13b7cef2b82023292889c42c3b261
remote: 
remote: Follow the progress of your build on Treeherder:
remote:   https://treeherder.mozilla.org/#/jobs?repo=try&revision=e7576181c7f13b7cef2b82023292889c42c3b261
Crossing fingers this version will pass tests ;)

I wonder who should review this.
mystor for the PRCList usage...and I guess for everything.
Attachment #8933024 - Flags: review?(nika)
Attachment #8933000 - Attachment is obsolete: true
Comment on attachment 8933024 [details] [diff] [review]
black_windows_3.diff

Review of attachment 8933024 [details] [diff] [review]:
-----------------------------------------------------------------

LGTM
Attachment #8933024 - Flags: review?(nika) → review+
Pushed by opettay@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/731549261d94
Do black marking of bfcache documents during GC, r=mystor
https://hg.mozilla.org/mozilla-central/rev/731549261d94
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla59
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: