Closed Bug 1647435 Opened 5 years ago Closed 5 months ago

Fix use of GetTopLevelContentDocument in PaymentRequest::Constructor

Categories

(Core :: DOM: Web Payments, defect, P3)

defect

Tracking

()

RESOLVED DUPLICATE of bug 1721897
Fission Milestone Future

People

(Reporter: kmag, Unassigned)

References

Details

(Whiteboard: dom-lws-bugdash-triage)

It will return null when the top-level document is cross-process, or there are cross-process interstitials between it and the document for which the constructor was called, which will lead to a null pointer crash.

Should this have a Fission milestone assigned?

Severity: -- → S3
Flags: needinfo?(kmaglione+bmo)
Priority: -- → P2

(In reply to Simon Giesecke [:sg] [he/him] from comment #1)

Should this have a Fission milestone assigned?

It should be assigned during tomorrow's triage.

Flags: needinfo?(kmaglione+bmo)

This seems to have missed our triage

Fission Milestone: --- → ?

Fission Future because PaymentRequest API is currently disabled.

Fission Milestone: ? → Future
Priority: P2 → P3

Jens, is there a meta bug for shipping the PaymentRequest API? I found bug 1481971 about enabling the PaymentRequest API in Nightly, but no meta bugs about letting the API ride the trains.

This Fission bug will need to be fixed before PaymentRequest API can ride the trains.

Flags: needinfo?(jstutte)

Hello Chris

Currently, PaymentRequest API is not enabled. And I think it would not be enabled in a short time since we only have an experimental UI for it.
Testcases for it are also disabled currently. I don't think it would be a big issue for shipping Fission. but we still need to fix this.
I think this is a duplicate of bug 1646556. There is a r+ patch when I was on a long leave. I will try to land it these days.

Flags: needinfo?(jstutte)
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → DUPLICATE

The GetTopLevelContentDocument usage in PaymentRequest::Constructor wasn't fixed by the patch in bug 1646556.

Status: RESOLVED → REOPENED
Resolution: DUPLICATE → ---

Eden fixed this in bug 1721897 because the null pointer crash manifested as a crash report.

Status: REOPENED → RESOLVED
Closed: 4 years ago5 months ago
Duplicate of bug: 1721897
Resolution: --- → DUPLICATE
Whiteboard: dom-lws-bugdash-triage
You need to log in before you can comment on or make changes to this bug.