Issue Bug Closed

#56988IE8 Users can't login to backend

Christian Zenker 03/17/14, 12:54 updated 10/02/18, 11:58

Description

From what I understand IE8 is still (kind of) supported, right?

When a user logs in to the backend with IE8 they won’t see anything but a white page caused by the following JS exception:

Webpage error details

User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.2; Trident/4.0; .NET CLR 1.1.4322)
Timestamp: Mon, 17 Mar 2014 11:47:38 UTC

Message: Expected identifier
Line: 3956
Char: 61
Code: 0
URI: http://example.com/typo3temp/compressor/merged-0409cb80b420cef16c8b514e2b382dbb-940cefcae7e07458d2dc490c43c14753.1395047044.js

Message: 'TYPO3.state.ExtDirectProvider' is null or not an object
Line: 135
Char: 4
Code: 0
URI: http://example.com/typo3/backend.php

The error occurs here

TYPO3.settings.ShortcutMenu.delete.ajaxUrl

delete is a reserved word in JavaScript and causes problems in IE8 (and lower) only.

Regression from #56356.

Also I used the following regexp to look for similar issues, but did not find any:

(?<=\.)(brake|case|catch|continue|debugger|default|delete|do|else|finally|for|function|if|in|instanceof|new|return|switch|this|throw|try|typeof|var|void|while|with)(?!\w)

Reviews 2