Closed Bug 309831 Opened 19 years ago Closed 19 years ago

Cannot use context menus to cut/copy/paste from/to textboxes in remote XUL pages

Categories

(Toolkit :: XUL Widgets, defect)

x86
All
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 228767

People

(Reporter: agilmore, Unassigned)

Details

Attachments

(1 file)

User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.9) Gecko/20050711 Firefox/1.0.5
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.9) Gecko/20050711 Firefox/1.0.5

If you use textbox widgets in a remote XUL page, attempting to cup/copy/paste
text to and from them will not work and produces the following message in the JS
Console : 

Error: uncaught exception: Permission denied to create wrapper for object of
class UnnamedClass

Using Ctrl+X/C/V works fine to do the same thing.

Reproducible: Always

Steps to Reproduce:
1. Highlight text in textbox
2. Right-click for context menu and select Copy
3. Right-click on another textbox for context menu and select Paste

Actual Results:  
Nothing happens. 

Expected Results:  
Text copied should be copied to clipboard.  Paste should paste the text.
Attempting to copy/cut/paste between textboxes via context menus doesn't work. 
Produces error : 

Error: uncaught exception: Permission denied to create wrapper for object of
class UnnamedClass
Duplicate of/related to Core bug 240187 -> Core bug 228767?
Yes, this is a dupe.

*** This bug has been marked as a duplicate of 228767 ***
Status: UNCONFIRMED → RESOLVED
Closed: 19 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: