Comments (5)
@devoncarew I see this issue is closed as completed but it is not clear to me what the changes were... Is there a way to pass an error handler to the created socket connection? Maybe an onError
error handler parameter could be added to
and subsequently, its caller:
Or maybe we can provide an onError
stream similar to onClose
:
from webkit_inspection_protocol.dart.
I believe it was closed as a result of #88; I'm 100% that addresses all of this issue however (or whether that work was rolled into flutter?).
from webkit_inspection_protocol.dart.
The #88 allows retries on connection to chrome tab, the current issue is asking for error handling if a debug connection stops working for any reasons so the caller (dwds) can report it in the logs. The original issue is in flutter, it seems that the connection just stops working and we cannot get the error and the stacktrace.
from webkit_inspection_protocol.dart.
Sorry, above I meant to say 'not 100% sure'!
Yes, we can augment the API here in order to better pass errors through.
Let me take a look at the API here. I'm not sure whether we want an onError
error handler parameter, or just to pass failures back through the returned Future
s.
from webkit_inspection_protocol.dart.
Address in #92 and published as 1.2.0.
from webkit_inspection_protocol.dart.
Related Issues (16)
- the tests for this package have regressed HOT 1
- rev and publish package
- RemoteObject.value is incorrectly typed
- Add kevmoo as a contributor HOT 4
- Page.reload doesn't work
- Incorrect field is accessed to get scope name in WipScope.scope HOT 2
- failing test: test/dom_model_test.dart: WipDomModel Moving a node updates children HOT 1
- tests are flaky
- Strongly type Chrome pause events
- change CI to use github actions
- Migrate to GitHub Actions HOT 1
- turn on the avoid_dynamic_calls lint
- get chromedriver tests running
- Intermittent failures to get tabs from chrome HOT 4
- Frame.url can be null after Chrome 100 update, make it nullable to match? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from webkit_inspection_protocol.dart.