========
https://hg.mozilla.org/integration/gaia-central/rev/ffc4fd1b37f0
Author: punamdahiya <punamdahiya@yahoo.com>
Desc: Merge pull request #26698 from punamdahiya/Bug1106877
Bug1106877 - [Gallery] - Fix of grey bars and cannot tap in thumbnails for images smaller than thumbnail container r=djf
========
https://hg.mozilla.org/integration/gaia-central/rev/e2624551c3ec
Author: Punam Dahiya <punamdahiya@yahoo.com>
Desc: Bug1106877 - [Gallery] - Fix of grey bars and cannot tap in thumbnails for images smaller than thumbnail container div r=djf
We are white-listing the existing set of tests that use setTimeout
like this. Hopefully these tests will be investigated and fixed
in the future, so that we can narrow down the white-list.
This check is only turned on for mochitest-plain for now.
This allows navigation resulting in a blocked or error page without returning an error to the client. If an error page is reached, an error is returned in cases this was not specifically requested in the client: client.navigate("about:neterror") will navigate to this page and return to the client without an error, but client.navigate("does.not.exist.") will return to the client with an error as it has previously.
This splits the api for getWindowHandles and getChromeWindowHandles for those
managing windows and tabs separately in tests. getWindowHandles is
re-implemented to return tabs when appropriate, and getChromeWindowHandles is
added to correspond to individual os windows (the prior behavior of
getWindowHandles). current_window_handle now corresponds to a tab on desktop,
while chrome_window_handle is provided for the current OS window.
switch_to_window will accept either a chrome window handle or tab handle.
In the case of a tab, switching will select the tab. In the
case of a chrome window handle, the prior behavior is retained.
ReplaceSubstring() is an O(n*m) algorithm (n being the length of the
string and m being the number of occurrences of aTarget) because we have
to move the remainder of the string, search it again and potentially
memmove most of it again as we find more matches. This patch rewrites
that function to make it O(n+m).
Note that we currently don't build TestStrings.cpp, so the test case in
this patch is not run automatically, but the test case has been verified
to pass separately by moving the test function into Gecko and calling it
during startup and stepping through it in the debugger.
--HG--
extra : rebase_source : 0330c130520802392b92bd094dde85f57cfe6420
========
https://hg.mozilla.org/integration/gaia-central/rev/fc8543b83930
Author: Guillaume C. Marty <gmarty@users.noreply.github.com>
Desc: Merge pull request #26741 from gmarty/Bug-1107355-Status-bar-turns-black-when-the-device-is-connected-with-another-device-via-Bluetooth
Bug 1107355 - [Status Bar][Bluetooth] Status bar turns black when the de...
========
https://hg.mozilla.org/integration/gaia-central/rev/6ae80c97355a
Author: Guillaume Marty <edo999@gmail.com>
Desc: Bug 1107355 - [Status Bar][Bluetooth] Status bar turns black when the device is connected with another device via Bluetooth
With this patch:
* SetPropertyHelper no longer calls lookupProperty hooks, which is nice
since there's no such thing in ES6.
* As SetPropertyHelper walks the prototype chain, as soon as it reaches a
non-native object, it calls that object's set hook, passing the original
receiver, and returns.
This means Proxy set traps will now be called per spec when triggered via
the prototype chain from a native object.
It also means that legacy scripted indirect proxies (Proxy.create) will
now sometimes have their set trap called when it wouldn't have been called
before. This seems to be confined to fuzztests in practice, since it only
matters when the proxy is used as the prototype of an ordinary object.
But it could cause trouble.
The same situation affects other proxies too: BaseProxyHandler::set() and
its overrides will all be called in new situations. It's inevitable though;
Reflect.set was going to enable all these situations anyway.
--HG--
extra : rebase_source : afd950d3593f5c6dc2c24c8aec92567d9c1269d2