Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1508)

Unified Diff: Source/modules/serviceworkers/ServiceWorkerGlobalScope.idl

Issue 340943002: ServiceWorker: Update IDLs to use ScalarValueString (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Add URLs and one real test case Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/modules/serviceworkers/ServiceWorkerContainer.idl ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/serviceworkers/ServiceWorkerGlobalScope.idl
diff --git a/Source/modules/serviceworkers/ServiceWorkerGlobalScope.idl b/Source/modules/serviceworkers/ServiceWorkerGlobalScope.idl
index 075692a7ec07a1e20904f1dbfe3a6dee6e381f2e..07d2dbfde12dae6981f050f3a5d05b78b40df4d4 100644
--- a/Source/modules/serviceworkers/ServiceWorkerGlobalScope.idl
+++ b/Source/modules/serviceworkers/ServiceWorkerGlobalScope.idl
@@ -27,6 +27,8 @@
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+
+// https://slightlyoff.github.io/ServiceWorker/spec/service_worker/index.html#service-worker-global-scope-interface
[
Exposed=ServiceWorker,
Global=Worker&ServiceWorker,
@@ -34,9 +36,9 @@
] interface ServiceWorkerGlobalScope : WorkerGlobalScope {
readonly attribute ServiceWorkerClients clients;
- [CallWith=ExecutionContext, Unforgeable] readonly attribute DOMString scope;
+ [CallWith=ExecutionContext, Unforgeable] readonly attribute ScalarValueString scope;
- [CallWith=ScriptState] Promise fetch(DOMString request);
+ [CallWith=ScriptState] Promise fetch(ScalarValueString request);
[CallWith=ScriptState] Promise fetch(Request request);
attribute EventHandler onactivate;
« no previous file with comments | « Source/modules/serviceworkers/ServiceWorkerContainer.idl ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698