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

580654 Коммитов

Автор SHA1 Сообщение Дата
David Major cf15c01efb Bug 1436255: Allow check_prog('LINKER') to fall back to $PATH. r=glandium
--HG--
extra : rebase_source : 8c670636d56dacb51d4d646f8f518992578b9f5c
2018-02-08 12:01:51 +13:00
Timothy Nikkel 56490d71bb Bug 1432679. Do multiplication in nsGIFDecoder2::FinishImageDescriptor as int64_t to avoid overflow. r=aosmond
pixels_remaining is already an int64_t.
2018-02-07 17:00:06 -06:00
Timothy Nikkel 3de4dd3353 Bug 1432678. Convert to size_t in DecodedSurfaceProvider::LogicalSizeInBytes so multiplication doesn't overflow. r=aosmond 2018-02-07 17:00:04 -06:00
Felipe Gomes bc0d989cae Bug 1429144 - Policy: Don't remember search and form history. r=MattN
MozReview-Commit-ID: GVHVe724dvv
2018-02-07 20:37:55 -02:00
Felipe Gomes 5be5d04274 Bug 1436377 - Policy engine - Implement URLorEmpty parameter type. r=Mossop
MozReview-Commit-ID: 96GqykNb3Zr
2018-02-07 20:37:55 -02:00
Felipe Gomes 5260eb4e2d Bug 1433271 - Don't fail policy validation if an array inside a object is missing. r=Mossop
A top-level array (i.e., if a policy directly requires an array) won't be affected by this problem, because if the array is missing, that means that that policy is not present, so it will be ignored.

However, this can affect an array that is expected inside another object, for more complex policy types (like the popups permission which accepts both an 'allow' and a 'block' array of URLs.

In the future, we should implement the 'required' property as defined by the JSON-Schema standard, but there's not a strong use case for it yet, so let's do the simple solution for now

MozReview-Commit-ID: 4MTBTsPYlX8
2018-02-07 20:37:55 -02:00
Felipe Gomes c0b38bfb11 Bug 1436396 - Policy engine - Make boolean type accept 0 and 1 as valid values. r=mkaply
MozReview-Commit-ID: 1dqRknWy6Xi
2018-02-07 20:37:54 -02:00
Felipe Gomes 086b4ec6be Bug 1435977 - Make policies test begin and end with the police engine inactive. r=Gijs
Some tests do a sanity check for features at the beginning. This works fine for a single test, and also from one test to another which are usually activating different policies. But this fails when the same test runs more than once, because the engine was left at the end in a state where that same policy was active.

Note that this does not cover all the clean-up that a test must do to properly run more than once. For example, locked prefs are left locked, because the engine does support reversing all the policy code that ran. We might add more auto-reversal support in the future, but for now it's up to each test.

MozReview-Commit-ID: KZ2LeKFTC0A
2018-02-07 20:37:54 -02:00
Ciure Andrei 8dd2a49ca4 Merge mozilla-central to mozilla-inbound. a=merge CLOSED TREE 2018-02-08 00:33:37 +02:00
Ciure Andrei ddcf44b20a Backed out changeset a4ae1745e9d4 (bug 1432599) for mochitest devtools failures, a=backout on a CLOSED TREE 2018-02-08 00:24:44 +02:00
Ciure Andrei 7e5b9d4040 Backed out changeset e2818fa57916 (bug 1435527) mochitest leakcheck failures, a=backout on a CLOSED TREE 2018-02-08 00:22:24 +02:00
Mike Hommey 934828f009 Bug 1434765 - Properly reject invalid variables in #if{,n}def. r=froydnj,nalexander
The invalid variable test for #if{,n}def was only checking that the
first character in the variable was alphanumeric or underscore, not
the other characters.

More generally, preprocessor instructions were also cut out such that
whitespaces before and after arguments were part of the arguments.
Subtly, some legitimate strings end with what, in ISO-8859-1, is
considered as whitespaces, and because the preprocessor largely works
on byte strings (str), and because the regexps are using re.U, those
characters (e.g. 0xa0) that can legitimately appear in byte strings of
UTF-8 encoding, are treated as whitespaces. So we remove the re.U from
the instruction regexp, so that only plain ascii whitespaces only are
stripped out.

There's one place in layout/tools/reftest/manifest.jsm that was using
a broken pattern, making the test never true, which, once fixed, unveils
broken tests, so the branch that was never used is removed.

--HG--
extra : rebase_source : b695dec025c55aee0e50f2a0047278fe9c849c9e
2018-02-01 10:40:59 +09:00
Brad Werth 706974795f Bug 1418930 Part 6: Add a test of shape-outside with and without a CORS violation. r=emilio
MozReview-Commit-ID: KI4itQ1ORYJ

--HG--
extra : rebase_source : c3480a6a4f9a7067053bd5e7c8258786ff03dee3
2018-01-31 17:02:14 -05:00
Brad Werth f16c68cd42 Bug 1418930 Part 5: Update nsStyleStruct::FinishStyle and nsRuleNode::ComputeDisplayData to set CORS mode for shape-outside images. r=emilio
MozReview-Commit-ID: 7MXJHE2vidS

--HG--
extra : rebase_source : 5dae10f8234b6bcbcb288a3f5e10221faca0673b
2018-01-31 16:08:01 -05:00
Jonathan Watt 4f06ebe51b Bug 1436438 part 2 - Remove the WebIDL methods for creating and mutating SVG path data. r=longsonr,baku
MozReview-Commit-ID: Ey7fROPCaSS
2018-01-26 21:16:49 +00:00
Jonathan Watt 843da70a1a Bug 1436438 part 1 - Remove the tests that test SVG path data DOM interfaces. r=longsonr
MozReview-Commit-ID: 78yzAb6Khf1
2018-01-26 10:39:11 +00:00
Jason Laster 605269a01f Bug 1436210 - Update Debugger Frontend v14. r=jdescottes.
MozReview-Commit-ID: 7hHRQLx5DaZ

--HG--
extra : rebase_source : 7984fae7323c975b3d5586af5c988cf94f47057c
2018-02-07 18:04:07 +01:00
Jan de Mooij 7283c849b7 Bug 1435266 - Enable Spectre index masking by default. r=luke 2018-02-07 17:56:34 +01:00
Tim Taubert ad0fd7d75a Bug 1406458 - Add WebAuthn extension types r=jcj,baku
Summary:
This only adds the new WebIDL types but doesn't do any plumbing yet.
Bug 1406471 seems to be better suited for that.

Reviewers: jcj

Reviewed By: jcj

Bug #: 1406458

Differential Revision: https://phabricator.services.mozilla.com/D555
2018-02-07 16:37:54 +01:00
Valentin Gosu 4aade813b4 Bug 1435772 - File extensions are stripped out from saved web page source, leading to 404 errors r=me
Backs out the part of part of changeset a20fbbe7b948 (Bug 1432602) that uses nsIURIMutator instead of calling nsIFileURL::SetFile()

MozReview-Commit-ID: 9mC3fv85pUl
2018-02-07 17:30:13 +01:00
Luke Wagner a9b8d6c731 Bug 1436353: fix non-unified build bustage (rs=me) 2018-02-07 10:16:44 -06:00
Luke Wagner e6536d905f Bug 1435525 - Baldr: eagerly reject too-big code section sizes and clamp masm reservation size (r=lth)
--HG--
extra : rebase_source : 117620ce71c1afb5d42347f257432798734bdf8a
2018-02-07 10:06:54 -06:00
Benjamin Bouvier 24d387c6b1 Bug 1436353: add wasm perf support for entries/exits; r=luke
MozReview-Commit-ID: 4kZEMpVP0BX

--HG--
extra : rebase_source : 2ce8f06de6a03b1cfc3461cd50f60249fe90339e
extra : histedit_source : c6dddaea3815d80a029358518f9d57cd45a15da1
2018-02-07 14:55:47 +01:00
Benjamin Bouvier d68b7067f1 Bug 1436353: Fix and enhance perf support in the jits; r=campbell
MozReview-Commit-ID: IKyJf5jRIZu

--HG--
extra : rebase_source : 56ba6731e9918b03e47441673d0eb37d8a8a5387
extra : histedit_source : cce41f271385a436d93289b576ccf0f47ade4f9d
2018-02-07 14:54:48 +01:00
Dorel Luca 6fd86afdb4 Merge mozilla-central to mozilla-inbound. r=merge 2018-02-07 17:09:13 +02:00
Dorel Luca a539f8f7fe Merge mozilla-inbound to mozilla-central. a=merge 2018-02-07 17:05:03 +02:00
Dorel Luca cf40524253 Merge autoland to mozilla-central. a=merge 2018-02-07 17:01:50 +02:00
Andrew Osmond 34935cb2ff Bug 1388020. r=nical 2018-02-07 09:33:12 -05:00
Dorel Luca 112cc1ff6b Backed out 3 changesets (bug 1430857) for breaking tests on Windows Code Coverage builds a=backout
Backed out changeset a992887a6060 (bug 1430857)
Backed out changeset cc9b0ac5f66b (bug 1430857)
Backed out changeset 4bdd6d82f993 (bug 1430857)
2018-02-07 15:02:58 +02:00
Coroiu Cristina 1c85c04c62 Backed out 5 changesets (bug 1423896) for bustage at /src/toolkit/components/places/nsNavHistoryResult.cpp on a CLOSED TREE
Backed out changeset 4012bc74e900 (bug 1423896)
Backed out changeset 12239646395f (bug 1423896)
Backed out changeset abf61cd5fb77 (bug 1423896)
Backed out changeset 569173c95238 (bug 1423896)
Backed out changeset 6401e950298d (bug 1423896)
2018-02-07 14:07:31 +02:00
Paul Warner a4c0f8161c Bug 1399158 - Add --jsdebugger flag to geckodriver. r=ato
When --jsdebugger is passed to geckodriver, it will override
preferences related to starting the Browser Toolbox and pass
-jsdebugger on to the Firefox process.

It is functionally equivalent to "./mach marionette test --jsdebugger".

MozReview-Commit-ID: ADfrLPXtQoy
2018-02-07 12:00:53 +00:00
Tim Taubert 1d2ba2eb2b Bug 1436308 - Generate a ToJSON() method for WebIDL types with records r=bz
We currently don't generate a ::ToJSON() method for WebIDL types with record<K,V>
members. These types should be safe to convert to JSON, as long as type V itself
is. Per spec, type K is always a DOMString, USVString, or ByteString.
2018-02-07 12:01:00 +01:00
Jan de Mooij 081a738eb4 Bug 1435796 - Fix JSString::dumpRepresentationHeader to use printf instead of put. r=sfink 2018-02-07 14:39:11 +01:00
Jan de Mooij 6e6de3f7ac Bug 1436065 - Add JS_NewLatin1String API to create Latin1 strings without copying. r=luke 2018-02-07 14:38:00 +01:00
sotaro 89aba04841 Bug 1435995 - Disable DXGI_SWAP_EFFECT_FLIP_SEQUENTIAL usage r=nical 2018-02-07 22:21:35 +09:00
Jan de Mooij 17da4a7e09 Bug 1435209 - Use CMOVcc instead of index masking. r=luke 2018-02-07 13:49:06 +01:00
Andrew Osmond 3b58cdf796 Bug 1408636 - Ensure accessibility tests pass regardless of image caching affecting whitespace. r=yzen 2018-02-07 07:27:28 -05:00
Andrew Osmond e68d0fd3d2 Bug 1383682 - Part 3. Prevent imgRequestProxy from leaking the current state when validating. r=tnikkel
There are two other means from which a caller can get the current state
which originally ignored validation -- GetImageStatus and
StartDecodingWithResult. These methods are used by layout in some
circumstances to decide whether or not the image is ready to display. As
observed in some web platform tests, in particular
css/css-backgrounds-3/background-size-031.html, we may actually validate
and purge the cache for images under test. The state given by the
aforementioned methods was misleading, because validation changed it.
Now they take into account validation, and do not imply any particular
state while validation is in progress.
2018-02-07 07:27:28 -05:00
Andrew Osmond b1c05068b8 Bug 1383682 - Part 2. Rename IProgressObserver::SetNotificationsDeferred to make purpose clear. r=tnikkel
IProgressObserver::SetNotificationsDeferred is now used just for
ProgressTracker to track when there is a pending notification for
an observer. It has been renamed to MarkPendingNotify and
ClearPendingNotify to make a clear distinction.
2018-02-07 07:27:27 -05:00
Andrew Osmond dab9b6216c Bug 1383682 - Part 1. Split off imgRequestProxy notification deferrals for validation. r=tnikkel
When cache validation is in progress, imgRequestProxy defers its
notifications to its listener until the validation is complete. This is
because the cache may be discarded, and the current state will change.
It attempted to share the same flags with notification deferrals used by
ProgressTracker to indicate that there is a pending notification, but
this has problematic/confusing. Hence this patch creates dedicated flags
for notification deferrals due to cache validation.
2018-02-07 07:27:27 -05:00
Dorel Luca 106842f842 Merge mozilla-inbound to mozilla-central. a=merge 2018-02-07 11:58:17 +02:00
Dorel Luca aa63d53f0e Merge autoland to mozilla-central. a=merge 2018-02-07 11:55:55 +02:00
Emilio Cobos Álvarez b8ae29b617 servo: Merge #19969 - style: Fix interpolation of the gecko-size properties (from emilio:whoopsies); r=emilio
Followup to #19966 because, well...

The animation code should probably be more obvious.

Source-Repo: https://github.com/servo/servo
Source-Revision: cf4f89c36e4cd62b8833cfc968ccac055fb091dd

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 97810b3daf65ef973d474c8fa1786e35342f8c2c
2018-02-07 01:04:51 -05:00
Andrew Osmond 5a683f0a80 Backed out changeset d078b56f0fa6 (bug 1388020) for OS X crashtest failures. r=backout 2018-02-06 22:18:29 -05:00
Manish Goregaokar 72ed6d355d Bug 1436251 - Set codegen-units=1 in --enable-release; r=glandium
MozReview-Commit-ID: 8kGTFAXfB2i

--HG--
extra : rebase_source : bc1860366646e629deef3c819576d208b1b6cd73
2018-02-06 19:06:03 -08:00
Chris Pearce 595dccd4e7 Bug 1431674 - Backed out changeset 9d197f1860e6. r=backout
MozReview-Commit-ID: wP0aucXgzA

--HG--
extra : rebase_source : ad67234e7dff431c875bce5aac5b88e3c497dc78
2018-02-07 15:28:48 +13:00
Chris Pearce 6609188b9e Bug 1431674 - Backed out changeset 3e22200b7e83. r=backout
The changes in bug 1324883 regressed YouTube, so back them out.

The changes in bug 1324883 were trying to cause the media cache to be cleared
on tab close and on CTRL+F5 reload (i.e. a bypass cache-reload) but they are
causing problems on YouTube,  which doesn't use the media cache and instead
uses MSE.

MozReview-Commit-ID: Hx2cehZ2wm1

--HG--
extra : rebase_source : fa0bd85570746e60341e8e2d3f874f9bd30c0232
2018-02-07 15:28:07 +13:00
Hiroyuki Ikezoe fff9e9f366 Bug 1419339 - Unthrottle transform animations periodically if there is any IntersectionObservers. r=birtles
MozReview-Commit-ID: CBFQva02HUc

--HG--
extra : rebase_source : 123a26e7ab77ba40abd918e91e7f323300b2aae7
2018-02-07 10:46:15 +09:00
Emilio Cobos Álvarez 6a7646bbc0 servo: Merge #19966 - style: Get rid of gecko_size_type (from emilio:bye-gecko-size); r=nox
It's a hack, should die.

Source-Repo: https://github.com/servo/servo
Source-Revision: dc446198a733cab3416aaccdd13bf6e86ffeb294

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 0cfb968e80c9f19f5c4dfad8187f597edc26e344
2018-02-06 21:15:07 -05:00
Gurzau Raul 9c39f70c0f Backed out 5 changesets (bug 1392391) for frequently failing jsreftests on Android. a=backout
Backed out changeset 50df56a0cebf (bug 1392391)
Backed out changeset 406806a088d5 (bug 1392391)
Backed out changeset 6bd3abc55ea8 (bug 1392391)
Backed out changeset 846d50ea8403 (bug 1392391)
Backed out changeset b9e9374af9a1 (bug 1392391)
2018-02-07 02:20:38 +02:00