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

545201 Коммитов

Автор SHA1 Сообщение Дата
ffxbld a1aa8b434a No bug, Automated HPKP preload list update from host bld-linux64-spot-301 - a=hpkp-update 2017-07-01 08:42:21 -07:00
ffxbld 688fcf9801 No bug, Automated HSTS preload list update from host bld-linux64-spot-301 - a=hsts-update 2017-07-01 08:42:18 -07:00
Robert Longson 57cdb660f1 Bug 1374861 - add const keyword where appropriate. r=birtles 2017-07-01 10:55:27 +01:00
Nicholas Nethercote 3e439bb4f8 Bug 1376638 - Minimize uses of prmem.h. r=glandium.
It's silly to use prmem.h within Firefox code given that in our configuration
its functions are just wrappers for malloc() et al. (Indeed, in some places we
mix PR_Malloc() with free(), or malloc() with PR_Free().)

This patch removes all uses, except for the places where we need to use
PR_Free() to free something allocated by another NSPR function; in those cases
I've added a comment explaining which function did the allocation.

--HG--
extra : rebase_source : 0f781bca68b5bf3c4c191e09e277dfc8becffa09
2017-06-30 19:05:41 -07:00
Lars T Hansen ac3f3bb121 Bug 1377518 - Support wasm opcode prefixes, and use the reserved FF prefix for internal asm.js opcodes. r=sunfish
--HG--
extra : rebase_source : 2559f595c3ebd6bd7894bbaeddb24fcc2a4267b8
2017-06-30 14:56:07 -07:00
Tom Schuster 62dbe0378c Bug 1370639 - Make the compiler warn about missing opcodes in Ion/Baseline. r=tcampbell 2017-07-02 18:41:56 +02:00
Andreas Farre 132ec026c3 Bug 1362322 - Throttle background timeouts using budget. r=bkelly
Deduct timeout execution time from a continuously regenerating
execution budget. Then throttle timeouts by using that budget in
TimeoutManager::MinSchedulingDelay to adjust the minimum value if
the budget is negative. The minimum value is adjusted to be a
value where the budget would have regenerated to be +0 ms.

The execution budget is clamped by values in ms defined in prefs:

* dom.timeout.background_throttling_max_budget: 50
* dom.timeout.foreground_throttling_max_budget: -1

A value equal or less than 0 means that the budget is infinite.

The regeneration rate can be controlled by the following prefs:

* dom.timeout.background_budget_regeneration_rate
* dom.timeout.foreground_budget_regeneration_rate

one each for foreground and background throttling.

To not starve timeouts indefinitely we clamp the minimum delay using
the pref:

* dom.timeout.budget_throttling_max_delay: 15000

The feature is behind the pref:

* dom.timeout.enable_budget_timer_throttling
2017-07-02 18:02:38 +02:00
Andreas Farre f1473c65d1 Bug 1377215 - Add WebSocketEventService::Get. r=mcmanus 2017-07-02 18:02:37 +02:00
Wes Kocher 62d8e4f4fa Backed out changeset f8a62747c51c (bug 1338651) for valgrind issues a=backout 2017-06-30 14:45:26 -07:00
Kartikaya Gupta e436c26203 Bug 1370089 - Assume APZ is enabled in TabChild if we are queried before we have the compositor options. r=dvander a=bustage
MozReview-Commit-ID: KHvAvGCQQUr

--HG--
extra : source : 4ded92f42403ecd4582638f2209c534e64350c60
2017-06-30 14:51:33 -04:00
Bevis Tseng f0e932a3f9 Bug 1377484 - Label the use of NS_NewInputStreamPump in CacheScriptLoader. r=bkelly 2017-06-30 10:52:06 -07:00
Dylan Roeh e11705f181 Bug 1356921 - Enable SENSOR_ROTATION_VECTOR for DeviceOrientation events. r=esawin 2017-06-30 10:27:24 -07:00
Dylan Roeh e3ea7958ac Bug 1370591 - Remove intent handling from GeckoProfile. r=snorp
Have BrowserApp.onCreate() send the intent args string to GeckoProfile, and
store it to use in GeckoProfile.get() calls rather than accessing the intent
directly from GeckoProfile.
2017-06-30 14:01:45 -07:00
Marco Castelluccio 7c833da65d Bug 1229277 - Introduce a map to match JSScript to script filenames instead of relying on ScriptSourceObject. r=nbp,jonco
--HG--
extra : rebase_source : 1c0c5cc201785e78dcae55313e9e25a1c862d7e1
2017-07-03 11:50:33 +02:00
vincentliu 5eb2117b57 Bug 1371546 - Sync with the render thread when ShutDown() was called in main thread. r=nical, jerry 2017-07-03 20:08:22 +08:00
Dragana Damjanovic dd.mozilla@gmail.com 605fc07348 Bug 1377004 - TCP FastOpen trying to narrow down a bug search 2. r=mcmanus 2017-07-03 12:50:03 +02:00
Sebastian Hengst 274770803e Backed out changeset 8597b133717f (bug 1377004) for crashing many tests with mozilla::net::nsHttpConnectionMgr::nsHalfOpenSocket::SetFastOpenConnected. r=backout on a CLOSED TREE 2017-07-03 11:31:16 +02:00
Carsten "Tomcat" Book 2aefedb342 Merge mozilla-central to mozilla-inbound 2017-07-03 11:01:38 +02:00
Dragana Damjanovic dd.mozilla@gmail.com 1f4bf966d7 Bug 1376914 - Make nsConnecionEntry weak reference in nsHalfOpenSock. r=mcmanus 2017-07-03 10:52:46 +02:00
Dragana Damjanovic dd.mozilla@gmail.com 2d08e4a243 Bug 1377004 - TCP FastOpen trying to narrow down a bug search 2. r=mcmanus 2017-07-03 10:48:48 +02:00
Franziskus Kiefer 2e41bcc0ca Bug 1370890 - land NSS 825e5d444e99 UPGRADE_NSS_RELEASE, r=me 2017-07-03 10:18:45 +02:00
Christoph Kerschbaumer f5cc030d01 Bug 1377565 - Rewrite html/browsers/the-window-object/window-named-properties.html to conform with data: URI inheritance model. r=annevk 2017-06-30 14:13:01 -07:00
JW Wang c1d11b49ba Bug 1377370. P3 - remove HLS related code from MediaResource.cpp. r=kikuo
MozReview-Commit-ID: FnZEMNDjjmE

--HG--
extra : rebase_source : 5035a91206da73ab2d8c76d99789ec6ca89ce679
extra : source : c4be1a0fd151c5da20a959da05bdf2246c46a487
2017-06-30 10:22:36 +08:00
JW Wang b02249e698 Bug 1377370. P2 - simplify HLSDecoder::Clone() for HLSResource doesn't support clone at all. r=kikuo
MozReview-Commit-ID: FxebHdK4EmM

--HG--
extra : rebase_source : d1074b8e5edf646244922a734839c19f8a4fb1b4
extra : source : 418066ce151ef0e5dc4b817f8663c281fc5fcc0d
2017-06-30 10:20:32 +08:00
JW Wang 7d2785b4a8 Bug 1377370. P1 - let HLSDecoder override Load() so it can create an HLSResource directly without going through MediaResource::Create(). r=kikuo
MozReview-Commit-ID: BL8bt2JtKfa

--HG--
extra : rebase_source : 70231ab332fee2316e86aa73e834f108183b23d8
extra : source : e97125ebc28890e0d538c4ef4d8abc9232e69bac
2017-06-30 10:11:42 +08:00
Keith Yeung 865bf7b978 servo: Merge #17591 - Update rust-url to 1.5.1 (from KiChjang:update-url); r=jdm
Source-Repo: https://github.com/servo/servo
Source-Revision: 2c369815c42a9db2dad2da28db0247d4a8ec42b9

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 12770538ff24ea247f11b58543eff24f292bb4de
2017-07-02 17:40:50 -07:00
Jonathan Chan 197cec7550 servo: Merge #17483 - mach: Fail properly if we can't find the path for OSMesa or GLAPI (from jyc:fail-properly); r=wafflespeanut
Currently we check `if not (osmesa_path and glapi_path)` after using
`path.join`. It seems we actually want to check whether
`find_dep_path_newest` returns something, because if calls to that
function fail, we'll instead get an error from `path.join` about
`NoneType` not having attribute `endswith` (it expects a string), which
preempts this check.

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

<!-- Either: -->
- [ ] There are tests for these changes OR
- [X] These changes do not require tests because this is a change to `./mach` (are there tests for that?)

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

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 76a0c145e112b85a22404a7229e370edece3b92e
2017-07-02 14:17:50 -07:00
Emilio Cobos Álvarez f2f6c6b1cd Bug 1372041: Assert we're on the main thread when addreffing/releasing stylesheets. r=me
MozReview-Commit-ID: 6ccJB6YFcpF
2017-07-02 19:22:37 +02:00
Emilio Cobos Álvarez 685504c886 Bug 1372041: Further update test expectations. r=heycam
These were reviewed on the bug, but I accidentally filtered them out when
splitting patches.

MozReview-Commit-ID: 2Db8cUneO3M
2017-07-02 19:22:36 +02:00
Emilio Cobos Álvarez b494225a5c Bug 1372041: Test for 1376092, while we're here. r=heycam
MozReview-Commit-ID: 9khZKso0HKi
2017-07-02 17:19:12 +02:00
Emilio Cobos Álvarez ef84c4da2b Bug 1372041: Test. r=heycam
MozReview-Commit-ID: DFNTdMxK3sT
2017-07-02 17:19:11 +02:00
Emilio Cobos Álvarez cc52408041 Bug 1372041: Update test expectations. r=heycam
MozReview-Commit-ID: 1c6nxk65OgE
2017-07-02 17:19:09 +02:00
Emilio Cobos Álvarez aa8fc8476c Bug 1372041: Refactor @import so it also respects the stylesheet's media properly. r=heycam
MozReview-Commit-ID: EBmd8nG877t
2017-07-02 17:19:08 +02:00
Emilio Cobos Álvarez f16a67fdd4 Bug 1372041: Refactor a bunch of stuff so link rel="media" is honored. r=heycam
This still leaves one annoying refactoring of @import so we also fix it for
them.

MozReview-Commit-ID: 4s0WExDEH75
2017-07-02 17:19:07 +02:00
Emilio Cobos Álvarez 4a61df03b0 servo: Merge #17590 - stylo: Fix StyleSheetInner/Stylesheet mapping (from emilio:gecko-inner); r=heycam
Fixes https://bugzilla.mozilla.org/show_bug.cgi?id=1372041 and all the dependent/related issues.

Source-Repo: https://github.com/servo/servo
Source-Revision: 545a53ccadd3ca37330e1ee8ad0ca926af5c9c5a

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : ecdb2146ce21336de525d3873f7a6956a08ff6dc
2017-07-02 07:00:39 -07:00
Anthony Ramine 9aeb64dc96 servo: Merge #17576 - Merge BoxShadowList and TextShadowList into ShadowList<T> (from servo:derive-all-the-things); r=SimonSapin
Source-Repo: https://github.com/servo/servo
Source-Revision: edb0dafefcdf0285c9bde443c77a17ea2ce7679b

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 7c25294fb06f976cc91ec9d83e5b0c85269a6d3a
2017-07-02 05:59:34 -07:00
odeits 8691dea001 servo: Merge #17588 - Fix warn stable_features (from odeits:patch-1); r=SimonSapin
struct_field_attributes has been stable since 1.20.0. Attribute no longer needed.

<!-- 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: -->
- [ ] `./mach build -d` does not report any errors
- [ ] `./mach test-tidy` does not report any errors
- [ ] These changes fix #__ (github issue number if applicable).

<!-- Either: -->
- [ ] There are tests for these changes OR
- [x] These changes do not require tests because this fixes a compiler warning only by removing a feature flag

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

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 282a6adb57bfc4fedf8a991b29cb480fb5464464
2017-07-02 03:11:02 -07:00
Nathan Froyd eafe4905bb Bug 1376392 - do a more thorough check for git checkouts of mozilla-central in bootstrap; r=rillian
When determining the path of a possible mozilla-central checkout,
bootstrap currently considers the existence of a `.git` directory as
sufficient proof that the containing directory is a git checkout.
Unfortunately, if you happen to execute standalone bootstrap from a git
checkout of something else, you're gonna have a bad time.

To prevent this, check for the existence of a moz.configure file.  This
is not an ideal proof, but it is better than what we currently have.
2017-06-29 19:26:23 -04:00
Jon Coppeard d06f7018c0 Bug 1377368 - Support allocating foreground finalized proxies in the nursery r=sfink 2017-06-30 17:31:11 -07:00
Ethan Lin 82a7c2b5e4 Bug 1372118 - Part3. Implement CreateWebRenderCommands for text, transform and background color. r=jrmuizel, r=kats
MozReview-Commit-ID: JRoSjygSFHc
2017-06-30 17:23:20 -07:00
Ethan Lin 17960f3f3e Bug 1372118 - Part2. Use new interface of CreateWebRenderCommands for non-image display items. r=jrmuizel, r=kats
MozReview-Commit-ID: BcmRjQhDEyf
2017-06-30 17:23:20 -07:00
Ethan Lin de600bafd7 Bug 1372118 - Part1. Have a path to create WebRender commands without layers. r=jrmuizel, r=kats, r=mattwoodrow
MozReview-Commit-ID: 7iOW9rEtwur
2017-06-30 17:23:20 -07:00
sotaro 178043d1da Bug 1357734 - Change argument of DisplayListBuilder::PushBorder() to bypass compiler bug r=jrmuizel
Visual Studio 2015 Update 3 has a bug that PGO build generates movaps to unaligned address. The patch just bypasses the compiler bu
2017-06-30 16:22:25 -07:00
David Anderson bea091ec98 Add a reftest for bug 1377303. r=mattwoodrow
--HG--
extra : rebase_source : deb6c86702311b4af9326a6ddacebcb602dc124c
2017-06-30 15:36:13 -07:00
Ryan VanderMeulen 09553f3b2e Bug 1377586 - Update pdf.js to version 1.8.507. r=bdahl 2017-06-30 18:38:42 -04:00
Wander Lairson Costa c0abc737f5 Bug 1338651: Change docker image home dir to /build. r=dustin,mshal a=hopefullyavoidingmergebustagelater
Using /home/worker is the build directory has a 30% talos performance
loss, because test machines has a /home mount directory.

MozReview-Commit-ID: zehcGJrUQX

--HG--
extra : source : feedcde68c2a54da210f03eb287ab5c862fc982b
extra : intermediate-source : 485d1af7805ad9fa0e701c3571fc1291fbfc6850
2017-06-29 15:45:01 -07:00
JerryShih 309a5411d4 Bug 1374548 - Implement the frame selection in BasicImageLayer. r=mattwoodrow a=relanding
The BasicImageLayer always picks the first frame in image container which is not desired for video playback.

MozReview-Commit-ID: q4QkBT2a7w
2017-06-30 11:57:14 -07:00
Wes Kocher 3483bcf612 Backed out changeset 85099e5d1e2a (bug 1374548) for being the likely cause of the spike in crashes from bug 1370089 a=backout 2017-06-30 10:45:51 -07:00
ffxbld dde5c48035 No bug, Automated HPKP preload list update from host bld-linux64-spot-306 - a=hpkp-update 2017-06-30 08:49:21 -07:00
ffxbld 68f3156646 No bug, Automated HSTS preload list update from host bld-linux64-spot-306 - a=hsts-update 2017-06-30 08:49:18 -07:00