Commit Graph

61893 Commits

Author SHA1 Message Date
Wes Kocher
acf8913934 Merge m-c to inbound, a=merge
MozReview-Commit-ID: IsbKCdZU2Ui
2017-09-26 17:14:31 -07:00
Wes Kocher
22a72df7fe Merge inbound to m-c a=merge
MozReview-Commit-ID: 6viJ4wRxLa8
2017-09-26 15:54:51 -07:00
Wes Kocher
d8619fe6c3 Merge autoland to central, a=merge
MozReview-Commit-ID: BpUM80JUkMJ
2017-09-26 13:30:38 -07:00
Brian Hackett
c021969355 Backed out changeset 072f8d4a9964 (bug 1355109) for causing crashes with various extensions. a=lizzard
--HG--
extra : source : 520e300d1266d19aea623eb723587acc03751d50
2017-09-26 14:12:25 -04:00
Brian Hackett
ba9335f101 Bug 1402580 - Support yield callback used when entering the system zone group in the JS shell, r=jandem.
--HG--
extra : rebase_source : 9794f293215aff71512664d2c689246efbcad9af
2017-09-26 06:04:06 -07:00
Jan de Mooij
943f1cf93e Bug 1153592 part 3 - Simplify GetExistingProperty now that slotful getters are gone. r=evilpie 2017-09-26 12:27:23 +02:00
Jan de Mooij
dbca189324 Bug 1153592 part 2 - Remove JSPROP_SHARED; ensure accessor props don't have slots. r=evilpie 2017-09-26 12:26:50 +02:00
Jan de Mooij
c6ddca339e Bug 1153592 part 1 - Replace redundant checks in CheckCanChangeAttrs with debug asserts. r=evilpie 2017-09-26 12:25:56 +02:00
Jon Coppeard
2a820b9683 Bug 1402649 - Fix valid GC cell pointer asserts and error handling in module instantiation r=sfink 2017-09-26 10:23:14 +01:00
Jon Coppeard
00745bb97d Bug 1402535 - Handle errors while checking that a module object is frozen r=evilpie 2017-09-26 10:22:28 +01:00
Jan de Mooij
68e468c3ff Bug 1403136 - Clean up JSSetterOp code now that slotful setters are gone. r=evilpie 2017-09-26 22:26:40 +02:00
Wes Kocher
47b3660c80 Merge m-c to inbound, a=merge
MozReview-Commit-ID: 8wTTCUkrY2i
2017-09-25 16:43:51 -07:00
Wes Kocher
7bf1b49628 Merge inbound to central, a=merge
MozReview-Commit-ID: 7EzhCCVVn7n
2017-09-25 16:41:34 -07:00
Luke Wagner
2aa1fae977 Bug 1329019 - fix JS_CODEGEN_NONE (r=npotb)
MozReview-Commit-ID: BWv4lyTCo3I

--HG--
extra : rebase_source : 9602e1eca4a925a269a065e83181bbed0f964694
2017-09-25 12:07:16 -05:00
Sebastian Hengst
ccdca224ca Backed out changeset 86d7b2f346f0 (bug 1401319) for running and failing modified tests. r=backout 2017-09-25 22:53:35 +02:00
Steve Fink
811aaaffad Bug 1402504 - Switch to using in-source annotations more directly, r=jonco
--HG--
extra : rebase_source : 477173b9c98df724b4a922de5ae7e3bda38cf76e
2017-09-21 09:59:02 -07:00
Steve Fink
66a3f4b7a1 Bug 1401319 - Implement xulRuntime.is64Bit for manifest tests, r=jonco
--HG--
extra : rebase_source : cb6a7a12821a5b26ff09aad79b8c628a29f6721e
extra : source : 6998422519778a38cfde7e901d05919fde0b023b
2017-09-20 11:47:58 -07:00
Yoshi Huang
42bd74780c Bug 1399399 - Move internal classes out of RootingAPI.h. r=jonco 2017-09-25 14:52:16 +08:00
André Bargull
d775b8e5db Bug 1401200 - Don't call qsort with nullptr in jit::AnalyzeNewScriptDefiniteProperties. r=nbp 2017-09-20 13:27:17 +02:00
André Bargull
449785977a Bug 1401146 - Avoid rooting for native prototypes in js::NativeHasProperty. r=jandem 2017-09-19 13:37:00 +02:00
André Bargull
8e693bac77 Bug 1399533 - Remove duplicate checks in ForOfPIC::Chain. r=djvj 2017-09-13 18:31:22 +02:00
André Bargull
f23030fa25 Bug 1401508 - Skip creating GetCapabilitiesExecutor for default Promises in Promise.all/race. r=till 2017-09-20 13:30:21 +02:00
André Bargull
aa38e1e5c9 Bug 1401145 - Handle nullptr in NativeObject::copyDenseElements to fix UBSan error. r=jandem 2017-09-19 13:35:50 +02:00
André Bargull
89ab2c1423 Bug 1401209 - Avoid UBSan errors in Interpreter's JSOP_LSH implementation. r=jandem 2017-09-19 16:37:12 +02:00
André Bargull
a112d80dde Bug 1401191 - Initialize MoveOp::endCycleType_ to silence UBSan warning. r=nbp 2017-09-19 15:38:47 +02:00
André Bargull
35bde05dd4 Bug 1401515 - Avoid accessing members on null pointers. r=luke 2017-09-20 13:49:16 +02:00
Chris Peterson
98b2f2fcd6 Bug 870698 - Part 7: Replace Insert(NS_LITERAL_CSTRING("")) with InsertLiteral(""). r=erahm
The NS_LITERAL_CSTRING macro creates a temporary nsLiteralCString to encapsulate the string literal and its length, but AssignLiteral() can determine the string literal's length at compile-time without nsLiteralCString.

MozReview-Commit-ID: DbTW5Bhd9E1

--HG--
extra : rebase_source : b27f666e5ca832d814fb6846208474e1ec66e5f4
extra : source : 9ff4e11402a9a43ed90298a9c354b0164cf9414f
2017-09-07 18:15:42 -07:00
Chris Peterson
a0c8081df4 Bug 870698 - Part 4: Replace Equals("") with EqualsLiteral(""). r=erahm
MozReview-Commit-ID: G1GhyvD29WK

--HG--
extra : rebase_source : 115842c37a40041bdca7b4e1ff0a5680b02ced15
extra : source : 90bfff9c01d80086cdc17637f310e898fea295ea
2017-09-06 01:13:45 -07:00
Chris Peterson
45aa2a8e8e Bug 870698 - Part 2: Replace Append("") with AppendLiteral(""). r=erahm
MozReview-Commit-ID: CrkIP4iHP1U

--HG--
extra : rebase_source : 5dc4e91a3f1860773c199f1abf3f66479218834a
extra : intermediate-source : ba51cc79847f2b43ba616f4a5d2bbc6958ca9f6d
extra : source : 1fda2fa990cc918c748ffa14fcc5dbe13fe3bdc3
2017-09-03 22:14:11 -07:00
Chris Peterson
9f4c1f5278 Bug 870698 - Part 1: Replace Assign("") with AssignLiteral(""). r=erahm
MozReview-Commit-ID: A0u9PP49OW3

--HG--
extra : rebase_source : 7d5286959f510eb4b7df1b7e32d5b9b58719c48b
extra : intermediate-source : f552b4a78236c42bc09030b3eb008725a3edb9c8
extra : source : 26ac4a1014f6661a70e3bf9f552407e12c2c3981
2017-09-03 22:12:56 -07:00
Philippe Normand
6e9c2ed9f4 Bug 1402824 - Ensure mutationCount in HashTable.h is only used inside an JS_DEBUG ifdef. r=luke
This member variable is declared only in debug builds. This fixes the build
when this header is imported into non-unified builds.

This header is included in the build when xpcom/threads is built.

MozReview-Commit-ID: AF3YUqvVqET

--HG--
extra : rebase_source : f0065f0d326af069dc6c8a255fefbc0d2e2e9fe9
2017-09-25 10:32:01 +01:00
Andrew McCreight
1a24cc1d71 Bug 958643, part 6 - Remove some unused forward decls. r=krizsa
MozReview-Commit-ID: yMpU0hDUXP

--HG--
extra : rebase_source : 154cab1e7673490c824525e46a36ebd359872021
2017-09-20 12:02:47 -07:00
Andrew McCreight
75bb849fa3 Bug 958643, part 5 - Eliminate XPCJSObjectHolder. r=krizsa
It is now unused.

MozReview-Commit-ID: AzXW6qHdSOW

--HG--
extra : rebase_source : f60697cff778843c36a1e75f3e4f8779bc356d40
2017-09-20 10:26:16 -07:00
Andrew McCreight
e61cf2cc18 Bug 958643, part 4 - Inline CreateHolderIfNeeded. r=krizsa
The last argument is always null, so we don't need this function any more.

MozReview-Commit-ID: 5YWMO9ywZK3

--HG--
extra : rebase_source : 56bce2611135bb1b30e7f8ad763e13f112d2395f
2017-09-20 10:21:59 -07:00
Andrew McCreight
13c3d91b7f Bug 958643, part 3 - Remove always-null second second argument to XPCConvert::NativeInterface2JSObject. r=krizsa
MozReview-Commit-ID: CQvJ1bZBLyS

--HG--
extra : rebase_source : 0da1274aa8d6b3584ac0103ddf8884e993887574
2017-09-20 10:20:48 -07:00
Andrew McCreight
8ee8721f0d Bug 958643, part 2 - Remove always-null last argument to NativeInterface2JSObject. r=krizsa
MozReview-Commit-ID: G9F6wlMWCl9

--HG--
extra : rebase_source : 313a40850965fc1a2488ef60deaf9d1cb2705806
2017-09-20 10:15:06 -07:00
Andrew McCreight
78601602bf Bug 958643, part 1 - Remove the unused nsXPConnect::WrapNativeHolder. r=krizsa
MozReview-Commit-ID: AOQYLS8FFrf

--HG--
extra : rebase_source : ce8f98c71d43f12235ead8280ba4ee0c84cb0238
2017-09-20 10:12:35 -07:00
Wes Kocher
6e84ca9226 Merge m-c to inbound, a=merge
MozReview-Commit-ID: 7rJ9fpLBazL
2017-09-22 15:06:12 -07:00
Wes Kocher
1443004d66 Merge inbound to central, a=merge
MozReview-Commit-ID: 2MDU9VGB9Pg
2017-09-22 14:56:05 -07:00
Ted Campbell
ead739886e Bug 1402167 - Check JSScript::data integrity in XDR r=nbp
MozReview-Commit-ID: ADBCAUKpakY
2017-09-22 16:16:45 -04:00
Luke Wagner
c558894746 Bug 1329019 - Baldr: don't transport MacroAssemblers between helper and ModuleGenerator threads (r=lth)
MozReview-Commit-ID: 7OAc188WmzB
2017-09-22 11:05:38 -05:00
Luke Wagner
65f6c844dc Bug 1329019 - Baldr: Split CallSiteAndTarget into CallSite and CallSiteTarget (r=lth)
MozReview-Commit-ID: 8pBMZHnHcIf
2017-09-22 11:05:25 -05:00
Luke Wagner
bbe32a26fd Bug 1329019 - Baldr: Only compute bytecode hash in debug mode (r=yury)
MozReview-Commit-ID: GKxQzBznHJh
2017-09-22 11:05:05 -05:00
Luke Wagner
42179d2472 Bug 1329019 - Baldr: simplify InternalLink code (r=lth)
MozReview-Commit-ID: HGpmFpyKit8
2017-09-22 10:32:27 -05:00
Ted Campbell
0c0f65b002 Bug 1401568 - [Ion] Add ResumePoint to JSOP_SETPROP TypedObject case r=jandem
This adds the required IonBuilder::resumeAfter calls to this case. There
is also some refactoring so that this call is done where the MIR store
node is.

MozReview-Commit-ID: 94udSQzPmyh

--HG--
extra : rebase_source : a44555e21db924374d6516eaf638f56fbf2d970e
2017-09-20 15:44:59 -04:00
Nicholas Nethercote
e3c9cbb969 Bug 1401813 - Rename Null[C]String() as Void[C]String(). r=erahm.
XPCOM's string API doesn't have the notion of a "null string". But it does have
the notion of a "void string" (or "voided string"), and that's what these
functions are returning. So the names should reflect that.

--HG--
extra : rebase_source : 4e3f982e0873877174a08a25413595ff66f7d20e
2017-09-22 14:35:46 +10:00
Sean Stangl
e12cd767a3 Bug 1394146 - Avoid overflow on backwards iteration of IC entries. r=jandem 2017-09-21 15:37:00 -04:00
Wes Kocher
640a5d3c46 Merge m-c to inbound, a=merge
MozReview-Commit-ID: IsEMW5gXG3W
2017-09-21 17:04:36 -07:00
Wes Kocher
a7fe048680 Merge inbound to central, a=merge
MozReview-Commit-ID: E7k4xViLm4V
2017-09-21 17:03:29 -07:00
Brian Hackett
c0bced7eee Bug 1401985 - Purge frontend collection pool after off thread parsing, r=jonco. 2017-09-21 08:18:07 -07:00