Closed Bug 172972 Opened 22 years ago Closed 22 years ago

AppleScript dictionary "Do JavaScript" command is broken

Categories

(SeaMonkey :: UI Design, defect)

PowerPC
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 5704

People

(Reporter: seth, Assigned: samir_bugzilla)

Details

1. Try the following Applescript, replacing "JS" with javascript that mozilla should understand, which I assume includes "OpenURL(about:blank)" tell application "Mozilla" Do JavaScript "JS" end tell 2. If this command doesn't work, remove it from the Mozilla applescript dictionary. If it DOES work, then please document it somewhere because I can't find *ANY* mention of what javascript commands are allowable.
Seth, what build ID are you reporting this bug against?
This is the 'official' 1.1 release on OS X.
Seth, I think the JavaScript you want to execute is "window.open()". OpenURL, as described in bug 160106, would be an AppleScript command. However, when, using FizzillaCFM/2002100308, I try: tell application "Mozilla" Do JavaScript "alert('foo')" end tell I see an execution error, [Mozilla got an error: "alert('foo');" doesn't understand the Do JavaScript message.], So, confirming.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Dup of bug 5704?
Summary: Applescript dictionary "Do JavaScript" command is broken → AppleScript dictionary "Do JavaScript" command is broken
*** This bug has been marked as a duplicate of 5704 ***
Status: NEW → RESOLVED
Closed: 22 years ago
Resolution: --- → DUPLICATE
Product: Core → Mozilla Application Suite
You need to log in before you can comment on or make changes to this bug.