Revert "Abstract portal activation handling to avoid hack of making a fake promise."
This reverts commit fdc228c7. Reason for revert: portal-activate-default.html test timeout failure https://ci.chromium.org/p/chromium/builders/ci/Mac10.10%20Tests/55803 Original change's description: > Abstract portal activation handling to avoid hack of making a fake promise. > > This is somewhat verbose, but allows us to avoid the unhandled rejection > being visible to script without having to make this hack even worse. > > Instead of actually calling activate(), this mirrors the spec structure > by simply calling to underlying logic, passing a resolver where it makes > sense and not (in this case, passing a substitute object) where it > doesn't. > > Bug: 1102081 > Change-Id: I0eecf253928bfce39afcddccf54e9bc6f6c0d549 > Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2285340 > Reviewed-by: Adithya Srinivasan <adithyas@chromium.org> > Commit-Queue: Jeremy Roman <jbroman@chromium.org> > Cr-Commit-Position: refs/heads/master@{#786480} TBR=jbroman@chromium.org,adithyas@chromium.org Change-Id: I00da9eee8625ca5da3a09efb7078e22a277dbfd8 No-Presubmit: true No-Tree-Checks: true No-Try: true Bug: 1102081 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2288712Reviewed-by:Keishi Hattori <keishi@chromium.org> Commit-Queue: Keishi Hattori <keishi@chromium.org> Cr-Commit-Position: refs/heads/master@{#786596}
Showing
Please register or sign in to comment