MSApp.createFileFromStorageFile hangs

Not reproducible Issue #11749672

Details

Author
Kagami R.
Created
Apr 21, 2017
Privacy
This issue is public.
Found in
  • Microsoft Edge
Found in build #
15.15063
Reports
Reported by 1 person

Sign in to watch or report this issue.

Steps to reproduce

  1. Create a new JavaScript Blank App (Universal Windows) on Visual Studio
  2. Copy-paste this code on js/main.js
// Your code here!
async function main() {
    let picker = new Windows.Storage.Pickers.FileOpenPicker();
    picker.fileTypeFilter.push(".png", ".jpg", ".jpeg", ".bmp", ".webp", ".gif");
    picker.suggestedStartLocation = Windows.Storage.Pickers.PickerLocationId.picturesLibrary;
    const storageFile = await picker.pickSingleFileAsync();
    return MSApp.createFileFromStorageFile(storageFile);
}
main().then(() => document.body.textContent = "done");

Expected

body should be “done”

Actual

Code hangs on the MSApp.createFileFromStorageFile line with high probability

Attachments

0 attachments

    Comments and activity

    • Changed Steps to Reproduce

    • Microsoft Edge Team

      Changed Assigned To to “Steven K.”

      Changed Status to “Not reproducible”

    You need to sign in to your Microsoft account to add a comment.

    Sign in