summaryrefslogtreecommitdiffstats
path: root/layout/generic/nsIPageSequenceFrame.h
diff options
context:
space:
mode:
authorathenian200 <athenian200@outlook.com>2020-07-21 18:23:30 -0500
committerathenian200 <athenian200@outlook.com>2020-08-13 00:56:54 -0500
commita9f337ea7ca1e8743c3f38645c525751a479a561 (patch)
tree77e0b04672cb462c29478714a03a5051217ae8fd /layout/generic/nsIPageSequenceFrame.h
parent7ee65ec4c9f3fec534849c238b552903f54ce706 (diff)
downloadUXP-a9f337ea7ca1e8743c3f38645c525751a479a561.tar
UXP-a9f337ea7ca1e8743c3f38645c525751a479a561.tar.gz
UXP-a9f337ea7ca1e8743c3f38645c525751a479a561.tar.lz
UXP-a9f337ea7ca1e8743c3f38645c525751a479a561.tar.xz
UXP-a9f337ea7ca1e8743c3f38645c525751a479a561.zip
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.
Diffstat (limited to 'layout/generic/nsIPageSequenceFrame.h')
0 files changed, 0 insertions, 0 deletions