Pure CSS crashes iPhones and affects some browsers

General discussion and chat (archived)

Moderator: satrow

User avatar
Tomaso
Board Warrior
Board Warrior
Posts: 1249
Joined: 2015-07-23, 16:09
Location: Norway

Pure CSS crashes iPhones and affects some browsers

Unread post by Tomaso » 2018-09-17, 17:44

https://www.ghacks.net/2018/09/17/pure- ... s-iphones/
A couple of lines of code that runs in any modern web browser by default may crash Apple's Safari web browser, iPhones and affects select browsers as well.
TEST (WARNING: This is designed to crash certain browsers!): Result: Pale Moon v28.0.1 is unaffected!
..but:
The developer promises code to crash or freeze Firefox in the coming week.
--
The same developer released a one-liner, JavaScript this time, that freezes Google Chrome and ChromeOS.
TEST (WARNING: This is designed to freeze certain browsers): Result: Pale Moon v28.0.1 freezes!

--
It is up to the browser's developers to fix the issue.
While it does lead to freezes or crashes only, it may lead to data loss due to that.
Last edited by Tomaso on 2018-09-17, 17:48, edited 2 times in total.

User avatar
Night Wing
Knows the dark side
Knows the dark side
Posts: 3914
Joined: 2011-10-03, 10:19
Location: Texas, USA

Re: Pure CSS crashes iPhones and affects some browsers

Unread post by Night Wing » 2018-09-17, 22:10

Tomaso wrote:TEST (WARNING: This is designed to freeze certain browsers)
If the address freezes Pale Moon, why did you put that on here for? In other words, I'm not senile enough to copy that address, open a tab, put the address in the Navigation Bar via "Paste and go" and see what DAMAGE it can do to Pale Moon.
Linux Mint 19.1 (Tessa) Xfce 64 Bit (Default Distribution OS) with 64 Bit linux Pale Moon
Windows 7 SP1, 64 Bit (Backup OS) with 32 Bit windows Pale Moon

User avatar
back2themoon
Board Warrior
Board Warrior
Posts: 1402
Joined: 2012-08-19, 20:32

Re: Pure CSS crashes iPhones and affects some browsers

Unread post by back2themoon » 2018-09-17, 23:22

Not sure why this is supposed to be sensational? Some guy made a link that can crash browsers?

Great, just don't click on this guy's links. Unless this uncovers an underlying, valid security/coding etc. weakness, it doesn't make much sense.
Safe Mode / clean profile info: Help/Restart in Safe Mode
Information to include when asking for support - How to apply user agent overrides
How to download videos

Windows 10 Pro • Pale Moon x64 • Interlink x86 • Emsisoft Anti-Malware

User avatar
Isengrim
Keeps coming back
Keeps coming back
Posts: 855
Joined: 2015-09-08, 22:54
Location: 127.0.0.1
Contact:

Re: Pure CSS crashes iPhones and affects some browsers

Unread post by Isengrim » 2018-09-18, 02:29

I guess it's sensational because it affects so many browsers at once.

And, the links are there so that people can (carefully) test with them to see if they get the same results.

Can confirm that the first link is okay, and the second causes a freeze on my Linux box.
Linux Mint 19.1 Cinnamon (64-bit), Windows 7 (64-bit), Windows 10 build 1803 (64-bit)
JavaScript is not Java
"As long as there is someone who will appreciate the work involved in the creation, the effort is time well spent." ~ Tetsuzou Kamadani, Cave Story

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 23978
Joined: 2011-08-28, 17:27
Location: 58°2'16"N 14°58'31"E
Contact:

Re: Pure CSS crashes iPhones and affects some browsers

Unread post by Moonchild » 2018-09-18, 05:58

Creating a DoS or "evil trap" page is nothing new. Anyone can make a simple recursive JavaScript blurb that will hang up any browser (because recursive calls are very hard to catch), for example.

Crashes (insofar as they aren't deliberate due to out-of-memory) are more interesting, but as indicated, Pale moon isn't affected.
Last edited by Moonchild on 2018-09-18, 06:01, edited 1 time in total.
City of Heroes public server: https://www.moonshard.org/ -- Vote for it on cohservers.com

"If you want to build a better world for yourself, you have to be willing to build one for everybody." -- Coyote Osborne
Image

SLotman
Moon lover
Moon lover
Posts: 83
Joined: 2016-01-30, 16:59

Re: Pure CSS crashes iPhones and affects some browsers

Unread post by SLotman » 2018-09-18, 16:48

Awww... I came here happy to report Palemoon wasn't affected - you guys beat me :P

Locked