NEW207671
Add release assert for valid registration data in ServiceWorkerRegistration::getOrCreate
https://bugs.webkit.org/show_bug.cgi?id=207671
Summary Add release assert for valid registration data in ServiceWorkerRegistration::...
youenn fablet
Reported 2020-02-12 16:22:01 PST
Add release assert for valid registration data in ServiceWorkerRegistration::getOrCreate
Attachments
Patch (3.09 KB, patch)
2020-02-12 16:24 PST, youenn fablet
ddkilzer: review+
youenn fablet
Comment 1 2020-02-12 16:24:17 PST
David Kilzer (:ddkilzer)
Comment 2 2020-04-07 08:16:01 PDT
Comment on attachment 390585 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=390585&action=review > Source/WebCore/workers/service/ServiceWorkerRegistration.cpp:51 > + RELEASE_ASSERT(!data.scopeURL.isNull()); Why not use URL::isValid() instead?
Note You need to log in before you can comment on or make changes to this bug.