Closed
Bug 1518559
Opened 6 years ago
Closed 6 years ago
[remote-dbg-next] Dispatch select page failure action if the page argument is missing
Categories
(DevTools :: about:debugging, enhancement, P1)
DevTools
about:debugging
Tracking
(firefox66 fixed)
RESOLVED
FIXED
Firefox 66
Tracking | Status | |
---|---|---|
firefox66 | --- | fixed |
People
(Reporter: jdescottes, Assigned: ogasidlo)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
Follow up form Bug 1515612. We are adding a SELECT_PAGE_FAILURE action, so we would dispatch it in case the action is called without the page argument. Or rather than dispatching it, we could simply throw an error and let the try/catch dispatch the appropriate action:
if (!page || isSamePage(currentPage, page)) {
return;
}
Currently we silently bail out. Note that isSamePage(currentPage, page)
should still do that, we should only throw if page
is missing.
Assignee | ||
Updated•6 years ago
|
Assignee: nobody → ogasidlo
Reporter | ||
Updated•6 years ago
|
Priority: -- → P3
Assignee | ||
Comment 1•6 years ago
|
||
Throw error and dispatch select page failure action if the page argument is missing
Updated•6 years ago
|
Attachment #9036297 -
Attachment description: Bug 1518559 Throw error, if page is missing. r=ladybenko,jdescottes → Bug 1518559 - Throw error, if page is missing. r=ladybenko,jdescottes
Updated•6 years ago
|
Status: NEW → ASSIGNED
Priority: P3 → P1
Pushed by jdescottes@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/cfc581f4768c
Throw error, if page is missing. r=ladybenko,jdescottes
Comment 3•6 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
status-firefox66:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → Firefox 66
You need to log in
before you can comment on or make changes to this bug.
Description
•