Commit Graph

34884 Commits

Author SHA1 Message Date
Ehsan Akhgari
ab42a2ec61 Bug 1143222 - Disable the newly added DOM cache tests for now because of intermittent failures
Landed on a CLOSED TREE
2015-03-13 19:23:34 -04:00
Ehsan Akhgari
47a098b474 Bug 1142790 - Add a test for passing Request objects to DOM cache matchAll method; r=bkelly 2015-03-13 19:21:16 -04:00
Ehsan Akhgari
acab4ce118 Bug 1142269 - Auto-vacuum the DOM Cache database; r=bkelly
It's easiest if we use auto_vaccum for now.  In the future if this
proves to be insufficient we can look into more sophisticated
vacuuming strategies.
2015-03-13 19:21:13 -04:00
Wes Kocher
d38aa64d52 Backed out changeset b8d2fd1bb7f5 (bug 1142269) for mochitest-1 timeouts CLOSED TREE 2015-03-13 16:02:18 -07:00
Wes Kocher
fe556f9355 Backed out changeset 1bd38b652695 (bug 1142790) for mochitest-1 timeouts CLOSED TREE 2015-03-13 16:02:08 -07:00
Ryan VanderMeulen
9cf01b9c13 Merge m-c to inbound. a=merge 2015-03-13 16:12:34 -04:00
Ryan VanderMeulen
29c79b8b0b Merge fx-team to m-c. a=merge 2015-03-13 16:09:58 -04:00
Ryan VanderMeulen
40949b7eb8 Merge b2g-inbound to m-c. a=merge 2015-03-13 16:03:25 -04:00
Ryan VanderMeulen
3508f4aa52 Backed out changesets f63a2cf3fa11 and 7d9a91ee3d48 (bug 1126089) for mochitest-bc failures. 2015-03-13 13:42:57 -04:00
Tom Tromey
55b3f28580 Bug 1135731 - fix encoding inconsistency in NS_NewXBLProtoImpl; r=mrbkap 2015-03-13 12:05:57 -07:00
Ehsan Akhgari
230f9e920c Bug 1142790 - Add a test for passing Request objects to DOM cache matchAll method; r=bkelly 2015-03-13 14:40:33 -04:00
Ehsan Akhgari
b6a46d94b1 Bug 1142269 - Auto-vacuum the DOM Cache database; r=bkelly
It's easiest if we use auto_vaccum for now.  In the future if this
proves to be insufficient we can look into more sophisticated
vacuuming strategies.
2015-03-13 14:40:27 -04:00
Ehsan Akhgari
9693cea624 Bug 1133763 - Part 8: Ensure that FetchEvent.respondWith works correctly on HTTPS requests with a cloned response; r=nsm 2015-03-13 14:37:27 -04:00
Ehsan Akhgari
9cdf67372b Bug 1133763 - Part 7: Add automated tests for using FetchEvent.respondWith on an HTTPS request; r=nsm 2015-03-13 14:37:25 -04:00
Ehsan Akhgari
1332a683d5 Bug 1133763 - Part 6: Set the correct security info on intercepted channels when using the respondWith API; r=jdm 2015-03-13 14:37:24 -04:00
Ehsan Akhgari
d5b78213fd Bug 1133763 - Part 4: Store the response's security info in the cache database; r=bkelly 2015-03-13 14:37:19 -04:00
Ehsan Akhgari
d5840b488d Bug 1133763 - Part 3: Wipe out the cache directory when detecting a change in the DB schema; r=bkelly 2015-03-13 14:37:18 -04:00
Ehsan Akhgari
58b1ce9c4b Bug 1133763 - Part 2: Transfer the security info associated with an InternalResponse across the IPC layer; r=bkelly 2015-03-13 14:37:16 -04:00
Ehsan Akhgari
08a57b8a9e Bug 1133763 - Part 1: Remember the security info associated with HTTP fetches and record it inside InternalResponse; r=nsm 2015-03-13 14:37:14 -04:00
Ehsan Akhgari
eed5a8dba4 Bug 1142772 - Interleave the DOM Cache tests run through the mini-framework; r=bkelly
Here are the changes needed to achieve this:

* We tag each message posted to the framework with a context argument.
  context can be one of "Window", "Worker" or "ServiceWorker".  In the
  places where we handle messages, we only handle the ones corresponding
  to the context that we expect.
* We use Promise.all in order to interleave the execution of the tests.
  This has the nice property of actually getting the tests run
  simultaneously on multi-core machines.
* For ease of debugging test failures, we print the context from which
  each test message is coming from.
* In order for the tests that are run in parallel to not step on each
  other's toes, we introduce a global `context' variable that the test
  script can use to create names that do not clash with concurrent
  test runs.  For example, instead of `caches.open("foo")', one must now
  use: `caches.open("foo" + context)'.
* The existing tests are modified based on the above.
* When running the tests in parallel, the service worker may end up
  controlling both frame.html and message_receiver.html.  The hunk at
  the end of worker_wrapper.js is intended to ensure that we will
  always be communicating with message_receiver.html.
* An order argument has been added to runTests which can be set to
  "sequential" in order to run the tests in different contexts in
  parallel.  If the argument is omitted, the default is "parallel".
2015-03-13 14:32:02 -04:00
Ehsan Akhgari
43c73c2bcf Bug 1142333 - Add a test for passing Request objects to DOM cache match methods; r=bkelly 2015-03-13 14:28:24 -04:00
Jan-Ivar Bruaroey
c27c8bdddb Bug 1135655 - bump up tab sharing dimension defaults to match screensharing r=jesup 2015-03-13 12:21:20 -04:00
Ryan VanderMeulen
68389cfd48 Merge m-c to inbound. a=merge 2015-03-13 12:18:07 -04:00
Carsten "Tomcat" Book
276e082315 Merge mozilla-central to b2g-inbound 2015-03-13 14:13:54 +01:00
Andrew Sutherland
f11daae655 Bug 947167 - Fix/improve debugging of test_downloads_pause_resume.html intermittent. r=aus 2015-03-12 22:27:46 -04:00
Dan Glastonbury
ff4015141e Bug 1048741 - [WebGL2] texParameter: Fix silly bug in TEXTURE_COMPARE_FUNC handling. r=jgilbert 2015-03-13 16:16:05 +10:00
Phil Ringnalda
345a4eca93 Back out 3 changesets (bug 1135424) on suspicion of causing frequent hangs in test_playback.html on mochitest-e10s
CLOSED TREE

Backed out changeset 584d91ffdf88 (bug 1135424)
Backed out changeset d86806ea63f4 (bug 1135424)
Backed out changeset e52401d30a67 (bug 1135424)
2015-03-12 23:05:11 -07:00
Boris Zbarsky
412eb673d2 Bug 1142478 followup. Fix bogus test, and don't get the value of an invalid CheckedInt. Then we can reopen the CLOSED TREE. 2015-03-12 22:59:00 -04:00
Chris Double
1ef0fc9d78 Bug 1127646 - Report MSE Join Latency and MTBR in telemetry - r=cpearce,bsmedberg 2015-03-13 15:02:49 +13:00
Boris Zbarsky
820353b345 Bug 1142478. Fix integer attribute parsing to not lose track of leading zeroes. r=sicking 2015-03-12 21:46:57 -04:00
Bobby Holley
0563f41ef7 Bug 1135424 - Switch the MDSM to a task queue. r=mattwoodrow 2015-03-12 17:54:35 -07:00
Bobby Holley
de5342cf9d Bug 1135424 - Implement MediaTimer. r=mattwoodrow 2015-03-12 17:52:51 -07:00
Bobby Holley
ab44849fc5 Bug 1135424 - Allow MediaPromise dispatch to fail if the ThenValue has been disconnected. r=mattwoodrow
The original idea behind the current model was that we wanted ironclad guarantees
that consumers would always get a callback on their promise. But we now have use
cases where the consumer wants to forget about a promise (using the new
Disconnect()) feature, and in some cases wants to shut down the task queue that
the response is going to be dispatched on. In the case of this bug, we want to
avoid waiting for the longest outstanding timer promise to be resolved before
shutting down the MDSM.

So this patch fixes up the pieces needed to make this work:
* Loosening our invariants to allow dispatch targets to be released on any thread,
  since MediaTaskQueue and nsIEventTarget both have thread-safe refcounting.
* Releasing mThisVal in Disconnect, so that we no longer depend on successful
  dispatch to release it on the correct (dispatch) thread.
* Fiddling with various assertions.

We also make some assertions fatal in nightly/aurora builds while we're at it.
2015-03-12 17:52:50 -07:00
Chris Double
17b0191dec Bug 1131884 - Video buffering calculation fails for some MP4 videos - r=jya
Playback position used in calculating buffering time is set
during metadata reading. This is at end of file for the
video in the bug. As a result the buffering data is always
wrong.

Changed to not setting position during metadata - it is set
during frame playback anyway.

Also changes buffering timeout to 15s from 30s.
2015-03-13 13:45:51 +13:00
Ryan VanderMeulen
f97a2b3f70 Merge m-c to fx-team. a=merge 2015-03-13 12:21:20 -04:00
Ganesh Sahukari
4b15c2aa09 Bug 1022816 - OS.File will now be able to change the readOnly, hidden, and system file attributes on Windows. r=paolo 2015-03-13 15:51:53 +00:00
Nikhil Marathe
9ce4ae6f50 Bug 1080752 - Hold wakelock when attempting to connect to push server. r=dougt
--HG--
extra : rebase_source : 584f9f681262a74ed0149f5cefbcc5afccdeb04e
2015-03-09 15:40:04 -07:00
Bill McCloskey
5d4e83e61d Bug 1126089 - Allow messages to be sent after frame script unload event (r=smaug) 2015-03-13 08:24:20 -07:00
Bill McCloskey
56bd1b2a69 Bug 1126089 - Add test for pageload event on browser element when tab closed (r=smaug) 2015-03-13 08:24:14 -07:00
Thomas Zimmermann
1ce878358e Bug 1109592 - Listen for connections from NFC daemon. r=allstars.chh
This patch inverses the connection setup procedure between Gecko
and nfcd. Gecko now installs a listen socket and starts nfcd from
the init scripts. Nfcd establishes the connection by connecting
to Gecko's socket.

As a side effect of this patch, nfcd only runs while NFC is switched
on. This saves ~1.6 MiB os memory with contemporary NFC drivers on
flame-kk.
2015-03-11 03:38:00 -04:00
Thomas Zimmermann
7c78ff1393 Bug 1109592 - Forward socket state from |NfcSocketListener|. r=allstars.chh
This patch allows to handle changes to the socket state at a higher
level than |NfcSocketListener|.
2015-03-09 03:27:00 -04:00
Thomas Zimmermann
cf680688ae Bug 1109592 - Only open connection to nfcd while NFC is switched on. r=allstars.chh
With this patch Gecko only creates a connection to nfcd while NFC is
switched on, and closes the connection after NFC has been switched off.

While the connection is being opened, commands to nfcd are held in a
waiting queue. Gecko flushes the queue after it connected successfully
to nfcd.

As a side effect of this patch, the NFC thread only exists while NFC
is switched on.
2015-03-12 07:43:00 -04:00
Edgar Chen
5188f3ea13 Bug 1142495 - Fix ICC build error on emulator L. r=hsinyi 2015-03-12 23:55:50 +08:00
Becker Hsieh
3d72319a6b Bug 1121855 - Fix camera crash. r=aosmond 2015-03-12 20:29:00 -04:00
Ryan VanderMeulen
ee67ad0d8d Merge inbound to m-c. a=merge 2015-03-12 18:05:45 -04:00
Ryan VanderMeulen
7305a3d9d6 Merge fx-team to m-c. a=merge 2015-03-12 17:55:19 -04:00
Ryan VanderMeulen
5b806ff5b4 Merge b2g-inbound to m-c. a=merge 2015-03-12 16:50:07 -04:00
Thomas Zimmermann
69e1d93253 Bug 1142132: Move helper classes of OPP manager into manager's namespace, r=shuang
Keeping helper classes in Bluetooth's C++ namespace creates collisions
between symbols of different managers' helpers. Moving OPP helpers into
the namespace of |BluetoothOPPManager| fixes this problem for OPP.
2015-03-12 13:07:32 +01:00
Thomas Zimmermann
41cc33c0c2 Bug 1142132: Move helper classes of A2DP manager into manager's namespace, r=shuang
Keeping helper classes in Bluetooth's C++ namespace creates collisions
between symbols of different managers' helpers. Moving A2DP helpers into
the namespace of |BluetoothA2dpManager| fixes this problem for A2DP.
2015-03-12 13:07:32 +01:00
Thomas Zimmermann
888dc86930 Bug 1142132: Move helper classes of HFP manager into manager's namespace, r=shuang
Keeping helper classes in Bluetooth's C++ namespace creates collisions
between symbols of different managers' helpers. Moving HFP helpers into
the namespace of |BluetoothHfpManager| fixes this problem for HFP.
2015-03-12 13:07:32 +01:00