replace direct usage NS_ERROR_DOM_TYPE_ERR in service workers with ErrorResult values with messages
Categories
(Core :: DOM: Service Workers, enhancement, P3)
Tracking
()
Tracking | Status | |
---|---|---|
firefox74 | --- | fixed |
People
(Reporter: bkelly, Assigned: bzbarsky)
References
(Blocks 2 open bugs)
Details
Attachments
(6 files)
47 bytes,
text/x-phabricator-request
|
Details | Review | |
47 bytes,
text/x-phabricator-request
|
Details | Review | |
47 bytes,
text/x-phabricator-request
|
Details | Review | |
47 bytes,
text/x-phabricator-request
|
Details | Review | |
47 bytes,
text/x-phabricator-request
|
Details | Review | |
47 bytes,
text/x-phabricator-request
|
Details | Review |
Updated•8 years ago
|
![]() |
Assignee | |
Comment 1•7 years ago
|
||
Reporter | ||
Comment 2•7 years ago
|
||
![]() |
Assignee | |
Comment 3•6 years ago
|
||
CopyableErrorResult might help here...
![]() |
Assignee | |
Comment 4•6 years ago
|
||
Updated•6 years ago
|
![]() |
Assignee | |
Comment 5•6 years ago
|
||
![]() |
Assignee | |
Comment 6•6 years ago
|
||
I think the current code made us filter out all the carefully crafted TypeError
messages we might have reported...
![]() |
Assignee | |
Comment 7•6 years ago
|
||
![]() |
Assignee | |
Comment 8•6 years ago
|
||
Some of these error messages are not very informative; better ones would be appreciated.
![]() |
Assignee | |
Comment 9•6 years ago
|
||
For some of these I had to take a guess due to lack of familiarity with this
code, so careful review of the actual strings would be much appreciated.
There's still a bunch of code in dom/serviceworkers that constructs a
CopyableErrorResult from just an nsresult, but I don't understand that code well
enough to write good error messages.
![]() |
Assignee | |
Comment 10•6 years ago
|
||
Just to make sure it doesn't get lost: part 6 here still needs review.
Comment 11•6 years ago
|
||
Comment 14•6 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/0a3bf632a719
https://hg.mozilla.org/mozilla-central/rev/aafd7c5a9d47
https://hg.mozilla.org/mozilla-central/rev/1cac745bf19e
https://hg.mozilla.org/mozilla-central/rev/8c749ce01fb9
https://hg.mozilla.org/mozilla-central/rev/c9d48dee0b74
https://hg.mozilla.org/mozilla-central/rev/659060314d6d
Description
•