Commit Graph

269602 Commits

Author SHA1 Message Date
Kyle Huey
fffe5cc829 Bug 1216401: Eviscerate nsIDOMWindow, move still needed methods to nsPIDOMWindow. r=bz 2015-10-26 14:37:32 -07:00
Ehsan Akhgari
69b651fa9c Bug 1218499 - Make FetchEvent.request nullable; r=bzbarsky 2015-10-26 23:00:19 -04:00
Ehsan Akhgari
4013b09c3d Bug 1218152 - Make Window.caches and WorkerGlobalScope.caches SameObject; r=bzbarsky 2015-10-26 23:00:18 -04:00
Ehsan Akhgari
5e5c55bfc1 Bug 1218151 - Make FetchEventInit.isReload default to false; r=bzbarsky 2015-10-26 23:00:17 -04:00
Ehsan Akhgari
151691b2b6 Bug 1218150 - Mark the members of Clients as NewObject; r=bzbarsky 2015-10-26 23:00:17 -04:00
Ehsan Akhgari
e3652e5d9c 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
136e4c8485 Bug 1218131 - Mark FetchEvent.request as SameObject; r=bzbarsky 2015-10-26 23:00:15 -04:00
Ehsan Akhgari
84f681a9b7 Bug 1214772 - Part 2: Make FetchEvent inherit from ExtendableEvent; r=bzbarsky 2015-10-26 23:00:14 -04:00
Ehsan Akhgari
1ff9b3b75a 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
84c6a98e30 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
b6648932c4 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%)
2015-10-27 18:21:38 +08:00
Heiher
da229f2d7a 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%)
2015-10-27 18:21:31 +08:00
Chris Pearce
b3e6f2108c Bug 1189196 - Update EME mochitest to use new navigator.requestMediaKeySystemAccess. r=jwwang 2015-10-27 14:10:51 +13:00
Chris Pearce
9189284862 Bug 1189196 - Clean up logging of navigator.requestMediaKeySystemAccess. r=jwwang 2015-10-27 14:10:51 +13:00
Chris Pearce
69145d47cd Bug 1189196 - Process MediaKeySystemConfiguration in navigator.requestMediaKeySystemAccess. r=jwwang 2015-10-27 14:10:51 +13:00
Chris Pearce
8f694da3f9 Bug 1189196 - Rename MediaKeySystemOptions to MediaKeySystemConfiguration and update WebIDL. r=bz 2015-10-27 14:10:51 +13:00
Ehsan Akhgari
961fe0ab76 Bug 1203359 - Enable interception of opaque responses through service workers; r=bkelly 2015-10-26 20:47:46 -04:00
Jakob Olesen
45abe66889 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
329ea3d0b5 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
b55878b885 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
ded97ec570 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
13da42f083 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
6624f79237 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
e99d1305e2 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
88a8096a90 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
74b3b7f56b 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
8aed7119ef Bug 1211402 - dump hazards.txt into log file, r=me 2015-10-26 15:46:49 -07:00
Chris Pearce
9dc583fb1e 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
ba9cd1880f 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
7e2b952d2b bug 1217602 - remove nsIPKIParamBlock r=Cykesiopka
nsIPKIParamBlock was unnecessary.
2015-10-22 13:11:40 -07:00
Masayuki Nakano
26262e0bfd 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
1b476cab10 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
2c4ca36ff6 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
5a8921feb0 Merge m-c to inbound, a=merge 2015-10-26 14:38:13 -07:00
Shu-yu Guo
f2f367fdd5 Bug 1167029 - Remove support for let blocks. (r=jorendorff) 2015-10-26 14:13:25 -07:00
Shu-yu Guo
fae942d0a5 Bug 1214048 - Improve callee-not-a-function error for spread calls. (r=jorendorff) 2015-10-26 14:13:25 -07:00
Wes Kocher
15b0652fb8 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)
2015-10-26 11:52:23 -07:00
Wes Kocher
f6556e7c20 Merge inbound to m-c a=merge 2015-10-26 14:32:00 -07:00
Wes Kocher
4d53c21053 Merge b2ginbound to central, a=merge 2015-10-26 13:30:14 -07:00
Eugen Sawin
58e5b0cc74 Bug 1163667 - [5.1] Ensure empty demuxer sample queue before initiating draining. r=snorp 2015-10-26 18:30:53 +01:00
Eugen Sawin
a6eef2eeee 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
7fef7e07b9 Bug 1163667 - [3.3] Parse complete Xing/Info header info. r=jya 2015-10-26 18:30:52 +01:00
Eugen Sawin
5007a8b64c Bug 1163667 - [2.1] Extend ByteReader interface with CanRead32(). r=jya 2015-10-26 18:30:52 +01:00
Eugen Sawin
47cf5f6cf8 Bug 1163667 - [1.1] Shorten logging macro. r=jya 2015-10-26 18:30:52 +01:00
Andrea Marchesini
810e10fa17 Bug 1211967 - Fix how we report errors when loading a worker from a data url, r=bz 2015-10-26 17:28:45 +00:00
Kartikaya Gupta
062d558e6d Bug 1218160 - Fix a build error with some compiler versions on OS X. r=froydnj 2015-10-26 13:25:25 -04:00
B2G Bumper Bot
7c6369b96e Bumping manifests a=b2g-bump 2015-10-26 08:15:48 -07:00
Richard Newman
170a6b2f12 Bug 1218410 - Bump b2gdroid to Android API 14+. r=fabrice. b2gdroid-only on a CLOSED TREE 2015-10-26 08:15:07 -07:00
B2G Bumper Bot
ba8fe2532a Bumping gaia.json for 2 gaia revision(s) a=gaia-bump
========

https://hg.mozilla.org/integration/gaia-central/rev/bc907981bd62
Author: No-Jun Park <npark@mozilla.com>
Desc: Merge pull request #32713 from npark-mozilla/1218063

Bug 1218063 - Imagecompare: go_back_and_exit() method in header.py does not work in RTL

========

https://hg.mozilla.org/integration/gaia-central/rev/721cd0b94466
Author: g5njpark <nojun.park@gmail.com>
Desc: Bug 1218063 - Imagecompare: go_back_and_exit() method in header.py does not work in RTL
2015-10-26 08:12:03 -07:00
B2G Bumper Bot
c7b6fe18fb Bumping manifests a=b2g-bump 2015-10-26 06:58:28 -07:00