Commit Graph

242897 Commits

Author SHA1 Message Date
Nikhil Marathe
a5f604fd62 Bug 1080109 - Clear ServiceWorkers when clearing history or forgetting about site. r=baku,ehsan 2015-03-05 17:37:49 -08:00
Ehsan Akhgari
c06477822f Bug 1162787 - Make the service worker periodic tests robust to the idle daily service firing its notification when the tests are being run; r=nsm 2015-05-07 16:23:50 -07:00
Ehsan Akhgari
3b2282e9f2 Bug 1159378 - Part 4: Add a unit test for periodic updates of service workers on HTTPS origins; r=nsm
The reason why this test is interesting here is that it tests the code
path added in the part 2 of this bug.
2015-05-04 10:18:19 -04:00
Ehsan Akhgari
c66e4521b1 Bug 1159378 - Part 3: Refactor the logic of test_periodic_update.html into a helper script; r=nsm
This helper script will allow us to run the same test across both HTTP
and HTTPS origins.  This patch also uses postMessage instead of a direct
function call on the parent window, because in the HTTPS case, that
window will be cross-origin.  It also moves the code to trigger the
update and get the corresponding updatefound event to
wait_for_update.html, since getting the service worker registration
cross-origin is not possible.
2015-05-04 10:18:12 -04:00
Ehsan Akhgari
7362531ea2 Bug 1159378 - Part 2: When storing the service worker downloaded after a failed network compare into the cache, store its security info in the cache as well; r=nsm 2015-05-04 10:18:01 -04:00
Ehsan Akhgari
4dadd13357 Bug 1159378 - Part 1: Enable nsIStreamLoader to optionally notify an nsIRequestObserver; r=mcmanus 2015-05-04 10:17:47 -04:00
Nikhil Marathe
387edb978c Bug 1154494 - patch 2 - Hold a ref to the sandbox. r=baku 2015-05-04 13:02:12 -04:00
Nikhil Marathe
38d5216166 Bug 1154494 - Hit network only once. r=baku,bkelly 2015-04-13 21:05:28 -07:00
Patrick McManus
52bf579fe8 Bug 1162243 - add anonymous speculative connections r=hurley 2015-05-05 21:15:36 -04:00
Karl Tomlinson
2b4c936654 bug 1161903 ensure pending DrainComplete is not run after Flush() r=cpearce
Using a Decode task already in the queue had the potential for out of order
flushing.

This is similar in behavior to the implementation prior to f550eb7809b6, but
keeps mDecoder->Flush() on the platform decoder's task queue, in the hope of
avoiding any ordering problems from calling in the middle of decoding input,
or races with MFTDecoder::mDiscontinuity.

The contract is not clear on whether DrainComplete() should be run during
Flush(), but I've kept it in this version.
2015-05-07 14:15:24 +12:00
Karl Tomlinson
36f5a3ef72 bug 1161903 reset mDrainComplete after Flush() as DrainComplete() may be called before Flush() r=mattwoodrow
DrainComplete() can also be called during Flush().
2015-05-06 11:40:58 +12:00
Karl Tomlinson
7a2c4e822d bug 1161892 use separate thread pool for platform decoder task queues r=bholley
so that platform decoder tasks will run when their readers wait and block
their thread pool.
2015-05-07 16:01:43 +12:00
Karl Tomlinson
1aade1e73f bug 1161402 assert active proxy if callback is called r=ajones 2015-05-06 17:09:54 +12:00
Steve Fink
e6c9d9144e Bug 1162318 - Rooting hazard in WrapNativeParentHelper, r=peterv 2015-05-07 09:51:06 -07:00
Steve Fink
e8e225562e Bug 1162310 - Do not use nonexistent macro when XGILL_PLUGIN is defined, r=bhackett 2015-05-07 09:49:41 -07:00
Nicholas Nethercote
2ddb2e8069 Bug 1161377 (part 3) - Convert some easy PL_DHashTable{Init,Finish} cases. r=froydnj.
This patch converts easy cases, i.e. where the PL_DHashTableInit() call occurs
in a constructor and the PL_DHashTableFinish() call occurs in a destructor.
2015-05-04 22:59:24 -07:00
Nicholas Nethercote
7b2a571fc7 Bug 1161377 (part 2) - Remove PL_NewDHashTable() and PL_DHashTableDestroy(). r=froydnj.
They're not needed now that there is an initializing constructor and a
destructor.
2015-05-04 22:59:24 -07:00
Nicholas Nethercote
9978627ce0 Bug 1161377 (part 1) - Add an initializing constructor and destructor to PLDHashTable. r=froydnj.
The destructor is "opt-in" -- there's a flag that makes it a no-op unless the
table was initialized with the initializing constructor. This will allow us to
incrementally convert existing tables from manual to automatic
initialization/finalization. This is important because some of the existing
uses are tricky (impossible?) to convert to the automatic style.
2015-05-04 22:59:02 -07:00
Wes Kocher
d671e16e9b Merge m-c to inbound a=merge CLOSED TREE 2015-05-07 15:37:01 -07:00
Wes Kocher
a92c521d88 Merge b2ginbound to m-c a=merge CLOSED TREE 2015-05-07 15:23:42 -07:00
Wes Kocher
9721802040 Merge inbound to m-c a=merge 2015-05-07 15:12:38 -07:00
Wes Kocher
8e8734c870 Backed out changeset 57f0b16030e9 (bug 1162013) for m-oth and m-dt3 bustage CLOSED TREE 2015-05-07 13:37:27 -07:00
Tooru Fujisawa
e62c073e0f Bug 1162456 - Part 2: Use --format=automation instead of --tinderbox. r=sfink 2015-05-08 05:05:45 +09:00
Tooru Fujisawa
de19b4e957 Bug 1162456 - Part 1: Add --format option in jstests.py and jit_test.py as a replacement for --tinderbox. r=sfink 2015-05-08 05:05:42 +09:00
Kartikaya Gupta
f57c824ede Bug 1161215 - Don't fire spurious resize events to content when the size didn't actually change. r=smaug 2015-05-07 16:02:38 -04:00
Eric Rahm
ba00a9a97d Bug 1162336 - Part 2: Wrap expensive calls in PR_LOG_TEST. r=froydnj
Check that logging is enabled before performing potentially expensive
operations.
2015-05-07 12:52:45 -07:00
Eric Rahm
4133e553ea Bug 1162336 - Part 1: Remove instances of #ifdef PR_LOGGING in netwerk. r=froydnj
PR_LOGGING is now always defined, we can remove #ifdefs checking for it.
2015-05-07 12:52:44 -07:00
Andrew Halberstadt
46ca42739c Bug 1162479 - Fix mochitest make target regression with duplicate extraProfilePath, r=chmanchester 2015-05-07 14:38:43 -04:00
Ben Turner
9c3cca509f Bug 1156611 - Fix Nuwa idle detection for IndexedDB, r=khuey. 2015-05-07 12:17:28 -07:00
Wes Kocher
2170e98d4a Backed out changeset 7ec5c7a4830f (bug 896139) for adding a test that times out a=merge 2015-05-07 10:13:59 -07:00
Carsten "Tomcat" Book
a1d18de823 Merge mozilla-central to b2g-inbound on a CLOSED TREE 2015-05-07 16:15:54 +02:00
Carsten "Tomcat" Book
b93ada411b Merge mozilla-central to fx-team on a CLOSED TREEx 2015-05-07 16:11:08 +02:00
Carsten "Tomcat" Book
f565aec113 Merge mozilla-central to mozilla-inbound 2015-05-07 15:59:06 +02:00
Sotaro Ikeda
ba287a2d55 Bug 1091037 - Raise ImageBridge thread priority r=gsvelto,nical 2015-05-07 06:53:47 -07:00
Eddy Bruël
34232ab1c1 Bug 896139 - Breakpoints not triggering when reloading script;r=jimb 2015-05-07 15:40:39 +02:00
Carsten "Tomcat" Book
be4e5b3881 merge mozilla-inbound to mozilla-central a=merge 2015-05-07 15:38:45 +02:00
Carsten "Tomcat" Book
34a7421bbe merge fx-team to mozilla-central a=merge 2015-05-07 15:28:00 +02:00
Mark Banner
ebd8247db2 Bug 1161926 - Standalone UI doesn't always show 'Something went wrong' if the network connection dies. Upgrade jquery due to not always properly catching errors from $.ajax. r=dmose CLOSED TREE 2015-05-07 09:49:11 +01:00
Mark Banner
0df530c9d9 Fix browser_parsable_css.js bustage from bug 1142515 - use correct way to reset padding-left to default. rs=bustage-fix for CLOSED TREE 2015-05-07 13:25:05 +01:00
Carsten "Tomcat" Book
735fc26eb7 Backed out changeset 93f39df2f4f3 (bug 1161926) for test failures in browser_parsable_css.js 2015-05-07 14:04:57 +02:00
Phil Ringnalda
8e45188830 Back out cb1b4b057dad (bug 1161362) for Linux64 cgc failures
CLOSED TREE
2015-05-06 21:15:22 -07:00
Phil Ringnalda
67715d5d1b Back out dc2fed1aa0af (bug 1144906) for ASan, Android debug, and OS X 10.10 mochitest-gl bustage
CLOSED TREE
2015-05-06 19:55:40 -07:00
Bobby Holley
776ae1c363 Bug 1131707 - Transparently forward the construct bit for function forwarders. r=gabor 2015-05-06 18:11:51 -07:00
Hannes Verschore
43f3ebc19e Bug 1159899: IonMonkey: Fix folding of ~~x, r=nbp 2015-05-07 02:58:27 +02:00
Cameron McCormack
d658249d6a Bug 1162366 - Fix spelling of nsPresContext::mSupressResizeReflow and associated methods. r=dholbert 2015-05-06 20:56:00 -04:00
Seth Fowler
a0f90d3e9b Bug 1161743 - Upgrade 'WARNING: Not expiration-tracking an unlocked surface' to an assertion. r=dholbert 2015-05-06 17:45:55 -07:00
Bas Schouten
632e5c44f3 Bug 1161815: Use a single ID2D1SolidColorBrush per DrawTarget. r=jrmuizel 2015-05-07 02:38:10 +02:00
Jean-Yves Avenard
46438e91ff Bug 1159579: Add Interval and IntervalSet objects. r=mattwoodrow
Along with a TimeIntervals class that reimplement all of dom::TimeRanges
features.
2015-05-07 10:24:10 +10:00
Sami Jaktholm
93d72ef0f1 Bug 1160720 - Stop dragging the color selector around if no buttons are pressed down on mousemove. r=bgrins
The color picker stops following the mouse when it receives a mouseup event.
However, in some cases when the mouse button is released outside the color
picker frame, the picker won't know about it and will continue to move the
selection when mouse comes back over the picker frame.

As the MouseEvent.buttons property specifies which buttons are pressed when
the event occurs the picker can use said property to detect if it should stop
following the mouse. When .buttons === 0 on a mousemove event no buttons are
pressed down and it should stop following the mouse.
2015-05-06 16:58:20 -07:00
Justin Dolske
1253666163 Bug 1160663 - Allow hilighting the Pocket button via UITour. r=MattN 2015-05-06 16:53:48 -07:00