{"json_modified": "2016-03-28T08:42:42.710299", "uuid": "3911734c-2be0-4c1c-862e-b73eb5250894", "title": "ServiceWorkerContainer.getRegistration()", "url": "/en-US/docs/Web/API/ServiceWorkerContainer/getRegistration", "tags": ["API", "ServiceWorker", "Reference", "R\u00e9f\u00e9rence", "ServiceWorkerContainer", "Service Workers", "Method"], "translations": [], "modified": "2016-03-17T13:44:48", "label": "ServiceWorkerContainer.getRegistration()", "localization_tags": [], "locale": "en-US", "id": 134983, "last_edit": "2016-03-17T13:44:44", "summary": "The getRegistration()
method of the ServiceWorkerContainer
interface gets a ServiceWorkerRegistration
\u00a0object whose\u00a0scope URL matches the provided document URL. \u00a0The method returns a\u00a0Promise
\u00a0that resolves to a\u00a0ServiceWorkerRegistration
or undefined
.", "sections": [{"id": "Quick_Links", "title": null}, {"id": "Syntax", "title": "Syntax"}, {"id": "Parameters", "title": "Parameters"}, {"id": "Returns", "title": "Returns"}, {"id": "Example", "title": "Example"}, {"id": "Specifications", "title": "Specifications"}, {"id": "Browser_compatibility", "title": "Browser compatibility"}], "slug": "Web/API/ServiceWorkerContainer/getRegistration", "review_tags": ["technical"]}