Commit Graph

138656 Commits

Author SHA1 Message Date
Matt Woodrow
434a7b577c Bug 875232 - Add SharedSurface_IOSurface for sharing textures on OSX. r=jgilbert 2013-07-17 23:24:15 -04:00
Matt Woodrow
cef59c4d1b Bug 875232 - Make most of the GLContext helper functions take a texture target parameter so that we can support GL_TEXTURE_RECTANGLE. r=jgilbert 2013-07-17 23:24:15 -04:00
Matt Woodrow
15b6cbf471 Bug 875232 - Make alpha channel optional for MacIOSurface. r=BenWa 2013-07-17 23:24:14 -04:00
Boris Zbarsky
7bc16a6b9c Bug 894874. Fix .selectedStyleSheetSet to consider all the sheets even after it finds an enabled sheet. r=smaug 2013-07-17 23:23:52 -04:00
Boris Zbarsky
3978c4cfd1 Bug 892510. Cache whether we're only-whitespace on textnodes so we don't have to keep figuring that out over and over again. r=smaug 2013-07-17 23:23:52 -04:00
Boris Zbarsky
89d42e2daa Bug 893004 part 3. Remove the unused-from-C++ bits of nsIDOMNavigator, except the ones that share implementation with WebIDL anyway. r=smaug
Note that I believe we could remove all these remaining attributes too; it's just some tedious work.
2013-07-17 23:23:52 -04:00
Boris Zbarsky
6be6fb3ca2 Bug 893004 part 2. Remove various no-longer-used XPCOM bits from Navigator, except the ones from nsIDOMNavigator. r=smaug
--HG--
rename : dom/network/interfaces/nsIDOMNavigatorNetwork.idl => dom/network/interfaces/nsIMozNavigatorNetwork.idl
2013-07-17 23:23:52 -04:00
Boris Zbarsky
7510a7cbee Bug 893004 part 1. Remove Navigator classinfo. r=smaug 2013-07-17 23:23:51 -04:00
Jared Wein
a05c3a6714 Bug 887515 - Replace multiple tab closing prompt with a menuitem to restore multiple tabs. r=ttaubert
--HG--
extra : rebase_source : 743b8bb459802675e38ef2ab8e8cee2c41b90f90
2013-07-17 18:48:39 -04:00
Wes Kocher
cc90ec9c73 Backout 95a4b87a0583 (bug 894948) for causing an octane-crypto regression on a CLOSED TREE 2013-07-17 19:01:03 -07:00
Jared Wein
a2f85281d2 Backed out changeset 6567ae2b15be (bug 845205) for possibly introducing more assertions, causing the browser-chrome tests to go over their log limit. CLOSED TREE 2013-07-17 20:37:57 -04:00
Guillaume Abadie
d183a7547b Bug 895010 - Disable vertex array object tests since the extension has been disabled. r=jrmuizel CLOSED TREE 2013-07-17 17:30:52 -04:00
Bobby Holley
09e84333e6 Bug 887334 - Enter a compartment in b2g-only unloading code. r=me CLOSED TREE 2013-07-17 14:28:54 -07:00
Ryan VanderMeulen
7ecd1a4b17 Backed out changeset 76e7ef98a9d1 (bug 867856) for jit-test failures.
CLOSED TREE
2013-07-17 15:54:44 -04:00
Bobby Holley
e96cffb55d Bug 887334 - Reorder some bookkeeping and assert in setCompartment that both the old and new compartments are marked as entered. r=luke 2013-07-17 11:53:55 -07:00
Bobby Holley
1571ff2ce4 Bug 887334 - Require cx->compartment() to be null when destroying a context. r=luke
If it's non-null, that means we've got a JSAutoCompartment on the stack, which
is going to run into trouble when it tries to restore the old compartment on
the now-dead cx.
2013-07-17 11:53:54 -07:00
Bobby Holley
8e0afa92a2 Bug 887334 - Stop setting the compartment to defaultCompartmentObject_->compartment(). r=luke
With this change, defaultCompartmentObject_ is just an opaque (though traced)
piece of embedder state on the cx.
2013-07-17 11:53:54 -07:00
Bobby Holley
152a99c222 Bug 887334 - Push a JSContext in nsGlobalWindow::SecurityCheckURL. r=gabor 2013-07-17 11:53:54 -07:00
Bobby Holley
24e02b4db3 Bug 887334 - Conditionally enter a compartment in WorkerPrivate::DoRunLoop. r=mrbkap 2013-07-17 11:53:54 -07:00
Bobby Holley
42bde9bf07 Bug 887334 - Enter a compartment in indexedDB's ThreadLocalJSRuntime. r=bent 2013-07-17 11:53:54 -07:00
Bobby Holley
9883f9fcf9 Bug 887334 - Fix JSAPI test harness to not fail when the initial compartment is null. r=luke
I don't know why it's done this way, but it sure needs to change.
2013-07-17 11:53:53 -07:00
Bobby Holley
5420505253 Bug 887334 - Miscellaneous JSAutoCompartments. r=luke 2013-07-17 11:53:53 -07:00
Bobby Holley
1dceda6384 Bug 887334 - Enter a compartment between manual calls to JS_{Save,Restore}FrameChain. r=luke
The stuff in nsXBLProtoImplMethod is doing the same thing, so let's just have
it call into nsJSUtils.
2013-07-17 11:53:52 -07:00
Bobby Holley
a93493b71d Bug 887334 - Add a JSAutoCompartment to AutoCxPusher. r=luke,gabor
This should hopefully take care of any cases where consumers expect to be in
the default compartment.
2013-07-17 11:53:52 -07:00
Bobby Holley
e90537d5c6 Bug 887334 - Use the new AutoCompartment overload for the atoms compartment and remove AutoEnterAtomsCompartment. r=bhackett
We have to do some temporary hackiness to deal with some of the new PJS work.
This patch stays as true to the old world as possible, so that we can more
easily backport it.
2013-07-17 11:53:52 -07:00
Bobby Holley
0c5572cc76 Bug 887334 - Don't rethrow in quickstubs if there's already an exception pending. r=luke 2013-07-17 11:53:52 -07:00
Bobby Holley
c8c93ab150 Bug 887334 - Add a JSCompartment* to AutoCompartment and use it in JS_NewGlobalObject. r=luke
This gets rid of the wonky setCompartment usage in that function.
2013-07-17 11:53:52 -07:00
Bobby Holley
aee282ccae Bug 887334 - Move faulty JSAutoRequest in initSelfHosting. r=luke
The call to JS_SetGlobalObject causes cx->compartment_ to be set to the self-
hosting global, which means that the JSAutoCompartment picks up that compartment
as the 'previous' compartment. So despite the attempt to restore things with
JS_SetGlobalObject at the end of the function, the JSAutoCompartment destructor
actually ends up leaving cx in the self-hosting global's compartment at the end
of this function. Moving the JSAutoCompartment construction above the call to
JS_SetGlobalObject fixes the problem.
2013-07-17 11:53:51 -07:00
Bobby Holley
36f005e12f Bug 887334 - Null-check compartment() in JS_GetGlobalForScopeChain(). r=luke
cx->global() assumes a non-null compartment(). When we fix up various bugs
related to being in a compartment when we shouldn't be, we start to crash here.
Fix it.
2013-07-17 11:53:51 -07:00
Bobby Holley
a5bbbb322d Bug 887334 - Rejigger the string manipulation in OnJSContextNew to avoid depending on being in a compartment. r=luke
The current code makes calls that assume (implicitly, via assertions) that |cx|
is in a compartment, which isn't a valid assumption going forward.
2013-07-17 11:53:51 -07:00
Bobby Holley
089d93ca1d Bug 887334 - Remove AutoSwitchCompartment. r=luke
This thing is...yikes.
2013-07-17 11:53:50 -07:00
Nicolas B. Pierron
54c6ec750c Bug 867856 - Fix intermittent timeout of bug743094.js test case. r=h4writer 2013-07-17 11:51:19 -07:00
Nicolas B. Pierron
fbded8c6a4 Bug 892426 - Add an additional temp-Register to SetElementIC. r=jandem 2013-07-17 11:51:19 -07:00
Guillaume Abadie
d15b6c0449 Bug 895010 - Disable WebGL vertex array objects for now - r=jgilbert
--HG--
extra : rebase_source : 49a35c72470b1300a9f2b5267b88db195c4242df
2013-07-17 14:47:41 -04:00
Gregory Szorc
3762673046 Bug 845050 - FileCopier support for symlinks; r=glandium 2013-07-17 11:44:33 -07:00
Jim Mathies
34c2c0e703 Bug 881463 - Fix for intermittent browser_selection_textarea.js. r=rsilveira 2013-07-17 13:43:26 -05:00
Jim Mathies
fbf39695fe Bug 888236 - Cleanup MetroWidget's Destroy method, shutdown layer manager and call base widget destroy methods. Potential fix for crash in nsIFrame::GetNearestWidget(). r=bbondy 2013-07-17 13:43:26 -05:00
Till Schneidereit
f564136588 Bug 894948 - Remove effectively-dead analysis-related code from interpreter. r=jandem
--HG--
extra : rebase_source : 037764b4c11746ee52d5347c76e2a5242b35afab
2013-07-17 19:21:10 +02:00
Luke Wagner
e4d0a480fa Bug 882008 - OdinMonkey: fix subtraction to take doublish, rm Use (r=bbouvier)
--HG--
extra : rebase_source : 819570ab142518328aa41a1c6b81ffa0a5d7b96f
2013-07-02 11:38:43 -07:00
Luke Wagner
d03c8ecb55 Bug 880538 - LifoAlloc::release after parsing every function (r=bbouvier)
--HG--
extra : rebase_source : 9ead29e3dc5110f2b1f30c5218c41cbbc26555e5
2013-06-21 16:20:47 -07:00
Luke Wagner
de23e334eb Bug 880538 - move 'hasDestructuringArgs' flag into the FunctionBox (r=bhackett)
--HG--
extra : rebase_source : d65025cd591c7faf9e64f4768da0b2b8352ee393
2013-06-28 10:29:58 -07:00
Luke Wagner
be562454f2 Bug 880538 - store a pointer from ParseContext to it's PNK_FUNCTION ParseNode (r=bhackett)
--HG--
extra : rebase_source : acb4b0e5d94d0c1777173a4b0f378c46591805b3
2013-06-28 10:29:58 -07:00
Luke Wagner
e5cfdc10f1 Bug 880538 - set pn->pn_funbox immediately (r=bhackett)
--HG--
extra : rebase_source : 11b265e64f8355989632bd2556ed119a397cb10a
2013-06-21 16:07:25 -07:00
Luke Wagner
1974b8aa53 Bug 880538 - OdinMonkey: don't create an IonContext in MacroAssembler (r=sstangl)
--HG--
extra : rebase_source : c949b8337141681eb983ca4792849a726a059e18
2013-06-28 10:29:57 -07:00
Luke Wagner
f50432075d Bug 880538 - OdinMonkey: make a single pass over the parse tree (r=bbouvier)
--HG--
extra : rebase_source : c5aafde69f44906750d1d62d6878bfbab9e048ee
2013-06-13 11:48:47 -07:00
Francesco Lodolo [:flod]
2d267ec063 Bug 894844 - Add localization comment to plural forms in AccessFu.properties. r=yzen 2013-07-17 14:34:22 -04:00
Birunthan Mohanathas
3ae9bd57c3 Bug 891334 - Add default MIME type definition for .pdf as 'application/pdf'. r=jdm 2013-07-17 14:34:22 -04:00
Ben Kelly
da85f869bd Bug 845205 - Do not reset the style context when removing unset properties. r=dbaron 2013-07-17 14:34:22 -04:00
Guillaume Abadie
f11e4e269e Bug 890379 - [WebGL 2.0] Add existing WebGL 1 extensions as WebGL 2 features. r=jgilbert 2013-07-17 12:13:38 -04:00
Ryan VanderMeulen
2e2e0887ff Merge m-c to inbound. 2013-07-17 14:34:19 -04:00