Download
Getting Started
Members
Projects
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
More
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
Toggle navigation
Bugzilla – Attachment 232838 Details for
Bug 411766
Ignore "message" events that do not target Orion
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read
this important communication.
[patch]
Quick fix patch
patch.txt (text/plain), 854 bytes, created by
Maciej Bendkowski
on 2013-06-27 08:49:28 EDT
(
hide
)
Description:
Quick fix patch
Filename:
MIME Type:
Creator:
Maciej Bendkowski
Created:
2013-06-27 08:49:28 EDT
Size:
854 bytes
patch
obsolete
>diff --git a/bundles/org.eclipse.orion.client.core/web/orion/pluginregistry.js b/bundles/org.eclipse.orion.client.core/web/orion/pluginregistry.js >index 5b41581..b083e68 100644 >--- a/bundles/org.eclipse.orion.client.core/web/orion/pluginregistry.js >+++ b/bundles/org.eclipse.orion.client.core/web/orion/pluginregistry.js >@@ -790,7 +790,13 @@ > if (typeof channel.useStructuredClone === "undefined") { //$NON-NLS-0$ > channel.useStructuredClone = typeof event.data !== "string"; //$NON-NLS-0$ > } >- channel.handler(channel.useStructuredClone ? event.data : JSON.parse(event.data)); >+ >+ try { >+ channel.handler(channel.useStructuredClone ? event.data : JSON.parse(event.data)); >+ } catch(e){ >+ console.error(e, event.data); >+ channel.handler(event.data); >+ } > return true; // e.g. break > } > });
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 411766
: 232838