2014-10-30 49 views
1

我在這個網站嵌入多個玩家的SoundCloud鎖定了:http://www.familyartists.com的SoundCloud播放器上移動/ iOS版

擊中的玩家的SoundCloud的播放按鈕,使播放按鈕褪色到一個暫停按鈕,但不實際玩和該網站凍結了一段時間。

頁面是否佔用了過多的資源?

+0

您正在測試什麼移動瀏覽器?蘋果瀏覽器?鉻? – JAL 2014-10-31 16:53:08

回答

1

在使用Safari運行8.1的iPhone 5上,我可以一個接一個地播放音軌,但UI會定期凍結,並且按下播放按鈕時不會始終開始播放。檢查Safari日誌,我看到一些IndexSizeError:DOM異常。實際的設備日誌顯示有多少內存警告:

Oct 31 13:19:49 iPhone MobileSafari[5559] <Warning>: Received memory warning. 
Oct 31 13:19:49 iPhone discoveryd[1733] <Notice>: Basic DeviceInformation Memory Pressure Warning sent: pressure 
Oct 31 13:19:49 iPhone HealthPrivacyService[533] <Warning>: Received memory warning. 
Oct 31 13:19:49 iPhone MobilePhone[3702] <Warning>: Received memory warning. 
Oct 31 13:19:49 iPhone MobileSMS[2551] <Warning>: Received memory warning. 
Oct 31 13:19:49 iPhone MobileMail[1821] <Warning>: Received memory warning. 
Oct 31 13:19:49 iPhone backboardd[56] <Warning>: CoreAnimation: updates deferred for too long 

... 

Oct 31 13:19:52 iPhone backboardd[56] <Error>: CoreAnimation: insecure context 75d1e49e - pid 5559 [/Applications/MobileSafari.app/MobileSafari]. 
    Cannot host 75d1e49e in context c37384c0 - pid 43 [/System/Library/CoreServices/SpringBoard.app/SpringBoard]. 
Oct 31 13:19:52 iPhone backboardd[56] <Error>: CoreAnimation: insecure context c1a3a9b7 - pid 5559 [/Applications/MobileSafari.app/MobileSafari]. 
    Cannot host c1a3a9b7 in context c37384c0 - pid 43 [/System/Library/CoreServices/SpringBoard.app/SpringBoard]. 
Oct 31 13:19:52 iPhone backboardd[56] <Error>: CoreAnimation: insecure context 428372ba - pid 5559 [/Applications/MobileSafari.app/MobileSafari]. 
    Cannot host 428372ba in context c37384c0 - pid 43 [/System/Library/CoreServices/SpringBoard.app/SpringBoard]. 
Oct 31 13:19:52 iPhone backboardd[56] <Error>: CoreAnimation: insecure context f5320d7f - pid 5559 [/Applications/MobileSafari.app/MobileSafari]. 
    Cannot host f5320d7f in context c37384c0 - pid 43 [/System/Library/CoreServices/SpringBoard.app/SpringBoard]. 

好像你正在做的有點過分的設備來處理。