Commit Graph

235902 Commits

Author SHA1 Message Date
Bill McCloskey
fcd90b7e73 Bug 1075670 - Make event.screen[XY] work in content processes (r=smaug,kats,tn,joshmoz) 2015-03-26 14:17:29 -07:00
Felix Janda
44964dc3a3 Bug 1146096: configure.in updates for SCTP and musl.libc (sys/queue.h) r=glandium 2015-03-23 21:19:29 +01:00
Randell Jesup
ce2dc0b38e Bug 1146096: rollup of sctp modifications for Android rs=jesup 2015-03-26 17:15:44 -04:00
Randell Jesup
6a6a0374bb Bug 1146096: update usrsctp to rev 9209 from upstream rs=jesup
Pick up build fixes for musl-libc from upstream and a null-deref fix
2015-03-26 17:15:43 -04:00
Shu-yu Guo
97672c8488 Bug 1147686 - Make mutableScript private and only use it when hasScript. (r=terrence) 2015-03-26 14:16:58 -07:00
Shu-yu Guo
32abf472e0 Bug 1147224 - Only keep the optimization information of the last time IonBuilder visits a bytecode location. (r=djvj) 2015-03-26 14:16:58 -07:00
Ehsan Akhgari
9ec35438a8 Bug 1147746 - Null check mInterceptListener in HttpChannelChild::ResetInterception; r=jdm 2015-03-26 17:10:15 -04:00
Vaibhav Agrawal
e4697b1920 Bug 1144573 - Cleanup after removing android*.json. r=ahal, r=jmaher
CLOSED TREE
2015-03-26 14:39:57 +08:00
Benjamin Chen
4bc2098521 Bug 1139781 - Implement VideoPlaybackQuality for MediaCodecReader. r=cpearce 2015-03-26 17:06:06 +08:00
Jose Antonio Olivera Ortega
9143323058 Bug 1139513 - Warn and gather data if ServiceWorker hits max workers per domain limit. r=bent, r=rvitillo 2015-03-25 13:17:00 -04:00
Francois Marier
fce51f361a Bug 1111741 - Enable SafeBrowsing remote lookups for mac and linux. r=mmc 2015-03-24 20:47:00 -04:00
Honza Bambas
4ab63b1bb4 Bug 1098422 - Change the HTTP cache half-life experiment values. r=jduell 2015-02-27 10:17:00 -05:00
Jose Antonio Olivera Ortega
196e76993d Bug 1003991 - Disable https:// only load for ServiceWorkers when Developer Tools are open. r=nsm, r=miker 2015-03-24 14:15:00 -04:00
Wes Kocher
126b0dcd96 Backed out changeset 8be35539cc88 (bug 1124880) for build bustage CLOSED TREE 2015-03-26 12:47:53 -07:00
Andreas Tolfsen
ba9767eee1 Bug 1107706: Part 16: Fix rebase of action chains for chrome space 2015-03-24 15:35:58 +00:00
Andreas Tolfsen
2e842f0f33 Bug 1107706: Part 15: Fix emulator callbacks for content process 2015-03-23 15:40:51 +00:00
Andreas Tolfsen
40da952834 Bug 1107706: Part 14: Fix quitApplication 2015-03-20 20:44:17 +00:00
Andreas Tolfsen
a3c22d4b07 Bug 1107706: Part 13: Style fixes
Linting; no functional changes.
2015-03-23 20:43:18 +00:00
Andreas Tolfsen
650eade2a3 Bug 1107706: Part 12: Drop marionette-* prefix on files 2015-03-23 21:32:03 +00:00
Andreas Tolfsen
ac57bc3a40 Bug 1107706: Part 11: Global modal dialogue support 2015-03-20 15:46:46 +00:00
Andreas Tolfsen
da04fcbb9c Bug 1107706: Part 10: Disable test_anonymous_content.py on B2G
It uses chrome context to test XUL related functionality that is not
necessary nor desirable to run on B2G.
2015-03-11 17:10:18 +00:00
Andreas Tolfsen
c10d422432 Bug 1107706: Part 9: Disable XUL component tests on B2G 2015-03-12 18:12:05 +00:00
Andreas Tolfsen
7b053a4df1 Bug 1107706: Part 8: Adapt emulator callbacks
Emulator callbacks are now created dynamically upon request, and uses
a nicer data structure in chrome context.  Each emulator callback is
encapsulated in EmulatorCallback, and stored on Emulator.

Emulator is stored on Dispatcher (as opposed to in marionette-server.js)
which bypasses some of the problems with circumventing the Marionette
protocol in GeckoDriver because of CommandProcessor.

Emulator callbacks to the client should be considered transparent, hence
they do not use the ListenerProxy.  They are explicitly meant _not_
to be blocking.
2015-03-17 16:10:58 +00:00
Andreas Tolfsen
f047cd2ee4 Bug 1107706: Part 7: Add timeout test for async scripts 2015-02-26 17:41:54 +00:00
Andreas Tolfsen
9f56ef3fb8 Bug 1107706: Part 6: Make SpecialPowersError a prototypal Error
If special powers is imported using Components.utils.import on B2G which
has some special concepts around global scoping, a TypeError will be
raised unless the custom error is a prototypal Error.

An explanation can be found for a similar issue in bug 843892, which
states that toString is attached to the instances rather than the
prototype, and that this causes problems once the object goes through
Object.freeze.  It was patched in bug 1014484.

This patch also renames SpecialPowersException to SpecialPowersError.
2015-02-26 17:40:21 +00:00
Andreas Tolfsen
74619545e3 Bug 1107706: Part 5: Refactor Marionette chrome/content communication
The Marionette server handles requests separately with a global sense
of state which makes it hard to introduce generalised behaviour to many
commands.  This effectively slows down protocol implementation because
each command request individually needs to do heavy lifting.

This patch introduces a series of abstractions that separates out the
WebDriver implementation to a new class, GeckoDriver.  It also features
a new interface to mediate messages between the chrome- and content
processes.

This allows the code living in the chrome context to make direct calls
on the listener through a promise-based API:

	let listener = new ListenerProxy(mm, sendCallback);
	let res = yield listener.functionOnListener("arg1", "arg2");

The MarionetteServer class that used to live in marionette-server.js
has now been moved to server.js, while the WebDriver implementation
has moved to driver.js.  By introducing more stringent separation,
MarionetteServer now properly encapsulates the server process allowing
us to unit tests for it in the future.

The patch is a refactor in the truest sense, in the meaning that no
input or output should have changed.
2015-03-19 21:12:58 +00:00
Andreas Tolfsen
3f4e8f22be Bug 1107706: Part 4: Add dispatching mechanism to encapsulate connection
The dispatcher is analogous to the client socket connection, and handles
receiving packets and closing connections.

It also encompasses some of the functionality needed to establish the
devtools and Marionette connection, that previously used to live in
MarionetteServerConnection in marionette-server.js.

For each connection, recognised commands will be forwarded to the command
processor (command.js) unless a handler is defined in Dispatcher.requests.
2015-03-18 12:27:29 +00:00
Andreas Tolfsen
f8a8c6c3c4 Bug 1107706: Part 3: Add a command processor to Marionette
The command processor receives messages, processes them, and wraps the
execution of the command implementations.  This allows commands to throw
errors without worrying about the side effects.

This patch also introduces a Response object which correspondingly wraps
the replies to the client.  This shifts the responsibility of managing
the correctness of the packets from the commands to this.
2015-03-17 14:49:27 +00:00
Andreas Tolfsen
017a1b17a6 Bug 1107706: Part 2: Add error module and WebDriver error objects
Adds the ability to throw error objects for WebDriver statuses, and an
error module with convenience functions for manipulation of these and
for handling other error related operations.
2015-03-17 14:27:20 +00:00
Andreas Tolfsen
f0c2bf3bfe Bug 1107706: Part 1: Change context from strings to enum 2015-02-25 21:11:51 +00:00
Kai Engert
045c1c7065 Bug 1144055 - Upgrade Firefox 39 to use NSS 3.18.1, land NSS_3_18_1_BETA1, r=nss-confcall 2015-03-26 20:39:25 +01:00
Aaron Klotz
1efc1bddf0 Bug 1145782: Add crash reporter annotations for async plugin init to parent and child processes; r=jimm 2015-03-23 22:01:07 -06:00
Aaron Klotz
bbd2e2b49b Bug 1119565: Ensure that a plugin listener's stream type is always set, even when it is STREAM_TYPE_UNKNOWN; r=jimm 2015-03-23 21:46:38 -06:00
Luke Wagner
55df90d788 Bug 1147144 - OdinMonkey: fix toString() on asm.js module when source discarding is enabled (r=bbouvier) 2015-03-26 14:37:19 -05:00
Jonathan Griffin
75695e50c1 Bug 1147029 - Land luciddream in-tree, r=ted 2015-03-24 15:17:53 -07:00
Vladimir Vukicevic
39e34c99a1 Bug 1147830 - crash in HMDInfoOculus::HMDInfoOculus() on Mac; r=nullcheck 2015-03-26 15:31:08 -04:00
Honza Bambas
7926bf48c5 Bug 1124880 - Call PR_Close of UDP sockets on new threads. r=mcmanus 2015-03-25 11:36:00 -04:00
Honza Bambas
33748ceb3c Bug 1132172 - Don't access CacheEntry::mFrecency on non-cache threads. r=michal 2015-03-25 14:55:00 -04:00
Honza Bambas
2e66332e81 Bug 1147392 - Workaround herness orange, recreate cache entry in test test_cache2-23-read-over-chunk.js every time. r=michal 2015-03-25 11:23:00 -04:00
JerryShih
f2921cde16 Bug 1145015 - Part 2: Add more checking rules for GrallocBuffer allocation. r=sotaro, r=nical
fix the assert checking.
2015-03-24 18:40:00 -04:00
JerryShih
8f16128c35 Bug 1145015 - Part 1: Remove IsValidKey() check in MagicGrallocBufferHandle serializer. r=sotaro, r=nical
There is a data racing problem in IsValidKey() and we don't need to check the
index in serializer. The index is always invalid when we alloc new buffer.
2015-03-24 03:19:00 -04:00
Nicolas B. Pierron
db010aa463 Bug 1142999 - Remove gcc warning about unused typedef. r=ehoogeveen 2015-03-25 09:47:00 -04:00
Kearwood (Kip) Gilbert
5f87d8a230 Bug 1138658 - Enable CSS Scroll Snapping by default on Desktop. r=roc
- The layout.css.scroll-snap.enabled preference is now enabled on all
  platforms, except for Android.
2015-03-25 13:38:00 -04:00
Kearwood (Kip) Gilbert
274c2ac6a3 Bug 1035611 - Part 2: Test to ensure that transformed rects crossing the w=0 plane are clipped correctly. r=mattwoodrow
- An element is transformed such that its inverse projection transform
  results in a bounding box reaching an infinite / vanishing point.
2015-03-25 11:28:37 -07:00
Bobby Holley
4681c5a757 Bug 1147215 - Add a helper to get the current window with a null check. r=smaug 2015-03-26 12:24:53 -07:00
Eddy Bruël
c35b5d7565 Bug 1092102 - Implement WorkerDebuggerGlobalScope.reportError;r=khuey 2015-03-26 20:09:45 +01:00
Byron Campen [:bwc]
6e4656da4f Bug 1147400: Do not check mid in answer if not present. r=drno 2015-03-25 09:18:59 -07:00
Yura Zenevich
93828d6c01 Bug 1145724 - adding null check before creating treewalker in nsAccessibilityService::ContentRemoved r=surkov
---
 accessible/base/nsAccessibilityService.cpp | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
2015-03-26 14:59:16 -04:00
Mats Palmgren
3403f8f9eb Bug 1107786 - part 4, [css-grid] Reftests for the CSS 'order' property on grid items. 2015-03-26 18:57:39 +00:00
Mats Palmgren
d19ed3d09e Bug 1107786 - part 3, [css-grid] Implement layout and painting per the CSS 'order' property for absolute positioned grid items. r=dholbert 2015-03-26 18:57:39 +00:00