Return-Path: X-Original-To: apmail-cordova-dev-archive@www.apache.org Delivered-To: apmail-cordova-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 3D1F911E55 for ; Tue, 15 Jul 2014 22:13:22 +0000 (UTC) Received: (qmail 50178 invoked by uid 500); 15 Jul 2014 22:13:22 -0000 Delivered-To: apmail-cordova-dev-archive@cordova.apache.org Received: (qmail 50148 invoked by uid 500); 15 Jul 2014 22:13:21 -0000 Mailing-List: contact dev-help@cordova.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cordova.apache.org Delivered-To: mailing list dev@cordova.apache.org Delivered-To: moderator for dev@cordova.apache.org Received: (qmail 38392 invoked by uid 99); 15 Jul 2014 22:08:52 -0000 X-ASF-Spam-Status: No, hits=2.2 required=5.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) From: Joel Jeske To: "dev@cordova.apache.org" Subject: Window 8 Embedded Webview Thread-Topic: Window 8 Embedded Webview Thread-Index: AQHPoHlLVItXT5kY+0qQjTWXwzdTew== Date: Tue, 15 Jul 2014 22:08:24 +0000 Message-ID: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.2.202.34] Content-Type: multipart/alternative; boundary="_000_D387B41503364968807C0E229E066D99handcom_" MIME-Version: 1.0 X-Virus-Checked: Checked by ClamAV on apache.org --_000_D387B41503364968807C0E229E066D99handcom_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hello Cordova, I want to ask about using an embedded web view on Window 8. Window 8 Store Apps can, of course, be configured to use HTML/Javascript di= rectly within the application as opposed to within a web view. However, tha= t requires that the Javascript follows Microsoft's rules. The particular ru= le that is a pain to me is forcing the strict use of local content. I have a Cordova application that supports iOS, Android, and WP8. It is con= figured use content from an external URL. This approach fails when it comes= to Windows 8 because Microsoft does not allow the use of external content.= This rule makes sense only because the application is exposed to WinJS whi= ch has higher privileges relative to standard in-browser JavaScript. In the= context of Cordova, most developers do not use Windows 8-specific Javacrip= t because they are building a cross platform application. If they were not = building a cross platform app, they would/should simply create an Javascrip= t based Windows 8 Store application. Finally, I come to my question: Why did Cordova decide to use the built-in = HTML/Javascript project as opposed to a XAML/C# project and using a WebView= ? Not only would that fix my issue, but would also fix all the annoying sec= urity issues when using JavaScript in the RT environment (like direct use o= f `element.innerHTML`). Are there other possible solutions to my issue that I am overlooking? Note: A possible solution to my problem is similar to the one discussed in = this thread. http://mail-archives.apache.org/mod_mbox/cordova-dev/201312.mb= ox/%3C52561cb60e0d4f31927fd4637bf846c9@DM2PR03MB366.namprd03.prod.outlook.c= om%3E> Thanks, Joel Jeske This email and any attachments thereto may contain private, confidential, a= nd privileged material for the sole use of the intended recipient. Any revi= ew, copying, or distribution of this email (or any attachments thereto) by = others is strictly prohibited. If you are not the intended recipient, pleas= e contact the sender immediately and permanently delete the original and an= y copies of this email and any attachments thereto. --_000_D387B41503364968807C0E229E066D99handcom_--