Commit Graph

322734 Commits

Author SHA1 Message Date
Karl Tomlinson
07f97e6423 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
95c6c435c1 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
23ae39aad2 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
4affe59604 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
de80c0afe2 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
ce7c2ca91b 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
21298924c4 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
cac20eed1e 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
ea490cb122 Bug 896797 - Part 3: Use install manifests for managing dist/include; r=glandium 2013-09-03 22:51:58 -07:00
David Burns
f710a7cb1d Bug 912244: Correct screenshot with element highlighting in Marionette; r=jgriffin 2013-09-04 09:05:43 +01:00
Ryan VanderMeulen
3fd346a76d 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
c882ebec8c Bug 750436 - Add new test to xpcshell manifest. r=WhoNeedsTryAnyway
CLOSED TREE
2013-09-04 13:40:29 -04:00
Ryan VanderMeulen
b0bcc108b1 Bug 902248 - Disable test_nsINavHistoryViewer.js on all platforms due to intermittent timeouts. 2013-09-04 13:37:25 -04:00
Frederik Braun
cedbb923be Bug 750436 - Tests for the HTML sanitizer. r=hsivonen 2013-08-13 10:21:55 +02:00
Andrea Marchesini
c4d9d86152 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
08780fe947 Bug 909672 - Make cross-compartment cloning possible with JS_StructuredClone. r=jorendorff 2013-09-04 13:20:51 -04:00
Andy Wingo
f930708705 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
33abd187f6 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
de039d1d52 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
6736028b9f Bug 910363 - Make gdk-screenshot take an optional filename parameter. r=karlt 2013-09-03 14:31:14 -04:00
Andrea Marchesini
af0e64af33 Bug 887364 - URL API for Workers. r=khuey 2013-09-04 13:07:34 -04:00
Andrea Marchesini
4c65dc3395 Bug 887364 - URL API for main thread. r=ehsan 2013-09-04 13:07:21 -04:00
Andrea Marchesini
517dec0b94 Bug 887364 - Update URLUtils interface. r=ehsan 2013-09-04 13:05:10 -04:00
Douglas Crosher
4d4fd26659 Bug 893363 - Ionmonkey: improve support for the Linux perf performance tool. r=bbouvier 2013-09-04 11:57:24 +10:00
Chris Peterson
e7b3869729 Bug 911428 - Fix -Wunused-variable warning in rdf/datasource/src/nsFileSystemDataSource.cpp. r=bsmedberg 2013-08-12 23:35:07 -07:00
David Keeler
dad3672925 bug 912204 - properly clear HSTS state in browser_bug627234_perwindowpb.js r=cviecco 2013-09-03 13:43:07 -07:00
Kannan Vijayan
2a306680db Bug 909764 - Test case for catching rebinds of eval in strict mode. DONTBUILD. 2013-09-04 12:17:58 -04:00
Masatoshi Kimura
5f8816eba8 Bug 911573 - Stablize the pointerlock test. r=smaug 2013-09-05 01:02:34 +09:00
Masatoshi Kimura
e06d8f88fa Bug 911573 - Mochitest fixup to prepare removing Components-in-content with UniversalXPConnect. r=bholley 2013-09-05 01:02:34 +09:00
Masatoshi Kimura
7df33283d5 Bug 911573 - Enable and use specialpowers in jsreftest. r=terrence, bholley 2013-09-05 01:02:27 +09:00
Ed Morley
81c848fe67 Merge mozilla-central and inbound 2013-09-04 16:53:03 +01:00
Terrence Cole
f0c348c6e1 Bug 906236 - Sweep DeclEnvObjects in the background; r=luke 2013-09-04 08:46:28 -07:00
Terrence Cole
6746f25261 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
0b746a2c5d Bug 910431 - Electrolysis: Permission code followup. f=felipe 2013-09-04 11:40:16 -04:00
Kannan Vijayan
7f092b4de2 Bug 906781 - Test case for JSOP_FUNAPPLY with arrays. DONTBUILD. r=jandem 2013-09-04 11:37:03 -04:00
Benoit Jacob
6977a4abd2 Bug 912255 - traverse/unlink mDefaultVertexArray - r=smaug 2013-09-04 11:29:36 -04:00
Mike Hommey
2a2ff267b8 Bug 912377 - Fix build without MOZ_ENABLE_SZIP. r=ted 2013-09-04 23:46:09 +09:00
Benoit Jacob
a6e069788d Bug 839452 - Add helpful logging of DOM calls resulting in reboot/poweroff - r=sicking 2013-09-04 08:14:54 -04:00
Benoit Jacob
8ec75b058c Bug 912042 - Avoid including GLContext.h in headers that don't need it - r=jrmuizel 2013-09-04 08:14:52 -04:00
Benoit Jacob
d3c3db52fa Bug 911879 - Give WebGLContext.h a good round of removing unneeded inline method bodies - r=jgilbert 2013-09-04 08:14:50 -04:00
Benoit Jacob
f526e5a919 Bug 811371 - Remove nsISupports inheritance in remaining (i.e. new) WebGL classes - r=continuation 2013-09-04 08:14:48 -04:00
Benoit Jacob
64e6b3a0ae Bug 911857 - Move CheckedBufferData to WebGLContextBuffers.cpp - r=jgilbert 2013-09-04 08:14:46 -04:00
Benoit Jacob
2a253a692e Bug 911856 - Remove the custom concept of "stable context" in favor of the standard concept of "lost context" - r=jgilbert 2013-09-04 08:14:44 -04:00
Benoit Jacob
7e265eab98 Bug 911855 - Remove redundant WebGL integer typedefs - r=jgilbert 2013-09-04 08:14:43 -04:00
Benoit Jacob
4276103912 Bug 911853 - OpenGL types should be explicit-size integer types - r=jgilbert 2013-09-04 08:14:41 -04:00
Benoit Jacob
3b4ac1f606 Bug 911851 - Check WebGL sizeiptr arguments - r=jgilbert 2013-09-04 08:14:39 -04:00
Benoit Jacob
6c5bf3a9b1 Bug 911850 - BindBufferRange should check for out-of-bounds range - r=jgilbert 2013-09-04 08:14:37 -04:00
Benoit Jacob
0429632cf3 Bug 911848 - WebGLBuffer's mByteLength should be a WebGLsizeiptr - r=jgilbert 2013-09-04 08:14:35 -04:00
Ehsan Akhgari
f2299a7d0e Bug 912195 - Minimize the #includes in docshell/shistory; r=bzbarsky 2013-09-04 11:26:20 -04:00
Ed Morley
3d679673b4 Merge latest green inbound changeset and mozilla-central 2013-09-04 12:54:46 +01:00