Commit Graph

446104 Commits

Author SHA1 Message Date
Jakob Olesen
cf990027c9 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.

--HG--
extra : rebase_source : 719225aef25dbf1b4bb7561391224b3c5f8793a5
2015-10-20 12:57:39 -07:00
Jakob Olesen
cd23e799de Bug 1207827 - Fix ARM64 OOM bugs in Assembler::bind(). r=nbp
--HG--
extra : rebase_source : 2fe66f442dd68ebb8a3cf09cb638f649b9e61466
2015-10-20 12:57:39 -07:00
Jakob Olesen
84e7b07d84 Bug 1207827 - Fix OOM error in ARM64 simulator. r=nbp
--HG--
extra : rebase_source : c787540a53aa5e377fb8c28fd62f28dfe1ace289
2015-10-20 12:57:38 -07:00
Jakob Olesen
4d8122b7f6 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.

--HG--
extra : rebase_source : aab678bd50e232a328748232ca039da7d063639a
2015-10-20 12:57:38 -07:00
Tom Schuster
efac7fe726 Bug 1215814 - Small ThrowIfNotConstructing cleanup. r=efaust 2015-10-20 22:05:10 +02:00
Michael Layzell
a8be3974ec Bug 918771 - Part 3: Update Web Platform tests to check for correct behavior, r=bz 2015-10-20 15:54:17 -04:00
Michael Layzell
d2d7336d08 Bug 918771 - Part 2: Send text/html as MIME type for XHR send() of HTML document, r=bz 2015-10-20 15:54:15 -04:00
Michael Layzell
3a0f4a517e Bug 918771 - Part 1: Move Fragment Serialization logic into nsContentUtils::SerializeNodeToMarkup, r=bz 2015-10-20 15:54:14 -04:00
David Burns
7cc0a899a5 Bug 1206122: Add support for switchToParentFrame r=jgriffin
This allows us from a child frame to go up one level. This is documented
at http://w3c.github.io/webdriver/webdriver-spec.html#switch-to-parent-frame

--HG--
extra : commitid : GtXAxWLM61v
extra : rebase_source : 9b18d51a5dbefb4dad1cb39b229dc3d55cfae26a
extra : histedit_source : d0a0479e0c9946f242efd71e722685447ae48fd1
2015-10-19 21:39:48 +01:00
Eric Rahm
5b38c55967 Bug 1174785 - Part 2: Convert xpcom over to LogModule. r=froydnj
--HG--
extra : rebase_source : 58d3b32bd0174f2540512cef810cafdd3556ef6b
2015-10-19 12:50:14 -07:00
Eric Rahm
e6f7a67577 Bug 1174785 - Part 1: Add LogModule, LogModuleManager, and LazyLogModule. r=froydnj
The logging interface is moved to xpcom/base, a LogModule wrapper for PR_Log is
added, a thread-safe LogModuleManager is added, and a LazyLogModule class used
to lazily load log modules in a thread-safe manner is added.

--HG--
rename : xpcom/glue/Logging.h => xpcom/base/Logging.h
extra : rebase_source : 89b76664d9477e2c894448cdea4dae1c61f8ca24
2015-10-19 12:22:11 -07:00
Eric Rahm
f296bb10b2 Bug 1174785 - Part 0: Use mozilla/StaticPtr.h in signaling. r=jesup
Moving xpcom/glue/Logging.h to xpcom/base/Logging.h causes build failures in
signaling due to include conflicts. Rather than having signaling include
'xpcom/base' directly we can switch it over to using the installed headers
under 'mozilla'.

--HG--
extra : rebase_source : aff44b19c23a1948a9c03b2fd4886be6280422a7
2015-10-15 12:02:28 -07:00
Trevor Saunders
8ba1d0d320 bug 1215657 - make AccessibleWrap::get_accSelection work with proxies r=davidb 2015-10-20 15:25:00 -04:00
Trevor Saunders
ad29692daa bug 1215657 - make AccessibleWrap::accDoDefaultAction work with proxies r=davidb 2015-10-20 15:25:00 -04:00
Trevor Saunders
1da4ea6d30 bug 1215657 - make AccessibleWrap::accHitTest() work with proxies r=davidb 2015-10-20 15:25:00 -04:00
Trevor Saunders
5cd07e19be bug 1215657 - make AccessibleWrap::accSelect work with proxies r=davidb 2015-10-20 15:25:00 -04:00
Trevor Saunders
a62582d550 bug 1215657 - make AccessibleWrap::get_accDefaultAction work with proxied accessibles r=davidb 2015-10-20 15:25:00 -04:00
Trevor Saunders
c2be473e90 bug 1215657 - make AccessibleWrap::get_accFocus work with proxied accessibles
r=davidb
2015-10-20 15:25:00 -04:00
Wes Kocher
0fbbb9948a Backed out changeset 07d5679826c9 (bug 1189581) for wpt failures CLOSED TREE 2015-10-20 12:09:56 -07:00
George Wright
edab3254da Bug 1214259 - Honour display: none in <option> elements in e10s r=Enn 2015-10-15 14:29:25 -04:00
Garvan Keeley
330f9e4612 Bug 1216662: Switch back to MLS, the switch to GLS is on hold. r=hannosch 2015-10-20 14:29:59 -04:00
Patrick McManus
06d7c103e1 bug 1215552 - nsHttpConnectionMgr::PostEvent shouldnt manually ref count r=hurley 2015-10-16 11:36:59 -04:00
Eric Rahm
c0ca405938 Bug 1215629 - Remove nsDebug logger. r=froydnj 2015-10-16 16:23:49 -07:00
Jonathan Watt
b96e199943 Bug 1207088 - Don't show the "Choose folder..." button for a directory picking <input> on platforms that don't have a directory picker. r=jfkthame
--HG--
extra : rebase_source : 836a5eff5b37398af019f3a29848ee42092939dc
2015-09-16 11:42:27 +01:00
Nathan Froyd
e1dc7934e4 Bug 1190472 - part 3 - optimize pushing an entire queue onto MediaRawDataQueue; r=kinetik
In the one place we push a MediaRawDataQueue onto a MediaRawDataQueue,
we don't use the pushee aftewards.  It's more efficient to indicate that
by using Move(), and we can then save on reference-counting things
needlessly.
2015-10-01 19:06:50 -04:00
Nathan Froyd
0bc5c6fc4d Bug 1190472 - part 2 - delete unused MediaRawDataQueue::Push method; r=kinetik
We don't call it, and it's not particularly efficient anyway.
2015-10-01 19:04:02 -04:00
Nathan Froyd
eafdc95974 Bug 1190472 - part 1 - improve MediaRawDataQueue's reference-counting behavior; r=kinetik
Sometimes when we push onto the queue, we don't need to hold a reference
afterwards.  In that case, we can pass the reference in and avoid
unnecessary reference counting.
2015-10-01 19:02:18 -04:00
Ehsan Akhgari
3b6478421c Bug 1189581 - Make service-workers/service-worker/fetch-cors-xhr.https.html pass; r=bkelly 2015-10-20 13:16:56 -04:00
Ehsan Akhgari
8ab0d9d2f8 Bug 931243 - Remove the XMLHttpRequest APIs from ServiceWorkerGlobalScope; r=bzbarsky 2015-10-20 13:16:34 -04:00
Masayuki Nakano
7f8882730a Bug 1215798 nsContentIterator::Init(nsIDOMRange*) should not skip empty start node when mPre is true r=smaug 2015-10-21 01:45:03 +09:00
Andreas Tolfsen
2d613cd4d7 Bug 1211503: Support for Marionette protocol level 3 in the Python client
Futures-proofs the Marionette Python client to have support for level
3 of the Marionette protocol outlined in bug 1211489.

This patch changes the marionette-transport API most notably by renaming
the MarionetteTransport class to TcpTransport and by splitting the
receive-capabilities of TcpTransport.send into a new function called
request.

Furthermore it introduces a message data structure for dealing with
incoming responses and commands, and for marshaling messages to send in
order to support all three protocol levels.

r=dburns
r=jgriffin

--HG--
extra : commitid : 3jwoFepZzgy
extra : rebase_source : 5012e774b6edf6a1d53db22e360b5a0b063dd59b
2015-10-09 11:15:24 +01:00
Nicolas B. Pierron
9d63b4d6d2 Bug 1108603 - Evaluate ensure that the global is configured such that we can always clone singletons. r=jonco 2015-10-20 18:40:15 +02:00
Jon Coppeard
e8a5ce95b1 Bug 1215555 - Improve simulated OOM testing of ARM assembler buffer and fix bugs r=jolesen 2015-10-19 10:50:51 +01:00
Jonathan Watt
de2eb25725 Bug 1216370 - For safety and searchability, define the nsHostResolver::RES_* enum in terms of the nsIDNSService::RESOLVE_* enum. r=mayhemer 2015-09-14 14:46:47 +01:00
Ehsan Akhgari
9d5b088d22 Bug 1189673 - Set FetchEvent.request.headers' guard to immutable before dispatching the FetchEvent; r=bkelly 2015-10-20 10:21:11 -04:00
Ehsan Akhgari
b1e6d2d9db Bug 1189536 - Make fetch-request-xhr.https.html pass; r=bkelly 2015-10-20 10:21:10 -04:00
Geoff Brown
138ed9d07e Bug 1216304 - Skip gfx/tests/crashtests/815489.html on Android for frequent OOM failures; r=me 2015-10-20 08:17:15 -06:00
Carsten "Tomcat" Book
dab1222aac Backed out changeset 9fc04da2a662 (bug 1211694) for perma failures in B2G ICS Emulator opt C1 Tests on a CLOSED TREE
--HG--
extra : rebase_source : 9a83f398604b155849dc128fb029e35f4c6b023a
2015-10-20 16:09:13 +02:00
Carsten "Tomcat" Book
43610824f0 Backed out changeset 780061f96448 (bug 1213154)
--HG--
extra : rebase_source : 0d1ba1ee2f11faeedf93fa0baa4c06348deffdc4
2015-10-20 16:08:51 +02:00
Mike Shal
7792f0b2f2 Bug 1215157 - Add --dry-run to mach taskcluster-graph; r=garndt 2015-10-14 11:26:35 -04:00
Andrew Halberstadt
0b798e00ca Bug 1216254 - [mochitest] Ignore unknown log actions when interactive debugger enabled, r=chmanchester
--HG--
extra : commitid : HQ98xFHm5gK
extra : rebase_source : 8648635677f589a18e556ea5598e059ecf3d79f0
2015-10-19 16:19:09 -04:00
Nicolas B. Pierron
d2a7443155 Bug 1172076 - Improve js::DumpBacktrace to include raw frame pointers and types. r=jandem 2015-10-20 14:57:58 +02:00
Nicolas B. Pierron
b10843500c Bug 1172076 - Assert that SnapshotIterator::initInstructionResults always match the recover instructions data. r=jandem 2015-10-20 14:57:57 +02:00
Ehsan Akhgari
8af039ce15 Bug 1214464 - Don't detect leaks during ICU build; r=glandium 2015-10-20 08:41:32 -04:00
Ehsan Akhgari
a817a92522 Bug 1215676 - Disable leak reporting during packaging; r=glandium 2015-10-20 08:41:31 -04:00
Robert Longson
51c57d84c3 Bug 1215484 - make SVG in an image context ignore author colours to match how we treat raster images, and in a non-image context respect them to match html. f=dao, r=roc 2015-10-20 13:12:36 +01:00
byron jones
273ea1d9f5 Bug 1214511 - Show copies, page range selection, and more on the expanded OSX print dialog. r=mstange
--HG--
extra : rebase_source : 35c676a47b1a9a1fad43b0ae22db0f5fc7c1a170
2015-10-18 09:22:00 +02:00
Ehsan Akhgari
c796c19fd9 Bug 1108181 - Make Headers iterable; r=bzbarsky 2015-10-20 07:45:32 -04:00
Andrea Marchesini
61dc0b019b Bug 1216002 - "JavaScript error: resource://gre/modules/RequestSyncService.jsm, line 228: TypeError: 'continue' called on an object that does not implement interface IDBCursor." r=bz 2015-10-19 14:11:00 +02:00
Andrea Marchesini
51d11d89ea Bug 1214782, r=ehsan
--HG--
extra : rebase_source : f1dec852aa864b681b4417467992c7431f9103bf
2015-10-20 13:32:47 +02:00