Closed
Bug 213
Opened 27 years ago
Closed 7 years ago
showDocument("javascript:..."); broken
Categories
(Core :: DOM: Core & HTML, defect, P5)
Core
DOM: Core & HTML
Tracking
()
RESOLVED
FIXED
People
(Reporter: lynxx, Assigned: bugz)
Details
Attachments
(1 file)
(deleted),
application/octet-stream
|
Details |
Created by Holger Hippenstiel (lynxx@uni.de) on Tuesday, April 14, 1998 7:06:16 AM PDT
Additional Details :
Since Version 4.02 of Communicator "Life" generating of
Javascript doesn''t work anymore.
The following example works fine in Netscape Navigator
3.01++ or Netscape Communicator 4.01 (Win 95/Win NT/IRIX
5.3, 6.2/AIX 4/HP-UX 10).
It "creates" a new Html (with Javascript [also tried
"mocha:" and "livescript:"]) and the browser should display
"Test".
AppletContext is there.
The URL is created.
No Exception is raised.
What''s the problem !?!?!
import java.awt.*;
import java.applet.*;
import java.net.*;
public class HtmlCreate extends Applet {
public void init() {
try {
getAppletContext().showDocument(new
URL("javascript:''<html><body>Test</body></html>''"),
"_self");
System.out.println("Html created");
} catch (Exception e) {
System.out.println("Error: "+e);
}
}
}
Also tried to give another destination: "_top", and also
showDocument(URL) without destination, nothing works !
Updated•27 years ago
|
Assignee: nobody → mccabe
Component: JavaScript
Updated•26 years ago
|
Assignee: mccabe → mlm
Comment 1•26 years ago
|
||
Mass move of libmocha-related bugs to libmocha owner. Sorry, Mike.
Comment 4•26 years ago
|
||
per leger, assigning QA contacts to all open bugs without QA contacts according
to list at http://bugzilla.mozilla.org/describecomponents.cgi?product=Browser
QA contact re-assigned according to the product areas we're currently working
on.
Moving to DOM Level 0 comnponent. If this is a DOM Level 1 bug, please change
component.
Updated•26 years ago
|
Target Milestone: M7
Comment 10•26 years ago
|
||
I think it should work. I mean code seems fine.
Since Its a .java file I cant test it right now. I've to do it when I install
JDK or Semantec or J++. I'll do that soon.
But the only thing I'm concerned is destination.
Here is some description how destination exactly works here.
_self: only works if applet is showing.
_parent: for parent window.
don't specify: browser's choice.
_top: the Frame that contains applet.
_blank: a new, unnamed window.
My Window: a window named "My Window".
So I think you could try, _blank or creating your own window.
I'll also be testing this code pretty soon.
Comment 11•26 years ago
|
||
This is now in Bugsplat - http://scopus/bugsplat/show_bug.cgi?id=355514
Marking Verified/Invalid for Comm 5.0
Comment 12•22 years ago
|
||
Comment 13•7 years ago
|
||
Commits pushed to master at https://github.com/mozilla/kuma
https://github.com/mozilla/kuma/commit/e5d0188f641284f8982205ce58d74172d0e70884
Fix issue #213, implement traffic cop for interactive examples testing
https://github.com/mozilla/kuma/commit/6b791f0fc7327215f1e3b873520fae9af6ee11ea
Merge pull request #4384 from schalkneethling/issue#213-implement-traffic-cop-for-interactive-examples
Fix issue #213, implement traffic cop for interactive examples testing
Updated•7 years ago
|
Status: VERIFIED → RESOLVED
Closed: 26 years ago → 7 years ago
Resolution: INVALID → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•