Closed Bug 386825 Opened 18 years ago Closed 18 years ago

Javascript button doesn't work when used 2 times

Categories

(Core :: DOM: Core & HTML, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 386838

People

(Reporter: nikolakocicbz, Unassigned)

References

()

Details

(Keywords: regression)

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9a7pre) Gecko/2007070304 Minefield/3.0a7pre Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9a7pre) Gecko/2007070304 Minefield/3.0a7pre ID:2007070304 When using steps to reproduce, following error is in Error Console using Console^2: Error: Not enough arguments [nsIDOMNSHTMLDocument.execCommand] = NS_ERROR_XPC_NOT_ENOUGH_ARGS Source file: http://gotlurk.net/?action=viewtrigs&chn=Claymore_v01[m-s].zip Line: 1 but same error is present in 2007062711 build but it works... Reproducible: Always Steps to Reproduce: 1. Go to http://gotlurk.net/?action=viewtrigs&chn=Claymore_v01[m-s].zip 2. Click "Copy" button. 3. Click anywhere on page to deselect text. 4. Click "Copy" button again. Actual Results: Text isn't selected. Expected Results: Text is selected again. It works with Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9a7pre) Gecko/2007062711 Minefield/3.0a7pre ID:2007062711 but doesn't with Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9a7pre) Gecko/2007062805 Minefield/3.0a7pre ID:2007062805
Seems likely that this would be a regression from bug 237964
Assignee: general → nobody
Component: JavaScript Engine → DOM
Keywords: regression
QA Contact: general → general
Status: UNCONFIRMED → RESOLVED
Closed: 18 years ago
Resolution: --- → DUPLICATE
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.