horizon.js is broken in safari

Bug #974599 reported by Anthony Young
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Dashboard (Horizon)
Fix Released
Low
Ke Wu

Bug Description

It looks like all functionality provided by horizon.js may be broken in Safari (5.05).

Steps to reproduce:

> Launch an instance
> Click instance details
> Click the log tab

Expected:

Log

Actual:

No activity: http://stsh.me/1W5

It looks like in safari the method 'delete' on line 62 of horizon.js is interpreted as the delete operator, causing a syntax error.

Revision history for this message
Anthony Young (sleepsonthefloor) wrote :

This bug may only exist in OSX 10.6 - I had somebody on Lion try to repro, and everything seemed fine.

Revision history for this message
Devin Carlen (devcamcar) wrote :

Can we get a clear update on what OSX version this affects? I don't have a 10.6 install to test with ...

Changed in horizon:
milestone: none → folsom-1
status: New → Incomplete
Revision history for this message
John Postlethwait (john-postlethwait) wrote :

Anthony – can you let us know which version of OSX this actually affects? Lion is all I have and, as you said, I do not see this...

Revision history for this message
Anthony Young (sleepsonthefloor) wrote :

After upgrading safari, I can no longer reproduce this issue. It is possible that there was a parser issue in 5.05 that has been fixed. As I recall, the keyword 'delete' was being used as an object property: https://developer.mozilla.org/en/JavaScript/Reference/Reserved_Words

Revision history for this message
Ke Wu (ke-wu) wrote :

Can't reproduce it with Snow Leopard and Safari 5.0.5.

Will change the reverse word "delete" to "remove"

Changed in horizon:
assignee: nobody → Ke Wu (ke-wu)
status: Incomplete → In Progress
Devin Carlen (devcamcar)
Changed in horizon:
importance: Undecided → Low
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to horizon (master)

Fix proposed to branch: master
Review: https://review.openstack.org/7632

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to horizon (master)

Reviewed: https://review.openstack.org/7632
Committed: http://github.com/openstack/horizon/commit/524d7ff8b10d4e90e9ee089d574cefcbb5e50609
Submitter: Jenkins
Branch: master

commit 524d7ff8b10d4e90e9ee089d574cefcbb5e50609
Author: Ke Wu <email address hidden>
Date: Mon May 21 10:25:45 2012 -0700

    bug #974599, rename the cookie 'delete' function to 'remove' to avoid reserve word usage

    Change-Id: I1568e4c859d3f529b0efb9d945cc30f6ae3e24d1

Changed in horizon:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in horizon:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in horizon:
milestone: folsom-1 → 2012.2
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.