Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hrueger/playwright-issue-11566
https://github.com/hrueger/playwright-issue-11566
Last synced: 16 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/hrueger/playwright-issue-11566
- Owner: hrueger
- Created: 2022-01-24T18:35:41.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2022-01-24T19:12:12.000Z (about 3 years ago)
- Last Synced: 2024-04-23T02:15:14.862Z (10 months ago)
- Language: JavaScript
- Size: 202 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# playwright-issue-11566
## Run
```bash
docker build -t testcontainer:latest .
docker run testcontainer:latest
```## Reproduce the bug
Comment out [line 11](https://github.com/hrueger/playwright-issue-11566/blob/ce4e967fa21ac1164f02ae6a6434fb71a260f977/src/index.ts#L11) and uncomment [line 13](https://github.com/hrueger/playwright-issue-11566/blob/ce4e967fa21ac1164f02ae6a6434fb71a260f977/src/index.ts#L13) in [src/index.ts](src/index.ts) and run the steps above again.Chromium produces this:
```
docker run testcontainer:latest> [email protected] production
> ts-node src/index.tsStarting headless browser...
Starting express server...
Server started on port 8080!
Loading 3D Renderer...
-----> [.WebGL-0x3e4e003d1b00]GL Driver Message (OpenGL, Performance, GL_CLOSE_PATH_NV, High): GPU stall due to ReadPixels
Renderer loaded!
-----> [.WebGL-0x3e4e003d1b00]GL Driver Message (OpenGL, Performance, GL_CLOSE_PATH_NV, High): GPU stall due to ReadPixels
-----> [.WebGL-0x3e4e003d1b00]GL Driver Message (OpenGL, Performance, GL_CLOSE_PATH_NV, High): GPU stall due to ReadPixels
-----> [.WebGL-0x3e4e003d1b00]GL Driver Message (OpenGL, Performance, GL_CLOSE_PATH_NV, High): GPU stall due to ReadPixels (this message will no longer repeat)
```
Everything works as expected.Firefox, however, produces the following output:
```
docker run testcontainer:latest> [email protected] production
> ts-node src/index.tsStarting headless browser...
Starting express server...
Server started on port 8080!
Loading 3D Renderer...
-----> [JavaScript Warning: "WebGL warning: : WebglAllowWindowsNativeGl:false restricts context creation on this system." {file: "http://localhost:8080/serveRenderer/webgl-demo.js" line: 10}]
-----> [JavaScript Warning: "Failed to create WebGL context: WebGL creation failed:
* WebglAllowWindowsNativeGl:false restricts context creation on this system. ()
* Exhausted GL driver options. (FEATURE_FAILURE_WEBGL_EXHAUSTED_DRIVERS)" {file: "http://localhost:8080/serveRenderer/webgl-demo.js" line: 10}]
Renderer loaded!
```## Disclaimer
WebGL Example taken from https://github.com/mdn/webgl-examples/tree/gh-pages/tutorial/sample7