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

588309 Коммитов

Автор SHA1 Сообщение Дата
Andrew Osmond 9fdad4e863 Bug 1433351 - Add nsBaseHashtable::EntryPtr::OrRemove method to abort nsBaseHashtable::LookupForAdd on miss. r=froydnj
In SourceSurfaceImage::GetTextureClient, we use LookupForAdd. This is
because we typically will create a new TextureClient if there isn't
already one created. This creation can fail because the size is too big,
or we don't have the memory available for it. Unfortunately LookupForAdd
is an infallible operation; it is expected we will always add something
to the hashtable if we don't find an entry. This patch adds an OrRemove
method to cover the corner case where we are unable to complete the
insertion.
2018-03-28 12:58:49 -04:00
Olli Pettay be34eacad1 Bug 1441277 - nsINode needs better documentation on GetComposedDoc vs GetUncomposedDoc, r=annevk 2018-03-28 19:51:14 +03:00
David Major 633025855c Bug 1439988: Use a full progress meter to avoid flakiness from animation. r=enndeakin 2018-03-28 12:32:10 -04:00
Cosmin Sabou 7e663b9fa5 Backed out changeset d345b546edce (bug 1440789) for Android nightly build bustages. a=backout 2018-03-28 16:59:28 +03:00
Jonathan Kew 54769131c0 Bug 1449157 - Guard against mContent being null in nsFrame::HandlePress. r=dholbert 2018-03-28 14:42:20 +01:00
Tom Prince 1f286055e2 Bug 1447460: Teach `mach taskgraph cron` to handle configuration in sub-repositories; r=dustin
Differential Revision: https://phabricator.services.mozilla.com/D815

--HG--
extra : rebase_source : f0153c78bf4ffe0dbf520e0fb4d0683c82173f8b
2018-03-28 11:34:20 -07:00
Cosmin Sabou b25da47eb2 Merge inbound to mozilla-central. a=merge 2018-03-28 12:49:56 +03:00
ui.manish ca709a63db Bug 1429396 - Remove toolkit/content/global/XPCNativeWrapper.js r=mconley 2018-03-28 09:53:33 +02:00
Cosmin Sabou 2d914e1cb2 Merge mozilla-central to inbound. a=merge CLOSED TREE
--HG--
extra : amend_source : c56b02fe575cf7fbc84a8bd63cc53d80a793958f
2018-03-28 18:56:37 +03:00
Jon Coppeard c5619778b2 Bug 1449541 - Don't hold script data lock while calcuating hash r=jandem 2018-03-28 16:41:16 +01:00
Jon Coppeard b8bf9f960f Bug 1449153 - Handle errored module in GetModuleNamespace() r=anba 2018-03-28 16:40:17 +01:00
Cosmin Sabou 619e0c5b90 Backed out 3 changesets (bug 1449321, bug 1449566, bug 1449565) as per developer request.
Backed out changeset c31de7e26809 (bug 1449565)
Backed out changeset 72f9188800af (bug 1449566)
Backed out changeset 763277b299e4 (bug 1449321)

--HG--
extra : rebase_source : 212b357a3079dff30845a5f82e47b94e2d7f93cd
2018-03-28 18:10:11 +03:00
Bob Owen cfaaf3c336 Bug 1449480: Don't crash in opt builds when scoped_handle.cc CloseHandleWrapper fails. r=jimm
I'm not adding a patch to security/sandbox/chromium-shim/patches for this,
because we need to get this fixed ASAP, certainly before we take another update.
2018-03-28 16:07:15 +01:00
Cosmin Sabou 94d2d2f33f Backed out changeset ca46aca41fec (bug 1449072) for xpcshell failures on xpcshell/test_install.js. CLOSED TREE 2018-03-28 09:15:52 +03:00
Cosmin Sabou f75ec2fc9c Backed out changeset 3a8afc1650db (bug 1311145) for mochitest browser chrome failures on browser_all_files_referenced.js. 2018-03-28 08:33:41 +03:00
Ryan Hunt 2be42a45f6 Bug 1448485 - Remove assert in APZCallbackHelper and add comment about case it was triggered by. r=kats
MozReview-Commit-ID: IbXNISatv3Q

--HG--
extra : rebase_source : d88637454e58be5c18a1fa1dc0588a04eddc274c
2018-03-27 16:16:26 -05:00
Tom Prince 74bcf37b60 Bug 1447460: Mark some obsolete `mach taskgraph cron` parameters as ignored; r=dustin
Differential Revision: https://phabricator.services.mozilla.com/D814

--HG--
extra : rebase_source : c50bd800ca9cd09bf0cd1ec9f7eb19f20d1b0866
2018-03-27 10:30:02 -07:00
Tom Prince a96e438dc0 Bug 1447460: Add a slightly more descriptve owner for cron tasks; r=dustin
Differential Revision: https://phabricator.services.mozilla.com/D813

--HG--
extra : rebase_source : 30ce1b360bd43e1d48b72885a63eefb204464929
2018-03-27 10:32:13 -07:00
Ryan Hunt c371c4f33a Check if FilterNodeCapture was able to successfully validate (bug 1447428, r=bas)
--HG--
extra : rebase_source : e236b64a6733cddfb43caf83373dc8e874bcfb42
2018-03-26 12:48:57 -05:00
Henri Sivonen 828fac8d2c Bug 1448588 - Assume contiguous XPCOM strings in txDouble. r=peterv.
MozReview-Commit-ID: 9gDx13PNFWr

--HG--
extra : rebase_source : aeee559d77cab127a4f52a6e83455f6f41454f72
2018-03-24 21:24:25 +02:00
Xidorn Quan 65e2284ca0 Bug 1449103 part 3 - Merge ServoGroupRuleRules into GroupRule. r=emilio
MozReview-Commit-ID: 83rI7gydEUd

--HG--
extra : rebase_source : 79dcfe8f2fb3839130af1ed5833c6b8c57491e04
2018-03-28 12:25:36 +11:00
Xidorn Quan 637c9b2a86 Bug 1449103 part 2 - Make CSSKeyframesRule inherit from Rule directly. r=emilio
The spec doesn't say CSSKeyframesRule needs to inherit CSSGroupingRule.
It inherited GroupRule because Gecko's keyframes rule implementation
relies on that to manage its children.

MozReview-Commit-ID: CnVP2tozwQU

--HG--
extra : rebase_source : 63c61d7b7d003ff82bd73e183516f6076a2dafb6
2018-03-28 12:23:58 +11:00
Xidorn Quan 70a598f41e Bug 1449103 part 1 - Make Rule::mParentRule not necessarily a GroupRule. r=emilio
For part 2, where CSSKeyframesRule will inherit directly from Rule while
it is parent rule for its CSSKeyframeRules.

It seems there is nothing relying on mParentRule being a GroupRule so we
can just change it.

MozReview-Commit-ID: Cyte6h3Q2LB

--HG--
extra : rebase_source : 01ac2ab201a1438aa73eadc5cce0ea67e164ecce
2018-03-28 12:20:41 +11:00
Yusuf Simonson 41933109ad servo: Merge #20450 - Properly rethrow any exceptions from parsing JSON in Body mixin's `Json()` (from ysimonson:fix-13464); r=jdm
This fixes #13464 by rethrowing exceptions from parsing JSON.

- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors
- [X] These changes fix #__ (github issue number if applicable).
- [X] There are tests for these changes

Source-Repo: https://github.com/servo/servo
Source-Revision: 25dcd0ecfd4cb7a844f00696730cb0d3ab4b198c

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 6d221fe0611ecdbea8ff6c2f32d8d7621ddf27b7
2018-03-27 22:44:32 -04:00
Anthony Weston 07097ddab9 servo: Merge #20430 - Pass new method in CollectServoSizes to get size of ObjectPrivateVisitor (from aeweston98:aew-issue7084); r=jdm
<!-- Please describe your changes on the following line: -->
These changes are the servo changes to allow the measurement of DOM objects with the ObjectPrivateVisitor API. Two new functions have been added MemoryReporter and get_size, which are passed as function pointers to two updated mozjs functions. Currently these changes rely on a branch version of mozjs, which has an [open pull request](https://github.com/servo/rust-mozjs/pull/409).

---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: -->
- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors
- [X] These changes fix #7084 (github issue number if applicable).

<!-- Either: -->
- [ ] There are tests for these changes OR
- [x] These changes do not require tests because _____

<!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.-->

<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->

Source-Repo: https://github.com/servo/servo
Source-Revision: 339146ae1566fc35e47ccc4fba1471a9123d039d

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 61df47854e0fd7725b25202c298646f52f5b4b4b
2018-03-27 21:21:56 -04:00
Emilio Cobos Álvarez 32f0cfbe75 No bug - remove duplicated condition likely due to merge mess. r=me
MozReview-Commit-ID: AO7nmkUIs82
2018-03-28 03:17:59 +02:00
Jonathan Watt a86c2a4a02 Bug 1449565 - Remove the aGeckoParentRule parameter from css::Loader's InsertChildSheet and LoadChildSheet. r=emilio 2018-03-23 17:02:35 +00:00
Jonathan Watt 9e1dc4eece Bug 1449566 - Remove GenericSpecifiedValues::ShouldIgnoreColors. r=emilio 2018-03-23 16:40:12 +00:00
Jonathan Watt 41622cb3a7 Bug 1449321 - Remove the IsServo and IsGecko methods from the style system code. r=emilio 2018-03-23 16:01:34 +00:00
Jan de Mooij f8619a591f Bug 1445235 followup - Add some blank lines to appease masm style checker. r=red 2018-03-28 16:27:27 +02:00
Jan de Mooij b82103f0d5 Bug 1445235 part 6 - Use spectreBoundsCheck32 for more stores in JIT code. r=nbp 2018-03-28 16:09:04 +02:00
Jan de Mooij f9a2b1497d Bug 1445235 part 5 - Refactor spectreBoundsCheck32 to work without a scratch register. r=nbp 2018-03-28 16:07:11 +02:00
Jan de Mooij dc9c29ce20 Bug 1445235 part 4 - Remove RegisterOrInt32Constant. r=nbp 2018-03-28 16:07:10 +02:00
Jan de Mooij 920f8ad45f Bug 1445235 part 3 - Use Spectre-safe bounds check for LStoreTypedArrayElementHole. r=nbp 2018-03-28 16:07:10 +02:00
David Major 2c5d006825 Bug 1298383: Add default cases to appease clang-cl's -Wswitch. r=Bas 2018-03-28 09:56:30 -04:00
Nicolas Silva b9c3c7eeb7 Bug 1449242 - Don't delay image key deletions by an extra transaction. r=sotaro 2018-03-28 15:33:21 +02:00
André Bargull 07683220db Bug 1448839: Remove unused native version of Object.defineProperty. r=till
--HG--
extra : rebase_source : fe9afb47142134c6195c120fae1822915aef3165
2018-03-26 05:40:17 -07:00
André Bargull d963ea0581 Bug 1448837: Remove code to handle already set name now that parse nodes can no longer be emitted twice. r=arai
--HG--
extra : rebase_source : baf617f95b6fe7abf2699c02c2afb11dcbb9a95c
2018-03-28 05:45:21 -07:00
Jason Laster d132950204 Bug 1449362 - Update Debugger Frontend v29. r=jdescottes 2018-03-28 08:58:35 -04:00
André Bargull 61f80eae24 Bug 1448838: Add native version for CopyDataProperties. r=jandem 2018-03-27 13:56:20 -07:00
André Bargull e7a7eb2bdf Bug 1448582: Don't assert when overwriting the atom of cloned singleton functions. r=jorendorff 2018-03-27 09:20:58 -07:00
André Bargull 6394c4f568 Bug 1448836: Call NumberToAtom when argument is double value. r=jorendorff 2018-03-26 05:39:04 -07:00
André Bargull 0da51c0360 Bug 1448835: Remove scope chain walk unused since object parents removal. r=Waldo 2018-03-26 05:38:39 -07:00
Edouard Oger 42772c47b0 Bug 1448165 p3 - Migrate deviceId and deviceRegistrationVersion under device. r=markh
MozReview-Commit-ID: 5uWOyLGdCC1

--HG--
extra : rebase_source : d0b4c36a48fc3b17a294c7df5ee9748a849f4443
2018-03-22 14:36:49 -04:00
Edouard Oger b03a892251 Bug 1448165 p2 - Remove un-used ON_FXA_UPDATE_NOTIFICATION. r=markh
FxAccountsManager has been removed from the tree and now one else listened to
this event.

MozReview-Commit-ID: By7kkWbwBvW

--HG--
extra : rebase_source : 35b1ce32859e21b92d060835362400d1a356e81d
2018-03-22 13:32:10 -04:00
Edouard Oger d4d4e67f2f Bug 1448165 p1 - Simplify and factorize FxAccounts signout mechanism. r=markh
Since FxA's /session/destroy now also removes the current device registration,
there's no need to differenciate signouts w/ and w/o device registration.

MozReview-Commit-ID: 3lHV3JC1NU6

--HG--
extra : rebase_source : 3d5e7f456cfb3daf3c069b78a3c1c8182c6151ee
2018-03-22 11:54:38 -04:00
Gurzau Raul b85716429c Backed out changeset e3613e0e4fe2 (bug 1447193) for failing on tests/mochitest/test_mousecapture.xhtml on a CLOSED TREE 2018-03-29 04:51:04 +03:00
Kirk Steuber aa16d5c0ef Bug 1449681 - Fix bug where opensearch API is not always successfully blocked by policy r=Felipe
MozReview-Commit-ID: 7ZrmiMop9IB

--HG--
extra : rebase_source : a6477d659cc3567411f0ba9911e5667f3c0b4607
2018-03-28 12:28:06 -07:00
Tim Nguyen 9458999c51 Bug 1449118 - Force SVGs to load when running the twisty reftest. r=dholbert
MozReview-Commit-ID: HxU0B0Bxwgp

--HG--
extra : rebase_source : dabe4a34d31de13b7d2d42d054463ccef3020913
2018-03-28 21:38:31 +00:00
Kartikaya Gupta d6673c9aad Bug 1449620 - Extract an APZUpdater class from APZSampler. r=botond
The APZUpdater class holds the methods that are to be run on the updater
thread. Note that there are a few differences between the APZSampler and
APZUpdater classes - most notably, APZSampler no longer has a
"RunOnSamplerThread" function because there should never be any need to
dispatch runnables to the sampler thread. There is still a
RunOnUpdaterThread in APZUpdater, as well as a mechanism for dispatching
runnables to the controller thread via the updater thread.

MozReview-Commit-ID: LLVWzRyhYWl

--HG--
extra : rebase_source : d3d2ae18b40f24473cab5567a48b67b8f478a733
2018-03-28 18:36:42 -04:00