From 171e0a7b0093ef2f3b4d46cad94b26968bf59316 Mon Sep 17 00:00:00 2001 From: Peter TB Brett Date: Thu, 28 Jan 2016 15:41:29 +0000 Subject: [PATCH] [Bug 16456] docs: lock clipboard is actually recursive It's safe to lock a locked clipboard and unlock an unlocked clipboard. --- docs/dictionary/command/lock-clipboard.lcdoc | 2 -- docs/dictionary/command/unlock-clipboard.lcdoc | 2 -- docs/notes/bugfix-16456.md | 1 + 3 files changed, 1 insertion(+), 4 deletions(-) create mode 100644 docs/notes/bugfix-16456.md diff --git a/docs/dictionary/command/lock-clipboard.lcdoc b/docs/dictionary/command/lock-clipboard.lcdoc index af77592614b..0bf167db7af 100644 --- a/docs/dictionary/command/lock-clipboard.lcdoc +++ b/docs/dictionary/command/lock-clipboard.lcdoc @@ -24,8 +24,6 @@ While the clipboard is locked, the contents of the clipboard available via the < >*Tip:* Use to ensure the clipboard does not change between accesses. -Locking the clipboard will throw an error if it is already locked. - References: unlock clipboard (command), clipboard (function), clipboardData (property), fullClipboardData(property), rawClipboardData (property) diff --git a/docs/dictionary/command/unlock-clipboard.lcdoc b/docs/dictionary/command/unlock-clipboard.lcdoc index 14eb03ae91e..fd6105ad1e0 100644 --- a/docs/dictionary/command/unlock-clipboard.lcdoc +++ b/docs/dictionary/command/unlock-clipboard.lcdoc @@ -22,8 +22,6 @@ Use the to make the contents of the clipboard avail >*Tip:* Use to ensure the clipboard does not change between accesses. -Unlocking the clipboard will throw an error if the clipboard is not locked. - References: lock clipboard (command), clipboard (function), clipboardData (property), fullClipboardData (property), rawClipboardData (property) diff --git a/docs/notes/bugfix-16456.md b/docs/notes/bugfix-16456.md new file mode 100644 index 00000000000..ed6ee157ebe --- /dev/null +++ b/docs/notes/bugfix-16456.md @@ -0,0 +1 @@ +# Improve accuracy of "lock clipboard" documentatino