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

526163 Коммитов

Автор SHA1 Сообщение Дата
Brian Birtles c2591c2bd2 Bug 1347168 - Hold on to animation elements while compositors might refer to their animation functions; r=dholbert
MozReview-Commit-ID: 1SH546Iu2FK
2017-03-21 08:47:46 +09:00
Nicholas Nethercote fa5cfb7c00 Bug 1348374 - Remove paf_child(). r=jseward.
It's not necessary and causes hangs.

The patch also inlines setup_atfork() and moves the Linux-only code closer to
the Linux-only PlatformInit(), and tweaks the comments a bit.

--HG--
extra : rebase_source : 0db23d649d9468b9308b881c0bbf5ea25a95ea13
2017-03-21 09:52:15 +11:00
Lars T Hansen 0b8809d15a Bug 1343007 - Wasm test case for signed modulo. r=luke
--HG--
extra : rebase_source : bfb6d2b0e5231f38fc1344c21eadd2a7e39c49c2
extra : source : 2eafb56b2e769fcde58038c48b728cea6085ad58
2017-03-14 17:33:00 +01:00
Lars T Hansen 63c911dcf5 Bug 1342121 - Remove ARM MacroAssembler's dependence on HeapReg. r=bbouvier
--HG--
extra : rebase_source : 69b4ea2fec5d4ca694b27897cd64181a5259e186
2017-03-14 09:43:40 +01:00
Lars T Hansen 7acdd370ed Bug 1347128 - common implementation of AtomicOperations for tier-3 platforms. r=waldo
--HG--
rename : js/src/jit/none/AtomicOperations-ppc.h => js/src/jit/none/AtomicOperations-feeling-lucky.h
extra : rebase_source : f862347dcba4f4235037a9dfa89174da8a2acb29
2017-03-14 13:34:25 +01:00
Jan de Mooij ccd5c8aec0 Bug 1348905 part 3 - Make SetNativeDataProperty skip the type barrier if the IC knows we don't need one. r=h4writer 2017-03-21 09:12:18 +01:00
Jan de Mooij 8b151137b8 Bug 1348905 part 2 - Clean up and fix HasTypePropertyId. r=h4writer 2017-03-21 09:11:36 +01:00
Jan de Mooij bd9643245f Bug 1348905 part 1 - Remove unnecessary IsPreliminaryObject check so we attach megamorphic setprop stubs in more cases. r=h4writer 2017-03-21 09:10:38 +01:00
lochang 79448e55da Bug 1311586 - Implement method |PPB_PDF::Print|. r=brsun
From eb817ace782f0c7deb420e61c5d9d6185c665e28 Mon Sep 17 00:00:00 2001
---
 .../mortar/host/common/ppapi-runtime.jsm           | 205 +++++++++++++++++++++
 .../mortar/host/pdf/chrome/js/toolbar.js           |   4 +
 .../mortar/host/pdf/chrome/js/viewport.js          |   6 +
 .../mortar/host/pdf/ppapi-content-sandbox.js       |  70 +++++++
 4 files changed, 285 insertions(+)
2017-03-14 15:22:07 +08:00
Stone Shih 4b7b8ff6a2 Bug 1348732 - Let EventSource correctly fallback to main thread when retargeting to worker thread failed. r=baku
MozReview-Commit-ID: EUqzAKfeRZA
2017-03-20 16:53:41 +08:00
Fabien Casters 7b53fcdbb6 Bug 1325988 - Fix ESLint issues in devtools/server/tests/mochitest/ r=tromey
MozReview-Commit-ID: BFaOv5i5Tun

--HG--
extra : rebase_source : 5c2b5d1867eb5b48c56725b87d71dae72a83eb34
2017-03-13 21:15:44 +01:00
Simon Sapin 33a9e6d050 servo: Merge #16014 - Per-process lock for CSSOM objects (from servo:style-ref); r=emilio
<!-- Please describe your changes on the following line: -->

Before this PR, every object reflected in CSSOM is in `Arc<RwLock<_>>` to enable safe (synchronized) mutable aliasing. Acquiring all these locks has significant cost during selector matching:

* https://bugzilla.mozilla.org/show_bug.cgi?id=1311469
* https://bugzilla.mozilla.org/show_bug.cgi?id=1335941
* https://bugzilla.mozilla.org/show_bug.cgi?id=1339703

This PR introduce a mechanism to protect many objects with the same `RwLock` that only needs to be acquired once.

In Stylo, there is one such lock per process (in a `lazy_static`), used for everything.

I non-Stylo Servo, I originally intended to have one such lock per document (for author-origin stylesheets, and one per process for user-agent and user sytlesheets since they’re shared across documents, and never mutated anyway). However I failed to have the same document-specific (or pipeline-specific) `Arc` reachable from both `Document` nodes and `LayoutThread`. Recursively following callers lead me to include this `Arc` in `UnprivilegedPipelineContent`, but that needs to be serializable. So there is a second process-wide lock.

This was previously #15998, closed accidentally.

---
<!-- 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
- [ ] These changes fix #__ (github issue number if applicable).

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

<!-- 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: bb54f0a429de0e8b8861f8071b6cf82f73622664

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 851230e57ac8775707df5f0f103be5feac81fc41
2017-03-19 14:31:19 -07:00
Emilio Cobos Álvarez 3fad952356 Bug 1341102: Adjust expectations for servo/servo#15604 and servo/servo#16028. r=me
MozReview-Commit-ID: 9c8jmRqvVEz
2017-03-19 20:58:48 +01:00
Zach Ploskey 7256c106ea servo: Merge #15604 - serialize font: to empty on non-default subprops (from zploskey:reset_font_shorthand_serialization); r=SimonSapin
Fixes font shorthand serialization so that it serializes to "" when non-default subproperties are defined. These subproperties are those defined in #15033.

Adds tests:
- font_should_serialize_to_empty_if_there_are_nondefault_subproperties
- font_should_serialize_all_available_properties

The second test was previously commented out and underwent some cleanup to make it run.

---
<!-- 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 #15036

<!-- Either: -->
- [X] There are tests for these changes

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

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 8959c42e64687d29f982cfacf0ec4bd064b535d4
2017-03-19 08:26:43 -07:00
Kaku Kuo 229d7c8d86 Bug 1348237 part 3 - add a gtest to test the overflow case; r=jwwang
MozReview-Commit-ID: Fv6MjKjoRxd

--HG--
extra : rebase_source : acdf3e6799819a3664294fa125a88c3d3a41aec4
2017-03-17 16:54:05 +08:00
Kaku Kuo b09416d50a Bug 1348237 part 2 - move declaration of BlankDecoderModule into a header file; r=jwwang
So that we can write gtests easily at next patch.

MozReview-Commit-ID: 8ZWVYO1hDOW

--HG--
extra : rebase_source : 8c3523b06fe284376d59914ecfa3791a91930fc2
2017-03-17 16:53:21 +08:00
Kaku Kuo c819daf588 Bug 1348237 part 1 - prevent overflow in BlankVideoDataCreater; r=jwwang
MozReview-Commit-ID: D5BZIfpZjD3

--HG--
extra : rebase_source : 263394e6057415551e9eb36bc3c74daa33a93c30
2017-03-17 16:20:08 +08:00
k88hudson a01488052d Bug 1348124 Update RemotePageManager to expose portId on public interface r=mossop
MozReview-Commit-ID: BYCI9zi6YLh

--HG--
extra : rebase_source : ba6cef5cb137138d786d932464bddc9466a889cc
2017-03-17 12:57:30 -04:00
Tomislav Jovanovic 6ec248d32c Bug 1339559 - Enable no-mixed-operators ESLint rule r=kmag
MozReview-Commit-ID: LjuiizBh1OK

--HG--
extra : rebase_source : 0423cca6e47ed593ec79d56c96a16f63628b15d1
2017-03-17 14:28:14 +01:00
Tomislav Jovanovic 8dd875bed5 Bug 1339559 - Identify script that resulted in non-structured-clonable data r=kmag
MozReview-Commit-ID: AURB4Qpwimh

--HG--
extra : rebase_source : 51c70e2d18745c49494b2dead4b5863eba88c08b
2017-03-13 09:04:45 +01:00
Sebastian Hengst e1b539510a merge mozilla-central to autoland. r=merge a=merge 2017-03-19 16:37:31 +01:00
Sebastian Hengst 557f236c19 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: 3NxyjkZ2h59
2017-03-19 16:26:07 +01:00
Sebastian Hengst 4d62224a76 merge autoland to mozilla-central. r=merge a=merge
MozReview-Commit-ID: 7moPYlC25sE
2017-03-19 16:23:54 +01:00
ffxbld cd43949ff3 No bug, Automated HPKP preload list update from host bld-linux64-spot-022 - a=hpkp-update 2017-03-19 08:13:10 -07:00
ffxbld 076dd6fc40 No bug, Automated HSTS preload list update from host bld-linux64-spot-022 - a=hsts-update 2017-03-19 08:13:07 -07:00
Simon Sapin fae5836560 servo: Merge #16029 - Remove never-sent ReflowWithNewlyLoadedWebFont message, fix #16026 (from servo:dead-code); r=nox
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix #16026 (github issue number if applicable).

Source-Repo: https://github.com/servo/servo
Source-Revision: 058b93640f03a8ba434e54f891a4d51d79965c8c

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : bbc94cb1f679a587dd86c267b07258384a75fb14
2017-03-19 05:48:39 -07:00
Ehsan Akhgari 04baed23ba Bug 1346987 - Part 3: Stop using the PContent::Msg_OpenAnonymousTemporaryFile sync IPC message for media encoder; r=cpearce 2017-03-19 01:42:02 -04:00
Ehsan Akhgari e414903d6e Bug 1346987 - Part 2: Stop using the PContent::Msg_OpenAnonymousTemporaryFile sync IPC message for blob storage; r=baku 2017-03-19 01:42:01 -04:00
Ehsan Akhgari 4482865081 Bug 1346987 - Part 1: Introduce the asynchronous ContentChild::AsyncOpenAnonymousTemporaryFile() API; r=billm 2017-03-19 01:42:00 -04:00
Tooru Fujisawa 32cff5d448 Bug 1344477 - Part 2: Optimize Array.prototype.splice with JSOP_NORVCALL. r=jandem 2017-03-19 14:16:36 +09:00
Nazım Can Altınova 86953ca362 Bug 1341642 - Update test_selectors.html for better test coverage and update test expectations r=Manishearth
MozReview-Commit-ID: 54BtnYJ85PK
2017-03-18 15:07:24 -07:00
Nazım Can Altınova 4865b9f2a6 servo: Merge #16028 - Stylo: Add support for -moz-* pseudo-classes for alt text (from canaltinova:pseudos-for-alt); r=Manishearth
<!-- Please describe your changes on the following line: -->

---
<!-- 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 [Bug 1341642](https://bugzilla.mozilla.org/show_bug.cgi?id=1341642)

<!-- Either: -->
- [X] These changes do not require tests because they are stylo changes.

<!-- 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: a2c33ac6e6e18c186e9af45274a7b8499ba1bc4c

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 9aeaa20c216e7d4c7fb5726b64c2deef33a27f90
2017-03-18 13:45:01 -07:00
Sebastian Hengst c9f5cc6b45 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: 8nsStTZt40O
2017-03-18 16:24:53 +01:00
Sebastian Hengst b65c89dc29 merge autoland to mozilla-central. r=merge a=merge
MozReview-Commit-ID: LKBh8rimLx2
2017-03-18 16:16:20 +01:00
ffxbld ce7c4bf1e0 No bug, Automated HPKP preload list update from host bld-linux64-spot-022 - a=hpkp-update 2017-03-18 08:07:40 -07:00
ffxbld 3b9e9a6e0f No bug, Automated HSTS preload list update from host bld-linux64-spot-022 - a=hsts-update 2017-03-18 08:07:37 -07:00
Cameron McCormack 3d324159b0 Bug 1347838 - stylo: Don't resolve images in nsStyleContentData objects twice. r=manishearth
MozReview-Commit-ID: 7KQykNEmZYp

--HG--
extra : rebase_source : 9a232112d5b377a59848e86657fca4d520e7bd2e
2017-03-18 15:10:51 +08:00
Ehsan Akhgari f4a03626ab Bug 1347400 - Add telemetry for imgLoader::LoadImage(); r=mystor,francois 2017-03-17 21:19:21 -04:00
Jeff Gilbert a0ef36e101 Bug 1347679 - Determine ContextProfile from driver and simplify version parsing. - r=daoshengmu
MozReview-Commit-ID: 4mBdJmsxQvD
2017-03-17 17:02:01 -07:00
Kris Maglione 31f241c6ca Bug 1333990: Follow-up: Return before wrapping result value on error. r=bz
MozReview-Commit-ID: AwGVr3gjzd0

--HG--
extra : rebase_source : 4987a60520941665b9fc6c0242d7f34ce43a060b
2017-03-17 14:34:55 -07:00
Kris Maglione 208527f994 Bug 1333990: Follow-up: Clarify documentation for PrecompiledScript bindings. r=bz
MozReview-Commit-ID: iDyic5hkgy

--HG--
extra : rebase_source : 7b2626280d0f3d97f781543af487bf914c2ac035
2017-03-17 13:58:00 -07:00
Kris Maglione b3d00ca35b Bug 1333990: Follow-up: Use safer conversion functions when creating error message JS strings. r=bz
MozReview-Commit-ID: FimoWFIgUxL

--HG--
extra : rebase_source : 7b9193ac1c12dc96b269ee3dea167edc4051669f
2017-03-17 16:53:04 -07:00
Kris Maglione 4af9951cec Bug 1333990: Follow-up: Use Promise& rather than OwningNonNull<Promise> for binding arguments. r=bz
MozReview-Commit-ID: 23aYwjCPJ6l

--HG--
extra : rebase_source : ccaa13b20a2e7a52395ccee1bc2ef8bcb39448cf
2017-03-17 13:55:27 -07:00
Kris Maglione f446374619 Bug 1333990: Follow-up: Add cycle collection and comments where unnecessary. r=bz
MozReview-Commit-ID: 70omvafFFFH

--HG--
extra : rebase_source : 4815476110a4eaf071241c3d98fc579c4d3f6dd5
2017-03-17 13:54:32 -07:00
Dylan Roeh e9e8faf6a8 Bug 1345267 - Check NEON compatibility in BrowserApp/GeckoApp.onCreate() and fail with an appropriate error message if necessary. r=jchen 2017-03-17 18:38:54 -05:00
Eric Rahm b8b8dd4a0c Bug 1348123 - Add release bounds checking when inserting and replacing. r=froydnj
This adds release bounds checking to ReplaceElementsAt, InsertElementAt, and
InsertElementsAt to make sure the insertion point is within the current array
bounds.

MozReview-Commit-ID: 1pFr8LuOROI
2017-03-17 16:40:53 -07:00
Sebastian Hengst b292757fb7 Bug 1348416 - Update pdf.js to version 1.7.367: Use shiny new complex string pref getter and setter. r=eslint-fix 2017-03-17 23:37:33 +01:00
Wes Kocher ee28f4ee71 Merge inbound to central, a=merge
MozReview-Commit-ID: Fq7B78wD7Wv
2017-03-17 11:03:59 -07:00
Wes Kocher 85a356a38f Merge autoland to central, a=merge
MozReview-Commit-ID: EtI9SIdmuhQ
2017-03-17 10:59:49 -07:00
Deepa 4dae2debd4 Bug 1344741 - Update TelemetrySend.jsm to async function & await. r=gfritzsche 2017-03-17 22:26:25 +05:30