<?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 Re: Chrome crashes and IE freezes =&amp;gt; MapView instance in AngularJS deferred object. in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/chrome-crashes-and-ie-freezes-gt-mapview-instance/m-p/178833#M16571</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We looked into it yesterday and we found a related issue in Q: &lt;A href="https://github.com/kriskowal/q/issues/712" title="https://github.com/kriskowal/q/issues/712"&gt;Q fails to detect circular promise chain · Issue #712 · kriskowal/q · GitHub&lt;/A&gt;&lt;/P&gt;&lt;P&gt;To validate here's a test with polyfill for Promise that works: &lt;A href="http://jsbin.com/lutuliw/1/edit?html,js,output" title="http://jsbin.com/lutuliw/1/edit?html,js,output"&gt;JS Bin - Collaborative JavaScript Debugging&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would suggest that you resolve your deferred like so:&lt;/P&gt;&lt;P&gt;&lt;CODE&gt;mapViewDeferred.resolve({ view: view });&lt;/CODE&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 30 Jul 2015 16:33:15 GMT</pubDate>
    <dc:creator>YannCabon</dc:creator>
    <dc:date>2015-07-30T16:33:15Z</dc:date>
    <item>
      <title>Chrome crashes and IE freezes =&gt; MapView instance in AngularJS deferred object.</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/chrome-crashes-and-ie-freezes-gt-mapview-instance/m-p/178830#M16568</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We found a bug in the 4.0 beta 1 of the ArcGIS Api for JavaScript. Chrome crashes and IE 11 freezes when a AngularJS deferred object is resolved with a MapView instance. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To demonstrate this I created a Plunker. Open the link below and click on ‘Run’. &lt;/P&gt;&lt;P&gt;&lt;A href="http://plnkr.co/edit/SqswhEdJUEDsVnDcvshz"&gt;http://plnkr.co/edit/SqswhEdJUEDsVnDcvshz&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am curious if this is already a known bug by the API for JavaScript team. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With kind regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Jul 2015 11:48:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/chrome-crashes-and-ie-freezes-gt-mapview-instance/m-p/178830#M16568</guid>
      <dc:creator>Ceesvan_Altena</dc:creator>
      <dc:date>2015-07-29T11:48:03Z</dc:date>
    </item>
    <item>
      <title>Re: Chrome crashes and IE freezes =&gt; MapView instance in AngularJS deferred object.</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/chrome-crashes-and-ie-freezes-gt-mapview-instance/m-p/178831#M16569</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I had a brief moment to debug a little bit; here's some info, if helpful:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/119741_pastedImage_0.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-2 jive-image" src="https://community.esri.com/legacyfs/online/119742_pastedImage_1.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-3 jive-image" src="https://community.esri.com/legacyfs/online/119743_pastedImage_2.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I wonder if there's some memory leakage...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Jul 2015 15:19:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/chrome-crashes-and-ie-freezes-gt-mapview-instance/m-p/178831#M16569</guid>
      <dc:creator>ChrisSmith7</dc:creator>
      <dc:date>2015-07-29T15:19:43Z</dc:date>
    </item>
    <item>
      <title>Re: Chrome crashes and IE freezes =&gt; MapView instance in AngularJS deferred object.</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/chrome-crashes-and-ie-freezes-gt-mapview-instance/m-p/178832#M16570</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've looked into it. View/Map/Layers are Promises too. Seams like $q doesn't like it.&lt;/P&gt;&lt;P&gt;I will come with something.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the report and the example!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Jul 2015 23:02:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/chrome-crashes-and-ie-freezes-gt-mapview-instance/m-p/178832#M16570</guid>
      <dc:creator>YannCabon</dc:creator>
      <dc:date>2015-07-29T23:02:30Z</dc:date>
    </item>
    <item>
      <title>Re: Chrome crashes and IE freezes =&gt; MapView instance in AngularJS deferred object.</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/chrome-crashes-and-ie-freezes-gt-mapview-instance/m-p/178833#M16571</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We looked into it yesterday and we found a related issue in Q: &lt;A href="https://github.com/kriskowal/q/issues/712" title="https://github.com/kriskowal/q/issues/712"&gt;Q fails to detect circular promise chain · Issue #712 · kriskowal/q · GitHub&lt;/A&gt;&lt;/P&gt;&lt;P&gt;To validate here's a test with polyfill for Promise that works: &lt;A href="http://jsbin.com/lutuliw/1/edit?html,js,output" title="http://jsbin.com/lutuliw/1/edit?html,js,output"&gt;JS Bin - Collaborative JavaScript Debugging&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would suggest that you resolve your deferred like so:&lt;/P&gt;&lt;P&gt;&lt;CODE&gt;mapViewDeferred.resolve({ view: view });&lt;/CODE&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Jul 2015 16:33:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/chrome-crashes-and-ie-freezes-gt-mapview-instance/m-p/178833#M16571</guid>
      <dc:creator>YannCabon</dc:creator>
      <dc:date>2015-07-30T16:33:15Z</dc:date>
    </item>
  </channel>
</rss>

