IOS8 in landscape orientation, upper left corner of the keyboard, under the microphone key. When you hit it accidentally it reeeeealllly sucks and isn't too hard to do. Wipes out everything in that message, whether it's a sentence or a book. Gone.
Edit: Oops, not in Safari, just in the native Text App. Still annoying.
That one must exist on the larger phones only...