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

60533 Коммитов

Автор SHA1 Сообщение Дата
Tom Tromey 3a4419ea39 Bug 1369831 - fix "telementry" typo in js; r=billm
MozReview-Commit-ID: DxhNlSnvZZC

--HG--
extra : rebase_source : f4d93a9f4f257480c29004c481b494b10df8abe8
2017-06-02 12:49:56 -06:00
Jan de Mooij 76f4ddb420 Bug 1369963 - Fix bug1355573.js jit-test to properly check for OOM. r=me 2017-06-05 11:35:53 +02:00
Jan de Mooij 734d2d104e Bug 1364346 part 2 - Rename unshiftElements to moveShiftedElements, tweak heuristics. r=anba 2017-06-05 11:27:25 +02:00
Kris Maglione bd72f4a6ff Bug 1366402: Use AutoMemMap helper in mozJSComponentLoader. r=mccr8
This helper is already being used in the script preloader, and encapsulates
all of the memory mapping and RAII logic used to do the same in the component
loader. Reusing it there allows us to remove a lot of redundant code.

This is applied on top of the patches for bug 989373 in order to avoid
conflicts.

MozReview-Commit-ID: AJ26qV4JLci

--HG--
extra : rebase_source : 88a338ef9a88ff0b775f3f31600f32892b932940
extra : amend_source : 8312eef5078b2782c872ae964c23c2adb54f5ef7
2017-05-20 12:20:35 -07:00
Ehsan Akhgari 3abec0f53d Bug 1370100 - Make browser_dead_object.js correctly wait for the window to be destroyed instead of relying on the scheduling of the corresponding event; r=kmag 2017-06-04 21:42:09 -04:00
André Bargull e9c1009c08 Bug 1357330 - Add test case. r=shu 2017-04-19 05:42:25 -07:00
André Bargull 965d9eff0e Bug 1357330. r=shu 2017-04-18 07:07:13 -07:00
Kris Maglione e51750a9c4 Bug 1322235: Part 6 - Replace AddonPolicyService with a stub implementation in ExtensionPolicyService. r=mixedpuppy,zombie
This replaces the JS policy service stubs with a pure C++ version which
directly makes policy decisions based on active WebExtensionPolicy objects.

This is the first step in a larger refactoring, which will remove the
ExtensionManagement module entirely, and replace the current add-on policy
service with direct, non-virtual access to native WebExtensionPolicy objects.

It will also be followed by related changes to migrate the content script and
extension page matching to native code, based on the existing MatchPattern and
WebExtensionPolicy bindings.

MozReview-Commit-ID: 2MpbmXZGiPZ

--HG--
extra : rebase_source : 8b268618164b45605143e858665e592de829a6fa
2017-06-03 17:12:14 -07:00
Nicholas Nethercote 2b5f064d4e Bug 1369276 (part 2) - Convert ProfileEntry::Flags to Kind. r=shu.
There are three flags in ProfileEntry::Flags, which suggests there are 2**3 = 8
combinations. But there are only actually 4 valid combinations.

This patch converts the three flags to a single "kind" enum, which makes things
clearer. Note also that the patch moves the condition at the start of
AddPseudoEntry() to its callsite, for consistency with the earlier JS_OSR entry
kind check.

--HG--
extra : rebase_source : 0950769ee1530291860ef3be47d240df5939e871
2017-06-02 12:46:09 +10:00
Ehsan Akhgari bcf998a848 Bug 1370101 - Make test_windowProxyDeadWrapper.html correctly wait for the window to be destroyed instead of relying on the scheduling of the corresponding event; r=kmag 2017-06-04 19:33:16 -04:00
Ehsan Akhgari a621e63109 Bug 1368275 - Make test_nukeContentWindow.html correctly wait for the window to be destroyed instead of relying on the scheduling of the corresponding event; r=kmag 2017-06-03 12:20:27 -04:00
Jan de Mooij 53b79d09c3 Bug 1358135 part 2 - Preserve a Zone's JIT code also when it has Baseline code on the stack. r=bhackett 2017-06-03 17:30:02 +02:00
Wes Kocher 0d038d6513 Merge autoland to m-c a=merge
MozReview-Commit-ID: Fjt5XIDd0p6
2017-06-02 17:21:39 -07:00
Greg Mierzwinski 28d6f94bdb Bug 1369410 - Enable JSVM code coverage collection on linux64-ccov. r=jmaher
This patch enables linux64-ccov to run JSVM code coverage collection at the same time GCOV code coverage is being collected. It uploads the code coverage that was created in a file called 'code-coverage-jsvm.zip'.

MozReview-Commit-ID: 4x5GrjRJRo4

--HG--
extra : rebase_source : 461eb6a0d6bf9f16a83899a1147c0f9cf2c02823
2017-06-02 09:57:45 -04:00
Jan de Mooij 31e118ed1f Bug 1368570 - Fix js::FinishCompilation to handle OOM correctly. r=nbp 2017-06-02 18:42:06 +02:00
Jan de Mooij 8f33388e7a Bug 1368735 - Fix GeneratorObject::suspend to allocate the array before changing generator state. r=jonco 2017-06-02 18:41:15 +02:00
Jan de Mooij ab86f7bf5d Bug 1368595 part 2 - Rewrite bug1355573.js jit-test to work around the harness not supporting error + allow-oom. r=jonco 2017-06-02 18:36:51 +02:00
Nick Fitzgerald e700643daf Bug 1369536 - Manually manage the js::vtune::VTuneMutex lifetime; r=jonco
We shouldn't be using types with constructors and/or destructors as static
variables because the time of construction/destruction is hard to determine,
which leads to bugs. Instead, we should manage these things manually from
JS_Init and JS_Shutdown.
2017-06-02 09:16:28 -07:00
Benjamin Bouvier 49989051ed Bug 1369741: Rename wasm::MaybeActiveActivation to wasm::ActivationIfInnermost; r=luke
MozReview-Commit-ID: 569spEzEZuJ

--HG--
extra : rebase_source : dee532a6fe8dfd2645c6fc3bd7d925b2e7a9f53d
2017-06-02 16:10:44 +02:00
Paul Bone 1c83591faa Bug 1367455 - Attempt to avoid interrupting currently running GCs. r=jonco
--HG--
extra : rebase_source : d9ddef67f5a62e339136feb5f142c0889053af53
2017-05-30 15:43:51 +10:00
Carsten "Tomcat" Book c63e6d4789 Merge mozilla-central to mozilla-inbound 2017-06-02 14:32:35 +02:00
Carsten "Tomcat" Book efccdfdb0a merge mozilla-inbound to mozilla-central a=merge 2017-06-02 14:22:17 +02:00
Jon Coppeard 959a65d9e8 Bug 1369444 - Sweep the atoms table incrementally r=sfink 2017-06-02 10:32:37 +01:00
Jon Coppeard 95eca1dc48 Bug 1367815 - Add assertions to prevent proxies other than cross compartment wrappers from having cross compartment targets r=sfink 2017-06-02 10:32:37 +01:00
Jan de Mooij 78f298a714 Bug 1368595 - Add allow-oom attribute to bug1355573.js jit-test. r=jonco 2017-06-02 09:08:09 +02:00
Jan de Mooij 162c7bebf9 Bug 1369042 - Optimize @@toStringTag and @@toPrimitive property lookups in the VM. r=evilpie 2017-06-02 09:06:30 +02:00
Benjamin Bouvier bf0d0e8855 Bug 1367871: Loop over the wasm activations to find the one that's actually interrupted; r=luke
MozReview-Commit-ID: GU7os89GqVO

--HG--
extra : rebase_source : 2a8da223982421b78dae370f4c1aba63f1c6d162
2017-05-30 18:32:33 +02:00
Benjamin Bouvier 54b6961485 Bug 1368844: Check WebAssembly.{Memory,Table} sizes against internal limits; r=luke
MozReview-Commit-ID: GZSVjza1RfL

--HG--
extra : rebase_source : 6605bb3f911a87ce0b46920873a9db73880bec0a
2017-05-31 17:23:12 +02:00
Ting-Yu Chou 2ac7ffc557 Bug 1363963 - Check whether there are expando object attached before trying to retrieve it. r=bholley
In most cases no expando object has ever been attached, we don't need to do a
lot of things and realize it in the last minute.

MozReview-Commit-ID: 5u9ivZQj5L8

--HG--
extra : rebase_source : 71405f978a7c832a6694206bf0410debe596967c
2017-05-26 10:04:40 +08:00
Ryan VanderMeulen de281f5bba Merge m-c to autoland. a=merge 2017-06-02 11:11:13 -04:00
Carsten "Tomcat" Book 5fba38b977 Merge mozilla-central to autoland 2017-06-02 14:33:40 +02:00
Masatoshi Kimura 7e1cc0b6f1 Bug 1368260 - Enable warnings-as-errors for embedjs.py. r=glandium
js/src/builtin/Intl.js will spew three C4819 warnings every time non-Western
developers build the tree locally on Windows because of non-ASCII characters
in the file. Usually we have compilers use UTF-8 to prevent this, but it did
not work for Intl.js because embedjs.py did not pass around $CPPFLAGS.
--enable-warnings-as-errors did not catch this because embedjs.py did not
pass around warnings-as-errors flags either.

This patch will fix both issues.

MozReview-Commit-ID: 5D1TCGnIX1T

--HG--
extra : rebase_source : 9f353d46d0a5320f9a0b9be2aea11fb66d6a88b4
2017-05-27 22:38:43 +09:00
Jon Coppeard c0e306ba33 Bug 1352507 - Reset the profiling stack when the shell context owning it dies r=njn 2017-06-01 15:18:47 +01:00
Florian Quèze 0adcd1d3e9 Bug 1358798 - add a test preventing us from loading scripts unintentionally during startup, r=mconley,mccr8. 2017-05-31 23:00:43 +02:00
Andrea Marchesini d5b5f35f62 Bug 1369073 - Expose MessagePort/MessageChannel to xpcshell tests, r=bholley 2017-05-31 21:16:03 +02:00
Ryan VanderMeulen 678c457c1e Backed out changeset 8f6a8013e62c (bug 1367871) for Stack.cpp asserts on a CLOSED TREE.
--HG--
extra : rebase_source : b228631ffb7f367213be731ab3324a4736825b17
2017-05-31 12:08:40 -04:00
Benjamin Bouvier d7f2915432 Bug 1367871: Loop over the wasm activations to find the one that's actually interrupted; r=luke
MozReview-Commit-ID: GU7os89GqVO

--HG--
extra : rebase_source : 0038070c3227393168fbcf5531dd393bcaa63355
2017-05-30 18:32:33 +02:00
Ehsan Akhgari a01623a51a Bug 1368285 - Make test_nuke_webextension_wrappers.js correctly wait for the window to be destroyed instead of relying on the scheduling of the corresponding event; r=kmag 2017-05-31 09:31:47 -04:00
André Bargull 265014bbc7 Bug 1368344 - Disable GC zeal in testUnbarrieredEquality. r=jonco 2017-05-30 00:29:09 -07:00
Carsten "Tomcat" Book eb742c507d Merge mozilla-central to mozilla-inbound 2017-05-31 14:23:37 +02:00
Carsten "Tomcat" Book 1a0d9545b9 merge mozilla-inbound to mozilla-central a=merge 2017-05-31 11:28:43 +02:00
Jan de Mooij 5639ebc5f7 Bug 1368509 part 2 - Generalize Baseline unknown/unknownObject type update stubs. r=tcampbell 2017-05-31 09:43:16 +02:00
Jan de Mooij 16fda3b6c7 Bug 1368509 part 1 - Clean up DoTypeUpdateFallback a bit. r=tcampbell 2017-05-31 09:42:43 +02:00
Heiher a199a24009 Bug 1367629 - IonMonkey: MIPS: Fix sync instruction encoding for Loongson. r=h4writer
---
 js/src/jit/mips-shared/Assembler-mips-shared.cpp | 2 ++
 1 file changed, 2 insertions(+)
2017-05-31 13:21:31 +08:00
Hiroyuki Ikezoe 4f9e37a42f Bug 1361938 - Mark Gecko_UnsetDirtyStyleAttr as ignoreContens for now. r=me DONTBUILD
MozReview-Commit-ID: 8lvm3ZP3y59

--HG--
extra : source : 29d3007e7ed0875cd7d6e37e24f5f398cb62b172
2017-05-31 14:51:24 +09:00
Phil Ringnalda b4fe319739 Backed out changeset 29d3007e7ed0 ("bug 1358966") for landing with the wrong bug number
MozReview-Commit-ID: B9RrVZuSh5Z
2017-05-30 22:56:48 -07:00
Hiroyuki Ikezoe 990a45167c Bug 1358966 - Mark Gecko_UnsetDirtyStyleAttr as ignoreContens for now. r=me
MozReview-Commit-ID: 8lvm3ZP3y59
2017-05-31 14:51:24 +09:00
Ryan VanderMeulen df47cd92cd Merge inbound to m-c. a=merge 2017-05-30 20:36:44 -04:00
Shu-yu Guo 92f3250d75 Bug 1355046 - Don't reset column and line info when emitting useless statements in BCE. (r=jorendorff) 2017-05-30 13:38:05 -07:00
Jan de Mooij 6ec0d6f598 Bug 1368461 part 2 - Pass NewObjectKind to RegExpAlloc so most callers can use nursery allocation. r=jonco 2017-05-30 12:11:56 +02:00