Closed Bug 1462605 Opened 6 years ago Closed 6 years ago

PerformanceNavigationTiming.name must be the value of the address of the current document

Categories

(Core :: DOM: Core & HTML, enhancement, P3)

58 Branch
enhancement

Tracking

()

RESOLVED FIXED
mozilla62
Tracking Status
firefox62 --- fixed

People

(Reporter: baku, Assigned: baku)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

The spec is changed. This bug is about aligning our implementation with the latest version of the spec. Currently PerformanceNavigationTiming.name is equal to "document", but the spec wants this:

https://w3c.github.io/navigation-timing/
"The name attribute MUST return the DOMString value of the address of the current document."
Assignee: nobody → amarchesini
Attachment #8976963 - Flags: review?(valentin.gosu)
Attachment #8976963 - Flags: review?(valentin.gosu) → review+
Pushed by amarchesini@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/cbc132bb5984
PerformanceNavigationTiming.name must be the value of the address of the current document, r=valentin
>+  aSpec = NS_ConvertUTF8toUTF16(spec);

CopyUTF8toUTF16(spec, aSpec) would likely save one string copy for strings under the autostring length limit...
Priority: -- → P3
https://hg.mozilla.org/mozilla-central/rev/cbc132bb5984
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla62
Blocks: 1462606
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: