commit | 1514cecaef424f0eea432275857b6e2031642da0 | [log] [tgz] |
---|---|---|
author | horo <horo@chromium.org> | Wed Oct 26 18:13:24 2016 |
committer | Commit bot <commit-bot@chromium.org> | Wed Oct 26 18:16:09 2016 |
tree | 099ca41850434bccd734510a0a1c4930e36fa0e4 | |
parent | b76f06431befae56061340c91ecbb1adb775ff55 [diff] |
Add ServiceWorkerNavigationPreloadTest for resolving navigationPreload with null. At the discussion in https://crrev.com/2416843002/#msg62, I decided not to use the nullable promise type. So when navigation preload is not enabled, FetchEvent.navigationPreload must return a promise which will be resolved with null. This CL adds a test for this behavior. BUG=649558 Review-Url: https://codereview.chromium.org/2446083002 Cr-Commit-Position: refs/heads/master@{#427745}