Uploaded image for project: 'Apache Cordova'
  1. Apache Cordova
  2. CB-7379

Can't use iframe srcdoc attribute on iOS

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Won't Fix
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: cordova-ios
    • Labels:
      None

      Description

      The url of iframe srcdoc 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;
      

        Attachments

          Activity

            People

            • Assignee:
              shazron Shazron Abdullah
              Reporter:
              emonkak Shota Nozaki
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: