Giter Site home page Giter Site logo

robin-hartmann / bug-w10-auth Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 21 KB

๐Ÿž A minimal working example for reproducing a crash on Windows 10 Mobile devices

License: MIT License

HTML 83.61% JavaScript 16.39%
bug mwe windows-10-mobile cordova cordova-windows browser windows-10-mobile-app html javascript

bug-w10-auth's Introduction

๐Ÿž bug-w10-auth

A minimal working example for reproducing a crash on Windows 10 Mobile devices

๐Ÿ› ๏ธ Development

These instructions will get you a copy of this project up and running on your local machine for development and testing purposes.

๐Ÿ“‹ Prerequisites

๐Ÿš€ Getting Started

  1. Install all dependencies
    • npm i
  2. Add Windows as platform
    • .\node_modules\.bin\cordova platform add windows
  3. Open platforms/windows/CordovaApp.sln in Visual Studio
  4. Configure CordovaApp.Windows10 as Startup Project
  5. Run the project on a connected mobile device
  6. Stop the debug session (the app doesn't crash during debugging)
  7. Launch the app manually
  8. Press Send POST (the device needs to successfully receive the response from http://PutsReq.com)

Now the authentication dialog should pop up. If the dialog isn't closed within ~5 seconds, the app will crash.

โœ‰๏ธ About the response

For the dialog to pop up, the following conditions have to be met by the response:

  • Status code needs to be 401
  • Header WWW-Authenticate needs to be present
  • Header WWW-Authenticate needs to be configured for Basic Authentication (e.g. set to Basic realm="PutsReq.com")

๐Ÿ“‹ Tested on

Device Windows Variant Windows Version Crash
x64-based PC Pro 1703 (10.0.15063.0) NO
x64-based PC Pro 1511 (10.0.10586.1106) NO
HP Elite x3 Mobile 1703 (10.0.15063.608) NO
NOKIA Lumia 930 Mobile 1607 (10.0.14393.1715) YES
Zebra TC700J Mobile Enterprise 1607 (10.0.14393.1715) YES
PANASONIC FZ-F1 Mobile Enterprise 1511 (10.0.10586.1106) YES

๐Ÿงฐ Built With

  • Cordova - Mobile apps with HTML, CSS & JS
  • PutsReq - Lets you record HTTP requests and fake responses

๐Ÿ‘จโ€๐Ÿ’ป Authors

๐Ÿ“ƒ License

This project is licensed under the MIT License - see the LICENSE file for details.

bug-w10-auth's People

Contributors

robin-hartmann avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.