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

587045 Коммитов

Автор SHA1 Сообщение Дата
Emilio Cobos Álvarez 5dd797f154 Back out changeset b683bb3f22a1 (Bug 1447483) for not landing with all the files. r=me on a CLOSED TREE
This reverts commit 1808914126bb9f9e4a82d2c3d7ac961885fe7d62.

MozReview-Commit-ID: 5skESBseEvo
2018-03-22 20:05:22 +01:00
Emilio Cobos Álvarez ca5ac79cca Bug 1447483: Merge nsStyleContext and ServoStyleContext, rename to ComputedStyle. r=jwatt
MozReview-Commit-ID: JPopq0LudD
2018-03-22 19:48:42 +01:00
Emilio Cobos Álvarez 30afff82d1 servo: Merge #20386 - style: Rename StyleContext to ComputedStyle (from emilio:computed-style-rename); r=jwatt
Bug: 1447483
Reviewed-by: jwatt
MozReview-Commit-ID: KATZ6DkmpVY
Source-Repo: https://github.com/servo/servo
Source-Revision: 563f0ec8245d6ff4d7d200c30655f90f5bdfed64

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 686981ffd66ff5827b3bd09fb846cf8abbb6e403
2018-03-22 13:48:24 -04:00
Tom Ritter f264d40a2e Bug 1447685 Move nsIRandomGenerator creation out of a lock to avoid a deadlock r=keeler
do_GetService("@mozilla.org/security/random-generator;1" may initialize NSS.
NSS Initialization occurs on Main Thread only.

If we lock on a subthread, then try to initialize NSS, it _might_ be the case
that the main thread is blocked on the same lock (same location or a different
one.) NSS can't initialize on Main Thread - deadlock.

Move do_GetService out of the lock. Now if NSS tries to initialize on a
subthread, the main thead can't be blocked (because the subthread hasn't locked
anything.)

Now, the only statements that occur in locks are pointer asignment, new, memcpy,
and randomGenerator->GenerateRandomBytes.

MozReview-Commit-ID: 9C1Ok910A11

--HG--
extra : rebase_source : 637ca346a343722bd7a4fc68c4fd43a85916d5a6
2018-03-22 13:09:23 -05:00
Francesco Lodolo (:flod) 688142f207 Bug 1448068 - Update Fluent migrations in mozilla-central to run against gecko-strings r=Pike
Also remove temporary string from preferences.ftl (search-input). This was added
to avoid removing the string when running migrations against mozilla-central

MozReview-Commit-ID: IDgTNoANPyV

--HG--
extra : rebase_source : a2fe06f2214dfb6189351cd9a0eef4e41869b639
2018-03-22 19:00:40 +01:00
Kartikaya Gupta aad3bff374 Bug 1448006 - Disable mipmaps in WR. r=mstange
MozReview-Commit-ID: HlUzStD16Pa

--HG--
extra : rebase_source : 74ab82c5ae72b3ab7541eeffafdc9d1a0fc98abf
2018-03-22 12:14:15 -04:00
Igor Gutorov 76247faf8a servo: Merge #20317 - Implement WebGL getFrameBufferAttachmentParameter API (from gootorov:webgl-getFramebufferAttachmentParameter); r=jdm
<!-- Please describe your changes on the following line: -->
Implementation of `getFramebufferAttachmentParameter` as in WebGL1 specification.

Part of https://github.com/servo/servo/issues/10209.

r? emilio or jdm.

---
<!-- 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: -->
- [x] There are 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: 4aaac61a87f4e45e46d0591be73ce108e562c33f

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : e73752c3c2074239d5db1a9fec8ea4d64eb572ef
2018-03-22 12:28:30 -04:00
Matt Brubeck 0a5385733d Bug 1447062 - Upgrade to num-traits 0.1.43. r=ted
MozReview-Commit-ID: Hl7780nXOvw

--HG--
rename : third_party/rust/num-traits-0.1.41/LICENSE-APACHE => third_party/rust/num-traits-0.1.43/LICENSE-APACHE
rename : third_party/rust/num-traits-0.1.41/LICENSE-MIT => third_party/rust/num-traits-0.1.43/LICENSE-MIT
extra : rebase_source : 8289387f3d1af16a40a42167ffaaba36f34e3632
2018-03-19 10:24:54 -07:00
Mike Cooper 1f5ea84146 Bug 1446438 - Use exact beta version in Normandy filtering r=Gijs
MozReview-Commit-ID: KYybykCn43O

--HG--
extra : rebase_source : a1015ed616a4b0f4e6e33c6ac4d5bd3f7a47f60e
2018-03-21 10:41:04 -07:00
James Teh 25c5e06a69 Bug 1431256 part 4: Remove IEnumVARIANT from the AccessibleHandler payload. r=MarcoZ
Now that the handler implements IEnumVARIANT itself (and uses our own internal method to retrieve the children), caching this remote interface is pointless.

MozReview-Commit-ID: FyagiEcHMP2

--HG--
extra : rebase_source : 267568164fb46d98c8cde22dfbb4f36f2afceb8c
2018-01-19 11:40:42 +10:00
James Teh 4ce4f0dab8 Bug 1431256 part 3: AccessibleHandler: When a client requests children, fetch them optimally using a single cross-process call. r=MarcoZ
This implements IEnumVARIANT locally using the new method provided by HandlerProvider.
This avoids marshaling full objects for text leaf accessibles (instead using HandlerTextLeaf), which is much faster.
It also avoids a pointless cross-process call to IEnumVARIANT::Reset (and possibly IEnumVARIANT::Clone).
Finally, it caches children after the first query so that clients (such as UI Automation) which walk children one by one don't incur separate cross-process calls for every child.

MozReview-Commit-ID: KUIXQoXxInQ

--HG--
extra : rebase_source : a6c0a56c2bb65e227f7c45eb1b767e7df19efa49
2018-03-21 11:03:45 -04:00
James Teh 7603de4f18 Bug 1431256 part 2: AccessibleHandler: Implementation of IAccessible2 for text leaf accessibles using data provided in AccChildData. r=MarcoZ
For text leaf accessibles, the HandlerProvider::AllChildren property provides text and other necessary information in an AccChildData struct, rather than providing the full accessible object.
Therefore, we must provide a specific local implementation of IAccessible2 which answers queries based on the data provided in this struct.

MozReview-Commit-ID: 8BYMF59EoTe

--HG--
extra : rebase_source : 0cdc01158f7fd1a04b0751a0a1703f9aa03cbe4c
2018-03-21 10:56:11 -04:00
James Teh 39c71764d7 Bug 1431256 part 1: Accessible HandlerProvider: Implement a method to optimally retrieve all children in a single call. r=MarcoZ
When considering a large document, a huge number of the children we return are text leaf nodes.
Marshaling full objects is expensive, but for text leaf nodes, the client is only interested in the text and a few other pieces of information.
Therefore, rather than returning the full object for text leaf accessibles, we just return the text and other necessary information.
For other non-text children, we return the full object as usual.

In addition, clients normally use the IEnumVARIANT interface to retrieve children in a single call.
However, it doesn't allow you to specify a starting index.
Therefore, you must first call the Reset method to reset the starting point to 0.
Practically, this means an extra cross-process call whenever the caller fetches children.
When dealing with a large document, this can be a significant number of wasted calls.
This new method retrieves all children always starting at the first using a single call.

MozReview-Commit-ID: A9lc7BBTWdb

--HG--
extra : rebase_source : d50507c182ab7760c17c5e7bb9956f46a3dc188c
2018-03-21 10:08:53 -04:00
Andreea Pavel 62b7a93603 Backed out 3 changesets (bug 1446157) for browser chrome failures at browser/base/content/test/static/browser_all_files_referenced.js on a CLOSED TREE
Backed out changeset 2491f8caeffa (bug 1446157)
Backed out changeset be65061c2d72 (bug 1446157)
Backed out changeset de560a993de1 (bug 1446157)
2018-03-22 18:49:31 +02:00
Dão Gottwald 69dab05a48 Bug 1448043 - Activate the Light/Dark theme stylesheet before the initial layout. r=bgrins
MozReview-Commit-ID: BQRiXfopFFI

--HG--
extra : rebase_source : c7895e6221024c8f6a1c267a3ca734df405d3f19
2018-03-22 17:05:09 +01:00
Shane Caraveo a4a1869a2b Bug 1447723 - fix triggering pageAction when using pattern matching, r=rpl
MozReview-Commit-ID: 8B8QR2ltYmr

--HG--
extra : rebase_source : 52f5dcf93931ff882896183e915f4002f617a220
2018-03-21 16:38:27 -05:00
Ganesh Chaitanya Kale e44c888947 Bug 1282770 - Convert uses of PU.asyncHistory.updatePlaces in browser/components/migration to PU.history.insertMany. r=mak
Patch originally by Ganesh, updated by Standard8

MozReview-Commit-ID: AihTLo5OyK1

--HG--
extra : rebase_source : f5a886326dd7f2fb2dba3309199ef277affe6b77
2018-03-20 12:36:31 +00:00
Dão Gottwald 2aff048970 Bug 1448017 - Initialize ToolbarIconColor before the initial layout to spare a potential restyle after the initial layout. r=bgrins
MozReview-Commit-ID: LLJ2EftdXZn

--HG--
extra : rebase_source : 26292d2555e705672d6bf5b2381d3626c1b31f3c
2018-03-22 16:18:20 +01:00
Olivier Tilloy 27a9db7239 Bug 1444313 - Fix desktop file name for snapd's xdg-setting wrapper. r=mkaply
MozReview-Commit-ID: KfG8oEYArKm

--HG--
extra : rebase_source : cf82e6eeb6b8f47396c3b50f3761a3b8f2a85991
2018-03-09 09:04:25 +01:00
Valentin Gosu 105a3dd952 Bug 1447194 - Use threadsafe refcounting in all nsIURI implementations r=mayhemer
It seem that only nsStandardURL and nsSimpleURI (and classes that inherit them) do not have threadsafe refcounting yet.

MozReview-Commit-ID: J8gLoBSPCTl

--HG--
extra : rebase_source : 0e1659c28b18909e31b2e3e74baf74edf1e100c8
2018-03-20 15:51:17 +01:00
Kartikaya Gupta 44813a9cf7 Bug 1447286 - Update for API changes in WR PR 2555. r=jrmuizel
MozReview-Commit-ID: CEhcf8PlOp4

--HG--
extra : rebase_source : 56f9a4b42974825cbbdf16296313315f8d5d4cc9
2018-03-22 10:29:02 -04:00
Kartikaya Gupta f30afee346 Bug 1447286 - Add dummy callback implementation for API change in WR PR 2550. r=jrmuizel
MozReview-Commit-ID: 4nGoyNIFCFf

--HG--
extra : rebase_source : 7da8b5bfb604bba03992c023936fd65ad4a4eb79
2018-03-22 10:28:46 -04:00
Kartikaya Gupta 1e20dc719f Bug 1447286 - Update Cargo lockfiles and re-vendor rust dependencies. r=jrmuizel
MozReview-Commit-ID: 1gpB9n4dNHG

--HG--
extra : rebase_source : ef976a762c8c18b14dc509c31c7bc3d6c46833b3
2018-03-22 10:28:33 -04:00
Kartikaya Gupta c87aa15000 Bug 1447286 - Update webrender to commit 30cfecc343e407ce277d07cf09f27ad9dd1917a1. r=jrmuizel
MozReview-Commit-ID: BLqZiOeNLt

--HG--
extra : rebase_source : ca7966e2a1437ec67e45ac4b4589e3a04c6de363
2018-03-22 10:27:18 -04:00
Kartikaya Gupta 765c5a57bb Bug 1447286 - Update audioipc to commit f6c4829. r=jrmuizel
MozReview-Commit-ID: 4OrKhBQgPjD

--HG--
extra : rebase_source : c39f428132f8b79c5dd4119779788dabc291a94c
2018-03-22 10:26:47 -04:00
Mark Banner 0fd557de6f Bug 1446630 - Disable browser_editBookmark_keywords.js on ccov due to intermittent failures. r=mak
MozReview-Commit-ID: 68KEnivP16F

--HG--
extra : rebase_source : d91e026509892d4bc184209d83224e7569d5f062
2018-03-22 09:21:13 +00:00
Mark Banner 6a8780cc8d Bug 1444094 - Remove remaining support for the places/excludeFromBackup annotation. r=mak
MozReview-Commit-ID: 56dWvia8yIC

--HG--
extra : rebase_source : e2479799091a72ea6b8b86088e42d352f8065d5e
2018-03-21 10:06:10 +00:00
Mark Banner 85b64ba9c9 Bug 1306445 - Remove the mobile bookmarks annotation from the mobile root as it is no longer required. r=mak
MozReview-Commit-ID: 4HhxEpY7NNs

--HG--
extra : rebase_source : da839516ea71b8ef38e9c1e2c30a11b823de07da
2018-03-20 20:25:10 +00:00
Timothy Guan-tin Chien 67c91ad718 Bug 1446157 - Follow-up, Remove unused grippyhidden="true" attribute from Layout Debugger r=dbaron
MozReview-Commit-ID: 6Kbn7oB7svH

--HG--
extra : rebase_source : c5b9e38f0db5f9cb10c5db7df954fd1059c02f8e
2018-03-20 17:29:44 +08:00
Timothy Guan-tin Chien a084ee563d Bug 1446157 - Follow-up, Remove unused #placesTreechildren style rules r=adw
MozReview-Commit-ID: 1yoxFfwurt9

--HG--
extra : rebase_source : b4f3a5ed1685d241d4d1e7dbacbd64c75138506e
2018-03-20 17:23:01 +08:00
Timothy Guan-tin Chien aa45f889db Bug 1446157 - Remove unused grippy binding r=enndeakin+6102
MozReview-Commit-ID: KWC9HpTzig

--HG--
extra : rebase_source : 382083ebb3fd2d1b10c70df314bd67ce5ded1f08
2018-03-20 17:21:19 +08:00
Erica Wright f79e46140a Bug 1386047 - Grid and Flexbox inspector cross hash that fills the grid gap and flex container stays 45deg to the bounding lines on rotations. r=pbro
MozReview-Commit-ID: 1tDTGHEixCS

--HG--
extra : rebase_source : 43036a69a3919cbc24658b06fb8888d855d005e5
2018-03-21 14:53:08 -04:00
Paul Rouget a0dd2872af servo: Merge #20228 - Ports refactoring (from paulrouget:ports_refactor); r=jdm
Depends on https://github.com/servo/servo/pull/20071 and https://github.com/servo/servo/pull/19895

This PR does 3 things:
1) merge all the embedder coordinates callbacks into one
2) hand the embedder messages directly to the embedder
3) split the embedder code in 2 files: window.rs and browser.rs

This is in preparation for tabs support in `ports/`. We want to separate the windowing logic (glutin stuff) and the browsing logic (tabs management, browsers state, etc). It's also easier to bypass the callbacks and directly handle events.

---
<!-- 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 _____

<!-- 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: 2de89377db63ec03ae3b1256486c4c32b33f5fce

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 2c3a783c1ade39c9580be7452598e1c97d2a990f
2018-03-22 08:10:45 -04:00
Andrew Halberstadt 20f38147c2 Bug 1445624 - [test] Make sure verbose logging is enabled when running a single test, r=gbrown
This sets verbose=True (used by the mach formatter) and compact=False (used by tbplformatter) if
only a single test is specified with either |mach test| or |mach mochitest|.

This way all TEST_STATUS and log lines will be visible when developers are writing a new test.

MozReview-Commit-ID: 2nuKs9DLnx0

--HG--
extra : rebase_source : 1fc594b465a2a94dfcd85d56d042969af47f6f65
2018-03-19 16:04:02 -04:00
Andrew Halberstadt c30792183c Bug 1445624 - [mozlog] Various improvements and fixes to the mach formatter, r=gbrown
This consolidates the printing of status logs, which was previously handled
differently in 3-4 places. This also fixes a few of the annoyances listed in
the bug 1445624 description. Finally this also fixes a few edge cases that I
noticed when writing the tests.

MozReview-Commit-ID: APudT8yBqVS

--HG--
extra : rebase_source : 943a71c762dd27a7f7ebea86d467e81a0b27d400
extra : source : 61ba86fc1366a62a429a7daab7d6b1c198c69593
2018-03-19 11:55:39 -04:00
Andrew Halberstadt 4d112dbe6e Bug 1445624 - [mozlog] Add some tests for the mach formatter, r=gbrown
This adds a basic test for the mach formatter. This will ensure that changes to
this format are intentional. It will also make it easier for reviewers of these
changes to see a diff of the old vs new format.

MozReview-Commit-ID: LBSfdyvOPVV

--HG--
extra : rebase_source : 5529ad1f03306dcf867d88af579b69d6005091c0
2018-03-19 11:55:31 -04:00
Dão Gottwald 51112c5889 Bug 1444007 - Remove race condition in browser_devices_get_user_media_multi_process.js. r=arai
MozReview-Commit-ID: 8cvuI8a984p

--HG--
extra : rebase_source : ce8335b382741e1eaa29511ebae2659a1c6f1a06
2018-03-22 12:06:24 +01:00
Tom Glowka a9c84c6ef6 Bug 1269468 - onRequestPostData returns requestPostData not whole payload; r=Honza
For the sake of coherence with the rest of FirefoxDataProvider interface, to avoid future bugs like the one this commit refers to.

MozReview-Commit-ID: EX8JQvoIeTb

--HG--
extra : rebase_source : e398cf76137bc5009ed1614a9cc97d0c4edfa67f
2018-03-14 23:25:12 +01:00
glowka b4e16f77fd Bug 1269468 - fix netmonitor copy POST Data by conditonal use of formDataSections; r=Honza
MozReview-Commit-ID: Kq45bHXoDB8

--HG--
extra : rebase_source : 5cd3f175501dd0e3239e6f689dada1da99f2a8a2
2018-03-09 01:54:13 +01:00
glowka 6b3c0edea1 Bug 1269468 - fix netmonitor Copy as cURL: adjusting requestData calls to current implementation of onRequestPostData; r=Honza
MozReview-Commit-ID: AOYbsV4AljW

--HG--
extra : rebase_source : d4319ec6eeb2b417ed8d33c5b64fce31abf2b4ea
2018-03-09 00:14:23 +01:00
Timothy Guan-tin Chien 13467f5465 Bug 1444193 - Remove the ability to load full xul.css in non-XUL document. r=enndeakin+6102
With bug 1444489, there is no longer a need to load the full xul.css into HTML
documents. This patch remove that ability and keep it as an assertion.

MozReview-Commit-ID: ChBdRts6PFX

--HG--
extra : rebase_source : b6b35af4c66d8a097f8b4787305bba2e948de554
2018-03-08 13:39:58 -08:00
Andrew McCreight 81b1d1c977 Bug 1447849 - Eliminate the anonymous union from XPTTypeDescriptor. r=njn
For bug 1438688, I need to statically initialize all of the data types
in xpt_struct.h. It turns out that the approach I was using for unions
is C99 and not C++. While for some reason Clang and GCC are okay with
that, MSVC is not.

One of the unions is a gnarly anonymous union in
XPTTypeDescriptor. However, every arm of this union is either 1 or 2
uint8_t, so I think it is reasonable to eliminate the union and
replace it with two fields, mData1 and mData2. I've fixed up the
places that read this data to use accessor methods with nice asserts
about the tag on the variant, so if anything I think that part is
nicer.

The code in xpt_struct.cpp that writes to this data is maybe less
nice, but I'm deleting it in bug 1438688 so I think that's okay. We
also lose some detail in the comments about the relationship between
what is stored in memory compared to what is stored on disk, but I
think that's okay, too.

MozReview-Commit-ID: DGi19f8HnMi

--HG--
extra : rebase_source : e3535ecb3d7f02bdb643df153e8aba3e106d9104
2018-03-21 16:35:55 -07:00
Valentin Gosu 83e7f0c0ea Bug 1447190 - Remove internal mutability from nsStandardURL r=mayhemer
* Removes mSpecEncoding since the spec is always ASCII encoded
* nsStandardURL::InitGlobalObjects is now called from nsNetStartup
* Removes prefObserver from nsStandardURL
* mDisplayHost is now initialized every time that we change the hostname
* Adds locking to the gAllURLs list

MozReview-Commit-ID: 93mwECxYxWl
* * *
[mq]: overfix

MozReview-Commit-ID: 98nyTYa5ZeR

--HG--
extra : rebase_source : 82045e10771038d7168d1f235143c24c72dd5a45
2018-03-22 02:59:32 +01:00
Andreas Pehrson 8bb83ab05d Bug 1351655 - Log which SharedThreadPools are not yet destroyed on shutdown-threads. r=froydnj
We risk a shutdown hang without any clues if a dangling reference somewhere
keeps a SharedThreadPool alive past xpcom-shutdown-threads. This because
xpcom-shutdown-threads waits for all SharedThreadPool to be destroyed before
advancing shutdown further. nsCycleCollector::Shutdown comes after
xpcom-shutdown-threads so it is possible that a reference-cycle unexpectedly
keeps a SharedThreadPool alive and blocks shutdown indefinitely.

This patch attempts to help diagnose future cases like this by printing which
SharedThreadPools we are going to wait for to stderr.

MozReview-Commit-ID: CwTApYUMikA

--HG--
extra : rebase_source : f29d04508cf492c82d65f324d7b1990849a0da13
2018-01-23 11:40:37 +01:00
Andreea Pavel 4dc16ea693 Merge mozilla-central to autoland. a=merge on a CLOSED TREE 2018-03-22 11:34:04 +02:00
Andreea Pavel de5c4376b8 Merge mozilla-inbound to mozilla-central. a=merge 2018-03-22 11:31:19 +02:00
Andreea Pavel 86810531ce Backed out changeset becfb5f6388d (bug 1447875) for failing browser chrome at browser/base/content/test/performance/browser_windowopen_reflows.js on a CLOSED TREE 2018-03-22 08:54:03 +02:00
sotaro 54acb2e320 Bug 1432610 - Disable D2D on Win7 on Intel Haswell for old graphics drivers r=jrmuizel 2018-03-22 15:33:52 +09:00
Mark Hammond 86bcaa7a17 Bug 1447832 - ensure a bookmark that is deleted during a sync gets a tombstone on the server. r=kitcambridge
MozReview-Commit-ID: 6vmxxBSTT3e

--HG--
extra : rebase_source : 030bdc1b9586fa06207b74a9331f334bca91da93
2018-03-22 15:31:10 +11:00
Boris Zbarsky fc0fab9262 Bug 1062418 part 2. Clean up the bits that got moved from nsWindowSH. r=mystor
MozReview-Commit-ID: HGy6CHx4sCP
2018-03-21 23:18:51 -04:00