Closed
Bug 1143017
Opened 10 years ago
Closed 9 years ago
pretty print SWF parameters in Shumway
Categories
(Firefox Graveyard :: Shumway, defect)
Tracking
(Not tracked)
RESOLVED
INCOMPLETE
People
(Reporter: karana, Unassigned)
References
Details
User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:33.0) Gecko/20100101 Firefox/33.0
Build ID: 20150312030248
Steps to reproduce:
i went to http://www.ted.com/talks/andy_yen_think_your_email_s_private_think_again
Actual results:
The console printed all loading parameters in a big block:
url=http://www.ted.com/assets/player.swf?ver=a1cd2acb0a080448e621e464271dae78;params=({serviceHost:"http://www.ted.com", playerZone:"{\"ignoreCompanionAd\":false,\"openLinksInNewWindow\":false,\"metricsServiceName\":\"ted_player\",\"metricsApiKey\":\"talk_page_2\"}", initialPlaylistIndex:"0", shareToken:"", language:"{\"LanguageCode\":\"en\",\"OldLanguageCode\":\"eng\",\"Name\":\"English\",\"Description\":null,\"CommunityUrl\":null,\"TranslationCount\":1291,\"DotsubOnly\":false,\"CreatedAt\":\"2009-05-12 22:17:26\",\"UpdatedAt\":\"2012-12-12 06:07:02\",\"IsRtl\":false,\"Iso6391\":\"en\",\"Iso6393\":\"eng\",\"HostnamePrefix\":null}", playlist:"{\"id\":0,\"talks\":[{\"talkId\":2204,\"duration\":729,\"nativeLanguage\":\"en\",\"adUrl\":\"https://pubads.g.doubleclick.net/gampad/ads?ciu_szs=300x250%2C512x288%2C120x60%2C320x50%2C6x7%2C6x8&correlator=%5Bcorrelator%5D&cust_params=event%3DTEDGlobal%2B2014%26id%3D2204%26tag%3DInternet%2Ccommunication%2Cprivacy%2Csecurity%2Ctechnology%2Cweb%26talk%3Dandy_yen_think_your_email_s_private_think_again%26year%3D2014&env=vp&gdfp_req=1&impl=s&iu=%2F5641%2Fted2%2Ftalk&output=xml_vast2&sz=640x360&unviewed_position_start=1&url=%5Breferrer%5D\",\"introDuration\":11.82,\"adDuration\":\"3.33\",\"isSubtitleRequired\":false,\"streamer\":\"rtmp://cp358131.edgefcs.net/ted\",\"resource\":[{\"bitrate\":1500,\"file\":\"mp4:talk/stream/2014G/Blank/AndyYen_2014G-1500k.mp4\",\"name\":\"1500k\",\"width\":1280,\"height\":720},{\"bitrate\":950,\"file\":\"mp4:talk/stream/2014G/Blank/AndyYen_2014G-950k.mp4\",\"name\":\"950k\",\"width\":854,\"height\":480},{\"bitrate\":600,\"file\":\"mp4:talk/stream/2014G/Blank/AndyYen_2014G-600k.mp4\",\"name\":\"600k\",\"width\":640,\"height\":360},{\"bitrate\":450,\"file\":\"mp4:talk/stream/2014G/Blank/AndyYen_2014G-450k.mp4\",\"name\":\"450k\",\"width\":512,\"height\":288},{\"bitrate\":320,\"file\":\"mp4:talk/stream/2014G/Blank/AndyYen_2014G-320k.mp4\",\"name\":\"320k\",\"width\":512,\"height\":288},{\"bitrate\":180,\"file\":\"mp4:talk/stream/2014G/Blank/AndyYen_2014G-180k.mp4\",\"name\":\"180k\",\"width\":512,\"height\":288},{\"bitrate\":64,\"file\":\"mp4:talk/stream/2014G/Blank/AndyYen_2014G-64k.mp4\",\"name\":\"64k\",\"width\":398,\"height\":224}]}]}", fullscreenEnabled:"0", ver:"a1cd2acb0a080448e621e464271dae78"})
Expected results:
I would prefer to split them and have them look better.
For example one parameter per line or so, maybe also without the brackets and the backslashes and the commata
Reporter | ||
Updated•10 years ago
|
Component: Untriaged → Shumway
Hardware: x86_64 → x86
Comment 1•10 years ago
|
||
Agreed, that would be nice. You'll understand that it's not the highest priority, though, I hope. ( We would accept a patch, though ;) )
Blocks: shumway-later
Assignee | ||
Updated•9 years ago
|
Product: Firefox → Firefox Graveyard
Status: UNCONFIRMED → RESOLVED
Closed: 9 years ago
Resolution: --- → INCOMPLETE
You need to log in
before you can comment on or make changes to this bug.
Description
•