Open Bug 268829 Opened 20 years ago Updated 2 years ago

Error: uncaught exception: Permission denied to set property HTMLDocument.cookie

Categories

(Core :: Networking: Cookies, defect, P5)

PowerPC
macOS
defect

Tracking

()

People

(Reporter: benc, Unassigned)

Details

(Whiteboard: DUPEME [necko-would-take])

STEPS:

Open new window.
From URL bar:
javascript:document.cookie="ipchecking=off"
Go "back"
Go "forward"

observed: error message in javascript console.

I think this is a problem w/ javascript url's in histoy setting a cookie in
"javascript:"
>Open new window.

what page is loaded in the new window? or is it empty?
my first step was any http: URL in the window.

http://www.mozilla.org.

I also have the js strict and debug js prefs on, btw.
This is a dup; there are known issues with the "go forward to javascript: url"
thing -- it ends up with the wrong security context.
Whiteboard: DUPEME
-> default owner
Assignee: darin → nobody
Whiteboard: DUPEME → DUPEME [necko-would-take]
Bulk change to priority: https://bugzilla.mozilla.org/show_bug.cgi?id=1399258
Priority: -- → P5
See Also: → 1552727
See Also: 1552727
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.