mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-28 05:10:49 +00:00
Bug 1669473 - [devtools] Fix a typo around event timings. r=Honza
Differential Revision: https://phabricator.services.mozilla.com/D92605
This commit is contained in:
parent
73a6605181
commit
434bebe5da
@ -534,7 +534,7 @@ const NetworkEventActor = protocol.ActorClassWithSpec(networkEventSpec, {
|
||||
* @param object serverTimings
|
||||
* Timing details extracted from the Server-Timing header.
|
||||
*/
|
||||
addSeverTimings(serverTimings) {
|
||||
addServerTimings(serverTimings) {
|
||||
if (serverTimings) {
|
||||
this._serverTimings = serverTimings;
|
||||
}
|
||||
|
@ -567,7 +567,7 @@ const NetworkEventActor = protocol.ActorClassWithSpec(networkEventSpec, {
|
||||
* @param object serverTimings
|
||||
* Timing details extracted from the Server-Timing header.
|
||||
*/
|
||||
addSeverTimings(serverTimings) {
|
||||
addServerTimings(serverTimings) {
|
||||
if (serverTimings) {
|
||||
this._serverTimings = serverTimings;
|
||||
}
|
||||
|
@ -390,7 +390,7 @@ NetworkObserver.prototype = {
|
||||
if (httpActivity.owner) {
|
||||
// Try extracting server timings. Note that they will be sent to the client
|
||||
// in the `_onTransactionClose` method together with network event timings.
|
||||
httpActivity.owner.addSeverTimings(serverTimings);
|
||||
httpActivity.owner.addServerTimings(serverTimings);
|
||||
} else {
|
||||
// If the owner isn't set we need to create the network event and send
|
||||
// it to the client. This happens in case where the request has been
|
||||
|
Loading…
x
Reference in New Issue
Block a user