Commit Graph

447135 Commits

Author SHA1 Message Date
Sotaro Ikeda
d7e0a22d6a Bug 1210182 - Implement GrallocTextureHostBasic r=nical 2015-10-26 22:43:07 -07:00
Birunthan Mohanathas
44936aabb2 Bug 1217320 - Remove more XPIDL signature comments in .cpp files. r=froydnj
Comment-only, DONTBUILD.
2015-10-27 06:54:25 +02:00
Xidorn Quan
1a693cf130 Bug 962249 part 3 - Add Window.scrollMin{X,Y} (chrome-only) and convert most of scrollMaxX uses and part of scrollMaxY uses to combinations with the new properties. r=roc,bz
--HG--
extra : source : a07399cae357020c4f6dd33dac16eae82882cc83
2015-10-27 13:38:02 +09:00
Xidorn Quan
53b6bfd6d2 Bug 962249 part 2 - Add Edge() helper method to BaseRect. r=roc
--HG--
extra : source : 4b1e87fe574699d40f1c949d2347ecf30eb5b065
2015-10-27 13:38:02 +09:00
Xidorn Quan
9c39f97e15 Bug 962249 part 1 - Add Element.scroll{Top,Left}Min (chrome-only) and convert most of scrollLeftMax uses and part of scrollTopMax uses to combinations with the new properties. r=roc,bz
--HG--
extra : source : 06ea81fe3f64c072d100e42b76678eaa9fb7448c
2015-10-27 13:38:02 +09:00
JW Wang
19425ba626 Bug 1218280. Part 2 - remove unused code. r=roc. 2015-10-27 10:28:28 +08:00
JW Wang
a7589ce310 Bug 1218280. Part 1 - create MediaResourceCallback for MediaResource to send notifications. r=roc. 2015-10-27 10:28:26 +08:00
Kyle Huey
c7d3c4e21a Bug 1216401: Eviscerate nsIDOMWindow, move still needed methods to nsPIDOMWindow. r=bz 2015-10-26 14:37:32 -07:00
Ehsan Akhgari
8bb8104d86 Bug 1218499 - Make FetchEvent.request nullable; r=bzbarsky 2015-10-26 23:00:19 -04:00
Ehsan Akhgari
03c42e42be Bug 1218152 - Make Window.caches and WorkerGlobalScope.caches SameObject; r=bzbarsky 2015-10-26 23:00:18 -04:00
Ehsan Akhgari
6a86907c4e Bug 1218151 - Make FetchEventInit.isReload default to false; r=bzbarsky 2015-10-26 23:00:17 -04:00
Ehsan Akhgari
eef3a738ad Bug 1218150 - Mark the members of Clients as NewObject; r=bzbarsky 2015-10-26 23:00:17 -04:00
Ehsan Akhgari
7029e804f8 Bug 1218135 - Remove FetchEvent.client; r=bzbarsky
This has been removed from the spec.  See:
https://github.com/slightlyoff/ServiceWorker/issues/723#issuecomment-123516555
2015-10-26 23:00:16 -04:00
Ehsan Akhgari
68894ddc1f Bug 1218131 - Mark FetchEvent.request as SameObject; r=bzbarsky 2015-10-26 23:00:15 -04:00
Ehsan Akhgari
61cf88b565 Bug 1214772 - Part 2: Make FetchEvent inherit from ExtendableEvent; r=bzbarsky 2015-10-26 23:00:14 -04:00
Ehsan Akhgari
b17439be5e Bug 1214772 - Part 1: Move the declaration of FetchEvent to after that of ExtendableEvent; r=bkelly 2015-10-26 23:00:13 -04:00
Chris Peterson
012798f903 Bug 1217726 - Fix -Wimplicit-fallthrough warnings in dom/plugins. r=jimm
dom/plugins/base/nsNPAPIPlugin.cpp:1974:3 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
dom/plugins/base/nsNPAPIPlugin.cpp:2200:3 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
dom/plugins/ipc/PluginInstanceChild.cpp:507:5 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
2015-10-06 21:20:20 -07:00
Heiher
fe4db105c1 Bug 1217873 - IonMonkey: MIPS: Move BailoutStack to architecture dependent. r=arai f=nbp
---
 js/src/jit/mips-shared/Bailouts-mips-shared.cpp                     | 5 +----
 js/src/jit/mips32/Bailouts-mips32.cpp                               | 4 ++--
 .../Bailouts-mips-shared.h => mips32/Bailouts-mips32.h}             | 6 +++---
 js/src/jit/mips32/Trampoline-mips32.cpp                             | 2 +-
 js/src/jit/mips64/Bailouts-mips64.cpp                               | 4 ++--
 .../Bailouts-mips-shared.h => mips64/Bailouts-mips64.h}             | 6 +++---
 js/src/jit/mips64/Trampoline-mips64.cpp                             | 2 +-
 7 files changed, 13 insertions(+), 16 deletions(-)
 copy js/src/jit/{mips-shared/Bailouts-mips-shared.h => mips32/Bailouts-mips32.h} (93%)
 rename js/src/jit/{mips-shared/Bailouts-mips-shared.h => mips64/Bailouts-mips64.h} (93%)

--HG--
rename : js/src/jit/mips-shared/Bailouts-mips-shared.h => js/src/jit/mips32/Bailouts-mips32.h
rename : js/src/jit/mips-shared/Bailouts-mips-shared.h => js/src/jit/mips64/Bailouts-mips64.h
2015-10-27 18:21:38 +08:00
Heiher
eead0ff209 Bug 1205134 - IonMonkey: MIPS: Split shareable code to mips-shared in MacroAssembler-mips32. r=lth f=nbp
---
 .../MacroAssembler-mips-shared.cpp}                | 2977 +-------------------
 .../MacroAssembler-mips-shared.h}                  | 1236 +-------
 js/src/jit/mips32/MacroAssembler-mips32.cpp        |  766 -----
 js/src/jit/mips32/MacroAssembler-mips32.h          |  158 +-
 js/src/moz.build                                   |    1 +
 5 files changed, 118 insertions(+), 5020 deletions(-)
 copy js/src/jit/{mips32/MacroAssembler-mips32.cpp => mips-shared/MacroAssembler-mips-shared.cpp} (14%)
 copy js/src/jit/{mips32/MacroAssembler-mips32.h => mips-shared/MacroAssembler-mips-shared.h} (11%)

--HG--
rename : js/src/jit/mips32/MacroAssembler-mips32.cpp => js/src/jit/mips-shared/MacroAssembler-mips-shared.cpp
rename : js/src/jit/mips32/MacroAssembler-mips32.h => js/src/jit/mips-shared/MacroAssembler-mips-shared.h
2015-10-27 18:21:31 +08:00
Chris Pearce
574fb1f8bc Bug 1189196 - Update EME mochitest to use new navigator.requestMediaKeySystemAccess. r=jwwang 2015-10-27 14:10:51 +13:00
Chris Pearce
7beb9c132d Bug 1189196 - Clean up logging of navigator.requestMediaKeySystemAccess. r=jwwang 2015-10-27 14:10:51 +13:00
Chris Pearce
9e2442eafa Bug 1189196 - Process MediaKeySystemConfiguration in navigator.requestMediaKeySystemAccess. r=jwwang 2015-10-27 14:10:51 +13:00
Chris Pearce
51df37a7c8 Bug 1189196 - Rename MediaKeySystemOptions to MediaKeySystemConfiguration and update WebIDL. r=bz 2015-10-27 14:10:51 +13:00
Ehsan Akhgari
0d4e98b0d2 Bug 1203359 - Enable interception of opaque responses through service workers; r=bkelly 2015-10-26 20:47:46 -04:00
Jakob Olesen
90ca5522d7 Bug 1207827 - Delete Assembler::actualOffset() and transitive closure. r=nbp
The implemetation of Assembler::actualOffset() is now a no-op in all
targets, and it is no longer necessary to rewrite assembler buffer
offsets to their final form after finishing the assembler buffer.

- Delete Assembler::actualOffset() in all targets.
- Delete AsmJSModule::CodeRange::updateOffsets().
- Delete AsmJSModule::updateCodeOffset().
- Delete AsmJSModule::updateOffsets().
- Delete CodeOffsetLabel::fixup().
- Delete ICEnty::fixupReturnOffset().
- Delete LSafepoint::fixupOffset().
- Delete OsiIndex::fixUpOffset().
- Delete PCMappingEntry::fixupNativeOffset().

Also delete all code calling these functions.
2015-10-26 17:06:09 -07:00
Jakob Olesen
529ad0893c Bug 1207827 - Remove ARM temporary offset buffers. r=nbp
The ARM assembler no longer needs to keep track of code offsets for
later translation to 'actual' offsets. The AssemblerBuffer offsets
are directly usable now.

Remove tmpDataRelocations_, tmpPreBarriers_, and tmpJumpRelocations_.
2015-10-26 17:06:09 -07:00
Jakob Olesen
ebcd10e003 Bug 1207827 - Remove ARM64 temporary offset buffers. r=nbp
The ARM64 assembler no longer needs to keep track of code offsets for
later translation to 'final' offsets. The AssemblerBuffer offsets are
directly usable now.

Remove tmpDataRelocations_, tmpPreBarriers_, tmpJumpRelocations_, and
the finalOffset() method.
2015-10-26 17:06:09 -07:00
Jakob Olesen
f1cc8e12a3 Bug 1207827 - Eliminate poolSizeBefore(). r=nbp
This method was used by the Assembler::actualOffset() methods to
translate buffer offsets from pre-pool to post-pool numbers. Since
pools are now injected immediately, there is no need to translate
offsets.

All the actualOffset() methods have become no-ops in all our supported
targets.
2015-10-26 17:06:09 -07:00
Jakob Olesen
ca549c8443 Bug 1207827 - Switch jit::Pool to a LifoAllocPolicy. r=nbp
This is possible because we no longer PodCopy the pools.

Use a more reasonable size for the inline memory in the loadOffsets
vector (8 loads instead of 512). This saves stack space when a
MacroAssembler is created on the stack. Use a matching inline size of 8
entries for the poolData array itself.

Don't drop memory in Pool::reset() by calling placement new - call
Vector::clear() instead which hangs on to previously allocated memory
for use by the next pool.

Delete an unused array of pools in arm64/vixl/MozBaseAssembler-vixl.h.
2015-10-26 17:06:09 -07:00
Jakob Olesen
b797f4ee8c Bug 1207827 - Use a Vector for poolInfo_. r=nbp
Use a Vector with 8 preallocated slots and a LifoAllocPolicy allocating
from the parent AssemblerBuffer's lifoAlloc_. We'll rarely need more
than 8 constant pools in a single assembler.

We can't actually allocate memory from this->lifoAlloc_ in the
constructor, but it is OK to capture allocator references like the
Vector constructor does.

Add an assertion to initWithAllocator() to verify that we didn't
allocate anything from lifoAlloc_ before the MacroAssembler constructor
had a chance to install an AutoJitContextAlloc.
2015-10-26 17:06:09 -07:00
Jakob Olesen
cb1f2413d6 Bug 1207827 - Stop perforating AssemblerBuffers. r=nbp
There is no longer a 1-1 correspondence between buffer slices and
constant pools. We no longer need the ability to truncate a buffer
slice prematurely.

This uses less memory.
2015-10-26 17:06:08 -07:00
Jakob Olesen
0645e48476 Bug 1207827 - Copy pool data into buffer immediately. r=nbp
Since constant pools have been simplified such that they always follow
the load instructions referencing them, it is now possible to copy the
pool data into the main assembly buffer right away in finishPool()
instead of deferring the copy to executableCopy(). This has the
important effect that BufferOffset values don't need to be adjusted to
account for the size of injected constant pools.

- In finishPool(), copy the constant pool data into the main assembler
  buffer with putBytesLarge() which allows the potentially large pool
  data to be split over multiple slices.

- Stop copying pool data in executableCopy(). It has already
  been copied in finishPool().

- Simplify the PoolInfo data structure to a simple (firstEntry, offset)
  pair which records the necessary information about a single emitted
  constant pool.

- Rewrite poolEntryOffset() to use the new PoolInfo data.

- Simplify poolSizeBefore() to just return 0. This function will be
  removed entirely in a followup patch.

- Stop patching branches in executableCopy() and delete the
  patchBranch() method. Since buffer offsets are reliable when the
  branches are inserted and when labels are bound, there is no need to
  adjust branches to account for constant pools.

- Delete the BufferSliceTail class. It is no longer necessary to
  maintain a bit vector of branch instructions since we don't rewrite
  branches any longer. Use the plain AssemblerBuffer::Slice class
  instead.

This patch implements the basic functional change of copying pool data
immediately instead of deferring it. Followup patches will clean up the
now redundant code.
2015-10-26 17:06:08 -07:00
Jakob Olesen
2bb2ea249b Bug 1207827 - Add AssemblerBuffer::putBytesLarge. r=nbp
This new method copies a large amount of data into the assembler
buffer, potentially splitting it across multiple slices.

The existing putBytes() method can only copy into a single slice which
limits the maximum since of data that can be inserted and potentially
wastes space at the end of the previous slice.
2015-10-26 17:06:08 -07:00
Steve Fink
08a27ce909 Bug 1211402 - dump hazards.txt into log file, r=me
--HG--
extra : commitid : FjmAgWvR333
extra : rebase_source : f69cb90b9c4e337efae2e1d5d7f7a81b58c3c92a
2015-10-26 15:46:49 -07:00
Chris Pearce
36b20fb2a9 Bug 1193610 - Also use SystemParametersInfo to block screen saver on Windows, so it works on WinXP and Vista. r=jimm 2015-10-27 11:58:15 +13:00
Jakob Olesen
f14b5f58a2 Bug 1217061 - Report OOMs in IonCache::linkAndAttachStub(). r=djvj
The method IonCache::linkAndAttachStub() can run out of memory in a few
ways: When adding entries to the global jit code table, and when
generating code through the macro assembler.

Make sure to call ReportOutOfMemory() before returning false when that
happens. Otherwise we won't get the right of error reported, and OOM
simulation tests fail.

The Linker already calls ReportOutOfMemory(), so we don't need to
handle those calls.
2015-10-26 15:39:51 -07:00
David Keeler
3b82e8f390 bug 1217602 - remove nsIPKIParamBlock r=Cykesiopka
nsIPKIParamBlock was unnecessary.
2015-10-22 13:11:40 -07:00
Masayuki Nakano
7f2595b09f Bug 1184890 part.3 TSFTextStore shouldn't commit composition when a selection change notification occurred before starting current composition r=m_kato 2015-10-27 07:21:37 +09:00
Masayuki Nakano
d9e6fc64a8 Bug 1184890 part.2 IMContextWrapper shouldn't commit composition when a selection change notification occurred before starting current composition r=m_kato 2015-10-27 07:21:37 +09:00
Masayuki Nakano
35aa5312ba Bug 1184890 part.1 SelectionChangeDataBase and TextChangeDataBase should have a flag which indicates whether the change occurred during composition or not r=smaug 2015-10-27 07:21:37 +09:00
Wes Kocher
f8fbbe9bb5 Merge m-c to inbound, a=merge
--HG--
extra : commitid : 41m9rNdqj5g
2015-10-26 14:38:13 -07:00
Shu-yu Guo
4e6d1736a6 Bug 1167029 - Remove support for let blocks. (r=jorendorff) 2015-10-26 14:13:25 -07:00
Shu-yu Guo
d7e6363a53 Bug 1214048 - Improve callee-not-a-function error for spread calls. (r=jorendorff) 2015-10-26 14:13:25 -07:00
Wes Kocher
5b1bb98662 Backed out 3 changesets (bug 1217501) for m(4) leaks CLOSED TREE a=merge
Backed out changeset f00f079f712b (bug 1217501)
Backed out changeset 86ac4feb0e38 (bug 1217501)
Backed out changeset 0c7e876a69e5 (bug 1217501)

--HG--
extra : commitid : HUAufLjKQfo
extra : source : c6cc9d6108651a36914189dd326856e8f2692b42
2015-10-26 11:52:23 -07:00
Wes Kocher
fcb34ba269 Merge inbound to m-c a=merge
--HG--
extra : commitid : DkWocljGLGg
2015-10-26 14:32:00 -07:00
Wes Kocher
22af6bb1a4 Merge b2ginbound to central, a=merge
--HG--
extra : commitid : x6mg9sPXUK
2015-10-26 13:30:14 -07:00
Eugen Sawin
01e0e7c1d8 Bug 1163667 - [5.1] Ensure empty demuxer sample queue before initiating draining. r=snorp 2015-10-26 18:30:53 +01:00
Eugen Sawin
26ead9d2d6 Bug 1163667 - [4.3] Use VBR/CBR header TOC for efficient seeking and enable fast seeking without TOC based on average frame sizes. r=jya 2015-10-26 18:30:53 +01:00
Eugen Sawin
72014fde27 Bug 1163667 - [3.3] Parse complete Xing/Info header info. r=jya 2015-10-26 18:30:52 +01:00
Eugen Sawin
0390a166fa Bug 1163667 - [2.1] Extend ByteReader interface with CanRead32(). r=jya 2015-10-26 18:30:52 +01:00