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

62874 Коммитов

Автор SHA1 Сообщение Дата
Gurzau Raul 0b613c3887 Merge inbound to mozilla-central r=merge a=merge 2017-12-01 12:56:06 +02:00
Sebastian Hengst 5e55af8f82 merge mozilla-central to autoland. r=merge a=merge 2017-12-01 01:30:16 +02:00
Sebastian Hengst 7cbd9c3050 merge mozilla-inbound to mozilla-central. r=merge a=merge 2017-12-01 01:25:54 +02:00
Brindusan Cristian 6a74eec204 Merge inbound to mozilla-central r=merge a=merge 2017-12-01 00:22:25 +02:00
Ted Campbell c10183b277 Bug 1421445 - Add NOP-slide before JIT code buffers on AMD Bobcat. r=jandem
In order to try and mitigate crashes on 64-bit FF 57+ on AMD Bobcat
CPUs, insert NOPs before the JIT code buffers. On earlier versions of
these processors, hardware bugs cause crashes to occur in locations
before the JIT code stub. For simplicity, the JitCode* pointer is
shifted even on machines that are unaffected. With the previous patch
fixing over allocation, we end up being size-neutral.

MozReview-Commit-ID: 4LqBfOzv6Qy
2017-11-30 10:39:06 -05:00
Ted Campbell 77e7cddb35 Bug 1421445 - Don't waste space allocating jit code buffer. r=jandem
When computing worst-case alignment padding, we don't take into account
the buffer already being partially aligned. This saves one word per
JitCode buffer allocation.

MozReview-Commit-ID: ZMwBzp97xy
2017-11-30 10:38:57 -05:00
Cosmin Sabou 5c4663243d Backed out 23 changesets (bug 1419771) for frequently failing service workers related devtools tests, e.g. devtools/client/aboutdebugging/test/browser_service_workers_push.js. r=backout on a CLOSED TREE
Backed out changeset 2242edc902a5 (bug 1419771)
Backed out changeset 9cc3c29a9e36 (bug 1419771)
Backed out changeset c39ee002c825 (bug 1419771)
Backed out changeset caf7428013f2 (bug 1419771)
Backed out changeset c03970363433 (bug 1419771)
Backed out changeset 7f9de012861e (bug 1419771)
Backed out changeset ed146ac42a7f (bug 1419771)
Backed out changeset a8154698f782 (bug 1419771)
Backed out changeset 8a54c1c8d45d (bug 1419771)
Backed out changeset e32cd55b4c96 (bug 1419771)
Backed out changeset b7f342f436ef (bug 1419771)
Backed out changeset 60464b3e468f (bug 1419771)
Backed out changeset 108806f14ad8 (bug 1419771)
Backed out changeset 65998b0740f3 (bug 1419771)
Backed out changeset 0d23880842d8 (bug 1419771)
Backed out changeset 862aeaa2fefd (bug 1419771)
Backed out changeset cbc192478bf5 (bug 1419771)
Backed out changeset c58ef2a91bad (bug 1419771)
Backed out changeset 2b0a4bfd654f (bug 1419771)
Backed out changeset f182eba574f9 (bug 1419771)
Backed out changeset d9999a624097 (bug 1419771)
Backed out changeset 4050a1b8db2b (bug 1419771)
Backed out changeset a1a68e6500d9 (bug 1419771)
2017-11-30 22:35:32 +02:00
Cosmin Sabou 044c09018c Backed out 2 changesets (bug 1421445) for Valgrind test failures r=backout on a CLOSED TREE
Backed out changeset 39f221c258fc (bug 1421445)
Backed out changeset 797d9e71b648 (bug 1421445)
2017-11-30 22:33:01 +02:00
Jon Coppeard 295da27e19 Bug 1421319 - Split out GCManagedDeletePolicy into its own header r=sfink 2017-11-29 11:29:13 +00:00
Jan de Mooij 748dad0399 Bug 1417961 - Fix Baseline debug mode OSR to delazify type monitor chains correctly. r=tcampbell
--HG--
extra : rebase_source : 56b5cce9c4613faafea4779c11fbb150a8aae998
2017-11-30 15:53:38 +01:00
Lars T Hansen d14121a251 Bug 1420104 - rabaldr, remove more ifdefs, simplify more. r=bbouvier
Removing some more porting interfaces here because they are not
necessary.  This was informed by ongoing ARM64 work (hence there's a
generalization here for ARM64) but is really independent of it.

MozReview-Commit-ID: 6L8qZaOzUFi

--HG--
extra : rebase_source : ff4f1aef90049eb99517a7d7077c063a225d5825
2017-11-28 09:13:52 +01:00
Nick Fitzgerald a97cf09f2d Bug 1421043 - Remove strange whitespace characters in SavedStacks.h comment. r=jimb 2017-11-27 12:41:00 -05:00
Lars T Hansen e7c5bdd063 Bug 1420104 - rabaldr, clean up temp register managements and some ifdefs. r=bbouvier
A few ifdefs that were on platform names were really supposed to be on
JS_PUNBOX64.

Changes temp register management so that functions in the platform
layer now allocate and return the temp registers when appropriate and
return invalid registers when not appropriate.  This cleans up a bit
of code in the platform-independent layer.

MozReview-Commit-ID: K69Bj1gUNbZ

--HG--
extra : rebase_source : 39a536cfad462707689e3dc3cdc9e64ed3f598fc
2017-11-23 12:37:22 +01:00
Lars T Hansen 9435161143 Bug 1420104 - rabaldr, fix operand order when loading from CPU stack and locals. r=bbouvier
Change the methods on the BaseFrame so that they take the source first
and destination last.  Generally rename operands so that they are
called 'src' and 'dest', when meaningful.

MozReview-Commit-ID: K3tldAmfice

--HG--
extra : rebase_source : 167fd38a59fa11f0f3d3a11a899f255b54c0313c
2017-11-23 11:38:22 +01:00
Lars T Hansen 9f52612a66 Bug 1420104 - rabaldr, fix operand order when loading from value stack. r=bbouvier
Change the layer in BaseCompiler that operates on Stk& values so that
it always takes source first and destination last.  Generally rename
operands so that they are called 'src' and 'dest', to further reduce
confusion.

MozReview-Commit-ID: 4sldPz1mYtw

--HG--
extra : rebase_source : ec8b3db539485e1dacad310fc1500f7e85de0261
2017-11-23 10:35:11 +01:00
Lars T Hansen 95c4bf2498 Bug 1420104 - rabaldr, reorganize and tidy up. r=bbouvier
Clean up the handling of invalid registers by adding predicates to the
register wrapper types as well as static constructors to construct
invalid register values.

Move code around so that register management code is separated from
the value stack code.

Generally clean up and use abstractions that load constants and
perform register-to-register moves.

MozReview-Commit-ID: KpJisW1HEV2

--HG--
extra : rebase_source : a21aee1fced94f3ffc2e6e8af892caeb89a4a235
2017-11-23 10:13:33 +01:00
shindli c040137399 Merge mozilla-inbound to mozilla-central. r=merge a=merge 2017-11-30 12:01:52 +02:00
Andreea Pavel ca1cd48e2d Backed out 1 changesets (bug 1421319) for Spidermonkey build bustage e.g. ecma_6/TypedArray/map-and-filter.js r=backout a=backout on a CLOSED TREE
Backed out changeset 52b19d5cd4d0 (bug 1421319)
2017-11-30 04:15:27 +02:00
Bogdan Tara df97c78dbf Merge mozilla-central to inbound. r=merge a=merge on a CLOSED TREE 2017-11-30 01:10:06 +02:00
Bogdan Tara d8635b15e4 Merge inbound to mozilla-central r=merge a=merge on a CLOSED TREE 2017-11-30 00:41:09 +02:00
Ted Campbell 77ee839bdc Bug 1418894 - Use marker values in XDR data to detect corruption. r=nbp
MozReview-Commit-ID: D6PxPBdgtPP
2017-11-29 16:40:32 -05:00
Ted Campbell c9e3f6d398 Bug 1418894 - Harden XDR data decoding. r=nbp
This patch adds better error detection to XDR decoding to reduce memory
corruption in the event that XDR data is corrupt (which is not
*supposed* to happen).

Add missing default cases. Make out-of-range values fail the decode by
asserting in debug, and returning a TranscodeError in release. Mix a
magic value into enum value before transcoding to buffer (to reduce
chance of garbage data being decoded).

MozReview-Commit-ID: 1wPkho9dm8c
2017-11-29 16:40:30 -05:00
Jan de Mooij d05bff2588 Bug 1414849 - Remove a bogus assert. r=tcampbell
--HG--
extra : rebase_source : 0b24d51ff49564d43dc8cd86d076fa17ab342608
2017-11-29 16:03:50 +01:00
Jan de Mooij 59cae193e5 Bug 1415883 - Fix some issues in ShiftFromList. r=arai
--HG--
extra : rebase_source : a05f9755046f54dfbc2b9ec1c41a298db5e127f9
2017-11-29 16:03:12 +01:00
Jon Coppeard 47f73350d6 Bug 1421319 - Split out GCManagedDeletePolicy into its own header r=sfink 2017-11-29 11:29:13 +00:00
Jan de Mooij fd27c36b82 Bug 1420961 part 4 - Add missing markId call to Reify function. r=jonco 2017-11-29 11:42:14 +01:00
Jan de Mooij 37d8d3bd88 Bug 1420961 part 3 - Remove JSITER_ENUMERATE and flags arguments. r=evilpie 2017-11-29 11:41:41 +01:00
Jan de Mooij 94ab7abbe5 Bug 1420961 part 2 - Replace if-statement with an assert in js::GetIterator. r=evilpie 2017-11-29 11:41:10 +01:00
Jan de Mooij 5e9cba3e6b Bug 1420961 part 1 - Make NativeIteratorNext infallible. r=evilpie 2017-11-29 11:40:30 +01:00
Dorel Luca f622b80073 Merge mozilla-central to mozilla-inbound r=merge 2017-11-29 12:34:02 +02:00
Dorel Luca be78e6ea9b Merge inbound to mozilla-central r=merge a=merge 2017-11-29 12:26:15 +02:00
Yoshi Huang 5dfaa64c5f Bug 1421152 - Add a checked cast method to TenuredCell. r=jonco 2017-11-29 14:56:50 +08:00
Luke Wagner d33cebae08 Bug 1415291 - Baldr: factor out ToTableIndex() (r=bbouvier)
MozReview-Commit-ID: 9T8pJS5ajgT
2017-11-28 22:58:21 -06:00
Tiberius Oros 18ea9ecad9 Merge mozilla-central to mozilla-inbound. r=merge a=merge CLOSED TREE
--HG--
rename : devtools/client/webconsole/new-console-output/test/mochitest/test-bug-618078-network-exceptions.html => devtools/client/webconsole/new-console-output/test/mochitest/test-network-exceptions.html
rename : devtools/client/webconsole/new-console-output/test/mochitest/test_bug1092055_shouldwarn.html => devtools/client/webconsole/new-console-output/test/mochitest/test-subresource-security-error.html
rename : devtools/client/webconsole/new-console-output/test/mochitest/test_bug1092055_shouldwarn.js => devtools/client/webconsole/new-console-output/test/mochitest/test-subresource-security-error.js
rename : devtools/client/webconsole/new-console-output/test/mochitest/test_bug1092055_shouldwarn.js^headers^ => devtools/client/webconsole/new-console-output/test/mochitest/test-subresource-security-error.js^headers^
extra : rebase_source : e126b0ab427161de0acd67cdfb9a1434415412dc
2017-11-29 02:25:59 +02:00
Jesse Schwartzentruber 5b3e545888 Bug 1419798 - Only build fuzzing interfaces if clang or AFL compilers are used. r=glandium
MozReview-Commit-ID: H1I9wdqTV4n

--HG--
extra : rebase_source : 18eb2536a5db80c585828ae44329f1a00d82209a
2017-11-22 11:21:09 -05:00
Bogdan Tara a14227d83a Merge mozilla-central to autoland. r=merge a=merge on a CLOSED TREE 2017-11-30 01:08:24 +02:00
Oriol Brufau e5cfd8f778 Bug 1421412 - Log a failure when there is a generator function in asm.js r=bbouvier
MozReview-Commit-ID: BiesfIMyH9j

--HG--
extra : rebase_source : 7dc3124c2195ca2d5f21e33f4fe0cbfa12963ac9
2017-11-29 17:09:18 +01:00
Edgar Chen 9f4324f41e Bug 1416999 - Remove document.registerElement; r=smaug
MozReview-Commit-ID: HiX07Vbljhk

--HG--
rename : dom/base/test/chrome/registerElement_ep.js => dom/base/test/chrome/custom_element_ep.js
rename : dom/base/test/chrome/frame_registerElement_content.html => dom/base/test/chrome/frame_custom_element_content.html
rename : dom/base/test/chrome/test_registerElement_content.xul => dom/base/test/chrome/test_custom_element_content.xul
rename : dom/base/test/chrome/test_registerElement_ep.xul => dom/base/test/chrome/test_custom_element_ep.xul
rename : dom/base/test/test_document_register.html => dom/base/test/test_custom_element.html
rename : dom/tests/mochitest/webcomponents/test_document_register.html => dom/tests/mochitest/webcomponents/test_custom_element_define.html
rename : dom/tests/mochitest/webcomponents/test_document_register_parser.html => dom/tests/mochitest/webcomponents/test_custom_element_define_parser.html
rename : dom/tests/mochitest/webcomponents/test_template_custom_elements.html => dom/tests/mochitest/webcomponents/test_custom_element_template.html
extra : rebase_source : cd2ebf166e8bd9c49910387c9136d7b83b51598d
2017-11-16 12:23:15 +08:00
Dorel Luca 79499f4044 Merge mozilla-central to autoland r=merge on a CLOSED TREE 2017-11-29 12:31:25 +02:00
Jeff Walden 3fea56de3a Bug 1422101 - Add some sanity-checking code to some of the name-resolution manipulation. r=arai in private conversation
--HG--
extra : rebase_source : fadcc901d523069f1cbc3daca68396f8efff269b
2017-11-30 11:34:26 -08:00
Narcis Beleuzu 2d0c93c273 Merge mozilla-central to inbound. r=merge a=merge on a CLOSED TREE 2017-12-01 00:47:21 +02:00
Matthew Gaudet 700aa2f9ba Bug 1421685 - Correct scope chain reference in Baseline. r=tcampbell 2017-11-29 12:18:41 -05:00
Margareta Eliza Balazs cb71a3c4fe Merge mozilla-central to mozilla-autoland. r=merge a=merge CLOSED TREE 2017-11-30 12:55:54 +02:00
Zibi Braniecki cc1a11fe27 Bug 1421453 - Extend Intl.RelativeTimeFormat to support `type` option. r=Waldo
MozReview-Commit-ID: BUdmtVSF5La

--HG--
extra : rebase_source : 47f5dbc9111eede3b7cdf905cc207d8dcaded119
2017-11-28 14:45:04 -08:00
Lars T Hansen a1a47e4c9a Bug 1419034 - rabaldr, factor out the stack frame logic. r=bbouvier
This patch does several interconnected things with Rabaldr's stack
frame.

First, it abstracts the stack frame logic from BaseCompiler into
BaseStackFrame; BaseCompiler now only knows very little about the
frame, and what it is allowed to know is documented (mostly that there
is a static part and a dynamic part and that masm.framePushed() is
always correct).  In particular, BaseCompiler must use BaseStackFrame
to push and pop values from its value stack, it can't use masm
directly.  This abstraction is important for ARM64, where we can't
freely push and pop, because SP must be aligned on a 16-byte boundary.
BaseStackFrame is also in charge of allocating locals to frame slots
and to access the locals.  Crucially, these abstractions do not
require us to use a frame pointer.

Second, it removes all uses of the StackPointer variable (not defined
on ARM64) and most uses of masm.getStackPointer() from BaseCompiler;
the few that are left are well-defined cross-platform and are not
sensitive to the layout of the frame, only its size.

Third, it makes BaseLocalIter the property of BaseStackFrame (but
defined outside the latter since the iter class is accessed
externally).

MozReview-Commit-ID: 5BWCTeK1NOR

--HG--
extra : rebase_source : 5955d2cc47e94d855c117fd1f508c94398d6a990
extra : source : 3c874514716acf7b55fb2c0805e138b636071c88
2017-10-18 12:16:30 +01:00
Lars T Hansen 5a943ee471 Bug 1421565 - Propagate allocation failure. r=bbouvier
These guards were mistakenly removed when bug 1377576 landed, because
I misunderstood how the allocators for these five node types could
fail - they can return nullptr for reasons other than allocation
failure.

MozReview-Commit-ID: 4A0GdFRkeHn

--HG--
extra : rebase_source : 3b5ac3aa6a0ca37e0e664c0addc96ece7b3e143c
2017-11-30 12:22:10 +01:00
Andrea Marchesini a8cc2c7114 Bug 1419771 - Introduce DOMPreferences, a thread-safe access to preferences for DOM - part 1 - dump enabled, r=asuth 2017-11-30 18:16:44 +01:00
Dragan Mladjenovic d58de42ec0 Bug 1421192 - Baldr: Ensure that sAlreadyInSignalHandler is initialized. r=luke
--HG--
extra : rebase_source : 8e3b5cb5e4e2b1e1b1f14f2e08f64d5d44af88f2
2017-11-28 01:17:00 -05:00
Jan de Mooij e001275fd0 Bug 1419758 - Don't attach a constructing stub if the callee doesn't have JIT code yet. r=bbouvier 2017-11-28 16:53:01 +01:00
André Bargull d184181ecb Bug 1406095 - Add fast path for native objects to Object.values/entries. r=jandem 2017-11-28 02:37:21 -08:00