Граф коммитов

662879 Коммитов

Автор SHA1 Сообщение Дата
Gabriel Luong cbfa9181e7 Bug 1569780 - Remove unused notificationBox reference in the inspector. r=pbro
Differential Revision: https://phabricator.services.mozilla.com/D39787

--HG--
extra : moz-landing-system : lando
2019-07-30 09:30:14 +00:00
Jan de Mooij b768b94143 Bug 1567438 part 6 - Save IC return offsets in interpreter code for IsIonInlinableOp ops. r=tcampbell,iain
We need this for interpreter bailouts for bailouts involving inlining.

Differential Revision: https://phabricator.services.mozilla.com/D38865

--HG--
extra : moz-landing-system : lando
2019-07-30 12:10:06 +00:00
Jan de Mooij d3397e90fe Bug 1567438 part 5 - Change IsIonInlinablePC to IsIonInlinableOp. r=tcampbell,iain
We need this for the next patch because we have a JSOp instead of a pc when
generating the interpreter. (In general it's nicer for functions to take a JSOp
instead of a PC because it can be used in strictly more contexts.)

Differential Revision: https://phabricator.services.mozilla.com/D38864

--HG--
extra : moz-landing-system : lando
2019-07-30 12:09:51 +00:00
Jan de Mooij 4afa4e1369 Bug 1567438 part 4 - Don't set the frame's return value for noScriptRval scripts. r=tcampbell,iain
The old code happened to work for Baseline JIT bailouts because the JIT ignores
the return value slot for noScriptRval scripts, but when bailing out to the
interpreter we would have an optimized-out MagicValue in the return value slot
and get confused.

Differential Revision: https://phabricator.services.mozilla.com/D38863

--HG--
extra : moz-landing-system : lando
2019-07-30 12:09:34 +00:00
Jan de Mooij e8ac0f6abc Bug 1567438 part 3 - Don't skip JSOP_LOOPENTRY ops for prologue bailouts. r=tcampbell,iain
The old code happened to work but didn't really make sense and I ran into some assertion
failures with other changes. Later patches will clean this up more.

Differential Revision: https://phabricator.services.mozilla.com/D38862

--HG--
extra : moz-landing-system : lando
2019-07-30 12:09:18 +00:00
Jan de Mooij ebc9432365 Bug 1567438 part 2 - Clean up environment chain and prologue bailout handling. r=tcampbell,iain
We now always set the frame's environment chain to a non-null value and have
an explicit isPrologueBailout flag instead of relying on envChain == nullptr.

Differential Revision: https://phabricator.services.mozilla.com/D38861

--HG--
extra : moz-landing-system : lando
2019-07-30 12:09:02 +00:00
Jan de Mooij 8d4b54ac29 Bug 1567438 part 1 - Replace the enter-monitor-chain bailout code with type monitoring in C++. r=tcampbell,iain
When we resumeAfter a JOF_TYPESET op, we had code to enter the type monitor
chain for the bailing op, passing it the top stack value. It's simpler to do
this monitoring in C++ in FinishBailoutToBaseline and then treat it as a regular
resumeAfter bailout.

The code for this will be simplified more later in the stack.

Differential Revision: https://phabricator.services.mozilla.com/D38860

--HG--
extra : moz-landing-system : lando
2019-07-30 12:08:48 +00:00
Tom Ritter c5687cede9 Bug 1387894 - Disable unconditional clamping for two CSS tests r=birtles
We're hitting double imprecision here.

Example: Given 86.68392200000000 and 86.67999999999999 we want to see
if they're equal with two significant digits. (They are, they're 86.68)

However, when we reduce them, 86.68 (which is represented as an epislon lower)
gets reduced to 86.66 and they no longer match. We disable unconditional clamping
on these tests to confirm they behave the way they shoud... excepting the clamping
which may introduce imprecision.

Differential Revision: https://phabricator.services.mozilla.com/D38812

--HG--
extra : moz-landing-system : lando
2019-07-30 15:12:39 +00:00
Tom Ritter 01b3eb5924 Bug 1387894 - Remove expected failure from Event-timestamp-safe-resolution.html r=smaug
Hey, we fixed it!

Differential Revision: https://phabricator.services.mozilla.com/D38811

--HG--
extra : moz-landing-system : lando
2019-07-30 15:12:30 +00:00
Tom Ritter 72e4e57aea Bug 1387894 - Fix animation WPTs r=birtles,jgraham
I believe these intermittents are caused by double imprecision. When unconditional clamping is enabled
it gets multiplied out and causes animation.currentTime to occasionally go to 50000.02 which causes
the test to fail. We can reduce the precision back down to ignore that. We do so using some WPT
overrides.

Differential Revision: https://phabricator.services.mozilla.com/D38810

--HG--
extra : moz-landing-system : lando
2019-07-30 15:12:17 +00:00
Tom Ritter 48c645ebf2 Bug 1387894 - Fix browser_animation_setCurrentTime.js for unconditional clamping r=birtles
This has to do with double imprecision. The test originally had toPrecision(6) to
account for this imprecision. It'd round up 499.9999 into 500. When we send
double(500) (which is an epsilon below 500) into ReduceTimePrecision we wind up
coming out with 499.98. By reducing our precision requirement in this test
we can handle that and round 499.98 back up to 500

Differential Revision: https://phabricator.services.mozilla.com/D38809

--HG--
extra : moz-landing-system : lando
2019-07-30 15:12:08 +00:00
Tom Ritter 210fb2ea26 Bug 1387894, 1476950 - Fix test_restyles.html for unconditional clamping r=birtles,hiro
This refactors things to run until the animation is unthrottled. It confirms
the proper amount of time has passed; and then awaits another styling to ensure
that markers.length = 0 (unless it took very long (over 200ms) that it should
be 1.

Differential Revision: https://phabricator.services.mozilla.com/D38808

--HG--
extra : moz-landing-system : lando
2019-07-30 15:11:59 +00:00
Tom Ritter 905b162e22 Bug 1387894 - Fix the WPT and mochitest test_document-timeline.html for unconditional clamping r=birtles
We fix this by clamping the requestAnimationFrame timestamp in the test before comparing it.
We don't clamp the requestAnimationFrame timestamp normally because it would be meaningless:
rAF fires on a regular frequency and someone perfoming a fine-grained timing attack will be
able to determine the timestamp from when it fires.

We need to use parseFloat to knock off any extra epislon we gain.

This shouldn't cause any major blow-ups because timelines are disabled in release and beta,
so at least any potential fallout would be constrained.

Differential Revision: https://phabricator.services.mozilla.com/D38807

--HG--
extra : moz-landing-system : lando
2019-07-30 15:11:50 +00:00
Tom Ritter 83a41908c3 Bug 1387894 - Resolve timer intermittents when reduceTimerPrecision is disabled r=smaug
We unconditionally clamp all times to 20us and not just performance.now()
This will consistently apply a 'safe' minimal clamping (it's not safe but
I guess it's safer than ns-level precision) to all timestamps, and remove
intermittents that are caused by comparing a clamped performance.now() to
an unclamped [something else].

Differential Revision: https://phabricator.services.mozilla.com/D38806

--HG--
extra : moz-landing-system : lando
2019-07-30 15:11:41 +00:00
Tom Ritter 11011497a9 Bug 1387894 - Move all Resist Fingerprinting/Reduce Time Precision prefs to StaticPrefs r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D39212

--HG--
extra : moz-landing-system : lando
2019-07-30 15:11:32 +00:00
championshuttler c14004740f Bug 1569472 - Level Down the Error level to 2. r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D39663

--HG--
extra : moz-landing-system : lando
2019-07-30 15:20:00 +00:00
championshuttler 55342ff5a5 Bug 1569472 - Fix taskcluster docs linting errors. r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D39627

--HG--
extra : moz-landing-system : lando
2019-07-30 15:20:00 +00:00
Neil Bleasdale e216bb0437 Bug 1563750 - Add individual subcategory Enabled/Disabled headers in about:addons. r=fluent-reviewers,mstriemer,Pike
Add separate subcategory headers for Enabled/Disabled to about:addons.

Differential Revision: https://phabricator.services.mozilla.com/D38680

--HG--
extra : moz-landing-system : lando
2019-07-30 15:11:28 +00:00
Jared Wein 72eec6ac45 Bug 1567230 - Require master password auth before copying or revealing passwords in about:logins. r=MattN
Differential Revision: https://phabricator.services.mozilla.com/D38587

--HG--
extra : moz-landing-system : lando
2019-07-30 15:03:30 +00:00
Jared Wein 94563ef107 Bug 1567230 - Move copying of login detail to AboutLoginsChild.jsm to workaround limitations in the Clipboard API. r=MattN
Differential Revision: https://phabricator.services.mozilla.com/D39131

--HG--
extra : moz-landing-system : lando
2019-07-30 15:03:23 +00:00
Tomislav Jovanovic b02d6115d7 Bug 1561654 - Add contentPolicyType to DownloadCore to enable sending cookies r=mak,baku,robwu
Also stop opting-out Downloads tests from real behavior.

Differential Revision: https://phabricator.services.mozilla.com/D39571

--HG--
extra : moz-landing-system : lando
2019-07-30 15:04:23 +00:00
Simon Giesecke 943957f70b Bug 1565515 - Removed duplication between LengthOfEncodedBinary and CalcDecodedStringySize r=ttung,asuth
Differential Revision: https://phabricator.services.mozilla.com/D38173

--HG--
extra : moz-landing-system : lando
2019-07-30 14:52:18 +00:00
Simon Giesecke a1847f67e9 Bug 1565515 - Define and use type aliases EncodedDataType r=ttung,asuth
Differential Revision: https://phabricator.services.mozilla.com/D38172

--HG--
extra : moz-landing-system : lando
2019-07-30 14:52:04 +00:00
Simon Giesecke 41cbdf5f33 Bug 1565515 - Reduced code duplication in DecodeString/DecodeBinary r=ttung,asuth
EncodeString and EncodeBinary already use a common backend EncodeAsString,
the same should be done in decoding, as the encoding of a binary is
a special case of the encoding of a string.

Differential Revision: https://phabricator.services.mozilla.com/D38076

--HG--
extra : moz-landing-system : lando
2019-07-30 14:51:40 +00:00
Simon Giesecke 73777f4f14 Bug 1565515 - Move sortKey variable declaration close to usage r=ttung,asuth
Differential Revision: https://phabricator.services.mozilla.com/D38075

--HG--
extra : moz-landing-system : lando
2019-07-30 14:51:21 +00:00
Simon Giesecke 7db6d8f44b Bug 1565515 - Added test keys with scalar ArrayBuffer and arrays containing ArrayBuffer r=asuth,ttung
Differential Revision: https://phabricator.services.mozilla.com/D37856

--HG--
extra : moz-landing-system : lando
2019-07-30 14:51:03 +00:00
Simon Giesecke 8a9fca7aca Bug 1565515 - Added note declaring that key list must be kept sorted r=asuth,ttung
Differential Revision: https://phabricator.services.mozilla.com/D37855

--HG--
extra : moz-landing-system : lando
2019-07-30 14:50:41 +00:00
Simon Giesecke d7d04c81b2 Bug 1565515 - Added diagnostic output r=asuth,ttung
Differential Revision: https://phabricator.services.mozilla.com/D37854

--HG--
extra : moz-landing-system : lando
2019-07-30 14:50:22 +00:00
Simon Giesecke 0b0984ae64 Bug 1565515 - Added handling of ArrayBuffer/binary keys to compareKeys functions r=asuth,ttung
Differential Revision: https://phabricator.services.mozilla.com/D37853

--HG--
extra : moz-landing-system : lando
2019-07-30 14:50:04 +00:00
Simon Giesecke 21e67a9adf Bug 1565515 - Added TODO comments on duplicated code r=asuth,ttung
Differential Revision: https://phabricator.services.mozilla.com/D37852

--HG--
extra : moz-landing-system : lando
2019-07-30 14:49:52 +00:00
Simon Giesecke 85f35fde04 Bug 1565515 - Fixed spelling mistake in comment r=ttung,asuth
Differential Revision: https://phabricator.services.mozilla.com/D37851

--HG--
extra : moz-landing-system : lando
2019-07-30 14:49:31 +00:00
Simon Giesecke e4ddc09023 Bug 1565515 - Updated comment r=asuth,ttung
The comment referenced the former 3 prefix used for strings, but this is
no longer correct for strings (which now use a 0x30) prefix, and the
function has been generalized to also work for binaries, and got
a parameter aType specifying the prefix. Updated the comment accordingly.

Differential Revision: https://phabricator.services.mozilla.com/D37850

--HG--
extra : moz-landing-system : lando
2019-07-30 14:49:12 +00:00
Simon Giesecke f1884a1dd7 Bug 1565515 - DecodeBinary violates contract for 0-sized binary r=asuth,ttung
Differential Revision: https://phabricator.services.mozilla.com/D37849

--HG--
extra : moz-landing-system : lando
2019-07-30 14:48:53 +00:00
Carolina 9b014d6ea8 Bug 1560513 - Handles errors in about:certificate.r=keeler
Differential Revision: https://phabricator.services.mozilla.com/D38099

--HG--
extra : moz-landing-system : lando
2019-07-30 13:36:30 +00:00
Alex Catarineu 536fd2e65f Bug 1561322 - Allow spoofing strings in HTML forms r=baku,Pike
When privacy.spoof_english = 2, we should hide the user's
locale in content. So we use en-US default strings for HTML
form elements, such as a Submit button.

We also force GetLocalizedEllipsis() to always return the
ellipsis used by en-US.

Differential Revision: https://phabricator.services.mozilla.com/D35815

--HG--
extra : moz-landing-system : lando
2019-07-24 13:22:22 +00:00
Tim D. Smith 3209c82acb Bug 1569672 - Collect use counter denominators in release r=janerik
Use counters are collected in release as of bug 1477433. Per bug 1204994, use counters need to be interpreted relative to CONTENT_DOCUMENTS_DESTROYED and TOP_LEVEL_CONTENT_DOCUMENTS_DESTROYED, so these need to be collected in release, as well.

Also cleans up probe definitions and removes from whitelists.

Differential Revision: https://phabricator.services.mozilla.com/D39726

--HG--
extra : moz-landing-system : lando
2019-07-30 08:07:08 +00:00
Dão Gottwald 21ee0c5607 Bug 1569478 - Fix one-off search button hiding. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D39869

--HG--
extra : moz-landing-system : lando
2019-07-30 14:53:39 +00:00
Tim Nguyen ed7ec67e33 Bug 1569705 - Stop unnecessarily setting left/right margins on searchbar autocomplete popup. r=mak
This code now became obsolete and broken with the autocomplete popup being anchored to the textbox instead of the textbox inner input.

Differential Revision: https://phabricator.services.mozilla.com/D39794

--HG--
extra : moz-landing-system : lando
2019-07-30 14:24:20 +00:00
Patrick Brosset c535aefa0b Bug 1569877 - Consider textarea as a replaced element; r=miker
Differential Revision: https://phabricator.services.mozilla.com/D39866

--HG--
extra : moz-landing-system : lando
2019-07-30 12:56:03 +00:00
Julian Descottes 8070e9389c Bug 1569897 - Only keep weak references on the active element from FormAutofillContent r=MattN
Depends on D39716

Differential Revision: https://phabricator.services.mozilla.com/D39854

--HG--
extra : moz-landing-system : lando
2019-07-30 14:26:14 +00:00
Dzmitry Malyshau 4d7909d785 Bug 1548339 - WR swizzle configuration of texture units r=gw
Allow the swizzle to be configurable with a texture binding. This is still experimental and needs to be tested well on all platforms.
Basic approach is the following:
  - WR device figures out how it can use BGRA and makes the texture cache format configurable at run-time. It tries to make the uploads to the shared texture cache pages to be done without any driver conversions, and without extra memory allocated.
  - it also reports the preferred input format for the images, which may be different from the texture cache format
  - if WR texture cache is asked to allocate a shared texture with a different (swizzled) format from the preferred, it associates the cache entry with a swizzle
  - the swizzle becomes a part of the `SourceTexture`, which affects batch splitting
  - when a texture reaches binding by GL device, it checks whether the current swizzle on this texture doesn't match the given one, and configures the texture sampling accordingly
  - we can't use blits with swizzling, so when that needs to happen we use `cs_copy` path, which is now mostly rewritten

The idea is that Gecko would ask WR for the preferred format and configure its image decoding to produce image data that doesn't require any swizzling.

The PR changes existing texture upload (and batching) paths. On Linux, if texture storage is available, we now use it and provide the data as RGBA, assuming no conversion by the driver. The swizzling kicks in when we sample this data in the shader. On Windows/Angle we use BGRA as an internal format for texture cache and expect Gecko to provide BGRA data, this should be unchanged.

Differential Revision: https://phabricator.services.mozilla.com/D21965

--HG--
extra : moz-landing-system : lando
2019-07-26 14:55:50 +00:00
Andreea Pavel 8cbd06b810 Backed out 8 changesets (bug 1387894) for build bustages on a CLOSED TREE
Backed out changeset 09785dc4c5aa (bug 1387894)
Backed out changeset 05728160b89e (bug 1387894)
Backed out changeset 01e5b31bcc17 (bug 1387894)
Backed out changeset c5e16646ddb1 (bug 1387894)
Backed out changeset d1f09b772bac (bug 1387894)
Backed out changeset de538a48f455 (bug 1387894)
Backed out changeset d49cd8ef0825 (bug 1387894)
Backed out changeset fcfe77fab0ec (bug 1387894)
2019-07-30 17:17:39 +03:00
Andreea Pavel 3f0fb9fec4 Backed out 12 changesets (bug 1565515) hazard failures on a CLOSED TREE
Backed out changeset 4d8c2c1bce2d (bug 1565515)
Backed out changeset 8619e09b03bb (bug 1565515)
Backed out changeset d70293010941 (bug 1565515)
Backed out changeset 90fb12799ecd (bug 1565515)
Backed out changeset 93be9fcab443 (bug 1565515)
Backed out changeset 91f546c40f98 (bug 1565515)
Backed out changeset 2c0fb0c0e228 (bug 1565515)
Backed out changeset 57ed49a17c9d (bug 1565515)
Backed out changeset 75cb7938f704 (bug 1565515)
Backed out changeset 2359da4989a7 (bug 1565515)
Backed out changeset 8f3493b2cae1 (bug 1565515)
Backed out changeset e0aa82bed5fa (bug 1565515)
2019-07-30 17:16:15 +03:00
Staś Małolepszy 157da38e6c Bug 1568914 - Update Fluent to @fluent/bundle 0.14.0 r=zbraniecki,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D39400

--HG--
extra : moz-landing-system : lando
2019-07-30 13:21:59 +00:00
Tom Ritter 6223cc7076 Bug 1387894 - Disable unconditional clamping for two CSS tests r=birtles
We're hitting double imprecision here.

Example: Given 86.68392200000000 and 86.67999999999999 we want to see
if they're equal with two significant digits. (They are, they're 86.68)

However, when we reduce them, 86.68 (which is represented as an epislon lower)
gets reduced to 86.66 and they no longer match. We disable unconditional clamping
on these tests to confirm they behave the way they shoud... excepting the clamping
which may introduce imprecision.

Differential Revision: https://phabricator.services.mozilla.com/D38812

--HG--
extra : moz-landing-system : lando
2019-07-30 13:19:15 +00:00
Tom Ritter 28cfefb493 Bug 1387894 - Remove expected failure from Event-timestamp-safe-resolution.html r=smaug
Hey, we fixed it!

Differential Revision: https://phabricator.services.mozilla.com/D38811

--HG--
extra : moz-landing-system : lando
2019-07-30 13:19:06 +00:00
Tom Ritter ab57739260 Bug 1387894 - Fix animation WPTs r=birtles,jgraham
I believe these intermittents are caused by double imprecision. When unconditional clamping is enabled
it gets multiplied out and causes animation.currentTime to occasionally go to 50000.02 which causes
the test to fail. We can reduce the precision back down to ignore that. We do so using some WPT
overrides.

Differential Revision: https://phabricator.services.mozilla.com/D38810

--HG--
extra : moz-landing-system : lando
2019-07-30 13:19:06 +00:00
Tom Ritter 5245b1205b Bug 1387894 - Fix browser_animation_setCurrentTime.js for unconditional clamping r=birtles
This has to do with double imprecision. The test originally had toPrecision(6) to
account for this imprecision. It'd round up 499.9999 into 500. When we send
double(500) (which is an epsilon below 500) into ReduceTimePrecision we wind up
coming out with 499.98. By reducing our precision requirement in this test
we can handle that and round 499.98 back up to 500

Differential Revision: https://phabricator.services.mozilla.com/D38809

--HG--
extra : moz-landing-system : lando
2019-07-30 13:19:05 +00:00
Tom Ritter ab449f70cd Bug 1387894, 1476950 - Fix test_restyles.html for unconditional clamping r=birtles,hiro
This refactors things to run until the animation is unthrottled. It confirms
the proper amount of time has passed; and then awaits another styling to ensure
that markers.length = 0 (unless it took very long (over 200ms) that it should
be 1.

Differential Revision: https://phabricator.services.mozilla.com/D38808

--HG--
extra : moz-landing-system : lando
2019-07-30 13:19:05 +00:00
Tom Ritter d2f55fcd2f Bug 1387894 - Fix the WPT and mochitest test_document-timeline.html for unconditional clamping r=birtles
We fix this by clamping the requestAnimationFrame timestamp in the test before comparing it.
We don't clamp the requestAnimationFrame timestamp normally because it would be meaningless:
rAF fires on a regular frequency and someone perfoming a fine-grained timing attack will be
able to determine the timestamp from when it fires.

We need to use parseFloat to knock off any extra epislon we gain.

This shouldn't cause any major blow-ups because timelines are disabled in release and beta,
so at least any potential fallout would be constrained.

Differential Revision: https://phabricator.services.mozilla.com/D38807

--HG--
extra : moz-landing-system : lando
2019-07-30 13:19:05 +00:00