Wirecloud / wirecloud

Widgets Container and Mashup edition tools. Reference implementation of the FIWARE Application Mashup GE
https://wirecloud.rtfd.io/
Other
60 stars 45 forks source link

Fix errors showing on console when Wirecloud is loaded as an iframe #536

Closed oxixes closed 8 months ago

oxixes commented 8 months ago

Proposed changes

If Wirecloud was loaded as an iframe, some errors would show up in the console. This simple fix solves that problem by making the window object behave as if it wasn't in an iframe.

Types of changes

What types of changes does your code introduce to the project: Put an x in the boxes that apply

Checklist

Put an x in the boxes that apply. You can also fill these out after creating the PR. If you're unsure about any of them, don't hesitate to ask. We're here to help! This is simply a reminder of what we are going to look for before merging your code.

Further comments

None

coveralls commented 8 months ago

Coverage Status

coverage: 88.984%. remained the same when pulling cf0349fc2db99b7071484d2b2b454b4ea285a970 on oxixes-patch-1 into 01e171aa34fcf4b81b39c4aae8734b931bc35cb9 on develop.