Граф коммитов

322753 Коммитов

Автор SHA1 Сообщение Дата
Bobby Holley c8fbffcb9d Bug 899367 - Have nsGlobalWindow go through nsJSContext to access the outer. r=mccr8 2013-09-04 14:06:55 -07:00
Bobby Holley 921c772767 Bug 899367 - Stop depending on the default compartment object for DOM JSContexts. r=mccr8 2013-09-04 14:06:55 -07:00
Bobby Holley a699320c1d 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 d4eab5f3af 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 6188191d87 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 b239d46a8b 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 7367a3a5b8 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 89ee39c30d 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 ff55e5d0b4 bug 912582 - false start rc4 and rsa accomodations need exact principal matches r=dkeeler 2013-09-04 17:01:02 -04:00
Benoit Girard f488d3c533 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 409c5e42ea Bug 910899 Plugin placeholder XBL anonymous elements need anonids r=jaws 2013-09-04 21:52:51 +01:00
Daniel Holbert 0819e225af Bug 859807: Request longer timeout for test_transitions_per_property.html. r=dbaron 2013-09-04 13:47:24 -07:00
Boris Zbarsky a45b31c6ac 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 0931f880af 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 85316040d3 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 d47399769e 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 57d8fb0391 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 3d1ac8d90c 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 e18bfe88a5 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 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