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

588065 Коммитов

Автор SHA1 Сообщение Дата
Nupur Baghel fff9aa307c servo: Merge #20434 - Typed array support for XMLHttpRequest's send API (from nupurbaghel:typed-array-xml); r=jdm
<!-- 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 #20343

<!-- Either: -->
- [x] Updated some tests for these changes

<!-- 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: 0c148809c1528a969f80f205dce570a5db606374

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : e3dc749e3f9aa4e03199e86564b6d9b63457a753
2018-03-29 02:02:37 -04:00
Julian Descottes 50d1673187 Bug 1448499 - Destroy deviceFront when destroying the toolbox;r=jryans
MozReview-Commit-ID: IMlKbiaUKu7

--HG--
extra : rebase_source : 746806af98af61f3db7aea732654c766c594bd03
2018-03-23 23:19:36 +01:00
Maja Frydrychowicz 8bccddc2a4 Bug 1447844 - Disable modifier click tests; r=whimboo
MozReview-Commit-ID: F3aXpxZq8Ht

--HG--
extra : rebase_source : 44a8dce7a998c2bf0b521a7ba25bbe745ea05ad1
2018-03-28 12:10:18 -04:00
Xidorn Quan 3e1eaab1ee Bug 1449798 - Remove GenericSpecifiedValues::ShouldComputeStyleStruct and mSIDs. r=emilio
This was useful because nsRuleData in the old style system may not hold
all the data, but the only subclass ServoSpecifiedValues is always able
to hold any data, and thus passes NS_STYLE_INHERIT_MASK to mSIDS. Given
this, this method and mSIDs seems to be useless and can be removed.

MozReview-Commit-ID: 4vWcV4DRS2i

--HG--
extra : rebase_source : 4f364d431821e29838082e391c6dde08af7f5343
2018-03-29 12:39:07 +11:00
Edouard Oger 9c4356e89b Bug 1448165 p4 - Remove skipDeviceRegistration pref. r=markh,tcsc
MozReview-Commit-ID: Ktibgc7SPfo

--HG--
extra : rebase_source : 2282bfd450baf1f1937d8bcbb9d7faff85100eba
2018-03-28 15:15:31 -04: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
Bastien Orivel bb7f1ae6d9 servo: Merge #20468 - Fix style/build_gecko.rs for log 0.4 on a CLOSED TREE (from Eijebong:fix_log); r=mbrubeck
Fix style/build_gecko.rs for log 0.4

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

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 554579cfa9710b847cbcf309927cb85735ff6aa6
2018-03-28 17:18:31 -04:00
Marcin Mielniczuk cd3af521de servo: Merge #20246 - Use higher level handles from JS bindings (from marmistrz:test-lifetime-handles); r=jdm
…reak servo

<!-- 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 https://github.com/servo/rust-mozjs/issues/153

<!-- Either: -->
- [ ] There are tests for these changes OR
- [x] These changes do not require tests because this is just migration to a lifetimed API
<!-- 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: 914952487bcbba0a31db8aefc4a9487903721959

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 42a821264f87e446c0ea44718656b99fb2c3541c
2018-03-28 16:22:01 -04:00
David Keeler d8435632fc bug 1424311 - don't persist the certificate exception dialog's size so it doesn't grow unboundedly r=jcj
window.sizeToContent() apparently interacts poorly with windows that have a
persisted size (see bug 90276, which is a 5-digit bug that hasn't been touched
in over a decade). As a workaround, don't persist the certificate exception
dialog's size. This means we have to call window.sizeToContent() more often and
unfortunately results in the window growing and shrinking again on Windows, but
at least it will always be the "right size" for its content.

MozReview-Commit-ID: 9UT3X8IEqZg

--HG--
extra : rebase_source : 9d968748bd77328eea4ae11e1ae746de9401fb4d
2018-03-28 13:43:03 -07:00
Mike Shal 379ad678f3 Bug 1449623 - Export MOZ_BUILD_DATE for buildid.h; r=chmanchester
MozReview-Commit-ID: HnlTcIKQwJC

--HG--
extra : rebase_source : 912a6dd3d2cf5e4761c4ae602e2d952a4e79c36f
2018-03-28 14:30:02 -04:00
Mike Shal 40c491ba27 Bug 1449623 - Rework exports in the tup backend; r=chmanchester
In some cases we need to export other environment variables, so make it
easier to track them.

MozReview-Commit-ID: 82OOlRTdhH0

--HG--
extra : rebase_source : 1256098d1bdae9ab13bfe5a149ee33d509ead3f4
2018-03-27 17:26:56 -04:00
Mike Conley 6424c99346 Bug 1447193 - Remove all displayport suppression logic from AsyncTabSwitcher. r=dthayer
It looks like TabChild::RenderLayers already does the work of suppressing the displayport,
so all of the suppression and bookkeeping that AsyncTabSwitcher is doing is superfluous
and probably opening us up to weird graphical glitches (like the one associated with this
bug).

MozReview-Commit-ID: 5qIVguSMsnr

--HG--
extra : rebase_source : 35f944a324415401c4a28ed0006baf9361ef73c8
2018-03-23 16:10:17 -04:00
Andrew Halberstadt 9e33bd488e Bug 1448533 - Honour the 'test.format' machrc config setting in |mach xpcshell-test|, r=gbrown
Since |mach xpcshell-test| was already defaulting to the 'mach' format, this will be a no-op
for most people. For anyone who had:

[test]
format=tbpl

in their machrc file, this will start working for xpcshell tests.

MozReview-Commit-ID: LwIlh0lefN6

--HG--
extra : rebase_source : 5231e18c57e1aa3aacbc6d332127b7c9e2f9111f
2018-03-26 11:51:21 -04:00
Gurzau Raul caf04b916e Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-03-29 00:59:08 +03:00
Gurzau Raul d117255a14 Merge inbound to mozilla-central. a=merge 2018-03-29 00:55:16 +03:00
Gurzau Raul c6706798ae Merge autoland to mozilla-central. a=merge 2018-03-29 00:53:43 +03:00
ffxbld 3a0bbe90a6 No bug, Automated HPKP preload list update from host bld-linux64-spot-324 - a=hpkp-update 2018-03-28 13:43:42 -07:00
ffxbld cb9393f7c7 No bug, Automated HSTS preload list update from host bld-linux64-spot-324 - a=hsts-update 2018-03-28 13:43:38 -07:00
Csoregi Natalia 3854319e77 Backed out changeset de19108477c7 (bug 1447193) for not fixing the issue- requested. CLOSED TREE 2018-03-28 21:16:32 +03:00
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
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
Ed Lee 5f43fddf38 Bug 1449294 - Capture thumbnails with tracking protection always enabled. r=adw
MozReview-Commit-ID: Lt389lmJASW

--HG--
extra : rebase_source : f0af8f94e3b1897d929841d192f5a52307d1f4e0
2018-03-27 12:19:44 -07:00
Servo VCS Sync fcc0405926 No bug - Revendor rust dependencies
--HG--
rename : third_party/rust/env_logger/src/regex.rs => third_party/rust/env_logger-0.4.3/src/regex.rs
rename : third_party/rust/env_logger/src/string.rs => third_party/rust/env_logger-0.4.3/src/string.rs
2018-03-28 20:23:10 +00:00
Bastien Orivel 6cccb0a3eb servo: Merge #20465 - Bump env_logger to 0.5 and log to 0.4 in every servo crate (from Eijebong:log); r=SimonSapin
Source-Repo: https://github.com/servo/servo
Source-Revision: 12d82fe621947c2b29b12d9c9e9a81b0f4baa117

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 2700938c990b720e4f47039361e256bc239a55df
2018-03-28 15:08:52 -04:00
Tim Nguyen f07efd7106 Bug 1449323 - Make popup_highlight_* properties affect the one-off engines highlight. r=dao
MozReview-Commit-ID: KtW1lSLmx3S

--HG--
extra : rebase_source : 7cbea47a3448956cb672bd530653d065f6b7fe7f
2018-03-27 23:46:51 +02:00
Kartikaya Gupta fb7f70182b Bug 1447299 - Ensure all APZSampler functions run on the sampler thread. r=botond
Functions in APZSampler that are only invoked without WR (e.g. from
AsyncCompositionManager only) can be asserted as running on the sampler
thread. Functions that are invoked with WR need to be bounced onto the
sampler thread. In all cases the functions are called from the
compositor thread, and so we assert that as well.

MozReview-Commit-ID: JPgGlgUUsgg

--HG--
extra : rebase_source : 8b950d3386e1e64e766b76edaa7894b251fb8664
2018-03-28 14:57:06 -04:00
Kartikaya Gupta b015c3b3ec Bug 1447299 - Bounce PAPZCTreeManager controller messages through the sampler thread. r=botond
The methods on PAPZCTreeManagerParent are always invoked on the
compositor thread, which currently is always the same as the sampler
thread. When it does RunOnControllerThread calls, there is an implicit
ordering with respect to the sampler thread, because the controller
thread messages are always dispatched *from* the sampler thread.
When we move the sampler thread to be the render backend thread, we have
to preseve this implicit ordering, but we have to make it more explicit.

For example, if a content process sends a layers update followed by
a SetTargetAPZC message, it expects that the APZ will process them in
that order, as the SetTargetAPZC might refer to a scrollframe that was
just layerized. Currently, both these messages arrive on the compositor
thread; the layers update is processed directly as the compositor thread
is the sampler thread, and then the SetTargetAPZC message is bounced to
the controller thread. However, if the compositor thread is not the
sampler thread, then we would bounce the layers update to the sampler
thread, and bounce the SetTargetAPZC to the controller thread,
introducing a race. If SetTargetAPZC runs first bad things happen. The
solution in this patch is to bounce the SetTargetAPZC to the sampler
thread as well, so that it gets bounced to the controller thread only
after we have processed the layers update.

This patch accomplishes that by introducing a method on APZSampler that
does this "double bounce".

MozReview-Commit-ID: KI9wQQ9PZT4

--HG--
extra : rebase_source : 79d0d36a649f11cc795148cc86539a526c8beeae
2018-03-28 14:57:01 -04:00
Kartikaya Gupta cf0569e64e Bug 1447299 - Have the APZCTreeManagerParent store a reference to the APZSampler. r=botond
MozReview-Commit-ID: BNhkhFAmYP8

--HG--
extra : rebase_source : 43ff9d5f74add3b8b8b0cf651d06a14d8ec82885
2018-03-28 14:56:55 -04:00
Kartikaya Gupta eacf1f2dcc Bug 1447299 - Move the RunOnControllerThread from APZCTreeManager::SetLongTapEnabled to the caller. r=botond
This is functionally a no-op (it just moves the thread-bouncing code
from inside APZCTreeManager::SetLongTapEnabled to the call site in
APZCTreeManagerParent. The other call site, in
widget/android/nsWindow.cpp, is already known to be running on the
controller thread (which would be the Java UI thread in that case).

This makes the code in APZCTreeManagerParent more consistent and
simplifies the next changes.

MozReview-Commit-ID: 8VfEDVVFNl8

--HG--
extra : rebase_source : 02225ed5b80129a1d18b429eff93866a33d4ea86
2018-03-28 14:56:48 -04:00
Kartikaya Gupta 3c26f7183f Bug 1447299 - Move the sampler thread util functions from APZThreadUtils to APZSampler. r=botond
Note that this also makes the utility functions instance methods,
because each APZSampler might have a different sampler thread instance.

MozReview-Commit-ID: 9dY8ZzVX6lR

--HG--
extra : rebase_source : 4dd58400aee5d9f2063abe0a912488b28ff74f9f
2018-03-28 14:56:41 -04:00
Kartikaya Gupta 4bbad90793 Bug 1447299 - Have the APZCTreeManager keep a pointer to the sampler. r=botond
MozReview-Commit-ID: GiITwCDuWAW

--HG--
extra : rebase_source : 13a288785c0c3d7d0374e253f4211bfe7c5540bc
2018-03-28 14:55:58 -04: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