title: Android WebView "No 'Access-Control-Allow-Origin' header is present on the requested resource"
body: <p>I'm trying to load a test web page (in my server). Page is:</p>
  
  <pre><code>&lt;!DOCTYPE html&gt;
  &lt;html&gt;
  &lt;head&gt;
      &lt;title&gt;Test&lt;/title&gt;
  &lt;/head&gt;
  &lt;body&gt;
  
  &lt;iframe width="420" height="315" src="http://www.youtube.com/embed/XGSy3_Czz8k?autoplay=1"/&gt;
  
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>But webView is not loading page. Not even onProgressChanged called after %40-50</p>
  
  <p>Also, this problem occurs all sites that loads js script from url. Including <strong>youtube, fb</strong> etc.</p>
  
  <pre><code>WebConsole: XMLHttpRequest cannot load https://googleads.g.doubleclick.net/pagead/id. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'https://www.youtube.com' is therefore not allowed access. 
  </code></pre>
  
  <p>Here my settings</p>
  
  <pre><code>    FrameLayout contentFrame = (FrameLayout) findViewById(R.id.ContentFrame);
      WebView mWebView = new WebView(this);
  
      mWebView.setWebChromeClient(new WebChromeClient());
      mWebView.setWebViewClient(new WebViewClient());
      mWebView.getSettings().setJavaScriptEnabled(true);
      mWebView.getSettings().setAllowUniversalAccessFromFileURLs(true);
      mWebView.getSettings().setAllowFileAccessFromFileURLs(true);
  
      mWebView.loadUrl("http://ozgur.dk/browser.html");
  
      contentFrame.removeAllViews();
      contentFrame.addView(mWebView);
  </code></pre>
  
  <p>Layout:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;FrameLayout
      android:id="@+id/ContentFrame"
      xmlns:android="http://schemas.android.com/apk/res/android"
      android:layout_width="match_parent"
      android:layout_height="match_parent"
      /&gt;
  </code></pre>