Jan de Mooij
0ea16094d3
Bug 1452982 part 6 - Remove ZoneGroup. r=jonco
2018-04-13 08:45:13 +02:00
Henrik Skupin
3846d5fb06
Bug 1453647 - [xpcshell] Enforce utf-8 for evaluating injected script via -e argument. r=bz
...
MozReview-Commit-ID: 2sLmBHqbFSx
--HG--
extra : rebase_source : 50949fadd321a1fc4f6591bd55cb8002587b3959
2018-04-12 15:49:19 +02:00
Margareta Eliza Balazs
1c0306e497
Merge mozilla-central to autoland. a=merge CLOSED TREE
2018-04-12 12:45:41 +03:00
Karl Tomlinson
3481a11d87
bug 1328964 add CycleCollectedJSContext::IsSystemCaller() to make ThreadsafeIsSystemCaller() safe for worklets r=baku
...
MozReview-Commit-ID: Cg4OBbm5CwA
--HG--
extra : rebase_source : 9a113cf0f945bd48207e81f9fa08bcba1f35303c
2018-04-06 18:53:25 +12:00
Boris Zbarsky
a730b3a9ad
Bug 1453053 part 1. Remove useless QIs to nsIDOMNode. r=qdot
...
MozReview-Commit-ID: GokPD2buxzN
2018-04-12 00:06:25 -04:00
Boris Zbarsky
ed3406b369
Bug 1452786 part 2. Stop using a generated chromeonly isInstance method. r=qdot
...
This changes semantics in all sorts of ways (e.g. now we get the right proto
from our |this| value instead of it being baked into the function). But if all
our chrome callers are well-behaved this should be ok.
We _could_ bake the proto id and depth into the function itself by using
js::NewFunctionWithReserved if it were not for Xrays. Those already need the
reserved slots on functions we Xray.
MozReview-Commit-ID: 1bYrKWWIc1P
2018-04-12 00:06:07 -04:00
Tristan Bourvon
a3a77c0312
Bug 525063 - Initialize uninitialized class attributes in m-c. r=ehsan
2018-04-10 21:11:02 +02:00
Nika Layzell
0c3ba13e4c
Bug 1437167 - Part 1: Stop using PRIntervalTime as the argument to CondVar::Wait and Monitor::Wait, r=mstange, r=froydnj
2018-04-10 17:49:47 -04:00
Karl Tomlinson
2405fe930c
bug 1328964 use nsContentUtils::GetCurrentJSContext() on all threads r=smaug
...
nsContentUtils::GetCurrentJSContextForThread() originally needed to use
workers::GetCurrentThreadJSContext() in
https://hg.mozilla.org/mozilla-central/rev/366a45b41539#l2.18
because CycleCollectedJS*()->Context() did not exist until
https://hg.mozilla.org/mozilla-central/rev/1a0cd542e1e9#l7.12
nsContentUtils::GetCurrentJSContext() is thread-safe since these changes:
https://hg.mozilla.org/mozilla-central/rev/e636c7186286#l3.12
https://hg.mozilla.org/mozilla-central/rev/c8029c072776#l2.12
MozReview-Commit-ID: 2f1eGS9uBBO
--HG--
extra : rebase_source : dad1d2084a63413c3975f9e7c66c6b06857c9f23
2018-04-09 12:11:18 +12:00
Andreea Pavel
26f640b36b
Backed out 4 changesets (bug 1366808) for Windows GPU leakchecks on a CLOSED TREE
...
Backed out changeset 23f60e5acaa2 (bug 1366808)
Backed out changeset bf2262b6aca8 (bug 1366808)
Backed out changeset 1fc82af3a155 (bug 1366808)
Backed out changeset 0649f0d9884b (bug 1366808)
2018-04-10 05:11:36 +03:00
Stephen A Pohl
b40a23754c
Bug 1366808: Properly detect buildID mismatches between parent and child processes and display about:restartrequired to prompt the user to restart Firefox before proceeding. r=jimm,felipe,bz
2018-04-09 20:16:31 -04:00
Boris Zbarsky
5171e626a4
Bug 1452235 part 3. Stop using nsIDOMSerializer from JS. r=qdot
...
MozReview-Commit-ID: JbWGcfbmM4b
2018-04-09 16:30:32 -04:00
Brindusan Cristian
9adcf6af5a
Merge mozilla-central to inbound. a=merge CLOSED TREE
2018-04-07 13:00:30 +03:00
Boris Zbarsky
9b3d37b936
Bug 1452010 part 1. Remove uses of nsIDOMDOMException. r=qdot
...
MozReview-Commit-ID: K5zUjh25WJG
2018-04-06 23:27:56 -04:00
Adrian Wielgosik
2837c659de
Bug 1170771 - Remove now-empty nsDOMClassInfo. r=bz
...
MozReview-Commit-ID: 7XsiPD1kTt9
--HG--
extra : rebase_source : 2935c0fe1a51083f37e113c3e0599760f40829e2
2018-04-05 14:20:44 +02:00
Adrian Wielgosik
2bd02cd742
Bug 1170771 - Remove ThisTranslator and support code. r=bz
...
MozReview-Commit-ID: Fv0F4RLCnkL
--HG--
extra : rebase_source : 24c3746ebde37b2bf4ab383cee781dd3bceb93b2
2018-04-05 12:49:24 +02:00
Tom Schuster
2ec273bf6e
Bug 1450574 - Remove DeprecatedLanguageExtension telemetry code. r=jandem
...
--HG--
extra : rebase_source : a5651c0aebdc0f6cc1128e11645b90069e7c6b92
extra : histedit_source : 4e2ec3872ef64a0d43b9379666ea274c008110f9
2018-04-04 20:41:07 +02:00
Bobby Holley
7068793c78
Bug 1437998 - Remove SimpleGestureEvent and OfflineResourceList from kInterfaceShims. r=bz
...
MozReview-Commit-ID: HRQ2rux6tcT
2018-04-04 14:57:04 -07:00
Honza Bambas
31c173ca8a
Bug 1443892 - Add -MOZ_LOG and -MOZ_LOG_FILE command line arguments. r=erahm, r=nfroyd
2018-04-03 11:32:00 -04:00
Andrew McCreight
e80864c94c
Bug 1438688, part 3 - Remove XPT files from the packaging process. r=glandium
...
Now that XPT files are not loaded from files at runtime, code for
packaging XPT files can be removed.
This means that a couple of test XPIDL interfaces will get shipped in
builds to users that weren't before, but I don't think that matters
much.
This also puts XPT files into the local objdir for the XPIDL makefile,
instead of dist/bin, because they are no longer part of the
distribution.
MozReview-Commit-ID: 7gWj8KWUun3
--HG--
extra : rebase_source : 65bac47c2cd1a20b3c675a01b44a25a1d2d3ab7a
2018-03-05 14:27:29 -08:00
Dorel Luca
f24505d99e
Backed out 7 changesets (bug 1438688) for android xpcshell failures on builds/worker/workspace/build/tests/bin/components/test_necko.xpt
...
Backed out changeset 8786eabb61a4 (bug 1438688)
Backed out changeset e05ec1e08b46 (bug 1438688)
Backed out changeset 4c437ba9d984 (bug 1438688)
Backed out changeset 2f243bca1af3 (bug 1438688)
Backed out changeset 4da0e1839353 (bug 1438688)
Backed out changeset 186f916dcc7a (bug 1438688)
Backed out changeset 08b1a5f904e4 (bug 1438688)
2018-04-03 02:30:53 +03:00
Andrew McCreight
fc09560f06
Bug 1438688, part 3 - Remove XPT files from the packaging process. r=glandium
...
Now that XPT files are not loaded from files at runtime, code for
packaging XPT files can be removed.
This means that a couple of test XPIDL interfaces will get shipped in
builds to users that weren't before, but I don't think that matters
much.
This also puts XPT files into the local objdir for the XPIDL makefile,
instead of dist/bin, because they are no longer part of the
distribution.
MozReview-Commit-ID: 7gWj8KWUun3
--HG--
extra : rebase_source : 6f7d4fd1d6cdea2c14866705a2dc972eb5f43382
2018-03-05 14:27:29 -08:00
Felipe Gomes
7d1da2c7e5
Bug 1429178 - Policy: Implement website blocklist/allowlist. r=mixedpuppy
...
MozReview-Commit-ID: EAX0VwxlggK
--HG--
extra : rebase_source : d795b96a0318e7b2bb21bf24c15413111628aa73
2018-03-28 09:29:17 -05:00
Tom Schuster
72acf485fb
Bug 1255800 - Make computeThis return a boolean for easier error handling. r=jorendorff
...
--HG--
extra : rebase_source : 1b4d227aba2fd0e1a458849addb634df9d72111c
extra : histedit_source : 29e8c520ae4d3644131b05794a447a0e7a32796f
2018-03-23 13:09:04 +01:00
Boris Zbarsky
6c499a3613
Bug 1448414. Remove the DOM_OBJECT classinfo bit. r=kmag
2018-03-28 22:46:23 -04:00
Boris Zbarsky
448fab1f17
Bug 1389581 part 2. Remove the now-unused getComponentsForScope API. r=kmag
2018-03-28 22:46:23 -04:00
Boris Zbarsky
50af44ded2
Bug 1389581 part 1. Remove the DOM_OBJECT flag from various Components classinfo. r=kmag
...
Components and friends should not be exposed to content anyway.
MozReview-Commit-ID: 4kCeBcIf9nt
2018-03-28 22:46:22 -04:00
Coroiu Cristina
94b06cd525
Backed out changeset 4d4d373e1619 (bug 1389581) mochitest failures Permission denied to create wrapper for object of class XPCComponents_Interfaces on a CLOSED TREE
2018-03-29 12:21:52 +03:00
Coroiu Cristina
4fbfa44b5b
Backed out changeset 9349d1b031c9 (bug 1389581) for mochitest failures Permission denied to create wrapper for object of class XPCComponents_Interfaces on a CLOSED TREE
2018-03-29 12:21:28 +03:00
Coroiu Cristina
29fa060fbe
Backed out changeset 9e41e9c653f2 (bug 1448414) for mochitest failures Permission denied to create wrapper for object of class XPCComponents_Interfaces on a CLOSED TREE
2018-03-29 12:21:00 +03:00
Boris Zbarsky
05346e7ec6
Bug 1448414. Remove the DOM_OBJECT classinfo bit. r=kmag
2018-03-28 22:46:23 -04:00
Boris Zbarsky
c14bfdc5d9
Bug 1389581 part 2. Remove the now-unused getComponentsForScope API. r=kmag
2018-03-28 22:46:23 -04:00
Boris Zbarsky
78682d0160
Bug 1389581 part 1. Remove the DOM_OBJECT flag from various Components classinfo. r=kmag
...
Components and friends should not be exposed to content anyway.
MozReview-Commit-ID: 4kCeBcIf9nt
2018-03-28 22:46:22 -04:00
Gurzau Raul
8d268c6ce7
Merge mozilla-central to inbound. a=merge CLOSED TREE
...
--HG--
rename : toolkit/components/extensions/ext-permissions.js => toolkit/components/extensions/parent/ext-permissions.js
2018-03-29 01:00:42 +03:00
Tom Ritter
449237fc51
Bug 1378552 - Reduce the liklihood of inadvertently misusing NullPrincipal::Create(). r=ckerschb
...
NullPrincipal::Create() (will null OA) may cause an OriginAttributes bypass.
We change Create() so OriginAttributes is no longer optional, and rename
Create() with no arguments to make it more explicit about what the caller is doing.
MozReview-Commit-ID: 7DQGlgh1tgJ
2018-03-22 13:36:20 -05:00
Cosmin Sabou
6e054fe297
Merge mozilla-central to autoland. a=merge on a CLOSED TREE
2018-03-28 12:52:57 +03:00
Jan Henning
8404f212bd
Bug 1449254 - Use vsnprintf for formatting DebugDump() output on Windows, too. r=mrbkap
...
Since VS2015, vsnprintf is supposed to be C99-compliant on Windows, too and will
especially always null-terminate the string written into the given buffer.
In addition, the build define we were using was misspelled and therefore not
working anyway, so might we as well remove it now.
MozReview-Commit-ID: 44ERI6TUz1B
--HG--
extra : rebase_source : cdbcf6e20033fd94fb96319c7dc35f4aabce5b3f
2018-03-27 19:26:04 +02:00
Jan Henning
380d398020
Bug 1448693
- Make DumpJSStack() output appear somewhere visible on Android. r=mrbkap
...
... by additionally writing it to the logcat.
MozReview-Commit-ID: CvaUOhlNFQ1
--HG--
extra : rebase_source : aae760f7730b148fba12d3a97777568a47adc707
2018-03-25 19:37:58 +02:00
Xidorn Quan
1962625a79
Bug 1448728 part 1 - Make popular headers not include nsWindowSizes.h. r=njn
...
MozReview-Commit-ID: EC5J9Im3gfu
--HG--
extra : source : 9fa9209aeeb00009143c5c21f21210c93184e61f
2018-03-28 10:44:49 +11:00
Tom Schuster
2bf6212869
Bug 1255800 - Remove JS_THIS_OBJECT from dom/xpconnect. r=bz
...
--HG--
extra : rebase_source : dcaa891010e25e10079db853fe4eb1a7fe261e47
2018-03-07 14:35:22 +01:00
Kris Maglione
e53427c4b4
Bug 1448047: Shut down BGReadURLs thread when returning early. r=froydnj
...
Currently, we only shut down the BGReadURLs code when we reach the end of the
task. If we return early because a cache file doesn't exist, though, the
thread never gets shut down. In general, this should only affect sessions
immediately after a cache flush, but it's still not ideal.
MozReview-Commit-ID: 1R9Q9JiBpmY
--HG--
extra : rebase_source : d774b73b06f049e8e6294aa11b1c0390257d1fbe
2018-03-24 12:25:42 -07:00
Boris Zbarsky
455111a348
Bug 1389585. Stop giving XPCJSID DOM_OBJECT classinfo. r=kmag
...
These are not supposed to be exposed to content.
MozReview-Commit-ID: 3odHUn4ZlG
2018-03-22 17:08:44 -04:00
Boris Zbarsky
5a233d72e4
Bug 1448736 part 2. Remove the now-unused forcePrivilegedComponentsForScope API. r=kmag
2018-03-26 13:35:05 -04:00
Boris Zbarsky
cf5fdfc809
Bug 1448735. Stop exposing Components in expanded principal sandboxes. r=kmag
...
I don't see an obvious way to keep the test coverage for same-compartment security wrappers there...
2018-03-26 13:35:05 -04:00
Boris Zbarsky
8ebd656d81
Bug 1448734. Stop exposing Components in content XBL scopes. r=kmag
2018-03-26 13:35:05 -04:00
Boris Zbarsky
1151dd21cc
Bug 1448398. Stop returning unwrapped Components.interfaces from SpecialPowers.Ci. r=kmag
2018-03-26 13:35:04 -04:00
Boris Zbarsky
de9297b4bf
Bug 1448048. Restrict the window.Components shim to non-nightly-only to see whether sites actually use it. r=mccr8
...
MozReview-Commit-ID: 6W1nEyKGlER
2018-03-23 12:53:48 -04:00
Emilio Cobos Álvarez
800551a615
Bug 1448415: Hide getPropertyCSSValue on nightly. r=bz
...
MozReview-Commit-ID: ItqKUMZEpoX
2018-03-24 01:00:43 +01:00
Gurzau Raul
f2571e02d0
Backed out changeset 94a8e9c4c345 (bug 1448048) for Robocop failures on Android on a CLOSED TREE
2018-03-23 23:29:02 +02:00
Boris Zbarsky
0327e321d5
Bug 1448048. Restrict the window.Components shim to non-nightly-only to see whether sites actually use it. r=mccr8
...
MozReview-Commit-ID: 6W1nEyKGlER
2018-03-23 12:53:48 -04:00