Changeset 237917 in webkit
- Timestamp:
- Nov 6, 2018 11:32:45 PM (6 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r237916 r237917 1 2018-11-06 Joseph Pecoraro <pecoraro@apple.com> 2 3 ServiceWorker Inspector: Uncaught Exception: null is not an object (evaluating 'resource.target.addResource') 4 https://bugs.webkit.org/show_bug.cgi?id=191339 5 6 Reviewed by Matt Baker. 7 8 * workers/service/ServiceWorkerJob.cpp: 9 (WebCore::ServiceWorkerJob::fetchScriptWithContext): 10 Use the Service Worker's identifier, not this static but otherwise unknown identifier. 11 1 12 2018-11-06 Youenn Fablet <youenn@apple.com> 2 13 -
trunk/Source/WebCore/workers/service/ServiceWorkerJob.cpp
r233122 r237917 96 96 97 97 ResourceRequest request { m_jobData.scriptURL }; 98 request.setInitiatorIdentifier( "serviceWorkerScriptLoad:");98 request.setInitiatorIdentifier(context.resourceRequestIdentifier()); 99 99 request.addHTTPHeaderField("Service-Worker"_s, "script"_s); 100 100
Note: See TracChangeset
for help on using the changeset viewer.