gecko-dev/dom
Boris Zbarsky 14b7f5071e Bug 1618011 part 1. Implement support for error context in ThrowErrorMessage. r=peterv
This does not change behavior at the moment, because the only callers of
ThrowErrorMessage that pass an error number that has a context pass an empty
string for the first (context) arg.  Both of those callers are changed to pass
nullptr for the context in this patch.

We want to support nullptr to mean "empty context", because that way at
callsites we can avoid having extra empty strings.

We could avoid putting this machinery in place if we hardcoded the trailing
": " at all the callsites, but that would reduce future flexibility in where the
context is placed in the message string (e.g. if we wanted to move it to the
end instead of the beginning) and increase the amount of string data we have to
cart around in the binary quite noticeably: we have a _lot_ of places in
bindings where we call ThrowErrorMessage.

Differential Revision: https://phabricator.services.mozilla.com/D64882

--HG--
extra : moz-landing-system : lando
2020-03-06 23:05:15 +00:00
..
abort
animation Bug 1612891 - Use IgnoredErrorResult as the parsing easing error result. r=bzbarsky 2020-03-06 21:04:07 +00:00
audiochannel Bug 1577890 - part10 : remove unused function 'ShouldBlockMedia()'. r=baku 2020-03-05 06:18:00 +00:00
base Bug 1604299, Remove remaining references to XULDocument r=bgrins 2020-03-06 21:51:36 +00:00
battery
bindings Bug 1618011 part 1. Implement support for error context in ThrowErrorMessage. r=peterv 2020-03-06 23:05:15 +00:00
broadcastchannel Bug 1616570 - Part 1: Rename CookieSettings to CookieJarSettings. r=Ehsan 2020-03-04 08:59:08 +00:00
browser-element
cache Backed out 2 changesets (bug 1603703) for xpc failures on test_storage_aggregates.js. CLOSED TREE 2020-03-05 19:37:32 +02:00
canvas Bug 1618325 - Check IsContextLost in ReadPixels. r=lsalzman 2020-03-05 15:54:13 +00:00
chrome-webidl Bug 1592037 - part6 : implement a chrome-only method for accessing current active media metadata during testing. r=bzbarsky 2020-03-05 19:43:50 +00:00
clients Bug 1617434 - Share code where possible in ClientChannelHelper. r=perry 2020-03-04 02:51:49 +00:00
commandhandler Bug 1535617: Part 2 - Clear weak references for most cycle collected objects on unlink. r=mccr8 2020-02-25 19:44:39 +00:00
console Bug 1619971 - Clear-site-data operations show appear in the console - part 1 - report and flush console events, r=dragana 2020-03-04 15:12:05 +00:00
credentialmanagement Bug 1618119 - Check activeness using BrowsingContext in CredentialsContainer. r=jcj 2020-03-03 15:46:41 +00:00
crypto Bug 1613985 - Use default for equivalent-to-default constructors/destructors in dom/crypto. r=smaug 2020-02-12 13:25:38 +00:00
debugger
docs Bug 1617254: Rename BrowsingContext.getChildren() to .children. r=nika 2020-02-25 22:33:53 +00:00
encoding Bug 1620035 - Convert dom/encoding GENERATED_FILES to py3; r=firefox-build-system-reviewers,rstewart 2020-03-05 17:05:51 +00:00
events Bug 1619518 - part 2 - Better File.lastModified attribute handling, r=ssengupta,ttung,dom-workers-and-storage-reviewers,smaug 2020-03-04 23:10:22 +00:00
fetch Bug 1616570 - Part 1: Rename CookieSettings to CookieJarSettings. r=Ehsan 2020-03-04 08:59:08 +00:00
file Bug 1620010 - Clean up BlobImplType string propagation, r=ssengupta 2020-03-06 12:08:48 +00:00
filehandle Bug 1614360 - Signal error to child on attempts to read beyond EOF instead of asserting. r=dom-workers-and-storage-reviewers,ttung 2020-02-18 14:45:59 +00:00
filesystem Bug 1613985 - Use default for equivalent-to-default constructors/destructors in dom/filesystem. r=smaug 2020-02-20 16:01:35 +00:00
flex
gamepad Bug 1617628 - Hide nsBaseHashtable Put overloads in nsRefPtrHashtable subclass. r=froydnj 2020-02-25 17:03:36 +00:00
geolocation Bug 1535617: Part 2 - Clear weak references for most cycle collected objects on unlink. r=mccr8 2020-02-25 19:44:39 +00:00
grid Bug 1613985 - Use default for equivalent-to-default constructors/destructors in dom/grid. r=smaug 2020-02-20 16:10:39 +00:00
html Bug 1617033 - part8 : add an eligible media duration value to filter out notification sound. r=chunmin 2020-03-06 17:52:15 +00:00
imptests
indexedDB Backed out 11 changesets (bug 1618011)for Linting failure. 2020-03-07 00:15:57 +02:00
interfaces Bug 1577890 - part11 : remove 'mediaSuspend' from nsIDOMWindowUtils. r=baku 2020-03-05 06:18:24 +00:00
ipc Backed out 2 changesets (bug 1580176) for causing hazard bustages CLOSED TREE 2020-03-06 21:31:48 +02:00
jsurl
l10n
locales Bug 1510120 - Block running background-color animation on the compositor if there is any current-color keyframe. r=boris,flod 2020-03-03 21:48:01 +00:00
localstorage Backed out 2 changesets (bug 1603703) for xpc failures on test_storage_aggregates.js. CLOSED TREE 2020-03-05 19:37:32 +02:00
manifest Bug 1603673 - Signal that we support web manifest processing in Fenix r=snorp,agi,ladybenko 2020-03-04 05:02:27 +00:00
mathml
media Backed out 11 changesets (bug 1618011)for Linting failure. 2020-03-07 00:15:57 +02:00
messagechannel Bug 1613985 - Use MOZ_COUNTED_DEFAULT_CTOR_*/MOZ_COUNTED_DTOR_* macros. r=froydnj 2020-02-20 11:40:14 +00:00
midi Bug 1581172. Remove NS_ERROR_DOM_TYPE_ERR. r=smaug 2020-02-20 16:57:57 +00:00
network Bug 1535617: Part 2 - Clear weak references for most cycle collected objects on unlink. r=mccr8 2020-02-25 19:44:39 +00:00
notification Bug 1535617: Part 2 - Clear weak references for most cycle collected objects on unlink. r=mccr8 2020-02-25 19:44:39 +00:00
offline Bug 1616570 - Part 1: Rename CookieSettings to CookieJarSettings. r=Ehsan 2020-03-04 08:59:08 +00:00
payments Bug 1615022 part 2. Require an rvalue reference to reject a Promise with an ErrorResult. r=farre,kvark 2020-02-14 15:42:30 +00:00
performance Bug 1613985 - Use default for equivalent-to-default constructors/destructors in dom/performance. r=smaug 2020-03-04 09:10:03 +00:00
permission
plugins Bug 1613985 - Use default for equivalent-to-default constructors/destructors in dom/plugins. r=smaug 2020-03-06 09:12:46 +00:00
power Bug 1613985 - Use default for equivalent-to-default constructors/destructors in dom/power. r=smaug 2020-03-04 09:08:09 +00:00
presentation Bug 1618552 - Remove unused AndroidCastDeviceProvider.jsm r=smaug 2020-03-05 21:50:13 +00:00
prio
promise Bug 1535617: Part 2 - Clear weak references for most cycle collected objects on unlink. r=mccr8 2020-02-25 19:44:39 +00:00
prototype Bug 1617628 - Hide nsBaseHashtable Put overloads in nsRefPtrHashtable subclass. r=froydnj 2020-02-25 17:03:36 +00:00
push Bug 1611415 - Prefer using std::move over forget. r=froydnj 2020-02-13 14:38:48 +00:00
quota Bug 1607692 - Wait for all normal origin operations to finish before shutting down QuotaManager; r=dom-workers-and-storage-reviewers,ttung 2020-03-03 08:47:07 +00:00
reporting Bug 1535617: Part 2 - Clear weak references for most cycle collected objects on unlink. r=mccr8 2020-02-25 19:44:39 +00:00
res
script Bug 1374612 - CSP: Hide nonce values from the DOM. r=smaug,annevk 2020-02-29 12:35:46 +00:00
security Bug 1544011 - remove exception that SystemPrincipal may open discovery pane r=ckerschb 2020-03-05 18:43:04 +00:00
serviceworkers Backed out changeset 0b092833a6ef (bug 1407276) for wpt14 permafailures CLOSED TREE 2020-03-06 18:09:03 +02:00
simpledb Bug 1606635 - Modify QuotaManager::OpenDirectory to return a pending lock; r=asuth,dom-workers-and-storage-reviewers,sg 2020-02-29 04:42:50 +00:00
smil Bug 1613985 - Use default for equivalent-to-default constructors/destructors in dom/smil. r=smaug 2020-03-03 22:08:01 +00:00
storage Backed out 2 changesets (bug 1603703) for xpc failures on test_storage_aggregates.js. CLOSED TREE 2020-03-05 19:37:32 +02:00
svg Bug 1617644 - Convert color-interpolation #defines to an enum class. r=emilio 2020-02-29 15:41:13 +00:00
system Bug 1589618 - Move the implementation of the region fetch to NetworkGeolocationProvider to have it close to the wifi scanning code. r=Standard8,garvan 2020-02-27 22:24:13 +00:00
tests Bug 1619821 - Turn on dom.animations-api.getAnimations.enabled unconditionally; r=smaug 2020-03-06 13:28:14 +00:00
u2f Bug 1535530. Fix can-run-script analysis to not mishandle on-stack refs to RefPtrs. r=andi,masayuki 2020-03-06 09:57:45 +00:00
url Bug 1615897 - Blob URL should not ignore query parameter and revokeObjectURL additionally should not ignore fragments. r=baku 2020-02-25 07:56:07 +00:00
vr Bug 1613985 - Use default for equivalent-to-default constructors/destructors in dom/vr. r=smaug 2020-03-04 09:07:32 +00:00
webauthn Backed out changeset 156832378185 (bug 1619094) for build bustages. CLOSED TREE 2020-03-03 19:19:08 +02:00
webbrowserpersist Bug 1616570 - Part 1: Rename CookieSettings to CookieJarSettings. r=Ehsan 2020-03-04 08:59:08 +00:00
webgpu Bug 1617086 - Keep WebGPU pass dependencies alive while recording r=jgilbert 2020-03-05 03:30:41 +00:00
webidl Bug 1577890 - part7 : remove 'computedSuspended' which is a testing-only attribute. r=baku 2020-03-05 06:17:48 +00:00
websocket Bug 1616570 - Part 1: Rename CookieSettings to CookieJarSettings. r=Ehsan 2020-03-04 08:59:08 +00:00
workers Bug 1616570 - Part 1: Rename CookieSettings to CookieJarSettings. r=Ehsan 2020-03-04 08:59:08 +00:00
worklet Backed out 11 changesets (bug 1618011)for Linting failure. 2020-03-07 00:15:57 +02:00
xhr Bug 1619518 - part 4 - FileBlobImpl inherits BlobImpl directly, r=ssengupta,smaug 2020-03-05 05:48:58 +00:00
xml Bug 1613985 - Use default for equivalent-to-default constructors/destructors in dom/xml. r=smaug 2020-03-04 09:10:03 +00:00
xslt Bug 1618008 - Use nsINode::SubtreeRoot in txXPathNode::RootOf. r=peterv 2020-03-04 13:28:11 +00:00
xul Bug 1535617: Part 2 - Clear weak references for most cycle collected objects on unlink. r=mccr8 2020-02-25 19:44:39 +00:00
jar.mn
moz.build