Commit Graph

33030 Commits

Author SHA1 Message Date
Jan de Mooij
c07fd42894 Bug 1006065 - Remove bogus assert in ArraySpliceDense and add a testcase. r=h4writer 2014-05-07 12:50:07 +02:00
Bobby Holley
b5368b05aa Bug 1006629 - Remove unused mFlattenedJSObject from XPCCallContext. r=gabor 2014-05-06 23:17:45 -07:00
Bobby Holley
8e504b5280 Bug 1006629 - Remove GetCalleeWrapper. r=gabor 2014-05-06 23:17:44 -07:00
Bobby Holley
319b8b32c2 Bug 1001198 - Stop getting XPConnect as a service during Sandbox creation. r=gabor
This causes problems when we try to create a Sandbox during XPConnect
initialization. Luckily, we don't need it at all.
2014-05-06 23:17:44 -07:00
Bobby Holley
ff7d381632 Bug 1001198 - Explicitly create the SafeJSContext from XPConnect. r=gabor 2014-05-06 23:17:44 -07:00
Bobby Holley
1890ad5792 Bug 1001198 - Remove useless (and footgun) XPCWrappedNativeScope::InitStatics. r=gabor
All this does is null out some stuff that's already in the BSS. And it causes
leaks if we create a global before it's called, which the upcoming patch does.
2014-05-06 23:17:44 -07:00
Bobby Holley
33bca21907 Bug 1001198 - Remove the call to InitClasses for the SafeJSContextGlobal. r=gabor
In contrast to InitClassesWithNewWrappedGlobal, InitClasses doesn't do much
these days. It pretty much only exists to support JSD globals that are created
without XPConnect's knowledge, and then are suddenly handed to XPConnect.

It really only has two observable effects. The first is ensuring the existence
of an XPCWrappedNativeScope, which we know we have here, because we went through
xpc::CreateGlobalObject. The second is to set up the XPCNativeWrapper
constructor (eww), which definitely doesn't matter here, especially now that
we're asserting that we never run script in this global.
2014-05-06 23:17:44 -07:00
Bobby Holley
a8946fe1d1 Bug 1001198 - Stop firing onNewGlobalObject for the SafeJSContext global. r=gabor 2014-05-06 23:17:43 -07:00
Bobby Holley
9142b5fa4e Bug 1001198 - Explicitly fire up the SSM from nsXPConnect. r=gabor 2014-05-06 23:17:43 -07:00
Gary Kwong
dee38a91e1 Backout 87feb441d562 for causing issues. 2014-05-06 22:57:59 -07:00
Robert O'Callahan
4c2b59d379 Bug 1006248. Part 1: Add MOZ_EXPORT in various places. r=glandium
--HG--
extra : rebase_source : cfe209a412cae28d405eae413415cebb6959072a
2014-05-06 17:26:46 +12:00
Shu-yu Guo
87f4def871 Bug 1006205 - Only process scripts during debug mode OSR that have been recompiled. (r=jandem) 2014-05-06 19:20:48 -07:00
Shu-yu Guo
31bcb82c99 Bug 1001382 - Don't monitor optimized out values. (r=jandem) 2014-05-06 19:20:48 -07:00
Shu-yu Guo
3391d3002d Bug 1005458 - Argument slot phis are always observable in non-strict scripts due to Function.arguments. (r=nbp) 2014-05-06 19:20:47 -07:00
Andrew McCreight
36c281bf5c Bug 1004017 - Rename CycleCollectedJSRuntime::NeedCollect() and Collect(). r=smaug 2014-05-06 17:25:26 -07:00
Andrew McCreight
8825a1d4bc Bug 958353 - Add finishCC() and ccSlice() methods for testing incremental cycle collection. r=smaug 2014-05-06 17:25:26 -07:00
Bobby Holley
e76375b0e6 Bug 997987 - Cache the system principal on nsContentUtils and remove nsIScriptSecurityManager::SubjectPrincipalIsSystem. r=Ms2ger,sr=bz 2014-05-06 15:43:03 -07:00
Bobby Holley
fb9b110bf9 Bug 997987 - Remove nsIScriptSecurityManager::GetCxSubjectPrincipal. r=Ms2ger 2014-05-06 15:43:02 -07:00
Jim Chen
0702f11a43 Bug 1002878 - Fix misalignment caused by TypeScript being empty. r=bhackett 2014-05-06 10:17:00 -04:00
Tooru Fujisawa
738dff0e40 Bug 471713 - Part 2: Add documentation for control statements related opcodes. r=jorendorff 2014-04-30 10:06:00 -04:00
Shu-yu Guo
4ef41b10b8 Bug 1000598 - Clear TypeCompartment tables. r=billm 2014-04-23 17:33:44 -07:00
Boris Zbarsky
98ca340489 Bug 997285 part 3. Make DOMException [ExceptionClass]. r=peterv,jorendorff 2014-05-05 16:01:57 -04:00
Boris Zbarsky
36585b8587 Bug 997285 part 1. Add JS_GetErrorPrototype to JSAPI. r=jorendorff 2014-05-05 16:01:57 -04:00
Kannan Vijayan
ef0cbc2880 Bug 994957 - Fix pseudostack update by Ion ICs in inlined scripts to use top-level script in the frame and the pc of the call it makes to the inlined script. r=jandem 2014-05-01 15:45:37 -04:00
Luke Wagner
96d20ee28c Bug 1005955 - asmjscache: remove unused 'global' argument (r=janv) 2014-05-06 12:58:00 -05:00
Terrence Cole
273629b231 Bug 989414 - Speed up the C++ side of write barriers fired from jitcode; r=jonco 2014-05-01 09:26:17 -07:00
Ehsan Akhgari
18e3298273 Bug 1005706 - Remove the manual install rules from js/xpconnect/tests/components/js/Makefile.in; r=mshal 2014-05-05 21:28:10 -04:00
Terrence Cole
04457e91b1 Bug 989414 - Access the store buffer through the chunk trailer; r=jonco 2014-05-01 09:26:12 -07:00
Jeff Walden
e8f8391fe1 Bug 1002864 - Ignore the change-data/same-data argument to neuter() and JS_NeuterArrayBuffer when the buffer being neutered doesn't support the given data disposition. r=sfink 2014-04-30 17:15:14 -07:00
Dan Gohman
b3dc5ddcb3 Bug 998580 - IonMonkey: Generalize RangeAnalysis truncation to handle other kinds of paths to integer types. r=nbp 2014-05-05 15:02:02 -07:00
Dan Gohman
5450f5e784 Backed out changeset 695049af7654 for having the wrong bug number. 2014-05-05 15:02:01 -07:00
Dan Gohman
3de6e105aa Bug 999580 - IonMonkey: Generalize RangeAnalysis truncation to handle other kinds of paths to integer types. r=nbp 2014-05-05 14:32:15 -07:00
Wes Kocher
1bf6ceb4bb Backed out 4 changesets (bug 997285) for mochitest-2,3 and dt3 bustages on a CLOSED TREE r=bz
Backed out changeset 1bc5b733beac (bug 997285)
Backed out changeset ec145c86be71 (bug 997285)
Backed out changeset c0b8aef8b570 (bug 997285)
Backed out changeset 477094180dff (bug 997285)
2014-05-05 14:14:11 -07:00
Boris Zbarsky
953e8d707f Bug 997285 part 1. Add JS_GetErrorPrototype to JSAPI. r=jorendorff 2014-05-05 16:01:57 -04:00
Brian Hackett
ab93fb81b1 Backout 483210d830f0 (bug 984537) for memory regressions. 2014-05-05 11:06:36 -07:00
Alexandre Poirot
41fdd2f8a4 Bug 961777 - Disable reuseGlobal on Mulet. r=bholley 2014-05-05 06:53:00 -04:00
Douglas Crosher
d197fb4955 Bug 1000960 - IonMonkey (ARM): Correct the order of the operands in moveFloat32. r=mjrosenb 2014-05-02 01:18:57 +10:00
Bobby Holley
f475f8e1ff Bug 1005806 - HTMLInputElement.controllers should be [ChromeOnly]. r=bz 2014-05-05 10:49:24 -07:00
Boris Zbarsky
1fb4b3d050 Bug 1005590. MNot can also end up with a known-not-object type even while we think it might emulate undefined. Guard against that. r=jandem 2014-05-05 08:46:55 -04:00
Jan de Mooij
0f21f62265 Bug 1004923 part 12 - Use GetSystemTimePreciseAsFileTime if available (Windows 8). r=njn 2014-05-05 13:12:11 +02:00
Jan de Mooij
50f6afb5fc Bug 1004923 part 11 - Remove slow and bogus GetSystemTimeAdjustment call. r=njn 2014-05-05 13:12:09 +02:00
Jan de Mooij
3efb92da0c Bug 1004923 part 10 - Remove redundant calibration lock. r=njn 2014-05-05 10:33:29 +02:00
Jan de Mooij
3b9be84710 Bug 1004923 part 9 - Remove more cruft from prmjtime.cpp. r=njn 2014-05-05 10:33:29 +02:00
Jan de Mooij
34d3abf03c Bug 1004923 part 8 - Add PRMJ_NowInit, call QueryPerformanceFrequency only once. r=njn 2014-05-05 10:33:29 +02:00
Jan de Mooij
85577e78be Bug 1004923 part 7 - Kill unused calibration.last, returnedTime in PRMJ_Now. r=njn 2014-05-05 10:33:29 +02:00
Jan de Mooij
efa570fca2 Bug 1004923 part 6 - Simplify PRMJ_Now as QueryPerformanceFrequency never fails on WinXP and newer. r=njn 2014-05-05 10:33:28 +02:00
Ian Stakenvicius
b3e8a5d457 Bug 950822 - "js/src/vm/Runtime.cpp: remove obsolete code where JS_STACK_GROWTH_DIRECTION > 0" r=bholley 2014-05-03 12:04:00 +02:00
Nick Fitzgerald
c79af8b70e Bug 1004479 - Don't expose the SavedFrame constructor on the global. r=jimb 2014-05-02 10:47:00 +02:00
Hannes Verschore
0c5238b126 Bug 965712: Part 1 - Use our string matching logic for regexps when possible, r=luke 2014-04-30 16:42:25 +02:00
Till Schneidereit
a8312b0a8f Bug 1005472 - Make trace-logging work on OS X again. r=h4writer
--HG--
extra : rebase_source : 293de5fe9aed1df6da80a05953759b81e4c5d9c0
2014-05-03 16:09:34 +02:00