Commit Graph

145223 Commits

Author SHA1 Message Date
Bobby Holley
be1dd5ebee Bug 899367 - Explicitly trace outer windows, rather than doing it via JSContext iteration. r=mccr8 2013-09-04 14:06:54 -07:00
Bobby Holley
bd532022b3 Bug 899367 - Add an API to determine if we're marking gray. r=billm
This allows us to assert that certain callbacks get invoked during the gray
phase of a marking GC.
2013-09-04 14:06:54 -07:00
Bobby Holley
59b924c116 Bug 899367 - Only use JSOPTION_UNROOTED_GLOBAL for DOM JSContexts. r=mccr8
We don't cycle collect any other kind, so there's no difference between marking
them gray and letting the JS engine mark them black. This also gets rid of that
nasty code which reset the flag, which billm theorizes has to do with faulty
logic in ContextHolder when creating ephemeral sandbox cxes. The assertion in
this patch should catch us if anything goes wrong.
2013-09-04 14:06:54 -07:00
Randell Jesup
2903ab3e4d Bug 912450: remove WEBRTC_EXPORT to avoid exporting webrtc symbols from xul.dll r=ted 2013-09-04 17:01:48 -04:00
Patrick McManus
538e56a476 bug 912582 - false start rc4 and rsa accomodations need exact principal matches r=dkeeler 2013-09-04 17:01:02 -04:00
Benoit Girard
68543ba60b Bug 907544 - Pass the D3DSurface9 down into Cairo for LockRect. r=jrmuizel
--HG--
extra : rebase_source : 71c0f776360435d242987ffd3e2cbab8a3535c67
2013-09-04 16:53:54 -04:00
Neil Rashbrook
4805664af5 Bug 910899 Plugin placeholder XBL anonymous elements need anonids r=jaws 2013-09-04 21:52:51 +01:00
Daniel Holbert
d36be6c344 Bug 859807: Request longer timeout for test_transitions_per_property.html. r=dbaron 2013-09-04 13:47:24 -07:00
Boris Zbarsky
7a50c66936 Bug 911771. Remove uses of MOZ_DEBUG in .cpp files, since there is no such thing there. Use DEBUG instead. r=glandium 2013-09-04 16:43:12 -04:00
Boris Zbarsky
ded75e63dc Bug 910795 part 2. Use the new Rebind() setup to avoid creating string copies for variadic string arguments. r=smaug 2013-09-04 16:43:12 -04:00
Boris Zbarsky
8e1d25505b Bug 910795 part 1. Add a way to Rebind() an nsString to be a dependent string. r=bsmedberg 2013-09-04 16:43:12 -04:00
Patrick McManus
91c0ac13b0 bug 907800 - only retry http 408 when it is suspected of being a persistent reuse race r=jduell 2013-09-04 16:39:25 -04:00
Karl Tomlinson
1a85e41f2d b=906966 limit ScriptProcessorNode input channel count through channelCount and channelCountMode r=ehsan
--HG--
extra : transplant_source : %E6-%8A%10%BEb%FEg%8C%C3f%2C%1F%C6%859%E5%27%1C%60
2013-09-05 07:44:37 +12:00
Karl Tomlinson
c20bae4715 b=906966 limit ConvolverNode and PannerNode input channel count through channelCount and channelCountMode r=ehsan
--HG--
extra : transplant_source : %8A%FB%BC%D3%D0%F3Ct%A5%D1%B1%AF%3D%9Bk%896%7F%7F%1F
2013-09-05 07:44:35 +12:00
Karl Tomlinson
6d3883eb46 tests for convolver and panner channelCount b=906966
--HG--
extra : transplant_source : %17%A2WFH%18%7E-c%2CZVC%AAc%85%FB%02%BE%BD
2013-09-05 07:44:04 +12:00
Karl Tomlinson
37e079bc4d b=907986 remove unused ThreeDPoint::Distance() r=padenot
--HG--
extra : transplant_source : %19%DD%A9%CB%CC%B1%C42%E2%8EY%CE%22%89o_%97i%03_
2013-09-04 21:21:00 +12:00
Karl Tomlinson
74e3f50648 b=907986 handle zero front-right plane projection without NaNs r=padenot
The azimuth calculation in the Web Audio spec becomes undefined in this
situation as it requires normalizing a zero vector.  The panning effect should
not depend on azimuth when the source is directly above the listener (because
position does not depend on azimuth), but the specified "equalpower" panning
model does depend on azimuth even at this elevation.  Setting azimuth to zero
produces the same result as if the normalized projection were replaced with a
zero vector.

--HG--
extra : transplant_source : f%A4h%CB7%7Bp%87%AE%09%9F%2Cu%D7%CD%9D%5E%A8%EC%0D
2013-09-04 21:20:59 +12:00
Karl Tomlinson
33b9dff05b test equalpower panning effect with panner directly above b=907986
--HG--
extra : transplant_source : %8E%99%9B%F8%288%5C%A5%E8%D1%C3%E2%9F%89%5C%D0C%B1l%B0
2013-09-04 21:20:59 +12:00
Karl Tomlinson
2a2ab79432 b=907986 normalize orientation vectors early and keep existing state if directions are undefined r=padenot
Normalizing the AudioListener front orientation vectors before taking their
cross product avoids the possibility of overflow.

The panning effect and the azimuth and elevation calculation in the Web Audio
spec becomes undefined with linearly dependent listener vectors, so keep
existing state in these situations.

PannerNode orientation is normalized for consistency, but zero is permitted
for this vector because the sound cone algorithm in the Web Audio specifies
behavior for this case.

--HG--
extra : transplant_source : %DA%C7e%E7%90%14%AF%EA%08%94x%C1%A2g%F1%9A%EE%16%EB%29
2013-09-04 21:20:59 +12:00
Karl Tomlinson
b88e8922d4 b=907986 avoid under and overflow in Normalize() r=padenot
--HG--
extra : transplant_source : %83%C5%A4%92%28%2Bf%7DHT%13%DE7L%26%B89x%E4%FF
2013-09-04 21:20:58 +12:00
Karl Tomlinson
6d0652f9c8 b=907986 don't calculate upProjection twice r=padenot
--HG--
extra : transplant_source : %8E%E1r%9F%AC%EB%C6%9A%EE_%10%0F%B9%1D%EF%85%EBu%CD%96
2013-09-04 21:20:58 +12:00
Karl Tomlinson
29f77b83af crashtests for bug 907986
--HG--
extra : transplant_source : %1A%09%7D%14MM%B2_p%2B%27%C4M%C3%A2%83%F3C%C4%DC
2013-09-04 21:10:32 +12:00
Karl Tomlinson
14736f8cee revert 3171b6ad0055 b=907986
--HG--
extra : transplant_source : K%83%1FS%27%A7%20%82%C4P%08%E5n%8C%830%B6%2C%24%97
2013-09-04 15:02:04 +12:00
Gregory Szorc
ed5c045c36 Bug 896797 - Part 3: Use install manifests for managing dist/include; r=glandium 2013-09-03 22:51:58 -07:00
David Burns
cf39aea60b Bug 912244: Correct screenshot with element highlighting in Marionette; r=jgriffin 2013-09-04 09:05:43 +01:00
Ryan VanderMeulen
c4ac327d42 Backed out changeset 9e282f0c00b8 (bug 906805) for suspicion of causing intermittent mochitest-bc crashes on a CLOSED TREE. 2013-09-04 16:01:31 -04:00
Ryan VanderMeulen
8e3f57d156 Bug 750436 - Add new test to xpcshell manifest. r=WhoNeedsTryAnyway
CLOSED TREE
2013-09-04 13:40:29 -04:00
Ryan VanderMeulen
308459a840 Bug 902248 - Disable test_nsINavHistoryViewer.js on all platforms due to intermittent timeouts. 2013-09-04 13:37:25 -04:00
Frederik Braun
bc97ef7d08 Bug 750436 - Tests for the HTML sanitizer. r=hsivonen 2013-08-13 10:21:55 +02:00
Andrea Marchesini
387047cba6 Bug 912086 - Several Workers methods do not set their return value. r=mrbkap
--HG--
rename : dom/workers/test/bug911085_worker.js => dom/workers/test/rvals_worker.js
rename : dom/workers/test/test_bug911085.html => dom/workers/test/test_rvals.html
2013-09-04 13:20:51 -04:00
Mike Hordecki
a366778fcd Bug 909672 - Make cross-compartment cloning possible with JS_StructuredClone. r=jorendorff 2013-09-04 13:20:51 -04:00
Andy Wingo
2322f0dca3 Bug 907744 - Implement iterator result boxing in ES6 generators. r=jorendorff
This patchset causes the bytecode emitter to yield boxed return values
in ES6 generators, of the form { value: foo, done: bool }.

If the generator function does not end in a return, the compiler inserts
the equivalent of a "return { value: undefined, done:true }" statement
at the end.

When an ES6 generator finishes, it does so with {done:true} instead of
throwing a StopIteration.

This patch also ports lib/asserts.js to "default version" JS, and ports
ecma_6/Generators to use it.
2013-09-04 13:20:48 -04:00
Dan Gohman
c69cff9003 Bug 910814 - SpiderMonkey: Document that js_strtod_harder doesn't actually report overflow errors, and clean up its callers accordingly. r=waldo 2013-09-04 10:11:22 -07:00
Mihnea Dobrescu-Balaur
9dc844220a Bug 911249 - Make sure harness does not block if killing a process hangs. r=ted 2013-09-03 13:56:08 -07:00
Ted Mielczarek
89adb4b90a Bug 910363 - Make gdk-screenshot take an optional filename parameter. r=karlt 2013-09-03 14:31:14 -04:00
Andrea Marchesini
98502ae5c7 Bug 887364 - URL API for Workers. r=khuey 2013-09-04 13:07:34 -04:00
Andrea Marchesini
d80e13725f Bug 887364 - URL API for main thread. r=ehsan 2013-09-04 13:07:21 -04:00
Andrea Marchesini
3660c403e6 Bug 887364 - Update URLUtils interface. r=ehsan 2013-09-04 13:05:10 -04:00
Douglas Crosher
51facfb05b Bug 893363 - Ionmonkey: improve support for the Linux perf performance tool. r=bbouvier 2013-09-04 11:57:24 +10:00
Chris Peterson
29e16db40d Bug 911428 - Fix -Wunused-variable warning in rdf/datasource/src/nsFileSystemDataSource.cpp. r=bsmedberg 2013-08-12 23:35:07 -07:00
David Keeler
42301b8a59 bug 912204 - properly clear HSTS state in browser_bug627234_perwindowpb.js r=cviecco 2013-09-03 13:43:07 -07:00
Kannan Vijayan
c0b2914731 Bug 909764 - Test case for catching rebinds of eval in strict mode. DONTBUILD. 2013-09-04 12:17:58 -04:00
Masatoshi Kimura
b3daaed6eb Bug 911573 - Stablize the pointerlock test. r=smaug 2013-09-05 01:02:34 +09:00
Masatoshi Kimura
216f76200c Bug 911573 - Mochitest fixup to prepare removing Components-in-content with UniversalXPConnect. r=bholley 2013-09-05 01:02:34 +09:00
Masatoshi Kimura
a3c225f686 Bug 911573 - Enable and use specialpowers in jsreftest. r=terrence, bholley 2013-09-05 01:02:27 +09:00
Ed Morley
f509dcbf07 Merge mozilla-central and inbound 2013-09-04 16:53:03 +01:00
Terrence Cole
74862ec49a Bug 906236 - Sweep DeclEnvObjects in the background; r=luke 2013-09-04 08:46:28 -07:00
Terrence Cole
c17dd3b37a Bug 906243 - Handle shrinkSlots correctly for nursery things; r=jonco
--HG--
extra : rebase_source : 7c7a94b64d6227f701590d9da14cd6e6f0cde019
2013-09-04 08:46:00 -07:00
Tom Schuster
7767b636b2 Bug 910431 - Electrolysis: Permission code followup. f=felipe 2013-09-04 11:40:16 -04:00
Kannan Vijayan
0dc7413940 Bug 906781 - Test case for JSOP_FUNAPPLY with arrays. DONTBUILD. r=jandem 2013-09-04 11:37:03 -04:00