-
Notifications
You must be signed in to change notification settings - Fork 212
[Temp] Make unix socket Get{Peer|Local}Address return more rational errors. #223
Conversation
Testing patch series with wuhengzhi/chromium-crosswalk@b485241 as its head.
|
I don't think it's the right way to do this. You need to find out how crosswalk uses UnixDomainSocket and provide crosswalk's implementation, even it's an empty impl. |
I have the same opinion, but in the call stack,
|
|
net module always takes UnixDomainSocket as param for sure, but crosswalk could provide XWalkUnixDomainSocket. I remember android webview provides AndroidUnixDomainSocket, we could do similar. |
This error message is also available on upstream Android build. Why it is trouble for Crosswalk? |
customer reported that it makes logcat useless. |
I'd agree this logcat is useless, same pain on me when I try to debug Crosswalk on Android. I think it is low priority and I'd suggest to discuss with upstream for fix. Removing this in our fork is last solution. |
upstream has derived implementation for chrome and android webview. I don't think they care so much about content shell. We should adopt there approach for chrome/webview. |
Agreed, that is right solution. |
Testing patch series with wuhengzhi/chromium-crosswalk@6dd62e7 as its head.
|
lgtm with nit, use [Temp] prefix in git log to indicate rebase owner to remove it in future. |
LGTM after fix halton's comment, thanks. |
I will add it, thanks. |
Testing patch series with wuhengzhi/chromium-crosswalk@44a8a9c as its head.
|
…rrors. Rather than return ERR_NOT_IMPLEMENTED it seems sensible to return ERR_SOCKET_NOT_CONNECTED in the case that the socket is not connected, but unconditionally return ERR_ADDRESS_INVALID if connected (because there's no IP addr or port associated with either end of the socket). BUG=431412 Review URL: https://codereview.chromium.org/841993002 Cr-Commit-Position: refs/heads/master@{#310564}
[Temp] Make unix socket Get{Peer|Local}Address return more rational errors.
Make sure to roll |
Having a ContextWrapper passed in as the AwContents Context parameter was causing us to use the wrong kind of window object which in turn resulted in popup dialogs not being displayed. BUG=434695 Review URL: https://codereview.chromium.org/756983002 [email protected] Cr-Commit-Position: refs/heads/master@{#305796} (cherry picked from commit 214620e) Review URL: https://codereview.chromium.org/778183002 Cr-Commit-Position: refs/branch-heads/2214@{#223} Cr-Branched-From: 03655fd-refs/heads/master@{#303346}
SingleThreadProxy was previously not considering DidFailToInitializeOutputSurface responses as an outstanding RequestNewOutputSurface call. This would cause the embedder to start servicing an output surface request, then composite, receive another, and then have double output surface requests. The fix is to consider this failure state as a request. [email protected],[email protected],[email protected] BUG=444277 Review URL: https://codereview.chromium.org/871743002 Cr-Commit-Position: refs/heads/master@{#313357} (cherry picked from commit 5232fbb) Review URL: https://codereview.chromium.org/896423003 Cr-Commit-Position: refs/branch-heads/2272@{#223} Cr-Branched-From: 827a380-refs/heads/master@{#310958}
…n't called. With ephemeral profiles, in some cases, a Handle will be created and destroyed without being initialized. Root cause of why the object is created is still not known, but this change prevents the crash from occurring. BUG=478215 Review URL: https://codereview.chromium.org/1072143003 Cr-Commit-Position: refs/heads/master@{#326371} (cherry picked from commit 08f40f1) Review URL: https://codereview.chromium.org/1087903003 Cr-Commit-Position: refs/branch-heads/2357@{#223} Cr-Branched-From: 59d4494-refs/heads/master@{#323860}
… archives. BUG=515216 Review URL: https://codereview.chromium.org/1262753002 Cr-Commit-Position: refs/heads/master@{#341475} (cherry picked from commit 04a4eb9) [email protected] Review URL: https://codereview.chromium.org/1270823003 . Cr-Commit-Position: refs/branch-heads/2454@{#223} Cr-Branched-From: 12bfc33-refs/heads/master@{#338390}
While we work on to resolve these known StrictMode violations, it's a poor experience for dogfooders to see these every time they are triggered. It is still important for developers and dogfooders to see and report newly introduced violations with the StrictMode red border flash. BUG=508615,525781,525785,527415,527429 NOTRY=true NOPRESUBMIT=true Review URL: https://codereview.chromium.org/1334533004 Cr-Commit-Position: refs/heads/master@{#348147} (cherry picked from commit b6f6133) [email protected] Review URL: https://codereview.chromium.org/1336603002 Cr-Commit-Position: refs/branch-heads/2490@{#223} Cr-Branched-From: 7790a35-refs/heads/master@{#344925}
BUG=560752 Review URL: https://codereview.chromium.org/1489873004 Cr-Commit-Position: refs/heads/master@{#362857} (cherry picked from commit 77c735a) Review URL: https://codereview.chromium.org/1491373006 . Cr-Commit-Position: refs/branch-heads/2564@{#223} Cr-Branched-From: 1283eca-refs/heads/master@{#359700}
BUG=580211 Review URL: https://codereview.chromium.org/1619273003 Cr-Commit-Position: refs/heads/master@{#371073} (cherry picked from commit 38c7689) Conflicts: components/startup_metric_utils.gypi components/startup_metric_utils/browser/BUILD.gn components/startup_metric_utils/browser/DEPS [email protected] [email protected], [email protected] Review URL: https://codereview.chromium.org/1652083003 . Cr-Commit-Position: refs/branch-heads/2623@{crosswalk-project#223} Cr-Branched-From: 92d7753-refs/heads/master@{#369907} (cherry picked from commit 1ab633f) Conflicts: components/startup_metric_utils.gypi components/startup_metric_utils/browser/BUILD.gn components/startup_metric_utils/browser/DEPS components/startup_metric_utils/browser/startup_metric_utils.cc tools/metrics/histograms/histograms.xml Review URL: https://codereview.chromium.org/1663273002 . Cr-Commit-Position: refs/branch-heads/2564@{#666} Cr-Branched-From: 1283eca-refs/heads/master@{#359700}
BUG=580211 Review URL: https://codereview.chromium.org/1619273003 Cr-Commit-Position: refs/heads/master@{#371073} (cherry picked from commit 38c7689) Conflicts: components/startup_metric_utils.gypi components/startup_metric_utils/browser/BUILD.gn components/startup_metric_utils/browser/DEPS [email protected] Review URL: https://codereview.chromium.org/1652083003 . Cr-Commit-Position: refs/branch-heads/2623@{#223} Cr-Branched-From: 92d7753-refs/heads/master@{#369907}
Cr-Commit-Position: refs/branch-heads/2661@{crosswalk-project#223} Cr-Branched-From: ef6f6ae-refs/heads/master@{#378081}
Cr-Commit-Position: refs/branch-heads/2743@{crosswalk-project#223} Cr-Branched-From: 2b3ae3b-refs/heads/master@{#394939}
The long namespace paths of SingleLogFileLogSource::SupportedSource and SingleDebugDaemonLogSource::SupportedSource are hard to read. Create aliases to make the switch block cases easier to read. BUG=762965 R=[email protected] Change-Id: I100003d5f286f8b2ee71bc4555e6700b2c0404c3 Reviewed-on: https://chromium-review.googlesource.com/656099 Reviewed-by: Ahmed Fakhry <[email protected]> Commit-Queue: Simon Que <[email protected]> Cr-Original-Commit-Position: refs/heads/master@{#500997}(cherry picked from commit 9639526) Reviewed-on: https://chromium-review.googlesource.com/662379 Cr-Commit-Position: refs/branch-heads/3202@{crosswalk-project#223} Cr-Branched-From: fa6a5d8-refs/heads/master@{#499098}
Rather than return ERR_NOT_IMPLEMENTED it seems sensible to
return ERR_SOCKET_NOT_CONNECTED in the case that the socket
is not connected, but unconditionally return ERR_ADDRESS_INVALID
if connected (because there's no IP addr or port associated
with either end of the socket).
BUG=431412
Review URL: https://codereview.chromium.org/841993002
Cr-Commit-Position: refs/heads/master@{#310564}