Diff: --- /home/slave/webkitgtk/gtk-linux-64-release/build/layout-test-results/editing/pasteboard/pasting-empty-html-falls-back-to-text-expected.txt +++ /home/slave/webkitgtk/gtk-linux-64-release/build/layout-test-results/editing/pasteboard/pasting-empty-html-falls-back-to-text-actual.txt @@ -1,5 +1,1 @@ This test requires DRT. It verifies that pasting in a richly editable area falls back to text if the HTML content is an empty string. - - - -PASS I'll mark it in test_expectations.
This test now passes in Debug and Release in WebKitGTK, but crashes on Debug in WebKit2GTK.
I am investigating this.
The crash in GTK-WK2 happens in ASSERT(misspellingLocation < len), in TextCheckingHelper.cpp. I investigated how it happens, and it turned out that the values coming out of the IPC calls to checkSpellingOfString are wrong, and have not been initialized. I am renaming this bug to something more appropriate and will upload a patch that fixes this.
Created attachment 205922 [details] Patch
I am also taking a look at other places where this could be happening.
CCing an OWNER for review as well.
Looks good to me.
Comment on attachment 205922 [details] Patch Clearing flags on attachment: 205922 Committed r152369: <http://trac.webkit.org/changeset/152369>
All reviewed patches have been landed. Closing bug.