Commit Graph

21 Commits

Author SHA1 Message Date
Drew Willcoxon
6d4b933610 Bug 888839 - Don't pretty print text/plain when copying and pasting non-(X)HTML documents. r=smaug 2013-07-19 19:56:18 -07:00
Ehsan Akhgari
9d52ece477 Bug 838582 - Part 2: Move HTMLTextAreaElement to Web IDL bindings; r=bzbarsky 2013-02-19 00:54:23 -05:00
Ryan VanderMeulen
b30facb288 Backed out 6 changesets (bug 832920, bug 825341, bug 838582, bug 842726, bug 629801, bug 842561) for Linux32 debug mochitest-2 and Windows/OSX mochitest-browser-chrome failures on a CLOSED TREE. 2013-02-22 15:30:06 -05:00
Ehsan Akhgari
84ff151c43 Bug 838582 - Part 2: Move HTMLTextAreaElement to Web IDL bindings; r=bzbarsky
--HG--
extra : rebase_source : f8933c4973220dc8845b9ce2f63e91b366167117
2013-02-19 00:54:23 -05:00
Ehsan Akhgari
f4b598bf08 Bug 722872 - Part 1: Add nsITransferable::Init(nsILoadContext*), enforce that it's called in debug builds, and add nsIDOMDocument* arguments to nsIClipboardHelper methods; r=roc
This patch does the following:

* It adds nsITransferable::Init(nsILoadContext*).  The load context
  might be null, which means that the transferable is non-private, but
  if it's non-null, we extract the boolean value for the privacy mode
  and store it in the transferable.
* It adds checks in debug builds to make sure that Init is always
  called, in form of fatal assertions.
* It adds nsIDOMDocument* agruments to nsIClipboardHelper methods which
  represent the document that the string is coming from.
  nsIClipboardHelper implementation internally gets the nsILoadContext
  from that and passes it on to the transferable upon creation.  The
  reason that I did this was that nsIClipboardHelper is supposed to be a
  high-level helper, and in most of its call sites, we have easy access
  to a document object.
* It modifies all of the call sites of the above interfaces according to
  this change.
* It adds a GetLoadContext helper to nsIDocument to help with changing
  the call sites.
2012-04-16 22:14:01 -04:00
Mats Palmgren
c88189b994 Bug 759757 - Make sure SimpleTest.finish runs after the last test is finished. r=philor 2012-06-01 20:52:37 +02:00
Henri Sivonen
6f3ab1156e Bug 739537 - No longer drop leading space from the plain text clipboard flavor when exporting both HTML and plain text to clipboard. r=smaug. 2012-04-03 09:44:15 +03:00
Henri Sivonen
dc86834ec3 Bug 731896 - Export plain text from the DOM selection directly without an intermediate HTML serialization. r=smaug. 2012-03-31 17:10:34 +03:00
Neil Deakin
a4e61699e9 Bug 673301, crash using non-string data with text/plain drags, r=josh 2011-08-18 09:22:52 -04:00
Malini Das
ee09d54d6f Bug 367393 - Add a packed MochiKit that contains only SimpleTest dependencies- plain 1/1. r=jmaher, a=test-only 2011-08-12 12:21:42 -04:00
Mats Palmgren
8172925bbc Bug 677105 - <noscript> content cannot be copied to clipboard. r=bzbarsky 2011-08-09 17:14:37 +02:00
Mats Palmgren
f2f33e4d70 Flush frames after the event handler so that new nodes inserted into the Selection are visible. b=602231 r=bzbarsky a=blocking2.0:final 2010-10-11 00:07:00 +02:00
Jonathan Kamens
a51998dbe7 bug 564737 - plaintext serializer shouldn't take care of leading spaces in a block. tests by David :Bienvenu. r=laurentj sr+a=jst 2010-09-21 15:02:55 +02:00
Ehsan Akhgari
6af3d8672d Bug 365805 - Copy/paste lists should not add #; r=jst 2010-06-21 15:56:18 -04:00
Mats Palmgren
a180f952fd Bug 39098 - Elements with visibility:hidden, visibility:collapse, or display:none get copied to the clipboard. r=dbaron 2010-05-25 01:24:15 +02:00
Mats Palmgren
64294ccd1a Backout bug 39098 due to Tinderbox orange. 2010-05-21 18:28:39 +02:00
Mats Palmgren
76d0a556b0 Bug 39098 - Elements with visibility:hidden, visibility:collapse, or display:none get copied to the clipboard. r=dbaron 2010-05-21 15:52:07 +02:00
Laurent Jouanneau
2a0ed155ba bug 549295 - html serializer should not wrap by default. r=Olly sr=Boris 2010-04-03 14:51:17 +02:00
Laurent Jouanneau
afa2c8c986 fixed a failed test under windows, about bug 524975 2010-03-18 18:09:32 +01:00
Laurent Jouanneau
a5edee8651 Bug 524975 - Copy-Paste of simple HTML adds extra space not present in original content. additionnal tests. r=Olli Pettay 2010-03-18 16:19:36 +01:00
Laurent Jouanneau
297efa6c18 Bug 524975 - Copy-Paste of simple HTML adds extra space not present in original content. r=Mats Palmgren sr=Olli Pettay 2009-11-09 15:41:12 +01:00