I have some good news and some bad news... The good news: None of my original suspicions as to why Chrome LiveEdit does not work are true. Live editing works just fine when the script is injected in the page programmatically by another script using DOM manipulations (ala xsiframe linker). And even if there is a "//sourceURL=" hint at the end of it.
So the good news is that the xsiframe linker does not need any of the original changes I thought would be needed, and in theory should work out of the box. The bad news: Chrome LiveEdit seems to break simply when the script is too big: - Above 10Mb, it is not editable at all from within Chromedevtools. I don't know whether this is a restriction of Chromedevtools, or of V8; - But even below 10Mb, editing large script files usually leads to the browser getting stuck for some seconds and then simply crashing; Next steps: (1) I'll try to check if LiveEdit would work with at least (very) small GWT projects; (2) Splitting the large scripts into many smaller scripts may solve the problem? If yes, then the code splitting logic in the xsiframe linker which is currently incompatible with sourcemaps should be implemented in a way compatible with sourcemaps - somehow; (3) Maybe file bugs to Chromium? -- You received this message because you are subscribed to the Google Groups "GWT Contributors" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit-contributors/0c37043f-ae49-4b8a-a5d2-20e2e821ea94%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
