Commit Graph

177852 Commits

Author SHA1 Message Date
Vicamo Yang
7c817ef026 Bug 977995 - remove mNetdWorker from SystemWorkerManager. r=khuey, f=vchang
There are multiple defects in NetworkWorker and the related parts
since the C++ rewrite.  1) NetworkService holds a reference to
NetworkWorker and never releases it.  It has to wait until the cycle
collector comes up to resolve their ownership loop and free
NetworkWorker manually.  However 2) nsINetworkWorker::shutdown is
never called, and that leaves everything living till the end,
inclusive of that gNetdConsumer in Netd.cpp.  3) when GC comes to free
NetworkWorker, it calls its parent destructor ~NetConsumer(), which
in turn calls ~RefCounted<NetdConsumer>().  Having a valid
gNetdConsumer in Netd.cpp follows its refCnt is not zero and this
triggers an assertion in ~RefCounted<NetdConsumer>().

So, some obvious treatments here.  A) NetworkService should call
nsINetworkWorker::shutdown upon receiving a shutdown observer event
and release the reference to NetworkWorker.  B) NetworkWorker should
never be double ref-counted.  Move NetdConsumer implementation into a
separated class.
2014-04-11 22:27:55 +08:00
Sotaro Ikeda
1b4322d27c Bug 994903 - Copy mRecycleCallback on top of Release() r=jrmuizel 2014-04-11 07:24:14 -07:00
B2G Bumper Bot
04280e493b Bumping manifests a=b2g-bump 2014-04-11 07:17:27 -07:00
B2G Bumper Bot
0b1a462589 Bumping gaia.json for 10 gaia revision(s) a=gaia-bump
Truncated some number of revisions since the previous bump.

========

https://hg.mozilla.org/integration/gaia-central/rev/091e846e60da
Author: Arnau <arnau@arnaumarch.com>
Desc: Merge pull request #18235 from rnowm/987572

Bug 987572 - [BB] [Visual refresh] Change hitstate color in tabbars r=pivanov

========

https://hg.mozilla.org/integration/gaia-central/rev/faf57100e080
Author: rnowm <arnau@arnaumarch.com>
Desc: Bug 987572 - BB. Visual refresh. Change hitstate color in tabbars

========

https://hg.mozilla.org/integration/gaia-central/rev/f9f04872aa39
Author: Cristian Rodriguez <crdlc@tid.es>
Desc: Merge pull request #18208 from crdlc/bug-995097

Bug 995097 - Contact photos are not always imported. Bug 970832 did not ...

========

https://hg.mozilla.org/integration/gaia-central/rev/6cbd6c441888
Author: crdlc <crdlc@tid.es>
Desc: Bug 995097 - Contact photos are not always imported. Bug 970832 did not fix the problem

========

https://hg.mozilla.org/integration/gaia-central/rev/723198561046
Author: Jan Jongboom <janjongboom@gmail.com>
Desc: Merge pull request #18076 from comoyo/bug993367

Bug 993367 - Stop reflowing on updateTargetWindowHeight. r=RudyL

========

https://hg.mozilla.org/integration/gaia-central/rev/3f55de3d4976
Author: Jan Jongboom <janjongboom@gmail.com>
Desc: Bug 993367 - Stop reflowing on updateTargetWindowHeight

========

https://hg.mozilla.org/integration/gaia-central/rev/03101e7c783a
Author: George <georgeiscoming@gmail.com>
Desc: Merge pull request #18212 from cctuan/968661-2

Bug 968661 - Extract new build module webapp-shared.js from webapp-zip.j...

========

https://hg.mozilla.org/integration/gaia-central/rev/8360532a0756
Author: cctuan <georgeiscoming@gmail.com>
Desc: Bug 968661 - Extract new build module webapp-shared.js from webapp-zip.js

========

https://hg.mozilla.org/integration/gaia-central/rev/b80ab65524ea
Author: Jose Antonio Olivera Ortega <josea.olivera@gmail.com>
Desc: Merge pull request #18069 from jaoo/991628

Bug 991628 - [Settings][OMA CP] Not possible to select an APN received via OMA CP message if there is already one with the same name. r=arthurcc

========

https://hg.mozilla.org/integration/gaia-central/rev/aaa9db613b52
Author: Jose Antonio Olivera Ortega <josea.olivera@gmail.com>
Desc: Bug 991628 - [Settings][OMA CP] Not possible to select an APN received via OMA CP message if there is already one with the same name
2014-04-11 07:16:16 -07:00
Sotaro Ikeda
8305355d18 Bug 990310 - Remove SurfaceDescriptor from media and GrallocImage r=nical,cajbir 2014-04-11 06:13:12 -07:00
Aaron Klotz
0fe393e140 Bug 913653: Remove lock from IOInterposer and add IOInterposer thread registration; r=froydnj 2014-04-08 22:57:52 -06:00
Chris Pearce
eb35ad5fb8 Bug 993003 - Ensure we abort media load if IMFSourceReader creation fails. r=padenot 2014-04-09 16:45:32 +12:00
Chris Pearce
c314a2aeb7 Bug 992105 - Remember topics for screensaver lock in Windows WakeLockListener, so that toggling fullscreen while playing video doesn't prevent screen wakelock being unlocked. r=padenot 2014-04-09 16:45:00 +12:00
Matt Woodrow
e73e0afbcd Bug 991046 - Add some fuzzy to the test for windows 8. 2014-04-09 15:49:12 +12:00
Gregory Szorc
a32dfc36eb NO BUG - Install RBTools 0.6
We were previously installing a pre-release of RBTools from Git. The
patches we were waiting on are now in RBTools 0.6. So, install the
released version from PyPI.

DONTBUILD (NPOTB)

--HG--
extra : rebase_source : 0c3c13c6e9ec24ae7ebcabe5b2e4fa64441b2332
2014-04-08 16:03:35 -07:00
Ryan VanderMeulen
fe0ec6cc66 Merge inbound to m-c. 2014-04-08 18:17:58 -04:00
Ryan VanderMeulen
6511acfe7e Merge b2g-inbound to m-c. 2014-04-08 18:09:36 -04:00
Wes Johnston
ef990eec23 Bug 985400 - Post menu changes to UIThread to avoid issues with animatinos. r=lucasr 2014-04-08 12:14:40 -07:00
Michael Comella
91afd26d78 Bug 981872 - Replace sha-1 MessageDigest with NativeCrypto. r=nalexander 2014-04-08 11:44:38 -07:00
David Keeler
2f779bc64a bug 990603 - test override for server certificate with basic constraints: CA=true r=briansmith 2014-04-08 09:51:45 -07:00
David Keeler
179fc74542 bug 990603 - mozilla::pkix: defer reporting end-entity cert errors until after path building r=briansmith 2014-04-08 09:49:36 -07:00
Kannan Vijayan
85c81d99a9 Bug 993071 - Rename FunctionBoundary IR instructions to ProfilerStackOp. r=luke 2014-04-08 12:16:18 -04:00
Jonathan Watt
ecb585d8ae Bug 993323 - Make nsWindowGfx::CreateIcon() use the new gfxUtils helper for format conversion. r=Bas 2014-04-08 16:12:28 +01:00
Patrick Brosset
0b8deaf5a5 Bug 988313 - Rename devtools/styleinspector tests for consistency reasons. r=miker
--HG--
rename : browser/devtools/styleinspector/test/browser_styleinspector_bug_672746_default_styles.js => browser/devtools/styleinspector/test/browser_computedview_browser-styles.js
rename : browser/devtools/styleinspector/test/browser_bug589375_keybindings.js => browser/devtools/styleinspector/test/browser_computedview_keybindings_01.js
rename : browser/devtools/styleinspector/test/browser_computedview_bug835808_keyboard_nav.js => browser/devtools/styleinspector/test/browser_computedview_keybindings_02.js
rename : browser/devtools/styleinspector/test/browser_bug913014_matched_expand.js => browser/devtools/styleinspector/test/browser_computedview_matched-selectors-toggle.js
rename : browser/devtools/styleinspector/test/browser_bug683672.js => browser/devtools/styleinspector/test/browser_computedview_matched-selectors_01.js
rename : browser/devtools/styleinspector/test/browser_bug_692400_element_style.js => browser/devtools/styleinspector/test/browser_computedview_matched-selectors_02.js
rename : browser/devtools/styleinspector/test/browser_bug722196_property_view_media_queries.js => browser/devtools/styleinspector/test/browser_computedview_media-queries.js
rename : browser/devtools/styleinspector/test/browser_styleinspector_bug_689759_no_results_placeholder.js => browser/devtools/styleinspector/test/browser_computedview_no-results-placeholder.js
rename : browser/devtools/styleinspector/test/browser_computedview_original_source_link.js => browser/devtools/styleinspector/test/browser_computedview_original-source-link.js
rename : browser/devtools/styleinspector/test/browser_styleinspector_bug_672744_search_filter.js => browser/devtools/styleinspector/test/browser_computedview_search-filter.js
rename : browser/devtools/styleinspector/test/browser_computedview_copy.js => browser/devtools/styleinspector/test/browser_computedview_select-and-copy-styles.js
rename : browser/devtools/styleinspector/test/browser_computedview_734259_style_editor_link.js => browser/devtools/styleinspector/test/browser_computedview_style-editor-link.js
rename : browser/devtools/styleinspector/test/browser_ruleview_add_property_01.js => browser/devtools/styleinspector/test/browser_ruleview_add-property-and-reselect.js
rename : browser/devtools/styleinspector/test/browser_ruleview_editor_changedvalues_01.js => browser/devtools/styleinspector/test/browser_ruleview_add-property-cancel_01.js
rename : browser/devtools/styleinspector/test/browser_ruleview_editor_changedvalues_03.js => browser/devtools/styleinspector/test/browser_ruleview_add-property-cancel_02.js
rename : browser/devtools/styleinspector/test/browser_ruleview_cancel.js => browser/devtools/styleinspector/test/browser_ruleview_add-property-cancel_03.js
rename : browser/devtools/styleinspector/test/browser_ruleview_editor_changedvalues_02.js => browser/devtools/styleinspector/test/browser_ruleview_add-property_01.js
rename : browser/devtools/styleinspector/test/browser_ruleview_add_property_02.js => browser/devtools/styleinspector/test/browser_ruleview_add-property_02.js
rename : browser/devtools/styleinspector/test/browser_bug940500_rule_view_pick_gradient_color.js => browser/devtools/styleinspector/test/browser_ruleview_colorpicker-edit-gradient.js
rename : browser/devtools/styleinspector/test/browser_bug893965_css_property_completion_existing_property.js => browser/devtools/styleinspector/test/browser_ruleview_completion-existing-property_01.js
rename : browser/devtools/styleinspector/test/browser_bug894376_css_value_completion_existing_property_value_pair.js => browser/devtools/styleinspector/test/browser_ruleview_completion-existing-property_02.js
rename : browser/devtools/styleinspector/test/browser_bug893965_css_property_completion_new_property.js => browser/devtools/styleinspector/test/browser_ruleview_completion-new-property_01.js
rename : browser/devtools/styleinspector/test/browser_bug894376_css_value_completion_new_property_value_pair.js => browser/devtools/styleinspector/test/browser_ruleview_completion-new-property_02.js
rename : browser/devtools/styleinspector/test/browser_ruleview_bug_902966_revert_value_on_ESC.js => browser/devtools/styleinspector/test/browser_ruleview_edit-property-commit.js
rename : browser/devtools/styleinspector/test/browser_bug722691_rule_view_increment.js => browser/devtools/styleinspector/test/browser_ruleview_edit-property-increments.js
rename : browser/devtools/styleinspector/test/browser_ruleview_manipulation.js => browser/devtools/styleinspector/test/browser_ruleview_edit-property-order.js
rename : browser/devtools/styleinspector/test/browser_ruleview_editor_changedvalues_04.js => browser/devtools/styleinspector/test/browser_ruleview_edit-property_01.js
rename : browser/devtools/styleinspector/test/browser_ruleview_edit.js => browser/devtools/styleinspector/test/browser_ruleview_edit-property_02.js
rename : browser/devtools/styleinspector/test/browser_ruleview_focus.js => browser/devtools/styleinspector/test/browser_ruleview_keybindings.js
rename : browser/devtools/styleinspector/test/browser_bug970532_mathml_element.js => browser/devtools/styleinspector/test/browser_ruleview_mathml-element.js
rename : browser/devtools/styleinspector/test/browser_bug722196_rule_view_media_queries.js => browser/devtools/styleinspector/test/browser_ruleview_media-queries.js
rename : browser/devtools/styleinspector/test/browser_ruleview_multiple_properties_02.js => browser/devtools/styleinspector/test/browser_ruleview_multiple-properties-duplicates.js
rename : browser/devtools/styleinspector/test/browser_ruleview_multiple_properties_03.js => browser/devtools/styleinspector/test/browser_ruleview_multiple-properties-priority.js
rename : browser/devtools/styleinspector/test/browser_ruleview_multiple_properties_04.js => browser/devtools/styleinspector/test/browser_ruleview_multiple-properties-unfinished_01.js
rename : browser/devtools/styleinspector/test/browser_ruleview_multiple_properties_05.js => browser/devtools/styleinspector/test/browser_ruleview_multiple-properties-unfinished_02.js
rename : browser/devtools/styleinspector/test/browser_ruleview_original_source_link.js => browser/devtools/styleinspector/test/browser_ruleview_original-source-link.js
rename : browser/devtools/styleinspector/test/browser_ruleview_pseudoelement.js => browser/devtools/styleinspector/test/browser_ruleview_pseudo-element.js
rename : browser/devtools/styleinspector/test/browser_ruleview_copy.js => browser/devtools/styleinspector/test/browser_ruleview_select-and-copy-styles.js
rename : browser/devtools/styleinspector/test/browser_ruleview_734259_style_editor_link.js => browser/devtools/styleinspector/test/browser_ruleview_style-editor-link.js
rename : browser/devtools/styleinspector/test/browser_styleinspector_bug_677930_urls_clickable.js => browser/devtools/styleinspector/test/browser_ruleview_urls-clickable.js
rename : browser/devtools/styleinspector/test/browser_bug942297_user_property_reset.js => browser/devtools/styleinspector/test/browser_ruleview_user-property-reset.js
rename : browser/devtools/styleinspector/test/browser_bug705707_is_content_stylesheet.js => browser/devtools/styleinspector/test/browser_styleinspector_csslogic-content-stylesheets.js
rename : browser/devtools/styleinspector/test/browser_csslogic_inherited.js => browser/devtools/styleinspector/test/browser_styleinspector_csslogic-inherited-properties.js
rename : browser/devtools/styleinspector/test/browser_bug_592743_specificity.js => browser/devtools/styleinspector/test/browser_styleinspector_csslogic-specificity.js
rename : browser/devtools/styleinspector/test/browser_ruleview_editor.js => browser/devtools/styleinspector/test/browser_styleinspector_inplace-editor.js
rename : browser/devtools/styleinspector/test/browser_styleinspector_outputparser.js => browser/devtools/styleinspector/test/browser_styleinspector_output-parser.js
rename : browser/devtools/styleinspector/test/browser_bug765105_background_image_tooltip.js => browser/devtools/styleinspector/test/browser_styleinspector_tooltip-background-image.js
rename : browser/devtools/styleinspector/test/browser_bug946331_close_tooltip_on_new_selection.js => browser/devtools/styleinspector/test/browser_styleinspector_tooltip-closes-on-new-selection.js
rename : browser/devtools/styleinspector/test/browser_bug702577_fontfamily_tooltip_longhand.js => browser/devtools/styleinspector/test/browser_styleinspector_tooltip-longhand-fontfamily.js
rename : browser/devtools/styleinspector/test/browser_bug702577_fontfamily_tooltip_shorthand.js => browser/devtools/styleinspector/test/browser_styleinspector_tooltip-shorthand-fontfamily.js
rename : browser/devtools/styleinspector/test/browser_bug726427_csstransform_tooltip.js => browser/devtools/styleinspector/test/browser_styleinspector_tooltip-transform.js
rename : browser/devtools/styleinspector/test/browser_bug705707_is_content_stylesheet.html => browser/devtools/styleinspector/test/doc_content_stylesheet.html
rename : browser/devtools/styleinspector/test/browser_bug705707_is_content_stylesheet.xul => browser/devtools/styleinspector/test/doc_content_stylesheet.xul
rename : browser/devtools/styleinspector/test/browser_bug705707_is_content_stylesheet_imported.css => browser/devtools/styleinspector/test/doc_content_stylesheet_imported.css
rename : browser/devtools/styleinspector/test/browser_bug705707_is_content_stylesheet_imported2.css => browser/devtools/styleinspector/test/doc_content_stylesheet_imported2.css
rename : browser/devtools/styleinspector/test/browser_bug705707_is_content_stylesheet_linked.css => browser/devtools/styleinspector/test/doc_content_stylesheet_linked.css
rename : browser/devtools/styleinspector/test/browser_bug705707_is_content_stylesheet_script.css => browser/devtools/styleinspector/test/doc_content_stylesheet_script.css
rename : browser/devtools/styleinspector/test/browser_bug705707_is_content_stylesheet_xul.css => browser/devtools/styleinspector/test/doc_content_stylesheet_xul.css
rename : browser/devtools/styleinspector/test/browser_bug683672.html => browser/devtools/styleinspector/test/doc_matched_selectors.html
rename : browser/devtools/styleinspector/test/browser_bug722196_identify_media_queries.html => browser/devtools/styleinspector/test/doc_media_queries.html
rename : browser/devtools/styleinspector/test/browser_ruleview_pseudoelement.html => browser/devtools/styleinspector/test/doc_pseudoelement.html
rename : browser/devtools/styleinspector/test/sourcemaps.css => browser/devtools/styleinspector/test/doc_sourcemaps.css
rename : browser/devtools/styleinspector/test/sourcemaps.css.map => browser/devtools/styleinspector/test/doc_sourcemaps.css.map
rename : browser/devtools/styleinspector/test/sourcemaps.html => browser/devtools/styleinspector/test/doc_sourcemaps.html
rename : browser/devtools/styleinspector/test/sourcemaps.scss => browser/devtools/styleinspector/test/doc_sourcemaps.scss
rename : browser/devtools/styleinspector/test/browser_ruleview_734259_style_editor_link.css => browser/devtools/styleinspector/test/doc_style_editor_link.css
rename : browser/devtools/styleinspector/test/test-image.png => browser/devtools/styleinspector/test/doc_test_image.png
rename : browser/devtools/styleinspector/test/browser_styleinspector_bug_677930_urls_clickable/browser_styleinspector_bug_677930_urls_clickable.css => browser/devtools/styleinspector/test/doc_urls_clickable.css
rename : browser/devtools/styleinspector/test/browser_styleinspector_bug_677930_urls_clickable.html => browser/devtools/styleinspector/test/doc_urls_clickable.html
2014-04-08 12:19:24 +02:00
Patrick Brosset
7b483af633 Bug 988313 - Split some of the longer devtools/styleinspector tests. r=miker
--HG--
rename : browser/devtools/styleinspector/test/browser_ruleview_ui.js => browser/devtools/styleinspector/test/browser_ruleview_edit.js
2014-04-08 12:19:21 +02:00
Patrick Brosset
11d6bd35df Bug 988313 - Rewrite all devtools/styleinspector tests to be shorter, less prone to failures and more consistent. r=miker 2014-04-08 12:19:16 +02:00
Alexandre Poirot
42e2341648 Bug 993101 - Add main-process debug button. r=paul 2014-04-08 14:13:09 -04:00
Margaret Leibovic
205c1bb2ff Bug 991705 - Default to puzzle icon if an add-on doesn't have an icon. r=bnicholson 2014-04-08 11:13:31 -07:00
Ryan VanderMeulen
07a6c33d7f Backed out changeset 27a904e6348f (bug 990259) for suspicion of causing Android 4.0 robocop-2 permafail. 2014-04-08 13:49:57 -04:00
Nochum Sossonko
5f9e166a4a Bug 668903 - Pressing escape should close the saved passwords dialog. r=MattN
--HG--
extra : rebase_source : 9f23e3d3457c5409b00715038e3e8014a6a9b0c3
2014-04-07 16:01:35 -04:00
Matthew Noorenberghe
142e501e5e Bug 972684 - Don't use about:home in browser_findbar.js since it leads to intermittent failures and isn't necessary for the test. r=mikedeboer
--HG--
extra : rebase_source : 1a37a07c5f1fb349f878fdcb93d0187d3b80cf62
2014-04-08 18:30:59 -07:00
Chenxia Liu
0c8c538d48 Bug 903535 - Tests. r=bnicholson 2014-04-08 17:29:46 -07:00
Chenxia Liu
c3db3d0398 Bug 903535 - Need to update text for user visible opt in UI for cell tower and wifi data collection and reporting. r=bnicholson 2014-04-08 17:29:45 -07:00
Ed Lee
857dae4840 Bug 993581 - use an empty directory tiles data source pref [r=adw]
Hardcode empty object for now.
2014-04-08 17:02:26 -07:00
Olivier Yiptong
9efab45b6a Bug 992327 - Change directoryLinks and NewTabUtils to imageURI instead of imageURISpec [r=adw]
Replace reference data and uses of s/Spec//.
2014-04-08 17:02:24 -07:00
Maxim Zhilyaev
64729529ff Bug 990977 - Sponsored tiles: don't expose explanation URL as a localizable string [r=adw]
Hardcode the url into xul instead of dtd.
2014-04-08 17:02:17 -07:00
Ryan VanderMeulen
e0b1109771 Merge m-c to fx-team. 2014-04-08 18:25:06 -04:00
Benjamin Smedberg
44d0d6e280 Bug 993084 attempt - make CommonUtils and Metrics imports lazy, since they aren't going to be needed anywhere near startup or when experiments is disabled, r=gps 2014-04-08 17:18:17 -04:00
Jared Wein
fd8c4c4766 Bug 993421 - Only set the position:relative on the PanelUI-footer-inner when a subview is showing. r=Gijs
--HG--
extra : rebase_source : 53bfa07881dd1279073d7dc1378a34fc2fbbb503
2014-04-08 16:56:26 -04:00
Jared Wein
b1f2aaa1d4 Bug 971630 - Australis: Far right/left selected overflow tabs look bad on session restore. r=mconley
--HG--
extra : rebase_source : b0179a2890f7b59a6b855ee0d1433874f20b1698
2014-04-08 16:56:12 -04:00
Brian Nicholson
3a0c2ffebe Bug 993195 - Add EventCallback parameter to handleMessage. r=jchen 2014-04-08 13:30:17 -07:00
Brian Nicholson
7157447196 Bug 993195 - Add only one observer for messages with callbacks. r=wesj 2014-04-08 13:30:17 -07:00
Mike de Boer
259ac6be10 Bug 993265: preserve bookmark folder icons on the Bookmarks toolbar. r=mak 2014-04-08 14:04:34 +02:00
Randell Jesup
5e3462d2a3 Bug 818822: Reduce fake audio/video rates on b2g debug only to avoid overloading mochitest emulator VMs r=padenot
CLOSED TREE
2014-04-07 08:48:24 -04:00
Ehsan Akhgari
893357ffa7 Improve the comment about MOZ_COUNT_CTOR/DTOR, text mostly by bent
no bug, DONTBUILD, landed on a CLOSED TREE
2014-04-11 15:41:22 -04:00
Ehsan Akhgari
cca17e36e9 Add a comment to indicate that MOZ_COUNT_CTOR/DTOR should not be used in refcounted objects
no bug, DONTBUILD, landed on a CLOSED TREE
2014-04-11 15:12:38 -04:00
Ryan VanderMeulen
e9a3f605a3 Merge m-c to inbound on a CLOSED TREE. 2014-04-11 12:59:41 -04:00
Ed Morley
c3bd41903d Backed out changeset e8dfde56e9ca (bug 925123) for jsreftest failures; CLOSED TREE 2014-04-11 17:32:38 +01:00
Ed Morley
13b0b45b74 Backed out changeset aac6762777be (bug 886416) for mochitest ABORTs; CLOSED TREE 2014-04-11 17:07:42 +01:00
Kannan Vijayan
40cb1aee21 Bug 993071 - Add optimization tier info to js profiler pseudostack entries. r=luke 2014-04-11 11:58:55 -04:00
Ryan VanderMeulen
b06124335d Bug 994798 - Disable browser_frameworker.js on Linux debug for frequent timeouts. 2014-04-11 11:58:37 -04:00
Bobby Holley
c21152b980 Bug 993438 - Stop implicitly cloning, and assertSameCompartment. r=billm 2014-04-11 08:47:43 -07:00
Bobby Holley
8ea8a2f24d Bug 993438 - Fix up the Frame Message Manager. r=smaug 2014-04-11 08:47:43 -07:00
Bobby Holley
8e6dce7606 Bug 993438 - Fix up the XUL prototype cache. r=smaug 2014-04-11 08:47:43 -07:00
Bobby Holley
211b631fae Bug 993438 - Infer the eventual compartment for OMT-compiled script when the script is retrieved. r=billm
Currently, the script gets put in a compartment specified when the compilation
is initiated. Later on, when we retrieve that script and try to execute it, we
won't necessarily be in the same compartment. Currently, SM just handles this
and clones the script, but it's simpler and more efficient to just create the
script in the compartment of whoever calls FinishOffThreadScript.

Note that the existing code actually has a hazard in which the call to
GetBuiltinPrototypePure returns null - it just wasn't exercised in automation
(and was triggered by onNewScript-off-main-thread.js with this patch).
2014-04-11 08:47:43 -07:00