Dactyloidae/dom
athenian200 4e15e4c252 Issue #1629 - Part 1: Implement basic logic in HTMLLinkElement.
So basically, I'm trying to adapt this to UXP:

https://bugzilla.mozilla.org/show_bug.cgi?id=1281135

The earliest source of difficulty while adapting Bug 1281135 to our codebase was simply getting the new ErrorResult flag added to the SetDisabled function to play nice with the SetMozDisabled function. At this point, the implementation can actually have a stylesheet be disabled by default but there are supposedly issues with alternate stylesheets.

At first I played around with the return type of SetMozDisabled to no avail, but I found another solution fairly quickly.

https://bugzilla.mozilla.org/show_bug.cgi?id=846972
https://bugzilla.mozilla.org/show_bug.cgi?id=1157898

Essentially, the way around the problem of the number of return arguments not matching up is to declare a local variable within SetMozDisabled called ErrorResult rv, and using that to store the return value of the ErrorResult argument from SetDisabled. After that, because ErrorCode was removed, you would return rv.StealNSResult() in order to report success or failure to any consumer that calls on SetMozDisabled.
2020-08-19 16:21:17 +08:00
..
abort Issue #1587 - Part 8: Remove controller follow/unfollow 2020-06-12 22:12:34 +08:00
animation Fix typo in dom/animation/CSSPseudoElement.cpp 2020-05-02 08:21:22 +08:00
apps Remove MOZ_WIDGET_GONK [1/2] 2019-02-15 23:57:08 +08:00
archivereader Issue #80 - De-unify dom/archivereader 2020-05-02 08:19:54 +08:00
asmjscache Fix a rare crash with asm.js caching. 2019-02-15 23:30:25 +08:00
audiochannel Issue #80 - De-unify dom/audiochannel 2020-05-02 08:19:48 +08:00
base [network/dom] Improve sanitization of download filenames. 2020-07-31 08:07:47 +08:00
bindings Issue #1391 - Remove the DOM battery API 2020-07-31 08:07:41 +08:00
broadcastchannel Issue #80 - De-unify dom/broadcastchannel 2020-05-02 08:19:06 +08:00
browser-element Issue #991 Part 5: DOM and layout 2019-04-27 08:21:58 +08:00
cache Issue #1587 Part 11 (followup 1): Implement multithreaded signals for workers. 2020-07-31 08:05:40 +08:00
canvas Issue #80 - Resolve issues with compiling on insane gcc configurations with no optimizations in dom/ 2020-05-02 08:28:18 +08:00
console Issue #1603 - Part 1: Reorganize ScriptLoader/ScriptElement 2020-07-04 07:01:00 +08:00
crypto Issue #80 - Resolve issues with compiling on insane gcc configurations with no optimizations in dom/ 2020-05-02 08:28:18 +08:00
encoding Issue #80 - De-unify dom/encoding 2020-05-02 08:19:42 +08:00
events Issue #1603 - Part 1: Reorganize ScriptLoader/ScriptElement 2020-07-04 07:01:00 +08:00
fetch Fix line endings. 2020-07-31 08:05:47 +08:00
filehandle Issue #80 - De-unify dom/filehandle 2020-05-02 08:23:06 +08:00
filesystem Issue #80 - De-unify dom/filesystem 2020-05-02 08:23:09 +08:00
gamepad Issue #80 - Add Unused.h to dom/gamepad for Mac build 2020-05-02 08:27:45 +08:00
geolocation Issue #80 - De-unify dom/geolocation 2020-05-02 08:23:15 +08:00
grid Issue #80 - De-unify dom/grid 2020-05-02 08:23:18 +08:00
heapsnapshot Follow-up to 4e2e9be6a - Move HeapSnapshot DevTools-only Modules back to DevTools 2020-02-27 07:31:26 +08:00
html Issue #1629 - Part 1: Implement basic logic in HTMLLinkElement. 2020-08-19 16:21:17 +08:00
imptests import FIREFOX_52_6_0esr_RELEASE from mozilla-esr52 hg repo 2018-01-19 03:59:58 +08:00
indexedDB Issue #80 - De-unify dom/indexedDB 2020-05-02 08:23:29 +08:00
inputmethod Take files out of preprocessing that no longer require it 2020-04-11 09:40:39 +08:00
interfaces Bug 1377978 - Make nsRange use uint32_t to offset 2020-04-18 07:04:38 +08:00
ipc Issue #1564 - Split off nsIdentifierMapEntry in its own header 2020-05-30 07:13:02 +08:00
json Issue #80 - De-unify dom/json 2020-05-02 08:19:40 +08:00
jsurl Issue #80 - De-unify dom/jsurl 2020-05-02 08:19:32 +08:00
locales Issue #1366 - Completely remove showModalDialog 2020-01-24 09:28:42 +08:00
manifest import FIREFOX_52_6_0esr_RELEASE from mozilla-esr52 hg repo 2018-01-19 03:59:58 +08:00
mathml Issue #80 - De-unify dom/mathml 2020-05-02 08:19:34 +08:00
media Issue #1560 - Always include speech synthesis IPDLs 2020-06-10 21:00:11 +08:00
messagechannel Issue #1603 - Part 1: Reorganize ScriptLoader/ScriptElement 2020-07-04 07:01:00 +08:00
network Issue #80 - De-unify dom/network 2020-05-02 08:23:21 +08:00
notification Issue #80 - De-unify dom/notification 2020-05-02 08:19:46 +08:00
offline Issue #80 - De-unify dom/offline 2020-05-02 08:19:04 +08:00
performance Issue #80 - De-unify dom/performance 2020-05-02 08:23:51 +08:00
permission Issue #80 - De-unify dom/permission 2020-05-02 08:19:08 +08:00
plugins Issue #439 - Remove, fix and clean up automated tests 2020-06-10 21:00:09 +08:00
power Issue #80 - De-unify dom/power 2020-05-02 08:19:36 +08:00
promise Issue #1322 - Part 3: Remove DOM promise interface gunk 2019-12-20 09:07:27 +08:00
push Issue #80 - De-unify dom/push 2020-05-02 08:24:54 +08:00
quota Issue #1391 - Remove the DOM battery API 2020-07-31 08:07:41 +08:00
res import FIREFOX_52_6_0esr_RELEASE from mozilla-esr52 hg repo 2018-01-19 03:59:58 +08:00
script Issue #618 - Further align error handling for module scripts with the spec 2020-07-10 22:18:04 +08:00
secureelement Remove Gonk build directories 2019-02-15 23:56:58 +08:00
security Issue #80 - De-unify dom/security 2020-05-02 08:25:00 +08:00
settings Remove MOZ_B2G leftovers and some dead B2G-only components. 2019-02-15 23:57:05 +08:00
smil Issue #1517 - Remove dom.event.highrestimestamp.enabled pref 2020-05-09 06:55:11 +08:00
storage Issue #80 - De-unify dom/storage 2020-05-02 08:19:12 +08:00
svg Issue #1603 - Part 1: Reorganize ScriptLoader/ScriptElement 2020-07-04 07:01:00 +08:00
system Issue #80 - De-unify dom/system 2020-05-02 08:25:09 +08:00
tests Issue #1587 - Part 7: Rename FetchController to AbortController 2020-06-12 22:12:32 +08:00
time Issue #80 - De-unify dom/time 2020-05-02 08:19:10 +08:00
u2f Issue #80 - De-unify dom/u2f 2020-05-02 08:19:38 +08:00
url Issue #1449 - Implement URLSearchParams's sort() 2020-05-09 06:55:08 +08:00
webidl Issue #1629 - Part 1: Implement basic logic in HTMLLinkElement. 2020-08-19 16:21:17 +08:00
workers [dom] Fix a spec compliance issue with the HTML LS regarding script loading. 2020-07-31 08:08:01 +08:00
worklet Issue #1603 - Part 1: Reorganize ScriptLoader/ScriptElement 2020-07-04 07:01:00 +08:00
xbl Issue #80 - De-unify dom/xbl 2020-05-02 08:25:15 +08:00
xhr Issue #80 - De-unify dom/xhr 2020-05-02 08:25:18 +08:00
xml Issue #1603 - Part 1: Reorganize ScriptLoader/ScriptElement 2020-07-04 07:01:00 +08:00
xslt Issue #1603 - Part 1: Reorganize ScriptLoader/ScriptElement 2020-07-04 07:01:00 +08:00
xul Issue #1603 - Part 1: Reorganize ScriptLoader/ScriptElement 2020-07-04 07:01:00 +08:00
jar.mn import FIREFOX_52_6_0esr_RELEASE from mozilla-esr52 hg repo 2018-01-19 03:59:58 +08:00
moz.build Issue #1391 - Remove the DOM battery API 2020-07-31 08:07:41 +08:00