Commit Graph

145225 Commits

Author SHA1 Message Date
Bobby Holley
7ea705498c Bug 899367 - Add an API to opt out of default compartment objects. r=luke
We need this explicit API because otherwise the default compartment object will
get set implicitly during the first call to InitClasses.
2013-09-04 14:06:55 -07:00
Bobby Holley
9ed5f11e8d Bug 899367 - Explicitly traverse outer windows, rather than doing it via JSContext iteration. r=mccr8
Note that this machinery will go away in further patches. But we want to be
deliberate about each of these steps.
2013-09-04 14:06:54 -07:00
Bobby Holley
8abcb2d562 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
b4f3731a75 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
5cfc3855a5 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
07d67e84f5 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
3ba6fb1c1b bug 912582 - false start rc4 and rsa accomodations need exact principal matches r=dkeeler 2013-09-04 17:01:02 -04:00
Benoit Girard
d08f66a5b1 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
0e3965c57b Bug 910899 Plugin placeholder XBL anonymous elements need anonids r=jaws 2013-09-04 21:52:51 +01:00
Daniel Holbert
26ceed91f2 Bug 859807: Request longer timeout for test_transitions_per_property.html. r=dbaron 2013-09-04 13:47:24 -07:00
Boris Zbarsky
94d64e0f7e 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
2df33d9902 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
3ed8ed52d8 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
1e8ba573b6 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
e1e0a17c5b 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
949c11371d 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
4a187db18b 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
04ac113d63 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
9bea792d2f 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
6f9d0ccd43 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
077bb360ad 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
532024ea75 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
e43bef2026 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
48a1b73523 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
dde1cff092 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
0c8af7b874 Bug 896797 - Part 3: Use install manifests for managing dist/include; r=glandium 2013-09-03 22:51:58 -07:00
David Burns
12c0c58961 Bug 912244: Correct screenshot with element highlighting in Marionette; r=jgriffin 2013-09-04 09:05:43 +01:00
Ryan VanderMeulen
76c5b296f0 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
2f33fcbf1e Bug 750436 - Add new test to xpcshell manifest. r=WhoNeedsTryAnyway
CLOSED TREE
2013-09-04 13:40:29 -04:00
Ryan VanderMeulen
f3c18c6823 Bug 902248 - Disable test_nsINavHistoryViewer.js on all platforms due to intermittent timeouts. 2013-09-04 13:37:25 -04:00
Frederik Braun
a611f8954e Bug 750436 - Tests for the HTML sanitizer. r=hsivonen 2013-08-13 10:21:55 +02:00
Andrea Marchesini
c1a9777938 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
690ed10ecf Bug 909672 - Make cross-compartment cloning possible with JS_StructuredClone. r=jorendorff 2013-09-04 13:20:51 -04:00
Andy Wingo
1e88113017 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
08213aaf2a 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
eda03c54d2 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
4b29ec42c4 Bug 910363 - Make gdk-screenshot take an optional filename parameter. r=karlt 2013-09-03 14:31:14 -04:00
Andrea Marchesini
5300eb05e8 Bug 887364 - URL API for Workers. r=khuey 2013-09-04 13:07:34 -04:00
Andrea Marchesini
4715ba2404 Bug 887364 - URL API for main thread. r=ehsan 2013-09-04 13:07:21 -04:00
Andrea Marchesini
6a56020846 Bug 887364 - Update URLUtils interface. r=ehsan 2013-09-04 13:05:10 -04:00
Douglas Crosher
0846fc7904 Bug 893363 - Ionmonkey: improve support for the Linux perf performance tool. r=bbouvier 2013-09-04 11:57:24 +10:00
Chris Peterson
3c61e7dc2f Bug 911428 - Fix -Wunused-variable warning in rdf/datasource/src/nsFileSystemDataSource.cpp. r=bsmedberg 2013-08-12 23:35:07 -07:00
David Keeler
0a44225991 bug 912204 - properly clear HSTS state in browser_bug627234_perwindowpb.js r=cviecco 2013-09-03 13:43:07 -07:00
Kannan Vijayan
1f7e63f38e Bug 909764 - Test case for catching rebinds of eval in strict mode. DONTBUILD. 2013-09-04 12:17:58 -04:00
Masatoshi Kimura
36af32abb5 Bug 911573 - Stablize the pointerlock test. r=smaug 2013-09-05 01:02:34 +09:00
Masatoshi Kimura
e2bd26bb53 Bug 911573 - Mochitest fixup to prepare removing Components-in-content with UniversalXPConnect. r=bholley 2013-09-05 01:02:34 +09:00
Masatoshi Kimura
52b72c8d13 Bug 911573 - Enable and use specialpowers in jsreftest. r=terrence, bholley 2013-09-05 01:02:27 +09:00
Ed Morley
17f2f82cdb Merge mozilla-central and inbound 2013-09-04 16:53:03 +01:00
Terrence Cole
6ca829e111 Bug 906236 - Sweep DeclEnvObjects in the background; r=luke 2013-09-04 08:46:28 -07:00
Terrence Cole
c6607cee80 Bug 906243 - Handle shrinkSlots correctly for nursery things; r=jonco
--HG--
extra : rebase_source : 7c7a94b64d6227f701590d9da14cd6e6f0cde019
2013-09-04 08:46:00 -07:00