-
Improvement
-
Resolution: Fixed
-
Neutral
-
None
-
None
-
None
-
-
Empty show more show less
-
HL & LD 41
-
1
Some frameworks or even browser extensions can produce postMessages which break our server-side postMessage handler.
Sanitize by checking if the postMessage object contains action property with a proper action type set.
Symptoms:
Problem occurs when using Angular project with angular-editor 1.2.0-beta, doing external SPA (with baseURL and routeTemplate) on FIrefox (not reproducable on Chrome)
Upon saving a change to a component in page editor - browser console shows exception:
com.google.gwt.logging.client.LogConfiguration SEVERE: (TypeError) : ji2.uncheckedCast(...).charCodeAt is not a function com.google.gwt.core.client.JavaScriptException: (TypeError) : ji2.uncheckedCast(...).charCodeAt is not a function at Unknown.split_2(http://localhost:8080/VAADIN/widgetsets/info.magnolia.PageEditor/info.magnolia.PageEditor.nocache.js) at Unknown.decode(http://localhost:8080/VAADIN/widgetsets/info.magnolia.PageEditor/info.magnolia.PageEditor.nocache.js) at Unknown.handleMessage(http://localhost:8080/VAADIN/widgetsets/info.magnolia.PageEditor/info.magnolia.PageEditor.nocache.js) at Unknown.$addMessageHandler/receiver<(http://localhost:8080/VAADIN/widgetsets/info.magnolia.PageEditor/info.magnolia.PageEditor.nocache.js) at Unknown.apply_0(http://localhost:8080/VAADIN/widgetsets/info.magnolia.PageEditor/info.magnolia.PageEditor.nocache.js) at Unknown.entry0(http://localhost:8080/VAADIN/widgetsets/info.magnolia.PageEditor/info.magnolia.PageEditor.nocache.js) at Unknown.entry_0/<(http://localhost:8080/VAADIN/widgetsets/info.magnolia.PageEditor/info.magnolia.PageEditor.nocache.js) at Unknown.invokeTask(http://localhost:4200/polyfills.js) at Unknown.runTask(http://localhost:4200/polyfills.js) at Unknown.invokeTask(http://localhost:4200/polyfills.js) at Unknown.invokeTask(http://localhost:4200/polyfills.js) at Unknown.globalZoneAwareCallback(http://localhost:4200/polyfills.js) at Unknown.handleEvent*customScheduleGlobal(http://localhost:4200/polyfills.js) at Unknown.scheduleTask(http://localhost:4200/polyfills.js)
Acceptance criteria
- mentioned in
-
Page Loading...