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

604801 Коммитов

Автор SHA1 Сообщение Дата
Nathan Froyd 0115588ec9 Bug 1471347 - part 1 - store an nsCString for SharedLibrary::mVersion; r=njn
Using operator<< on stringstream on Windows dives into the registry for
locale-specific formatting details.  This behavior is neither desired
or (probably) anticipated by the code.  Instead, let's use our normal
Gecko string classes for SharedLibrary::mVersion.
2018-07-19 10:32:07 -04:00
Neil Deakin a9bdfae60b Bug 1461742, test for getCustomInterfaceCallback, r=bgrins 2018-07-19 09:32:18 -04:00
Neil Deakin c68cebacd6 Bug 1461742, shared method to indicate that a custom element implements one or more interfaces, r=bgrins 2018-07-19 08:38:51 -04:00
Neil Deakin 0cc9fd046c Bug 1461742, add a mechanism so that custom elements can implement interfaces akin to XBL implements. This is accomplished by an additional chrome-only callback getCustomInterface that can be implemented by custom elements, r=bz 2018-07-19 08:38:45 -04:00
Andrea Marchesini d3cf48d4ba Bug 1332422 - CSP should not use 'aExtra' to indicate redirects within ContentPolicy, r=ckerschb
Instead, let's pass a nsIURI object to indicate when we have to check a
redirect CSP loading.
2018-07-19 13:25:50 +02:00
Andrea Marchesini c3238135af Bug 1476612 - AntiTracking should use nsIDocument::Get/SetUserHasInteracted instead of UserGestureActivation, r=cpearce 2018-07-19 13:14:27 +02:00
Csoregi Natalia 143b18ba60 Backed out 2 changesets (bug 1461742) for build bustage on CustomElementRegistry.cpp:97. CLOSED TREE
Backed out changeset ca5415dbc51a (bug 1461742)
Backed out changeset 30bd77de7bf5 (bug 1461742)
2018-07-19 13:36:31 +03:00
Neil Deakin 320bde2853 Bug 1473032, remove some old leftover xbl-form-controls bits from menus and trees, r=bz 2018-07-19 06:16:18 -04:00
Neil Deakin 422f787d47 Bug 1461742, shared method to indicate that a custom element implements one or more interfaces, r=bgrins 2018-07-19 06:15:29 -04:00
Neil Deakin c2c722be92 Bug 1461742, add a mechanism so that custom elements can implement interfaces akin to XBL implements. This is accomplished by an additional chrome-only callback getCustomInterface that can be implemented by custom elements, r=bz 2018-07-19 06:15:26 -04:00
Gurzau Raul e5e2880c04 Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-07-19 13:01:51 +03:00
Gurzau Raul 8a871a6c46 Merge inbound to mozilla-central. a=merge 2018-07-19 12:54:18 +03:00
Nicholas Nethercote 3c181ba385 No bug - Remove unused PLHashEntry and PLHashTable forward declarations. r=glandium
The uses of these types were removed in bug 1442480.

--HG--
extra : rebase_source : 55a1fbdbd0003ebce89db4f5e9c62cb1aea0d60a
2018-07-19 16:31:03 +10:00
Lee Salzman 778675de84 Bug 1474968 - pass DWrite font gamma and contrast to WebRender. r=jrmuizel 2018-07-18 22:16:50 -04:00
Kris Maglione 2e3f19a497 Bug 1475899: Follow-up: Temporarily disable thread stack size assertion on Android. r=bustage 2018-07-18 18:04:40 -07:00
Xidorn Quan b787149a33 Bug 1473180 part 5 - Remove DeclarationPushMode. r=emilio
MozReview-Commit-ID: LFgYeKE1SNk

--HG--
extra : rebase_source : 45fb9604be9385734826cf998270b495f9d0088b
extra : source : 4d6292b1edd2ab39dd0002f35de46a7120283dcf
2018-07-19 10:11:04 +10:00
Xidorn Quan c4c124a4b7 Bug 1473180 part 4 - Remove DeclarationPushMode::Update and related code. r=emilio
MozReview-Commit-ID: 1fI5YRa54lQ

--HG--
extra : rebase_source : 489bfd938d60d47f8a839db7d7c999a8b1a678ed
extra : source : 05ce3e0531dcbe9da89d1a2ae4efe629cddc73d0
2018-07-19 10:11:04 +10:00
Xidorn Quan 34c9dd8f3f Bug 1473180 part 3 - Use the new algorithm for setting property. r=emilio
MozReview-Commit-ID: HQsVwWAGPBL

--HG--
extra : rebase_source : 7280d1a0278e698ebc2fb664874aea53a19a3d3f
extra : source : 08a40cf9746a83fceb124dd148d02ccb0d2e4864
2018-07-19 10:11:04 +10:00
Xidorn Quan 114fa2263a Bug 1473180 part 2 - Add new algorithm for setting property to be used in later commit. r=emilio
MozReview-Commit-ID: CdM8hDB6rFj

--HG--
extra : rebase_source : 898635ecb98a27b5b3caff4bb809b96f64e1f45d
extra : source : 0c8cbf0f371c2598d67f92d36972534cf77c5e43
2018-07-19 10:11:04 +10:00
Xidorn Quan 203b718775 Bug 1473180 part 1 - Introduce a concept of logical group. r=emilio
MozReview-Commit-ID: GXlf8JNML4N

--HG--
extra : rebase_source : e64861316080064d19fd1dbd96ce075a8c0b811e
extra : source : 8831c486a9db5137251ba15c19be5d1e7673774a
2018-07-19 10:11:04 +10:00
Julian Descottes 9ac50afe02 Bug 1476647 - Fix TableWidget scroll position calculation;r=miker
MozReview-Commit-ID: Kn9PQMXG8bC

--HG--
extra : rebase_source : faeb2d7e4a207f8380082e0070599a130b32098f
2018-07-18 18:01:29 +02:00
Margareta Eliza Balazs b1e7992b82 Backed out 8 changesets (bug 1265824) for bustage in /builds/worker/workspace/build/src/gfx/layers/opengl/CompositorOGL.cpp on a CLOSED TREE
Backed out changeset 1099d6f15f9f (bug 1265824)
Backed out changeset b5ba15b1a70f (bug 1265824)
Backed out changeset 51795de4adaf (bug 1265824)
Backed out changeset be68741ff4ce (bug 1265824)
Backed out changeset 4731dc56702d (bug 1265824)
Backed out changeset 984133e9614b (bug 1265824)
Backed out changeset efce316a4425 (bug 1265824)
Backed out changeset 367abce30668 (bug 1265824)
2018-07-19 09:33:28 +03:00
Masatoshi Kimura cc03337492 Bug 1476597 - Stop using dynamic exception specification in mozalloc.h. r=froydnj
--HG--
extra : rebase_source : 48047a82e42dc7688fb3ed484d01794ccbd86763
2018-07-18 20:36:25 +09:00
Andrea Marchesini 6c9f589b45 Bug 1476589 - Fix a wrong use of a char16_t string in nsCSPUtils, r=ckerschb 2018-07-19 11:11:43 +02:00
Kris Maglione f4f437793d Bug 1475899: Part 5 - Add thread stack memory reporter for Windows. r=erahm,aklotz
MozReview-Commit-ID: Bv6OPmUhl5Y

--HG--
extra : source : fbf0e4b12c8e05cabca321d352df32735b8baec9
extra : absorb_source : ce7cd1f176760f895b18426981117c665ed0aba0
2018-07-17 13:09:45 -07:00
Kris Maglione 1dbd559f77 Bug 1475899: Part 4 - Add memory reporter for committed thread stack sizes on Linux. r=erahm
Later patches add support for Windows. OS-X will need a follow-up.

MozReview-Commit-ID: DDd6uir4KzM

--HG--
extra : source : b4394660fde2b05e972c491246570d8f79d8a7c6
extra : absorb_source : 063bc5db64faa9311ac9db99259cd477fb8fcf7e
2018-07-14 02:21:30 -07:00
Kris Maglione fb98e4016d Bug 1475899: Part 3 - Add helper for parsing memory mappings on Linux. r=erahm,jld
The only real way to get memory mapping information on Linux is to read and
parse /proc/self/maps, and infer information about a specific pointer based on
its contents.

This patch adds a helper which parses the entire contents of smaps, and
returns an array of objects describing each region. It also updates resident
unique reporter to use that helper. Later patches use it to map stack base
addresses to VM regions, and report their usage data.

MozReview-Commit-ID: 8VUu1kMT77L

--HG--
extra : source : e89ebe1f22f28d2b667514cb66d39606136a2f58
extra : absorb_source : 86ad16750144e02b9fbe84390eeab6c1917b379d
2018-07-14 02:20:55 -07:00
Kris Maglione b8f2812701 Bug 1475899: Part 2 - Store stack base pointer for nsThreads on Linux. r=erahm,jld
This change stores the base allocation address and actual allocated stack size
(as opposed to the requested size, which may be 0), so that we can map them to
VM regions in a memory reporter.

MozReview-Commit-ID: IZbbyQ9pKHr

--HG--
extra : source : 391b97f0e5c029880d4a1ae697463cfcb8839116
2018-07-14 02:28:05 -07:00
Kris Maglione 9b7d0838b7 Bug 1475899: Part 1 - Track live nsThreads and add a method of enumerating them. r=erahm
This will allow us to enumerate active threads in order to report their
memory.

MozReview-Commit-ID: IExELSkFdwB

--HG--
extra : source : 2916b5e05b6d100e91448f21cb4082e41a86e87c
2018-07-14 02:19:59 -07:00
Nathan Froyd e8ffb68819 Bug 1476799 - remove references to Stylo from bindgen configure code; r=gps
At some point, either bindgen will begin generating not-related-to-Stylo
things or we will start using bindgen in multiple places.  Either way,
the references to Stylo should go away.
2018-07-18 19:11:07 -04:00
Brindusan Cristian 9cde10a0a1 Backed out 5 changesets (bug 1475899) for build bustages on /workspace/build/src/xpcom/base/MemoryMapping.cpp. CLOSED TREE
Backed out changeset fbf0e4b12c8e (bug 1475899)
Backed out changeset b4394660fde2 (bug 1475899)
Backed out changeset e89ebe1f22f2 (bug 1475899)
Backed out changeset 391b97f0e5c0 (bug 1475899)
Backed out changeset 2916b5e05b6d (bug 1475899)
2018-07-19 02:02:40 +03:00
sotaro 432fb44cee Bug 1475187 - Remove AsyncImagePipelineManager::ApplyAsyncImages() call from WebRenderBridgeParent::RecvSetDisplayList() r=kats 2018-07-19 07:51:37 +09:00
Kris Maglione 4dab7b4343 Bug 1475899: Part 5 - Add thread stack memory reporter for Windows. r=erahm,aklotz
MozReview-Commit-ID: Bv6OPmUhl5Y

--HG--
extra : rebase_source : b159db438a3c1a7b9d2bbb11f36100f9a89d567e
2018-07-17 13:09:45 -07:00
Kris Maglione 3d58783354 Bug 1475899: Part 4 - Add memory reporter for committed thread stack sizes on Linux. r=erahm
Later patches add support for Windows. OS-X will need a follow-up.

MozReview-Commit-ID: DDd6uir4KzM

--HG--
extra : rebase_source : a28826d3331d057f4d35bec56da7738a727d9768
2018-07-14 02:21:30 -07:00
Kris Maglione c13f3c0a1d Bug 1475899: Part 3 - Add helper for parsing memory mappings on Linux. r=erahm,jld
The only real way to get memory mapping information on Linux is to read and
parse /proc/self/maps, and infer information about a specific pointer based on
its contents.

This patch adds a helper which parses the entire contents of smaps, and
returns an array of objects describing each region. It also updates resident
unique reporter to use that helper. Later patches use it to map stack base
addresses to VM regions, and report their usage data.

MozReview-Commit-ID: 8VUu1kMT77L

--HG--
extra : rebase_source : e9c233aa828b57efa5c0c154cdb9c7d049cc3312
2018-07-14 02:20:55 -07:00
Kris Maglione 9ce29230ec Bug 1475899: Part 2 - Store stack base pointer for nsThreads on Linux. r=erahm,jld
This change stores the base allocation address and actual allocated stack size
(as opposed to the requested size, which may be 0), so that we can map them to
VM regions in a memory reporter.

MozReview-Commit-ID: IZbbyQ9pKHr

--HG--
extra : rebase_source : 1b61bfd63931ce9e2bf9a71905468336971d0956
2018-07-14 02:28:05 -07:00
Kris Maglione 7d18889141 Bug 1475899: Part 1 - Track live nsThreads and add a method of enumerating them. r=erahm
This will allow us to enumerate active threads in order to report their
memory.

MozReview-Commit-ID: IExELSkFdwB

--HG--
extra : rebase_source : 94b63857357639b201b85bdd7bfc4fbe1d4b7f62
2018-07-14 02:19:59 -07:00
Gijs Kruitbosch 3c7235e904 Bug 1476035, r=jkt
--HG--
rename : browser/base/content/test/general/browser_registerProtocolHandler_notification.html => browser/components/feeds/test/browser/browser_registerProtocolHandler_notification.html
rename : browser/base/content/test/general/browser_registerProtocolHandler_notification.js => browser/components/feeds/test/browser/browser_registerProtocolHandler_notification.js
extra : rebase_source : 3322967a084f771186a0de05eaadc98059e399c5
2018-07-17 15:36:43 +01:00
Kanika Saini ef19b4d62b Bug 1469943 - Enterprise policy to set a custom app update URL. r=felipe 2018-07-12 22:33:50 +05:30
Kanika Saini f25545119e Bug 1476734 - Remove URI_SAFE_FOR_UNTRUSTED_CONTENT for aboutPolicies.xhtml. r=felipe 2018-07-19 00:32:59 +05:30
shindli 44fb8511ea Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-07-19 00:50:20 +03:00
shindli 6cdfd81b2e Merge inbound to mozilla-central. a=merge 2018-07-19 00:45:25 +03:00
Kris Maglione 70f741edc9 Bug 1472342: Part 2 - Update SharedMap iterator methods to use provided JSContext. r=bz
MozReview-Commit-ID: E9RHi41HJCy

--HG--
extra : rebase_source : 1d89f88cf67d56367314d1aa909dccb340719e34
2018-07-18 13:08:44 -07:00
Kris Maglione 72ae1375d1 Bug 1472342: Part 1 - Properly support iterator getters which need JSContexts. r=bz
The IterableIterator helper currently only supports iterator methods which
return types which are supported by ToJSValue, but do not need a JSContext* to
construct them. That means that getters which need to return native JS objects
or values can't do so safely, or without resorting to hacks.

This patch adds templated helpers which will call a JSContext-accepting,
JS::Value-returning version of the getter methods if they exist, and fall back
to the simpler versions if they don't.

MozReview-Commit-ID: hedZOc3lqR

--HG--
extra : rebase_source : b92cdc3900b3c9bee41836af4d4b9f4e65f3d5f6
2018-07-18 13:09:04 -07:00
Xidorn Quan 99d822fb5f Bug 1474959: Add a visited reftest for different logical border color with different writing modes. r=emilio
MozReview-Commit-ID: 7kWSEsuXQzC
2018-07-18 22:15:11 +02:00
Emilio Cobos Álvarez 7a19e88052 Bug 1474959: Remove IS_STYLE_IF_VISITED. r=xidorn
MozReview-Commit-ID: 8rnlaMOJisA
2018-07-18 22:15:10 +02:00
Emilio Cobos Álvarez 7fb0be4298 Bug 1474959: Push visited style computation a bit further down. r=xidorn
MozReview-Commit-ID: 1DILenWIw4D
2018-07-18 22:15:09 +02:00
Ryan Hunt c7eb70ba65 Bug 1471639 - Allow OMTP with edge-padding. r=nical
MozReview-Commit-ID: JUNk79jLQcj

--HG--
extra : source : a6aacf58c4a6dc5621c3faa0387f775d699aa6f1
2018-07-16 15:01:26 -05:00
Johannes Willbold 5b98a7844f Bug 1432920: Part 2: Added C++/Rust glue code for dtls-message, r=bwc
Added C++/glue code for the dtls-message attribute.
Enabled the C++ unit test CheckDtlsMessage.
Added a branch in the rust parsing that discardes dtls-messages on media level.

MozReview-Commit-ID: 9tcWOtH8GbV

--HG--
extra : rebase_source : 4853e51e1cc6734760c243da8e27dc714c89d219
2018-07-05 17:09:10 -07:00
Johannes Willbold c0ae9af419 Bug 1432920: Part1: Added dtls-message parsing in rust, r=bwc
Added dtls-message parsing in rust.
Added a rust testcase for the dtls-message parsing.

MozReview-Commit-ID: G8boBkxlJmX

--HG--
extra : rebase_source : 40ee205294adf099f51321ec7bde8cbff5db6297
2018-07-05 16:33:30 -07:00