I have build all PCF controls using msbuild /p:configuration=Release mode but when i run solution checker on my complete solution which includes few PCF controls and customization changes then i got below bundle.js error. How can we make our solution rid of this error in development environment.
a.top*n references 'window.top' or 'window.parent.parent'. This will likely result in cross-origin security errors when hosted outside of the primary web client. Develop an alternate approach.
For most comparisons the strict equality comparison algorithm is the appropriate choice as it will return the expected results. The strict operators, === and !==, handle null and undefined values as expected.
Hi - these kind of messages are often false positive. If you are not referencing window.top then you can safely ignore them. Strict equality operators are often best practice so you might consider looking at the occurrences. Many times however, the issues are coming from third party libraries that you have no control over and so you would ignore the issues in this situation.
Yes i am not referencing them in my control they are coming from third party library. Few months back this work fine solution checker does not give any error if we build control using msbuild /p:configuration=Release and deploy the unmanaged solution into the environment. But now it started giving error.