You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Shota Nozaki (JIRA)" <ji...@apache.org> on 2014/08/26 15:51:57 UTC

[jira] [Updated] (CB-7379) Can't use iframe srcdoc attribute on iOS

     [ https://issues.apache.org/jira/browse/CB-7379?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Shota Nozaki updated CB-7379:
-----------------------------

    Description: 
The url of iframe srcdoc document is 'about:srcdoc'.
But "about" scheme is forbidden by the following code.

CDVViewController.m:734

```
    /*
     * all about: scheme urls are not handled
     */
    else if ([[url scheme] isEqualToString:@"about"]) {
        return NO;
```

  was:
The url of iframe srcdoc document is 'about:srcdoc'.
But "about" scheme is forbidden by the following code.

CDVViewController.m:734

    /*
     * all about: scheme urls are not handled
     */
    else if ([[url scheme] isEqualToString:@"about"]) {
        return NO;


> Can't use iframe srcdoc attribute on iOS
> ----------------------------------------
>
>                 Key: CB-7379
>                 URL: https://issues.apache.org/jira/browse/CB-7379
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: iOS
>            Reporter: Shota Nozaki
>            Priority: Minor
>
> The url of iframe srcdoc document is 'about:srcdoc'.
> But "about" scheme is forbidden by the following code.
> CDVViewController.m:734
> ```
>     /*
>      * all about: scheme urls are not handled
>      */
>     else if ([[url scheme] isEqualToString:@"about"]) {
>         return NO;
> ```



--
This message was sent by Atlassian JIRA
(v6.2#6252)