Hi,
I have created a new thread in Nightly and the function can be launched while I
executed the script:
./mach run
Q1:
Because my function is related to kernel, root privilege is necessary.
Hence, I got the error message as shown in the following:
root privileges needed to run this
Joshua Cranmer wrote:
MOZ_ASSUME_UNREACHABLE_MARKER tells the compiler that this code and
everything after it can't be reached, so it need do anything. Clang
will delete the code after this branch and decide to not emit any
control flow.
I have found this to be unhelpful when debugging
On 03/29/2014 02:55 PM, Paolo Amadini wrote:
With bug 988122 landing soon, you'll now find a Promise object
available by default in the global scope of JavaScript modules.
However, this default implementation is still limited, and you're
strongly recommended to import Promise.jsm explicitly in
On 3/31/14 1:34 PM, smaug wrote:
Promise.jsm and Promise are still interoperable from the functional
point of view, the difference is in the above non-functional
characteristics. Promise.jsm also has better performance due to the
fact that it avoids the JavaScript / C++ / JavaScript turnaround
On 30/03/2014 22.10, Boris Zbarsky wrote:
Hmm. I don't think it was clear to anyone working on the DOM/ES6
promises that were were trying to treat them as do not use kind of
things.
Obviously, that is not what anyone is proposing here :-) DOM Promises
are already enabled by default in
On 31/03/2014 13.42, David Rajchenbach-Teller wrote:
I don't remember that we did any benchmark on this. I seem to remember
that this was an assumption based on a discussion with bz a long time
ago, but it might have been someone else.
Yes, memory was my source too.
On 31/03/2014 13.34, smaug
On 3/31/14 4:56 AM, Paul wrote:
Q1:
Because my function is related to kernel, root privilege is necessary.
Hence, I got the error message as shown in the following:
root privileges needed to run this function---
What function are you talking about? Something in Firefox already, or
new
On 3/31/14 8:18 AM, Paolo Amadini wrote:
I've edited bug 939636 to depend on three key issues out of the list
I posted before. I think that once those are addressed, there will be
no reason to stick to Promise.jsm any longer.
Thanks. I'll see what I can do about getting these knocked out.
On 3/28/14, 7:03 PM, Joshua Cranmer wrote:
I included MOZ_ASSUME_UNREACHABLE_MARKER because that macro is the
compiler-specific optimize me intrinsic, which I believe was the
whole point of the original MOZ_ASSUME_UNREACHABLE.
AFAIU, MOZ_ASSUME_UNREACHABLE_MARKER crashes on all Gecko
2014-03-31 15:22 GMT-04:00 Chris Peterson cpeter...@mozilla.com:
On 3/28/14, 7:03 PM, Joshua Cranmer wrote:
I included MOZ_ASSUME_UNREACHABLE_MARKER because that macro is the
compiler-specific optimize me intrinsic, which I believe was the
whole point of the original
Hey BDS,
Thanks for your reply.
1.
The function I mentioned is the new code I added.
2.
I understand that running Firefox with root privileges is not encouraged.
However, due to my experiment is related to kernel, root privileges will be
necessary to my program.
I wiped out my code which
11 matches
Mail list logo