mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-10 02:08:38 +09:00
Issue #1053 - Part 2a: Remove android from /layout (partial)
This removes android code from base, build, forms, generic, inspector, style, printing, tools and xul.
This commit is contained in:
parent
b21588597c
commit
7167c960d0
43 changed files with 56 additions and 540 deletions
|
|
@ -91,24 +91,6 @@ var gComputedStyle = window.getComputedStyle(gElement, "");
|
|||
var gPrereqDeclaration =
|
||||
document.getElementById("prereqsheet").sheet.cssRules[0].style;
|
||||
|
||||
// On Android, avoid most 'TEST-PASS' logging by overriding
|
||||
// SimpleTest.is/isnot, to improve performance
|
||||
if (navigator.appVersion.indexOf("Android") >= 0) {
|
||||
is = function is(a, b, name)
|
||||
{
|
||||
var pass = Object.is(a, b);
|
||||
if (!pass)
|
||||
SimpleTest.is(a, b, name);
|
||||
}
|
||||
|
||||
isnot = function isnot(a, b, name)
|
||||
{
|
||||
var pass = !Object.is(a, b);
|
||||
if (!pass)
|
||||
SimpleTest.isnot(a, b, name);
|
||||
}
|
||||
}
|
||||
|
||||
// Returns true if propA and propB are equivalent, considering aliasing.
|
||||
// (i.e. if one is an alias of the other, or if they're both aliases of
|
||||
// the same 3rd property)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue