Closed Bug 296767 Opened 20 years ago Closed 19 years ago

Error: uncaught exception: Permission denied to set property CSSStyleDeclaration.color

Categories

(Core :: DOM: Events, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: tonglebeak, Unassigned)

Details

(Keywords: testcase)

Attachments

(1 file)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b2) Gecko/20050602 Firefox/1.0+
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b2) Gecko/20050602 Firefox/1.0+

I get this uncaught exception in the js console, while hovering in and out of
the link that will be given in the testcase, after firefox begins receiving the
data for the page linked to.

Reproducible: Always
Keywords: testcase
Version: unspecified → Trunk
Attached file testcase
Just follow the directions the link gives you, then have a look in your js
console (if you have the web dev bar, you'll quickly be able to see if the js
console picks up the exception).
Yes, if you try to do something in Javascript that you're not allowed to do, it
throws an exception, and if you don't catch the exception, you get this type of
error.  Are you trying to say that you should be able to set this property?  If
so, this bug is misfiled, but if its blocked already, its most likely by design.

If this works in 1.0, please file a bug about not being able to set this
property via JS against the appropriate CSS/DOM component.  But this seems
invalid as reported.
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → INVALID
Yes, I'm saying you should be allowed to do this. If the next page wants to take
its time loading, why should the page that is still up not have js functions
allowed such as this one (setting a color on a link)?
Status: RESOLVED → UNCONFIRMED
Component: General → DOM: Events
Product: Firefox → Core
Resolution: INVALID → ---
Is this still a problem in current builds (ones that splitwindow has landed in)?
 I can't seem to reproduce....
I can't reproduce it either anymore.
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago19 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: