Integrate BackgroundFetch with the origin trials framework. Intent to Experiment here: https://groups.google.com/a/chromium.org/forum/#!topic/blink-dev/z5WX-2RMulo
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/b62845059e2872d9ae4210b2dfddeadf73e21acf commit b62845059e2872d9ae4210b2dfddeadf73e21acf Author: Mugdha Lakhani <nator@chromium.org> Date: Thu Oct 11 17:15:33 2018 [Background Fetch] Integrate with origin trials. This CL adds the OriginTrialsEnabled idl attribute to all BackgroundFetch idl files, and a LayoutTest to test that when the origin trial is enabled, the properties in these interfaces are available. Change-Id: Ia71e28aaf5cbd03b943a5eff904d21e8f536ea84 Bug: 894448 Reviewed-on: https://chromium-review.googlesource.com/c/1261405 Reviewed-by: Jason Chase <chasej@chromium.org> Reviewed-by: Dmitry Gozman <dgozman@chromium.org> Reviewed-by: Peter Beverloo <peter@chromium.org> Commit-Queue: Mugdha Lakhani <nator@chromium.org> Cr-Commit-Position: refs/heads/master@{#598811} [add] https://crrev.com/b62845059e2872d9ae4210b2dfddeadf73e21acf/third_party/WebKit/LayoutTests/http/tests/origin_trials/webexposed/backgroundfetch-origin-trial-interfaces.html [add] https://crrev.com/b62845059e2872d9ae4210b2dfddeadf73e21acf/third_party/WebKit/LayoutTests/http/tests/origin_trials/webexposed/resources/backgroundfetch-origin-trial-interfaces-worker.js [modify] https://crrev.com/b62845059e2872d9ae4210b2dfddeadf73e21acf/third_party/blink/renderer/modules/background_fetch/background_fetch_event.idl [modify] https://crrev.com/b62845059e2872d9ae4210b2dfddeadf73e21acf/third_party/blink/renderer/modules/background_fetch/background_fetch_fetch.idl [modify] https://crrev.com/b62845059e2872d9ae4210b2dfddeadf73e21acf/third_party/blink/renderer/modules/background_fetch/background_fetch_manager.idl [modify] https://crrev.com/b62845059e2872d9ae4210b2dfddeadf73e21acf/third_party/blink/renderer/modules/background_fetch/background_fetch_record.idl [modify] https://crrev.com/b62845059e2872d9ae4210b2dfddeadf73e21acf/third_party/blink/renderer/modules/background_fetch/background_fetch_registration.idl [modify] https://crrev.com/b62845059e2872d9ae4210b2dfddeadf73e21acf/third_party/blink/renderer/modules/background_fetch/background_fetch_settled_fetch.idl [modify] https://crrev.com/b62845059e2872d9ae4210b2dfddeadf73e21acf/third_party/blink/renderer/modules/background_fetch/background_fetch_update_ui_event.idl [modify] https://crrev.com/b62845059e2872d9ae4210b2dfddeadf73e21acf/third_party/blink/renderer/modules/background_fetch/service_worker_global_scope_background_fetch.idl [modify] https://crrev.com/b62845059e2872d9ae4210b2dfddeadf73e21acf/third_party/blink/renderer/modules/background_fetch/service_worker_registration_background_fetch.idl [modify] https://crrev.com/b62845059e2872d9ae4210b2dfddeadf73e21acf/third_party/blink/renderer/modules/permissions/permissions.cc [modify] https://crrev.com/b62845059e2872d9ae4210b2dfddeadf73e21acf/third_party/blink/renderer/platform/runtime_enabled_features.json5
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/b75011739d0db5dd74227d88657b0775305346b5 commit b75011739d0db5dd74227d88657b0775305346b5 Author: Mugdha Lakhani <nator@chromium.org> Date: Fri Oct 12 15:18:39 2018 [Background Fetch] Add layout tests for interfaces exposed only to ServiceWorker context. Bug: 894448 Change-Id: Iebc55a247b519d573d8cd8c9bdc384b496614fb9 Reviewed-on: https://chromium-review.googlesource.com/c/1276848 Reviewed-by: Jason Chase <chasej@chromium.org> Reviewed-by: Peter Beverloo <peter@chromium.org> Commit-Queue: Mugdha Lakhani <nator@chromium.org> Cr-Commit-Position: refs/heads/master@{#599222} [modify] https://crrev.com/b75011739d0db5dd74227d88657b0775305346b5/third_party/WebKit/LayoutTests/http/tests/origin_trials/webexposed/backgroundfetch-origin-trial-interfaces.html [add] https://crrev.com/b75011739d0db5dd74227d88657b0775305346b5/third_party/WebKit/LayoutTests/http/tests/origin_trials/webexposed/resources/backgroundfetch-origin-trial-interfaces-serviceworker-disabled.js [add] https://crrev.com/b75011739d0db5dd74227d88657b0775305346b5/third_party/WebKit/LayoutTests/http/tests/origin_trials/webexposed/resources/backgroundfetch-origin-trial-interfaces-serviceworker-enabled.php [modify] https://crrev.com/b75011739d0db5dd74227d88657b0775305346b5/third_party/WebKit/LayoutTests/http/tests/origin_trials/webexposed/resources/backgroundfetch-origin-trial-interfaces-worker.js
Comment 1 by bugdroid1@chromium.org
, Oct 11