Commit Graph

60477 Commits

Author SHA1 Message Date
Jan de Mooij
c267850d09 Bug 1355573 - Fix AtomizeAndCopyChars to validate length before taking the lock as it may reenter. r=anba 2017-05-29 21:29:11 +02:00
Paul Bone
8867a1f3a0 bug 1368086 - Rename gcIfNeededPerAllocation to gcIfNeededAtAllocation, r=sfink
MozReview-Commit-ID: Jwk4TPDObJc
2017-05-27 03:00:51 +10:00
Phil Ringnalda
914b992e95 Merge m-i to m-c, a=merge
MozReview-Commit-ID: CRhv88sOiOA
2017-05-27 21:29:31 -07:00
Jan de Mooij
3f318263fc Bug 1298139 - Make LoopUnroller code handle OOM correctly. r=nbp 2017-05-27 23:40:51 +02:00
Jan de Mooij
b37455bce0 Bug 1364346 part 1 - Optimize Array.prototype.unshift fast path and use it more. r=anba 2017-05-27 23:39:55 +02:00
Jan de Mooij
a24f22ae22 Bug 1365518 - Fix polymorphic inlining to work correctly for functions that had their group/proto changed. r=shu 2017-05-27 16:29:46 +02:00
Manish Goregaokar
cbeac5cf6f Bug 1341102 - Fix stylo heap analysis bustage ; r=bustage
MozReview-Commit-ID: HvjpMtB8VYL
2017-05-27 15:29:49 -07:00
Xidorn Quan
78e889e9a0 Bug 1363596 part 3 - Add string support for list-style-type. r=heycam
MozReview-Commit-ID: 9zT8IH6sxWH

--HG--
extra : source : 63bcc72798a08d33e47dc359212a4dba82a39475
2017-05-27 23:33:25 +10:00
Xidorn Quan
96c6933bd7 Bug 1363596 part 2 - Add support for symbols() function. r=heycam
MozReview-Commit-ID: IuFnhkdWG3C

--HG--
extra : source : 7eccc8ee6a73c9756c58989dd1e408361dedf74f
2017-05-27 23:33:25 +10:00
Xidorn Quan
118e3a973d Bug 1363596 part 1 - Merge nsCOMPtr<nsIAtom> into CounterStylePtr. r=heycam
MozReview-Commit-ID: D2fdlrC3yop

--HG--
extra : source : f8256885e1be8bc2523d705b10fe1796c64c4ccd
2017-05-27 23:33:25 +10:00
Jan de Mooij
d290cd9237 Bug 1363054 part 4 - Attach generalized type monitor stubs for unknown/unknownObject type sets. r=tcampbell 2017-05-09 14:04:57 +02:00
Jon Coppeard
7443a84960 Bug 1365564 - Fix GCMarker::stackContainsCrossZonePointerTo to check all proxies for cross compartment target objects r=sfink 2017-05-27 10:52:21 +02:00
Steve Fink
1fba5cf090 Bug 1349531 - Remove non-threadsafe static buffers, r=jandem
--HG--
extra : rebase_source : 40600e54a05697a3890093c26714d5cba8cc24d6
2017-05-24 19:36:33 -07:00
Steve Fink
967defc952 No bug. Attempt to get error output to appear.
--HG--
extra : rebase_source : 44e7e11f4a71dc118eabad26218aff7193ab3bf7
2017-05-25 17:43:28 -07:00
André Bargull
735da7afe5 Bug 1367088 - Part 3: Add inline paths when calling String.fromCodePoint with non-Latin1 code points. r=evilpie
--HG--
extra : rebase_source : 169cb520ece2a303255f830f7a28213205870bf8
2017-05-25 07:26:03 -07:00
André Bargull
6e610deb73 Bug 1367088 - Part 2: Inline NewStringIterator in Ion. r=evilpie
--HG--
extra : rebase_source : 6547e0d250d992f82187794b2c0a5e9e9ac20a22
2017-05-25 07:17:57 -07:00
André Bargull
af201fd711 Bug 1367088 - Part 1: Generalize NewArrayIterator so it can be reused for other iterator types. r=evilpie
--HG--
extra : rebase_source : 13107328dd25e1cd307b9887727c36c1e919dcb6
2017-05-25 07:17:46 -07:00
Jan de Mooij
1f113071bd Bug 1363054 part 3 - Pass StackTypeSet* to addMonitorStubForValue. r=tcampbell 2017-05-09 14:04:30 +02:00
Nicholas Nethercote
a062b9be51 Bug 1366650 (part 2) - In GeckoProfiler, do all pseudo-stack accesses via the PseudoStack class, instead of via raw array manipulation. r=mstange,shu.
- The profiler gives the JS engine a reference to the pseudo-stack via
  SetContextProfiilngStack(). That function now takes a |PseudoStack*| instead
  of a |ProfileEntry*| and pointer to the stack pointer.

- PseudoStack now has a |kMaxEntries| field, which is easier to work with than
  |mozilla::ArrayLength(entries)|.

- AddressOfStackPointer() is no longer needed.

- The patch also neatens up the push operations significantly. PseudoStack now
  has pushCppFrame() and pushJsFrame(), which nicely encapsulate the two main
  cases. These delegate to the updated initCppFrame() and initJsFrame()
  functions in ProfileEntry.

- Renames max_stck in testProfileStrings.cpp as peakStackPointer, which is a
  clearer name.

- Removes a couple of checks from testProfileStrings.cpp. These checks made
  sense when the pseudo-stack was accessed via raw manipulation, but are not
  applicable now because we can't artificially limit the maximum stack size so
  easily.
2017-05-26 09:51:31 +10:00
Nicholas Nethercote
0840bb61c6 Bug 1366650 (part 1) - Move PseudoStack into SpiderMonkey. r=mstange,shu.
This includes renaming its fields to match SpiderMonkey naming conventions
instead of Gecko naming conventions.

This patch is just about moving the code. The next patch will change
SpiderMonkey to actually use PseudoStack directly.

--HG--
extra : rebase_source : 27e77ddf950201eb6bdba60003218056442cf7ab
2017-05-26 09:37:28 +10:00
Ryan VanderMeulen
d3f265330e Merge m-c to autoland. a=merge 2017-05-25 16:44:01 -04:00
Jon Coppeard
18e5503795 Bug 1365539 - Refactor GC statistics phase stack to use a vector r=sfink
--HG--
extra : rebase_source : 4145be8b618e3331b078ade4e2a4f89fb5231535
2017-05-25 10:54:45 -04:00
Jon Coppeard
e105bc74f0 Bug 1309651 - Record time taken by GC parallel tasks r=sfink data-r=bsmedberg 2017-05-25 10:35:54 -04:00
Jon Coppeard
4e7a503b65 Bug 1357022 - Ensure nuked CCWs are removed from the wrapper map r=sfink 2017-05-25 09:02:06 -04:00
Xidorn Quan
46dd59904a Bug 1366735 part 2 - Use the new struct in stylo. r=heycam
MozReview-Commit-ID: trgd0lKLP1

--HG--
extra : rebase_source : 8216769c7ee2a323d2af2080dd97cac3489af82d
2017-05-23 00:32:05 +10:00
Ryan VanderMeulen
c5b2958154 Merge inbound to m-c. a=merge 2017-05-24 20:45:23 -04:00
Jim Blandy
495a9fc5b2 Bug 1297466 - Doc fixes and tests for Debugger.Script.prototype.url, Debugger.Source.prototype.url. r=shu
--HG--
extra : rebase_source : 1eed084501992ced4bf038c6efda0b9058214f59
2017-05-15 13:45:05 -07:00
Nicolas B. Pierron
fbd397af34 Bug 1366773 - Add explicit keyword in front of XDRIncrementalEncoder constructor. r=me on a CLOSED TREE 2017-05-24 15:04:21 -04:00
Nicolas B. Pierron
9812c67569 Bug 1366773 - Move buffer argument from JS::StartIncrementalEncoding to JS::FinishIncrementalEncoding. r=mrbkap,shu 2017-05-24 18:28:19 +00:00
Nicolas B. Pierron
0727a6547f Bug 1364120 - Remove FINISH_LARGE_EVALUATE gc. r=jonco 2017-05-24 18:14:31 +00:00
Luke Wagner
c84a9714d9 Bug 1366382 - Baldr: change 'exports' property of Instance to accessor on prototype (r=bbouvier)
MozReview-Commit-ID: GjUpTHB8TjP
2017-05-24 10:25:55 -05:00
Luke Wagner
d94140b08e Bug 1366322 - Baldr: remove dependency of TlsData on specific JSContext (r=bbouvier)
MozReview-Commit-ID: 2Z77q3YJsyO
2017-05-24 10:24:17 -05:00
Ryan VanderMeulen
f796502c05 Backed out changeset 8401a2705903 (bug 1355046) for bug-1355046.js failures. 2017-05-24 11:01:07 -04:00
Lars T Hansen
6bf199a614 Bug 1277562 - Enforce tier-specific lookup on Code, Metadata, and LinkData, in most cases. r=luke
--HG--
extra : source : 2bfe8f8971c2f8c694f57fac3cc59dd003753827
extra : intermediate-source : 91768124fd597556acdb7e4a2e3faa71b9422d68
2017-05-23 10:12:30 +02:00
Shu-yu Guo
c1c5106d82 Bug 1355046 - Don't reset column and line info when emitting useless statements in BCE. (r=jorendorff) 2017-05-24 07:22:56 -07:00
Jon Coppeard
c633686d5e Bug 1365564 - Don't try and get target object from non-wrapper proxies r=sfink 2017-05-24 09:48:05 -04:00
Ted Campbell
c510d01b27 Bug 1343723 - ResumePoint not needed for MNewLexicalEnvironmentObject. r=jandem
MozReview-Commit-ID: KNEhTjtKRiJ
2017-05-24 09:23:49 -04:00
Ryan VanderMeulen
0c23ece0f2 Backed out changeset 9108c50863b3 (bug 1343723) for SM test failures. 2017-05-23 21:38:13 -04:00
Ted Campbell
7fe93c1f53 Bug 1343723 - ResumePoint not needed for MNewLexicalEnvironmentObject. r=jandem
MozReview-Commit-ID: KNEhTjtKRiJ
2017-05-23 21:00:56 -04:00
André Bargull
ad1f84faa3 Bug 1366696 - Part 4: Remove unnecessary rooting in SelfHosting.cpp for return values. r=till
--HG--
extra : rebase_source : abac86ca111bd389713952109542253398dc0820
2017-05-23 11:17:20 -07:00
André Bargull
77419c9581 Bug 1366696 - Part 3: Improve performance of RegExp.prototype.@@replace with global regexp. r=till
--HG--
extra : rebase_source : f7ae02af0fff906230ed49c0db007d78654c700f
2017-05-23 11:17:17 -07:00
André Bargull
10fd3521db Bug 1366696 - Part 2: Improve performance of RegExp.prototype.@@replace with non-global regexp. r=till
--HG--
extra : rebase_source : 6c587a63cc7777e61883616cbdd4b9c267c13894
2017-05-23 11:17:14 -07:00
André Bargull
1dea94a09b Bug 1366696 - Part 1: Only create new splitter if sticky flag is present in input regexp. r=till
--HG--
extra : rebase_source : 1a1080672ac85da632c95a940b40b128ecad64be
2017-05-23 11:16:45 -07:00
Paul Bone
abd19c97cc Bug 1341752 - Assert that thing has correct runtime in js::TraceChildren. r=jonco 2017-05-23 01:25:11 +10:00
Ryan VanderMeulen
0bd37c1ea1 Merge inbound to m-c. a=merge 2017-05-23 18:12:57 -04:00
Ryan VanderMeulen
27fd4cc7e2 Merge inbound to m-c. a=merge 2017-05-23 18:11:35 -04:00
Olli Pettay
0d4ccffc95 Bug 1367164 - Use IdleDispatch for async snow white killer on main thread, r=mccr8 2017-05-23 17:04:18 -04:00
André Bargull
2034861f3e Bug 1365650 - Improve ResolveLocale performance when initializing the default Intl objects. r=shu 2017-05-23 07:07:44 -07:00
Ryan VanderMeulen
e096678430 Merge m-c to autoland. a=merge UPGRADE_NSS_RELEASE
--HG--
rename : dom/security/test/sri/iframe_style_crossdomain.html => dom/security/test/sri/iframe_style_crossdomain_legacy.html
rename : mobile/android/themes/core/content.css => mobile/android/themes/geckoview/content.css
rename : mobile/android/themes/core/images/accessiblecaret-normal-hdpi.png => mobile/android/themes/geckoview/images/accessiblecaret-normal-hdpi.png
rename : mobile/android/themes/core/images/accessiblecaret-normal-xhdpi.png => mobile/android/themes/geckoview/images/accessiblecaret-normal-xhdpi.png
rename : mobile/android/themes/core/images/accessiblecaret-normal-xxhdpi.png => mobile/android/themes/geckoview/images/accessiblecaret-normal-xxhdpi.png
rename : mobile/android/themes/core/images/accessiblecaret-tilt-left-hdpi.png => mobile/android/themes/geckoview/images/accessiblecaret-tilt-left-hdpi.png
rename : mobile/android/themes/core/images/accessiblecaret-tilt-left-xhdpi.png => mobile/android/themes/geckoview/images/accessiblecaret-tilt-left-xhdpi.png
rename : mobile/android/themes/core/images/accessiblecaret-tilt-left-xxhdpi.png => mobile/android/themes/geckoview/images/accessiblecaret-tilt-left-xxhdpi.png
rename : mobile/android/themes/core/images/accessiblecaret-tilt-right-hdpi.png => mobile/android/themes/geckoview/images/accessiblecaret-tilt-right-hdpi.png
rename : mobile/android/themes/core/images/accessiblecaret-tilt-right-xhdpi.png => mobile/android/themes/geckoview/images/accessiblecaret-tilt-right-xhdpi.png
rename : mobile/android/themes/core/images/accessiblecaret-tilt-right-xxhdpi.png => mobile/android/themes/geckoview/images/accessiblecaret-tilt-right-xxhdpi.png
rename : mobile/android/themes/core/images/dropmarker-right.svg => mobile/android/themes/geckoview/images/dropmarker-right.svg
rename : mobile/android/themes/core/images/dropmarker.svg => mobile/android/themes/geckoview/images/dropmarker.svg
rename : mobile/android/themes/core/images/cast-active.svg => mobile/android/themes/geckoview/images/videocontrols-cast-active.svg
rename : mobile/android/themes/core/images/cast-ready.svg => mobile/android/themes/geckoview/images/videocontrols-cast-ready.svg
rename : mobile/android/themes/core/images/exitfullscreen.svg => mobile/android/themes/geckoview/images/videocontrols-exitfullscreen.svg
rename : mobile/android/themes/core/images/fullscreen.svg => mobile/android/themes/geckoview/images/videocontrols-fullscreen.svg
rename : mobile/android/themes/core/images/mute.svg => mobile/android/themes/geckoview/images/videocontrols-mute.svg
rename : mobile/android/themes/core/images/pause.svg => mobile/android/themes/geckoview/images/videocontrols-pause.svg
rename : mobile/android/themes/core/images/play.svg => mobile/android/themes/geckoview/images/videocontrols-play.svg
rename : mobile/android/themes/core/images/scrubber.svg => mobile/android/themes/geckoview/images/videocontrols-scrubber.svg
rename : mobile/android/themes/core/images/unmute.svg => mobile/android/themes/geckoview/images/videocontrols-unmute.svg
rename : mobile/android/themes/core/scrollbar-apz.css => mobile/android/themes/geckoview/scrollbar-apz.css
rename : mobile/android/themes/core/touchcontrols.css => mobile/android/themes/geckoview/videocontrols.css
extra : rebase_source : a5b4c2c75991990af25c4686ff96c199834ff317
2017-05-23 13:41:47 -04:00
Ryan VanderMeulen
22d214ae4b Merge autoland to m-c. a=merge 2017-05-23 10:32:42 -04:00