Commit Graph

35237 Commits

Author SHA1 Message Date
Andrea Marchesini
2eac2c2c71 Bug 1170809 - Improve the buffer size check in nsXMLHttpRequest::AppendToResponseText. r=ehsan 2015-06-10 09:25:14 -04:00
Carsten "Tomcat" Book
daba81359c Merge mozilla-central to mozilla-inbound 2015-06-10 15:23:25 +02:00
Carsten "Tomcat" Book
5e7d7a2060 merge mozilla-inbound to mozilla-central a=merge 2015-06-10 15:16:11 +02:00
Wes Kocher
a082f9cf64 Merge m-c to b2ginbound, a=merge 2015-06-09 19:29:46 -07:00
Wes Kocher
17eed9f7c2 Merge b2ginbound to central, a=merge 2015-06-09 19:25:38 -07:00
Ehsan Akhgari
a3d9b8fae8 Bug 1172629 - Use the caches global property from an iframe loaded after setting the pref in order to make the tests pass with the pref disabled; r=bkelly a=RyanVM 2015-06-09 16:06:00 -04:00
Ehsan Akhgari
1b9af9fc20 Bug 1143570 - Part 1: Use an nsBlockInFlowLineIterator to determine whether a BR frame is visible or not; r=roc 2015-06-09 15:58:55 -04:00
Fabrice Desré
30e7b5c769 Bug 1170836 - Importing certified themes in dev mode doesn't work r=ferjm a=ryanvm 2015-06-09 11:22:07 -07:00
Siddartha Pothapragada
2fdb87d48b Bug 1118102 - Fix error handling by rejecting the promise request with specific SE errors instead of 'Generic Error'. r=allstars.chh r=khuey a=kwierso 2015-06-09 11:18:51 -07:00
Ryan VanderMeulen
58beaad7d1 Merge m-c to b2g-inbound. a=merge 2015-06-09 13:27:49 -04:00
Thomas Zimmermann
c44f1139e2 Bug 1172479: Replace |nsIThread| by |MessageLoop| in socket I/O code, r=kmachulis
Dispatching events via |nsIThread| doesn't work with worker threads. This
patch replaces all uses of |nsIThread| in the socket code by equivalent
uses of |MessageLoop|.
2015-06-09 09:50:10 +02:00
JerryShih
0509444f83 Bug 1150310 - Only check stencil LSB 8bit value. r=jgilbert 2015-06-09 00:46:00 -04:00
JerryShih
b229388a01 Bug 1150310 - Return context cached value for stencil* queries. r=jgilbert 2015-06-09 00:37:00 -04:00
Christoph Kerschbaumer
863867d4ec Bug 1117650 - Part 3: Move all CSP tests into dom/security/test. r=sstamm 2015-06-08 16:21:50 -07:00
Christoph Kerschbaumer
f150525b99 Bug 1117650 - Part 2: Move all MixedContent tests into dom/security/test. r=tanvi 2015-06-08 16:21:43 -07:00
Christoph Kerschbaumer
d65d94543a Bug 1117650 - Part 1: Move all CORS tests into dom/security/test. r=sicking 2015-06-08 16:21:31 -07:00
Nikhil Marathe
29d8e53169 Bug 1172717 - Fail on UNKNOWN_APP_ID instead of crashing. r=bholley a=RyanVM 2015-06-08 16:18:09 -07:00
Dragana Damjanovic
4820021a0a Bug 1172667 - Use EXTRA_JS_MODULES for dom/push/ jsm files. r=dougt 2015-06-09 02:11:00 -04:00
Morris Tseng
538297a257 Bug 1172405 - Fix build error when adding files to dom/workers and gfx/layers. r=nical
CLOSED TREE
2015-06-08 02:28:00 -04:00
Ryan VanderMeulen
fe34b60cf4 Backed out changeset 150544a28405 (bug 1167064) for B2G mochitest failures. 2015-06-08 15:41:26 -04:00
Ryan VanderMeulen
ac116960a0 Merge fx-team to m-c. a=merge 2015-06-09 13:08:17 -04:00
Xidorn Quan
d152afc075 Bug 1161802 - followup - Fix MozDOMFullscreen event target test on a CLOSED TREE a=sheriffduty 2015-06-10 06:06:00 +02:00
Xidorn Quan
23150f187f Bug 1161802 part 7 - Put document into fullscreen state after window becomes fullscreen. r=smaug,dao 2015-06-10 23:13:12 +12:00
Xidorn Quan
980bfa5a4e Bug 1161802 part 6 - Extract FullscreenRoots::{Add,Remove} to call site of ShowWindowFullscreen. r=smaug 2015-06-10 23:13:12 +12:00
Xidorn Quan
afac6a9535 Bug 1161802 part 5 - Make applying fullscreen state an independent method. r=smaug 2015-06-10 23:13:12 +12:00
Xidorn Quan
18033bdb89 Bug 1161802 part 4 - Move bool parameters info FullScreenOptions for clearer call sites. r=smaug 2015-06-10 23:13:12 +12:00
Xidorn Quan
54b49347ed Bug 1161802 part 3 - Make fullscren element ready check an independent method. r=smaug 2015-06-10 23:13:12 +12:00
Xidorn Quan
5795be4f09 Bug 1161802 part 2 - Split nsGlobalWindow::SetFullScreenInternal into two parts, one part before the window resizing, the other after. r=smaug,dao,margaret
This patch moves the "fullscreen" event from the original place to the
second part, which indicates two other changes:

1. When the event is triggered, the value of fullScreen would have been
toggled to the new value, which is different from before. The changes in
browser/../browser-fullScreen.js and mobile/../browser.js are for this.

2. This event is no longer preventDefault-able, since it is triggered
after the fullscreen change. This leads to the removal of the test and
the only place which calls preventDefault on that event. That place is
a workaround for bug 1079222. To address that problem, this patch fixes
the intrinsic issue via stoping handling the fullscreen change once it
finds we failed to change the state of the widget.
2015-06-10 23:13:12 +12:00
Kan-Ru Chen
79b9096c29 Bug 1172889 - Reorder nsFrameLoader member declarations. r=smaug 2015-06-10 17:44:20 +08:00
Kan-Ru Chen
3687b79da0 Bug 1172889 - Rename nsFrameLoader::GetCurrentRemoteFrame to nsFrameLoader::GetCurrentRenderFrame. r=roc 2015-06-10 17:44:14 +08:00
Kan-Ru Chen
8f2a83c371 Bug 1172889 - Get current RenderFrameParent from TabParent directly. r=roc 2015-06-10 17:44:10 +08:00
Kan-Ru Chen
6b16f09b1f Bug 1172889 - Remove unused nsFrameLoader::mContentParent. r=smaug 2015-06-10 17:44:06 +08:00
Kan-Ru Chen
461556134b Bug 1172889 - Remove unused nsFrameLoader::DestroyChild. r=smaug 2015-06-10 17:44:01 +08:00
Jean-Yves Avenard
4597960d97 Bug 1168040: Part2. Properly handle MP4 time offset in MoofParser. r=kentuckyfriedtakahe 2015-06-10 19:38:13 +10:00
Jean-Yves Avenard
52d976162c Bug 1171629: Use fallible array to store MP4 samples index. r=kentuckyfriedtakahe 2015-06-10 19:38:13 +10:00
JW Wang
8757e02343 Bug 1169356 - increase loop count so the test runs more reliably on slow machines like B2G. r=padenot. 2015-06-10 13:55:27 +08:00
Daniel Holbert
b562189703 Bug 1125325 followup: Add missing 'override' keyword to TabChild::GetInnerSize() and nsWindowRoot::AddBrowser(), RemoveBrowser(), EnumerateBrowsers(). rs=ehsan 2015-06-08 10:24:56 -07:00
Kathy Brade
9910bfa450 Bug 418986 - Resist fingerprinting by preventing exposure of screen and system info. r=mrbkap, r=heycam 2015-06-07 09:02:00 -04:00
Mason Chang
89a5b63555 Bug 1077651 Measure frame uniformity by synthesizing native events. r=kats,mrbkap 2015-06-08 09:53:41 -07:00
Bobby Holley
94fc73f8fb Bug 1160695 - Drop Support for Content-Duration. r=cpearce 2015-06-08 09:22:46 -07:00
Bobby Holley
a02ddf70a4 Bug 1160695 - Fix up test to require the true duration, rather than the fake duration. r=jww,sr=cpearce
From the bug it corresponds to, this test was designed to make sure that we don't
read ogg duration by seeking (which causes network activity) when the server
offers the X-Content-Duration header. However, preserving this behavior requires
the ogg reader to be aware of the presence of network duration when it's reading
metadata, which isn't easily accomplished in our new model here. I think both ogg
and X-Content-Duration are sufficiently unimportant at this point that this is an
acceptable regression.
2015-06-08 09:22:44 -07:00
Bobby Holley
d59317c73a Bug 1160695 - Hoist post-duration-change seeking into MediaDecoder where it belongs. r=jww
Without this, we get failures in test_TruncatedDuration.html etc. I decided that
integrating this into the precisely correct position in the patch stack was too
much work.
2015-06-08 09:22:43 -07:00
Bobby Holley
20bedec261 Bug 1160695 - Clarify the semantics of when we fire DurationChanged. r=jww
It would be better for SetDuration to do this, and base it off of the current
MDSM state rather than the cause of the duration change. But this clarifies the
current situation a bit without adding more risk to this patch stack.
2015-06-08 09:22:41 -07:00
Bobby Holley
daf38a9dbc Bug 1160695 - Clean up SetDuration and remove negative duration case. r=jww 2015-06-08 09:22:40 -07:00
Bobby Holley
13c2f4f6bd Bug 1160695 - Track observed duration separately. r=jww 2015-06-08 09:22:39 -07:00
Bobby Holley
d08f3cc146 Bug 1160695 - Track demuxer-estimated duration separately. r=jww 2015-06-08 09:22:37 -07:00
Bobby Holley
7ba141cbf4 Bug 1160695 - Track explicit (mediasource) duration separately. f=jww,rpending=jya 2015-06-08 09:22:28 -07:00
Bobby Holley
6f9facd3ca Bug 1160695 - Make MediaDecoder::DurationChanged take a duration argument rather than reading it back synchronously from the MDSM. r=jww 2015-06-08 09:21:23 -07:00
Bobby Holley
b109b7040a Bug 1160695 - Remove unused codepath for off-main-thread MediaSource duration change. r=jww 2015-06-08 09:21:22 -07:00
Bobby Holley
b9cee1247a Bug 1160695 - Track "metadata duration" separately and mirror it to MediaDecoderReader. r=jww 2015-06-08 09:21:22 -07:00