Albert Crespell
5cb6d620a6
Bug 1139425 - Service Worker Client id should return a DOMString uuid. r=baku
2015-03-13 07:15:25 +01:00
Ryan VanderMeulen
a12c6d2dfc
Backed out changesets f63a2cf3fa11 and 7d9a91ee3d48 (bug 1126089) for mochitest-bc failures.
2015-03-13 13:42:57 -04:00
Bill McCloskey
12af381a9e
Bug 1126089 - Allow messages to be sent after frame script unload event (r=smaug)
2015-03-13 08:24:20 -07:00
Jason Orendorff
3c188fc686
Bug 1133081, part 5 - Remove non-asserting PropertyDescriptor accessors in favor of the new PropDesc-inspired asserting accessors. r=efaust.
...
value() can't assert hasValue() because too many places have plausible reasons for calling it on a PropertyDescriptor they basically know nothing about. One such place is CompartmentChecker::check(Handle<JSPropertyDescriptor>). Another is DefinePropertyByDescriptor. Maybe this will change with time.
In some cases we do things like `desc.hasWritable() && desc.writable() != existing_desc.writable()`. It is OK to write it this way, even though we have not checked existing_desc.hasWritable(), because in these cases we already know existingDesc is a complete property descriptor.
2015-02-15 06:18:30 -06:00
Mantaroh Yoshinaga
46662b3fb2
Bug 1106905 - Modify mobile desktop mode implementation to use a desktop viewport. r=kats
2015-03-12 12:14:55 -04:00
Boris Zbarsky
7f7b76aa0c
Bug 1140573 part 1. Drop the parent argument from JS_NewFunction. r=waldo
2015-03-09 12:50:03 -04:00
Jose Antonio Olivera Ortega
37600d8d77
Bug 1041339 - ServiceWorkers: Update implementation based on clarification of force-refresh. r=nsm
2015-03-04 02:54:00 +01:00
Andrea Marchesini
0c7f3a0a3a
Bug 1134280 - Get rid of Tag() - patch 7 - Followup to fix bustage. CLOSED TREE
2015-03-03 11:50:16 +00:00
Andrea Marchesini
e5bca26bf2
Bug 1134280 - Get rid of Tag() - patch 2.3 - dom/base and docshell - Fix all the occurrences, m=smaug, r=surkov
2015-03-03 11:09:00 +00:00
Andrea Marchesini
454d9140a2
Bug 1134280 - Get rid of Tag() - patch 1 - Is{HTML,XUL,MathML,SVG}Element and IsAnyOf{HTML,XUL,MathML,SVG}Elements, r=smaug
2015-03-03 11:08:59 +00:00
Olli Pettay
23489bab3a
Bug 1138395 - Optimize nsDocument::mExpandoAndGeneration.expando out from the cc graphs when possible, r=mccr8
2015-03-02 17:56:36 +02:00
Boris Zbarsky
ee82815c4f
Bug 1136292 part 2. Stop passing an explicit JS::NullPtr parent to JS_NewObjectWithGivenProto in nsDocument. r=peterv
2015-02-26 09:40:07 -05:00
Gabor Krizsanits
dbcdf470fd
Bug 1134981 - Quick fix in registerElement. r=bz
2015-02-26 15:20:37 +01:00
Boris Zbarsky
8d06e45b3d
Bug 1136388. Change nsIDocumentLoaderFactory and nsIURIContentListener to take MIME types as an XPCOM string, not a char*. r=smaug
2015-02-25 10:26:51 -05:00
Boris Zbarsky
2f91ccc894
Bug 1134559. DOMContentLoaded should not be cancelable. r=ms2ger
2015-02-19 14:36:02 -05:00
John Schoenick
1240556dea
Bug 1067345 - Part 3 - Implement speculative load operations for <picture> and <img srcset>
2014-12-10 18:54:00 -05:00
Nicholas Nethercote
74cc61fdfd
Bug 1131901 (part 1) - Make PL_DHashTableAdd() infallible by default, and add a fallible alternative. r=froydnj.
...
I kept all the existing PL_DHashTableAdd() calls fallible, in order to be
conservative, except for the ones in nsAtomTable.cpp which already were
followed immediately by an abort on failure.
--HG--
extra : rebase_source : 526d96ab65e4d7d71197b90d086d19fbdd79b7b5
2015-02-02 14:48:58 -08:00
Andrew McCreight
2b516fc573
Bug 1131199, part 2 - Make PLDHashtInitEntry infallible. r=froydnj
...
Also, drop the unused table argument.
2015-02-11 09:46:40 -08:00
William Chen
1ae95ff1e0
Bug 1087460 - Part 2: Call attached and detached callback when attached and detached to/from the composed document. r=smaug
2015-02-09 10:01:24 -08:00
Nicholas Nethercote
44179aabe3
Back out changesets 2fcef6b54be7, 2be07829fefc, 66dfe37b8532, df3fcd2be8fd, 0a436bce77a6 (bug 1050035) for causing intermittent crashes and assertion failures.
...
--HG--
extra : rebase_source : eb30be83c3143c6c203585a80a18f180025efaba
2015-02-10 14:39:49 -08:00
Nicholas Nethercote
6ee3666899
Bug 1127201 (attempt 2, part 1) - Replace most NS_ABORT_IF_FALSE calls with MOZ_ASSERT. r=Waldo.
...
--HG--
extra : rebase_source : 488e401ff87e31a2074c4108c4df0572d9536667
2015-02-09 14:34:50 -08:00
Andrew McCreight
8413cc973c
Back out Bug 1127201 (part 2) for various problems.
2015-02-06 15:04:32 -08:00
Ryan VanderMeulen
ebe6b0c0e7
Backed out 4 changesets (bug 671389) for frequent B2G debug test_tcpsocket_client_and_server_basics.html crashes.
...
Backed out changeset b782435e5640 (bug 671389)
Backed out changeset 0f8d62109bfe (bug 671389)
Backed out changeset 8d6021f66c49 (bug 671389)
Backed out changeset cd3e227df9dc (bug 671389)
2015-02-05 16:48:18 -05:00
Nicholas Nethercote
3629781b69
Bug 1127201 (part 2) - Convert all NS_ABORT_IF_FALSE calls to MOZ_ASSERT. r=Waldo.
...
--HG--
extra : rebase_source : 99182e70335d2b5ff95f8c528ae992d37294be3a
2015-02-04 20:05:36 -08:00
Dhi Aurrahman
12e31e4135
Bug 1120649 - document.lastModified should return the current time. r=bz
2015-02-04 18:58:09 +07:00
Deian Stefan
afb53f48c2
Bug 671389 - Part 2: Export document sandbox flags to chrome JS r=smaug
2015-02-03 23:45:00 +01:00
Deian Stefan
f3d5c54eea
Bug 671389 - Part 1: Implement CSP sandbox directive r=ckerschb,smaug
2015-02-03 23:40:00 +01:00
Nicholas Nethercote
c326200932
Bug 1050035 (part 4) - Make PL_DHashTableAdd() infallible by default, and add a fallible alternative. r=froydnj.
...
I kept all the existing PL_DHashTableAdd() calls fallible, in order to be
conservative, except for the ones in nsAtomTable.cpp which already were
followed immediately by an abort on failure.
--HG--
extra : rebase_source : eeba14d732077ef2e412f4caca852de6b6b85f55
2015-02-02 14:48:58 -08:00
Nicholas Nethercote
e2d6f1e1be
Bug 1050035 (part 3) - Remove PL_NewDHashTable() and PL_DHashTableDestroy(). r=froydnj.
...
Because they are now just equivalent to |new PLDHashTable()| +
PL_DHashTableInit() and PL_DHashTableFinish(t) + |delete t|, respectively.
They're only used in a handful of places and obscure things more than they
clarify -- I only recently worked out exactly how they different from Init()
and Finish().
--HG--
extra : rebase_source : c958491447523becff3e01de45a5d2d227d1ecd3
2015-02-01 20:36:52 -08:00
Nicholas Nethercote
9735520732
Bug 1050035 (part 2) - Remove the fallible version of PL_DHashTableInit(). r=froydnj,mrbkap.
...
Because it's no longer needed now that entry storage isn't allocated there.
(The other possible causes of failures are much less interesting and simply
crashing is a reasonable thing to do for them.)
This also makes PL_DNewHashTable() infallible.
--HG--
extra : rebase_source : 848cc9bbdfe434525857183b8370d309f3acbf49
2015-02-01 20:19:08 -08:00
Chris Double
15ba1ae394
Bug 1128742 - Prevent pages with MSE content from being stored in bfcache - r=roc
2015-02-04 13:01:59 +13:00
Tom Schuster
3374698e65
Bug 1127443 - Move some JS_NewObject callers to JS_NewObjectWithGiveProto
2015-01-31 16:18:51 +01:00
Jonathan Watt
636fdf8aef
Bug 1105098 - Make AnimationTimeline always return the same parent object (even after document.open()) and replace the document's timeline if the document is reset. r=smaug,birtles
2015-01-26 17:08:51 +00:00
Nicholas Nethercote
70b1eacc9e
Bug 1124973 (part 2) - Introduce PL_DHashTableSearch(), and replace most PL_DHashTableLookup() calls with it. r=froydnj.
...
It feels safer to use a function with a new name, rather than just changing the
behaviour of the existing function.
For most of these cases the PL_DHashTableLookup() result was checked with
PL_DHASH_ENTRY_IS_{FREE,BUSY} so the conversion was easy. A few of them
preceded that check with a useless null check, but the intent of these was
still easy to determine.
I'll do the trickier ones in subsequent patches.
--HG--
extra : rebase_source : ab37a7a30be563861ded8631771181aacf054fd4
2015-01-22 21:06:55 -08:00
Andrew McCreight
6cad90dffb
Bug 1124268, part 3 - Rename nsContentUtils::GetSameOriginChecker to SameOriginChecker. r=smaug
...
This method is infallible, so the name should reflect that.
2015-01-26 09:28:15 -08:00
Andrew McCreight
53e1f836f4
Bug 1124268, part 1 - Take advantage of the infallibility of nsContentUtils::GetSameOriginChecker(). r=smaug
2015-01-26 09:28:15 -08:00
Sotaro Ikeda
103650d52d
Bug 1124844 - Add NotifyActivityChanged call to nsDocument::SetScriptGlobalObject() r=bz
2015-01-25 15:56:50 -08:00
Christoph Kerschbaumer
77f734ba7f
Bug 1121857 - CSP: document.baseURI should not get blocked if baseURI is null (r=sstamm)
2015-01-15 10:05:06 -08:00
Wes Kocher
7ae4041c86
Backed out changeset d3e15ba0fd92 (bug 1121857) for cppunit failures
2015-01-21 15:16:33 -08:00
Christoph Kerschbaumer
bc742d3920
Bug 1121857 - CSP: document.baseURI should not get blocked if baseURI is null (r=sstamm)
2015-01-15 10:05:06 -08:00
Mats Palmgren
ca99081218
Bug 1116714
part 2 - Don't create a frame for the custom content container when it has no children. r=roc
2015-01-20 18:20:04 +00:00
Nicholas Nethercote
c0a8a6e993
Bug 1123151 (part 2) - Add PLDHashTable::IsInitialized(). r=froydnj.
...
This encapsulates most of the uses of PLDHashTable::ops.
--HG--
extra : rebase_source : 7760ce8e46a37e87dcfe590e809a21df01fe510f
2015-01-19 16:11:34 -08:00
Nicholas Nethercote
5a62e7fcbf
Bug 1121304 (part 2, attempt 2) - Remove PLDHashTableOps::{alloc,free}Table. r=froydnj.
...
--HG--
extra : rebase_source : bc119bd0d3b6944e8c5a000950e0c4052cb70aef
2015-01-14 14:35:56 -08:00
Phil Ringnalda
9a3738d626
Backed out 2 changesets (bug 1121304) for consistent b2g hangs in webgl-color-test.html?frame=1&__&preserve&premult&_____
...
Backed out changeset 20651ac19549 (bug 1121304)
Backed out changeset 758afec77c95 (bug 1121304)
2015-01-14 22:02:23 -08:00
Nicholas Nethercote
7e78186cb9
Bug 1121304 (part 2) - Remove PLDHashTableOps::{alloc,free}Table. r=froydnj.
2015-01-14 14:35:56 -08:00
Nicholas Nethercote
e7f3233097
Bug 1120476 (part 4) - Remove PLDHashTableOps::finalize. r=froydnj.
...
--HG--
extra : rebase_source : b14dda8cdd5cd896d1e32950e38b2a9f7da4d99e
2015-01-13 19:02:35 -08:00
Nicholas Nethercote
00b5865c2a
Bug 1120476 (part 3) - Remove PLDHashTable::data. r=froydnj.
...
--HG--
extra : rebase_source : 24d10af3dbce3ada5252503bc80bb1a4e31bc1c9
2015-01-13 16:42:13 -08:00
Gabor Krizsanits
380412f166
Bug 1111633 - Unresolved pseudo class. r=bz
2015-01-13 19:58:06 +01:00
Mats Palmgren
f564466a9a
Bug 1116714
part 0 - Iterate forward instead, to avoid depending on undefined integer behavior. r=roc
2015-01-13 14:44:33 +00:00
Michael Pruett
b9d2bd339e
Bug 1118024 - Use new PL_DHashTable{Add,Lookup,Remove} functions. r=nfroyd
2015-01-05 20:27:28 -06:00