location='javascript:' in inline script makes nothing paint

RESOLVED WORKSFORME

Status

()

Core
Layout
P3
normal
RESOLVED WORKSFORME
16 years ago
14 years ago

People

(Reporter: Jesse Ruderman, Assigned: Marc Attinasi)

Tracking

Trunk
Future
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

(Reporter)

Description

16 years ago
Steps to reproduce:
1. Load the testcase.

Result: Nothing appears in the content area, but Ctrl+A, Ctrl+C copies "Above".
Expected: "Above" should appear in the content area.

Note that if bug 144587 is fixed, the expected result is "Above Below".
(Reporter)

Comment 1

16 years ago
Created attachment 89890 [details]
testcase
(Reporter)

Comment 2

16 years ago
Less serious version: if you do the same thing in body onload, the content
paints a second late (bug 155313).
Severity: minor → normal

Updated

16 years ago
Priority: -- → P3

Updated

16 years ago
Target Milestone: --- → Future

Comment 3

16 years ago
Reproduced using FizzillaCFM/2002100308. Setting All/All.
OS: Windows XP → All
Hardware: PC → All

Comment 4

15 years ago
"location" is a cursed word.  Change the variable name to "locatiom" and presto,
it works.  See bug 181683.
(Reporter)

Comment 5

15 years ago
I'm aware that setting location has a special meaning.  So does a value for
location that starts with "javascript:".

Comment 6

15 years ago
WFM (partially) with Mozilla 1.4rc1. "Above" appears in the content area;
"Below" does not. I'm not sure the latter really depends on bug 144587, which
appears to be fixed.

Comment 7

14 years ago
This bug worksforme with Windows Seamonkey builds 2004020909
Status: NEW → RESOLVED
Last Resolved: 14 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.