This gives us strictly more information than we had before, which turns out to
be useful. We can still get the old behavior by testing the identity of
desc.object(), which I've done in one of the two existing uses for existing_desc.
The other (in DOMXrayTraits::defineProperty) is actually more correct with the
full (non-own) lookup.
It's unfortunate the we need to operate on the raw JSPropertyDescriptor for
|other|, but the specialization that makes Handle<JSPropertyDescriptor> work is
declared later in the file, which isn't kosher.
Bug 1011084 is getting hung up on various things, and we're currently blocked on
it because Object Xrays filter out callables. So let's just turn off Xrays here
for that case, so that we can enable them everywhere else.
Even when dom.event.highrestimestamp.enabled is false and we should return
a DOMTimeStamp (=unsigned long long), we still just return a double since that's
what would happen anyway when we convert the DOMTimeStamp to a Javascript
Number and it simplifies the code significantly to just always return a double.
This patch adds a timeStamp member to WidgetEvent alongside the existing 'time'
member. In the future we would like to remove 'time' and just keep timeStamp but
that depends on it being web-compatible. For now we introduce both members
side-by-side. Later we will add a pref to determine which one to return. If no
compatibility issues arise we will remove 'time' altogether.
========
https://hg.mozilla.org/integration/gaia-central/rev/c699b0d240bc
Author: Ryan VanderMeulen <rvandermeulen@mozilla.com>
Desc: Re-land pull request #19770 from tauzen/Bug1017572 since it wasn't at fault for Gaia unit test failures.
This reverts commit 4152286b9cbadaa8fe2fecfa82226e99ae41a679.
========
https://hg.mozilla.org/integration/gaia-central/rev/ddf4f13d37c9
Author: Ryan VanderMeulen <rvandermeulen@mozilla.com>
Desc: Revert "Merge pull request #19912 from kamituel/Bug_1019169_byte_str_conv"
This reverts commit 0f5dc07363da7a3f27e3ad5f1f7f957265e79bd8, reversing
changes made to 763b7f62805570b1606b8738075318020af3fa7d.
========
https://hg.mozilla.org/integration/gaia-central/rev/b7e1a02be1b6
Author: Ryan VanderMeulen <rvandermeulen@mozilla.com>
Desc: Revert "Merge pull request #19770 from tauzen/Bug1017572"
This reverts commit e794eeb8dcb308cd7b1580717ef38e2880987634, reversing
changes made to f6b5f77d47d103c672be388082f04709ccdf7f08.
========
https://hg.mozilla.org/integration/gaia-central/rev/c89138fb9550
Author: Ryan VanderMeulen <rvandermeulen@mozilla.com>
Desc: Revert "Merge pull request #20033 from eeejay/bug-1020605"
This reverts commit 763b7f62805570b1606b8738075318020af3fa7d, reversing
changes made to e794eeb8dcb308cd7b1580717ef38e2880987634.
========
https://hg.mozilla.org/integration/gaia-central/rev/a167b4e898b1
Author: Ryan VanderMeulen <rvandermeulen@mozilla.com>
Desc: Merge pull request #19757 from sharaf-tir/Bug_1013764_Include_the_screen_dimming_time_also_in_Screen_time_out
Bug 1013764 - [System] Include the screen dimming time also in Screen ti...
========
https://hg.mozilla.org/integration/gaia-central/rev/04cdef35a5b7
Author: sharfudheen.parambil <sharfudheen.parambil@lge.com>
Desc: Bug 1013764 - [System] Include the screen dimming time also in Screen time out.