This method must be called with the performance object as the receiver.
performance
新增于: v18.2.0, v16.17.0
name
如果未提供 name,则从资源时间轴中移除所有 PerformanceResourceTiming 对象。如果提供了 name,则仅移除指定名称的资源。
PerformanceResourceTiming
【If name is not provided, removes all PerformanceResourceTiming objects from the Resource Timeline. If name is provided, removes only the named resource.】