Commit Graph

257 Commits

Author SHA1 Message Date
Chris Double
d39b41b550 Bug 1128742 - Prevent pages with MSE content from being stored in bfcache - r=roc 2015-02-04 13:01:59 +13:00
Tom Schuster
326af0e06e Bug 1127443 - Move some JS_NewObject callers to JS_NewObjectWithGiveProto 2015-01-31 16:18:51 +01:00
Jonathan Watt
09a3f3097e 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
c38455902a 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.
2015-01-22 21:06:55 -08:00
Andrew McCreight
5bc8e9c72c 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
4216290a9e Bug 1124268, part 1 - Take advantage of the infallibility of nsContentUtils::GetSameOriginChecker(). r=smaug 2015-01-26 09:28:15 -08:00
Sotaro Ikeda
68f9a47b79 Bug 1124844 - Add NotifyActivityChanged call to nsDocument::SetScriptGlobalObject() r=bz 2015-01-25 15:56:50 -08:00
Christoph Kerschbaumer
6b42ee97d4 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
d6b5c7de07 Backed out changeset d3e15ba0fd92 (bug 1121857) for cppunit failures 2015-01-21 15:16:33 -08:00
Christoph Kerschbaumer
8625650842 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
f10f4011ca 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
4604f714c6 Bug 1123151 (part 2) - Add PLDHashTable::IsInitialized(). r=froydnj.
This encapsulates most of the uses of PLDHashTable::ops.
2015-01-19 16:11:34 -08:00
Nicholas Nethercote
d746138aca Bug 1121304 (part 2, attempt 2) - Remove PLDHashTableOps::{alloc,free}Table. r=froydnj. 2015-01-14 14:35:56 -08:00
Phil Ringnalda
41e41579d9 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
70f5bf6167 Bug 1121304 (part 2) - Remove PLDHashTableOps::{alloc,free}Table. r=froydnj. 2015-01-14 14:35:56 -08:00
Nicholas Nethercote
43fc26b699 Bug 1120476 (part 4) - Remove PLDHashTableOps::finalize. r=froydnj. 2015-01-13 19:02:35 -08:00
Nicholas Nethercote
eda870fe92 Bug 1120476 (part 3) - Remove PLDHashTable::data. r=froydnj. 2015-01-13 16:42:13 -08:00
Gabor Krizsanits
944cc3b3f0 Bug 1111633 - Unresolved pseudo class. r=bz 2015-01-13 19:58:06 +01:00
Mats Palmgren
b9731cef23 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
cbe37abc44 Bug 1118024 - Use new PL_DHashTable{Add,Lookup,Remove} functions. r=nfroyd 2015-01-05 20:27:28 -06:00
Brian Birtles
fd92d42957 Bug 1112422 - Turn on the Web Animations API by default for chrome callers; r=bz 2015-01-08 13:53:24 +09:00
Ehsan Akhgari
2acefe2331 Bug 1117264 - Mark virtual overridden functions as MOZ_OVERRIDE in dom/base code; r=baku 2015-01-06 11:52:45 -05:00
William Chen
fed063ebbc Bug 1102502 - Fire custom elements attachedCallback when elements are created and inserted into the document by the parser. r=smaug 2014-12-22 22:35:32 -08:00
William Chen
b3789d6fc4 Bug 1081039 - cloneNode on a custom element should call createdCallback if cloned in a document with a custom element definition. r=smaug 2014-12-22 18:19:08 -08:00
Brian Birtles
7dd41bd6d7 Bug 927349 part 14 - Store reference to owning document on PendingPlayerTracker; r=jwatt
This patch adds a reference from PendingPlayerTracker back to the document
object that owns it. This is used in the next patch in this series to find the
document's root frame for scheduling a paint.
2014-12-22 09:35:41 +09:00
Patrick Brosset
94162318a4 Bug 1112465 - Fix crashes when navigating to XUL window with devtools opened by checking for GetCanvasFrame in RemoveAnonymousContent. r=ehsan 2014-12-17 04:38:00 -05:00
Brian Birtles
511d067d7e Bug 927349 part 1 - Add PendingPlayerTracker; r=jwatt
This patch adds a hashtable to nsDocument that stores all the animation players
that are currently waiting to start. In the future it may also be used to store
players that are waiting to pause which is why the methods are called
AddPlayPending/RemovePlayPending instead of just AddPlayer/RemovePlayer.
2014-12-18 08:42:41 +09:00
Sid Stamm
4bec90b255 Bug 965727 - Implement referrer directive for CSP. (r=jst,ckerschb) 2014-12-17 14:14:04 -05:00
Ben Turner
c8ed07d8be Bug 701634 - Support IndexedDB in Workers, r=khuey+baku. 2014-12-16 22:26:15 -08:00
Gabor Krizsanits
052977e3b4 Bug 1081037 - LinkConstructorAndPrototype in RegisterElement. r=wchen 2014-12-15 11:28:54 +01:00
Carsten "Tomcat" Book
01ebfae7f9 Backed out changeset 5d3fe12c63ed (bug 1081037) for Gu Test Failures 2014-12-11 15:26:20 +01:00
Gabor Krizsanits
3666eaa685 Bug 1081037 - LinkConstructorAndPrototype in RegisterElement. r=wchen 2014-12-11 13:02:08 +01:00
Sid Stamm
acc2e51169 Bug 999656 - Fix mappings between content type and CSP directives and refactor permits functions in CSP. r=ckerschb 2014-12-10 13:54:00 +01:00
Benoit Girard
55a0d64e6e Bug 1092320 - Log a warning to the console when will-change is out of budget. r=dbaron,khuey 2014-11-22 00:35:20 -05:00
Wes Kocher
3c0de68457 Backed out changeset bf25101e66cf (bug 1095098) for build bustage 2014-12-08 16:27:12 -08:00
Denis Volk
cbf9ae78f0 Bug 1095098: move do_QueryObject templates into their own header r=froydnj 2014-11-20 12:20:10 +01:00
Giovanni Sferro
9d6615d76a Bug 1100535 - Do not assume that the radio required status changed when the attribute changes. r=smaug 2014-11-27 17:40:00 -08:00
Boris Zbarsky
ccb5a813b6 Bug 1067541. Image preloads should not keep going once the actual image has started and gotten canceled. r=peterv 2014-11-24 11:57:49 -05:00
David Anderson
3fa2aa3f0f Put meta viewport support behind a pref (bug 1092450, r=kats). 2014-11-21 14:32:32 -05:00
Vladimir Vukicevic
448de69ce1 Bug 1036606 - Extend mozRequestFullScreen to accept an options dict with a vrDisplay member; r=bz 2014-07-09 12:30:22 -07:00
Boris Zbarsky
cd136aaf91 Bug 771043. Move MediaQueryList tracking from the prescontext to the document, so they will correctly outlive prescontext changes. r=dbaron 2014-10-03 14:15:25 -04:00
Sid Stamm
29bcaaf68b Bug 704320 - apply referrer policies to image loads (r=seth) 2014-11-18 08:46:53 -05:00
Sid Stamm
7c4de115b8 Bug 704320 - Add referrer policy support to stylesheet and CSS loads and fonts. (r=bz) 2014-11-18 08:46:47 -05:00
Owen Chu
f8f45e4564 Bug 704320 - Parse and implement meta tag-based referrer policies for documents and nsHttpChannels. (r=bz,mcmanus) 2014-11-18 08:46:29 -05:00
Gabor Krizsanits
261e758e05 Bug 1094930 - part2: init LifecycleCallbacks in the caller compartment. r=bz 2014-11-17 14:04:28 +01:00
Gabor Krizsanits
eca2d45e26 Bug 1094930 - Allow registerElement to take protos from other scopes. r=bz 2014-11-17 14:04:27 +01:00
Carsten "Tomcat" Book
026b3cec4a Backed out changeset 53e23b1b3642 (bug 1092450) for test bustage 2014-11-12 11:19:26 +01:00
David Anderson
cb2c7cadf8 Put meta viewport support behind a pref (bug 1092450, r=kats). 2014-11-12 00:15:40 -08:00
Christoph Kerschbaumer
0141a9437e Bug 1089912: Part 1, move csp into dom/security (r=sstamm,jst) 2014-10-27 16:58:20 -07:00
Gabor Krizsanits
fb15d637d6 Bug 1093033 - Imports should update their CustomElements. r=wchen 2014-11-06 14:05:36 +01:00