Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 387375

Summary: Stack overflow caused by zoom while editor inside iframe in chrome
Product: [ECD] Orion Reporter: Richard Peach <richard.peach>
Component: EditorAssignee: Silenio Quarti <Silenio_Quarti>
Status: RESOLVED WORKSFORME QA Contact:
Severity: normal    
Priority: P3 CC: chris.whitty, richard.peach, Silenio_Quarti
Version: 0.5   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard:
Attachments:
Description Flags
The chrome stack trace none

Description Richard Peach CLA 2012-08-16 07:48:44 EDT
Created attachment 219954 [details]
The chrome stack trace

In chrome:
1. Load a custom editor inside an iframe
2. In the creating of the editor call editor.setInput() with params that make it display more lines of text than can be displayed for an editor of that size. (eg. "a\na\na\na\nan\na\na\n")
3. Zoom to 125% and then scroll the editor the editor should crash or run really slowly.
4. The editor goes into an infinite loop calling _updatePage from within _updatePage in textView.js.

Note: The page may stop responding before chrome shows the stack overflow error

I think it may be related to https://bugs.eclipse.org/bugs/show_bug.cgi?id=387372
Comment 1 Silenio Quarti CLA 2013-08-12 15:25:05 EDT
I have never been able to reproduce this problem and I suspect the fix for bug#412697 should fix it. Please try the latest code and reopen if you still can reproduce it.