<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Content of draw.js Changes in Windows8 (and others?) in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/content-of-draw-js-changes-in-windows8-and-others/m-p/325687#M30003</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a web mapping page running api v. 3.11 which we have tested across multiple browsers on many systems.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;During the beta testing period, we received reports that the page would not load from one user group. Rather than a 404 error, the page was reporting a scripting error and would halt loading and return a blank screen. The user group reported the problem on Windows 7 desktops, but I have only been able to replicate it on Windows 8 machines (every windows 8 machine I have tried).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The most vexing part of the problem appears to be differences in the way draw.js is read (we are using drawing tools). On computers which run the page successfully, a portion of draw.js shows as:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;case d.TRIANGLE:this._addShape([[0,-48],[41.56921938165306,24],[-41.56921938165306,24],[0,-48]]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On the systems which do not load, an error is raised and the same draw.js code appears as&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;case d.TRIANGLE:this._addShape([[0,-48],[**************************,24],[-******************************,24],[0,-48]]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Where the "*" character raises an exception. When I view source, I see the same asterisks reported.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Further, if I make a local network copy of the same page, it will load with a different set of errors (Windows 8 seems to object to a padding setting in CSS for the internet copy). Behavior is poor across multiple browsers on affected systems which leads me to believe it is not a browser issue, but rather a system/OS issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does anyone have an idea as to why this is occurring? I have used 2 computers on the same network and cannot fathom why the JS representation would be altered between Windows 7 and 8, let alone different installations of Windows 7.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 19 Feb 2015 14:02:55 GMT</pubDate>
    <dc:creator>NathanaelVaughan</dc:creator>
    <dc:date>2015-02-19T14:02:55Z</dc:date>
    <item>
      <title>Content of draw.js Changes in Windows8 (and others?)</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/content-of-draw-js-changes-in-windows8-and-others/m-p/325687#M30003</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a web mapping page running api v. 3.11 which we have tested across multiple browsers on many systems.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;During the beta testing period, we received reports that the page would not load from one user group. Rather than a 404 error, the page was reporting a scripting error and would halt loading and return a blank screen. The user group reported the problem on Windows 7 desktops, but I have only been able to replicate it on Windows 8 machines (every windows 8 machine I have tried).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The most vexing part of the problem appears to be differences in the way draw.js is read (we are using drawing tools). On computers which run the page successfully, a portion of draw.js shows as:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;case d.TRIANGLE:this._addShape([[0,-48],[41.56921938165306,24],[-41.56921938165306,24],[0,-48]]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On the systems which do not load, an error is raised and the same draw.js code appears as&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;case d.TRIANGLE:this._addShape([[0,-48],[**************************,24],[-******************************,24],[0,-48]]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Where the "*" character raises an exception. When I view source, I see the same asterisks reported.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Further, if I make a local network copy of the same page, it will load with a different set of errors (Windows 8 seems to object to a padding setting in CSS for the internet copy). Behavior is poor across multiple browsers on affected systems which leads me to believe it is not a browser issue, but rather a system/OS issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does anyone have an idea as to why this is occurring? I have used 2 computers on the same network and cannot fathom why the JS representation would be altered between Windows 7 and 8, let alone different installations of Windows 7.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Feb 2015 14:02:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/content-of-draw-js-changes-in-windows8-and-others/m-p/325687#M30003</guid>
      <dc:creator>NathanaelVaughan</dc:creator>
      <dc:date>2015-02-19T14:02:55Z</dc:date>
    </item>
    <item>
      <title>Re: Content of draw.js Changes in Windows8 (and others?)</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/content-of-draw-js-changes-in-windows8-and-others/m-p/325688#M30004</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I tried it on Windows Server 2008 Standard R2 and Windows XP SP3 and the page loaded on both machines. When I get home, I can try it on my Windows 8 machine. If it loads on there, maybe you can at least rule out the OS. Have you considered referencing the JavaScript API 3.12 and also 3.10 to see if that makes a difference?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Feb 2015 15:15:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/content-of-draw-js-changes-in-windows8-and-others/m-p/325688#M30004</guid>
      <dc:creator>ChrisSergent</dc:creator>
      <dc:date>2015-02-19T15:15:52Z</dc:date>
    </item>
    <item>
      <title>Re: Content of draw.js Changes in Windows8 (and others?)</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/content-of-draw-js-changes-in-windows8-and-others/m-p/325689#M30005</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As with most things in my life, understanding why something doesn't work doesn't mean you can't find the solution.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;When I reference the esri-hosted files, the page loads without a problem (version 3.11 and 3.12). When I reference the locally hosted version, I get the weird error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On a side note, I wrote a little python script to access the draw.js file that is causing the problems and when I run it on a computer which swaps in the asterisks, *surprise* python doesn't see asterisks. This leads me to believe it's some stupid browser/AV security issue (and specific to my "locally" hosted draw.js file).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Behavior is the same for locally hosted v 3.10, 3.12&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Feb 2015 15:25:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/content-of-draw-js-changes-in-windows8-and-others/m-p/325689#M30005</guid>
      <dc:creator>NathanaelVaughan</dc:creator>
      <dc:date>2015-02-19T15:25:34Z</dc:date>
    </item>
  </channel>
</rss>

