Closed Bug 835140 Opened 11 years ago Closed 11 years ago

Twitter 'slideshow' of user pictures won't load (Nightly 21)

Categories

(Core :: JavaScript Engine, defect)

21 Branch
x86_64
All
defect
Not set
normal

Tracking

()

VERIFIED FIXED
mozilla21
Tracking Status
firefox21 + verified
firefox23 --- verified

People

(Reporter: bugzilla_acct_1959, Assigned: bhackett1024)

References

Details

(Keywords: regression)

Attachments

(1 file)

User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:21.0) Gecko/20130127 Firefox/21.0
Build ID: 20130127031042

Steps to reproduce:

Load a twitter user's profile page, then click on one of their photos.


Actual results:

Top twitter menu bar remains but rest of page remains blank - photo will not load.


Expected results:

Should go into twitter's so-called 'slideshow' mode (see twitter's URL with ..media/slideshow?url=... in it) with arrow keys left and right to navigate through user's photos.

Nightly 21 is broken - this works fine in both release 18 and beta 19.
STR:
1. Open https://twitter.com/agneschan
2. Click a thumbnail image

Regression window(m-c)
Good:
http://hg.mozilla.org/mozilla-central/rev/1d122eaa9070
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:21.0) Gecko/20130119 Firefox/21.0 ID:20130119212613
Bad:
http://hg.mozilla.org/mozilla-central/rev/01c964705be7
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:21.0) Gecko/20130120 Firefox/21.0 ID:20130120124713
Pushlog:
http://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=1d122eaa9070&tochange=01c964705be7


Regression window(m-i)
Good:
http://hg.mozilla.org/integration/mozilla-inbound/rev/1d122eaa9070
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:21.0) Gecko/20130119 Firefox/21.0 ID:20130119172511
Bad:
http://hg.mozilla.org/integration/mozilla-inbound/rev/88daef90f2ab
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:21.0) Gecko/20130120 Firefox/21.0 ID:20130120015012
Pushlog:
http://hg.mozilla.org/integration/mozilla-inbound/pushloghtml?fromchange=1d122eaa9070&tochange=88daef90f2ab

Triggered by:
88daef90f2ab	Brian Hackett — Bug 821361 - Optimize type information in closures that only run once, r=luke.
Assignee: nobody → general
Blocks: 821361
Status: UNCONFIRMED → NEW
Component: Untriaged → JavaScript Engine
Ever confirmed: true
Keywords: regression
Product: Firefox → Core
OS: Windows 7 → All
Attached patch patchSplinter Review
This seems to fix the problem for me.  Without the patch the page eventually loads on my machine, though it takes some time.  The issue seems to be that we are doing lots of cloning of scripts that run multiple times but have been marked as running only once, dragging down performance.  That is because bug 835140 marks any (function() { ... })() script as only running once, even if the lambda appears within another function or within a loop.  The attached patch fixes this so that run once lambdas are only marked when they are defined in code that will itself only run once.
Assignee: general → bhackett1024
Attachment #706946 - Flags: review?(luke)
Comment on attachment 706946 [details] [diff] [review]
patch

D'oh
Attachment #706946 - Flags: review?(luke) → review+
https://hg.mozilla.org/mozilla-central/rev/fb6e2dd0fa47
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla21
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:21.0) Gecko/20100101 Firefox/21.0
Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:23.0) Gecko/20130421 Firefox/23.0  
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:21.0) Gecko/20100101 Firefox/21.0
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:23.0) Gecko/20100101 Firefox/23.0
Mozilla/5.0 (X11; Linux x86_64; rv:21.0) Gecko/20130203 Firefox/21.0
Mozilla/5.0 (X11; Linux x86_64; rv:23.0) Gecko/20130203 Firefox/23.0

Verified as fixed on Firefox 21 (Build ID:20130416200523) and on Firefox latest nightly (Build ID:20130421031002).
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: