Merge "Handle WebKit selection changes synchronously."