OpenSocial / spec

OpenSocial Specification #social
http://opensocial.org/
Apache License 2.0
106 stars 11 forks source link

DOCS: Gadgets editor does not work in Safari (KHTML) #486

Closed mmarum-sugarcrm closed 11 years ago

mmarum-sugarcrm commented 11 years ago

Original author: mark.lar...@gmail.com (July 18, 2008 01:51:36)

Description of the bug/feature ================================== http://code.google.com/apis/gadgets/docs/tools.html#GGE

The Google Gadgets Editor on that page does not work in Safari 3.1 (well, any browser with KHTML in the user agent string).

The problem is the user agent sniffing in the codepress.js code. For Safari, it wants to load http://www.google.com/ig/modules/codepress/engines/khtml.js, but this file does not exist.

It looks like this is the script for syntax highlighting.

What steps will reproduce the problem? ======================================

  1. Visit http://code.google.com/apis/gadgets/docs/tools.html#GGE using Safari.

What is the expected output? ============================ Hello world displays in the Editor.

What is the actual output? ========================== The Editor is blank.

Which browsers have you experienced this on? ============================================ Safari

Which operating systems have you experienced this on? ===================================================== Windows, but this will repro on a Mac as well.

Original issue: http://code.google.com/p/opensocial-resources/issues/detail?id=258

mmarum-sugarcrm commented 11 years ago

From api.dwh%...@gtempaccount.com on July 23, 2008 20:58:06 Unfortunately codepress doesn't support Safari, so this can't be fixed until the syntax highlighting is replaced with a different system.