Commit Graph

4658 Commits

Author SHA1 Message Date
Justin Lebar
5b6978ca49 Bug 772155 - Disallow nested content processes. r=bz 2012-07-09 23:32:47 -04:00
Jason Duell
1a385bfff0 Bug 771318 - Fix early websocket Init fail. r=mcmanus, r=smaug 2012-07-09 18:20:25 -07:00
Henri Sivonen
b82925a074 Bug 765620 - When parsing from stream without executing scripts, avoid script execution-related tree ops. r=smaug 2012-06-20 10:05:39 +03:00
Ryan VanderMeulen
54b1ac51b6 Merge m-c to inbound. 2012-07-09 20:53:11 -04:00
Jason Duell
adf6e16d58 Bug 752780 - Convert invalid UTF-16 to UTF-8 in websocket send(). r=sicking 2012-07-09 17:31:01 -07:00
Kyle Huey
d1532c7382 Bug 765936. r=bent,peterv 2012-07-06 10:28:51 -07:00
Aryeh Gregor
985f7ec5bd Bug 766426 - Avoid assertion with extractContents() and mutation events; r=smaug 2012-06-28 14:29:56 +03:00
Mounir Lamouri
eaae5e727b Bug 556009 (1/2) - Add the step attribute to HTMLInputElement. r=sicking
--HG--
extra : rebase_source : 7288832870ee9c6a7964f5f8b3e619c2b2b81c70
2012-07-05 12:12:14 +02:00
Ehsan Akhgari
6ef72aef93 Backout changeset f568fc280fb0 (bug 539356) because of performance and correctness regressions 2012-07-03 20:24:55 -04:00
John Schoenick
b7f0b6aeae Backout Bug 406451 for regressions 2012-06-19 16:25:56 -07:00
Devdatta Akhawe
b405ba9003 Bug 767134 - Stuff the source principal into nsIContentPolicy (r=bz, sr=jst) 2012-07-02 16:16:11 -07:00
David Zbarsky
cd3c58ee76 Bug 763350 - Clean up some includes in content/ and dom/ r=smaug 2012-07-01 16:45:59 -07:00
Aryeh Gregor
fe8e98a3f0 Bug 767169 part 2 - Handle lastCandidate being null in nsContentSubtreeIterator::Init; r=bz 2012-06-28 14:29:56 +03:00
Masatoshi Kimura
b320c84c6a Bug 769119 - Treat null or undefined as an empty dictionary; r=sicking 2012-06-30 16:03:27 +02:00
Matt Woodrow
1f0dbc7c74 Bug 539356 - Part 9 - Implement DLBI. r=roc,bz,jwatt 2012-06-30 15:06:11 +12:00
Gavin Sharp
f7ba48e261 Bug 769771: add support for specifying content type of an html:iframe, r=bz
--HG--
extra : transplant_source : %97%CDKKQ%11%F4%98%C0%D6e%B81%BE6a%3Ah_%07
2012-06-29 15:03:53 -04:00
Mark Goodwin
f752a13d8e Bug 766569 - add l10n support to existing CSP errors and warnings. (r=bz) 2012-06-29 12:51:24 -07:00
Bonnie Surender
6dcaba353f Fixing bug 715041. Add support for Idle API. r=bent, jst 2012-06-29 01:32:21 -07:00
Blake Kaplan
99bfdd86fe Bug 769265 - Fix these calls. r=bent 2012-06-28 16:14:11 +02:00
Vivien Nicolas
23fcbde395 Bug 760102 - Authorize web applications to use fullscreen by default. r=cpearce 2012-06-28 20:54:37 +12:00
Ryan VanderMeulen
9910982f5d Merge m-c to inbound. 2012-06-27 20:15:13 -04:00
Olli Pettay
4d59e2edf0 Bug 730639 - Blast DOM owned subtrees during canSkip, r=mccr8 2012-06-28 01:09:15 +03:00
Daniel Holbert
dd5d8688a3 Bug 666041 patch 2: Add "-moz-flex" & "-moz-inline-flex" values for "display" property. r=bz 2012-06-26 15:11:38 -07:00
Bill McCloskey
99ad1c23c4 Bug 766717 - nsNodeInfoManager needs to be able to add itself to the purple buffer (r=smaug) 2012-06-26 13:35:29 -07:00
Mark Goodwin
4dd1208222 Bug 712859 - show CSP policy violation messages in the web developer console. r=bz 2012-06-26 13:34:41 -07:00
Jonathan Watt
9ac7bb2267 Bug 767388 - Kill NS_DEBUG. r=bz.
--HG--
extra : rebase_source : d045208a26345712dbb4628c973c616cd9504f28
2012-06-25 20:59:42 +01:00
Nathan Froyd
2d38eb66bb Bug 747509 - include mIdentifierMap's hash keys in about:memory statistics; r=njn 2012-06-18 12:39:29 -04:00
Ms2ger
d2336c4ef9 Merge m-c to m-i. 2012-06-23 10:03:22 +02:00
Ms2ger
be2608de87 Bug 767130 - Consolidate code duplicated between nsGenericElement.cpp and nsINode.cpp; r=bz 2012-06-23 08:58:04 +02:00
David Zbarsky
df2d9e3aea Bug 661746 - Part of part 2: Introduce a const AsElement(). r=bzbarsky 2012-06-23 08:57:57 +02:00
Ms2ger
d91f9e40f3 Bug 767130 - Create nsINode.cpp; r=mounir
--HG--
rename : content/base/src/nsGenericElement.cpp => content/base/src/nsINode.cpp
2012-06-23 08:57:01 +02:00
Chris Jones
32a72b6e00 Bug 761927: Fix focus for <iframe mozbrowser remote>. r=jlebar,Enn 2012-06-22 18:27:30 -07:00
Ed Morley
91815d3c91 Backout 714c402f3050, 80d09e39cd0d & 3a1129278710 (bug 764718) for frequent intermittent failures 2012-06-22 11:04:47 +01:00
Aryeh Gregor
cfa65efdf5 Followup to bug 764400 - Move IsHTML etc. back from nsINode to nsIContent; r=mounir 2012-06-22 10:41:56 +03:00
Boris Zbarsky
a188f8e851 Bug 766798. Throw SYNTAX_ERR, not NAMESPACE_ERR, from querySelector(All) on unknown namespaces. r=dbaron 2012-06-22 16:18:50 -04:00
Dão Gottwald
a8ee787c54 Bug 767462 - Allow controlling outside-click event consumption with an attribute. r=enndeakin
--HG--
extra : rebase_source : 0afac7d049f96568390e283cb90f2f1a79ad7c5a
2012-06-22 22:07:26 +02:00
Justin Lebar
f7781081e2 Bug 764718 - Part 1: Set the initial principal of in-process <iframe mozbrowser> correctly. r=bz 2012-06-21 21:17:52 -04:00
Justin Lebar
2bfa9751db Bug 765075 - Load BrowserElementChild.js before returning the result of window.open from <iframe mozbrowser> to the opener. r=smaug 2012-06-21 21:17:52 -04:00
Ed Morley
76aca6769f Backout fed89ccfe0c2, 5fb8d7a3852f & d220195a8b95 (bug 764718) for mochitest-2 failures 2012-06-21 18:18:40 +01:00
Justin Lebar
968f7d047e Bug 764718 - Part 1: Set the initial principal of in-process <iframe mozbrowser> correctly. r=bz 2012-06-21 11:58:49 -04:00
Kartikaya Gupta
8e1c5560cf Bug 755971 - Switch to using the padding rect size for scrollWidth and scrollHeight, and update tests to continue passing. r=bz, gavin 2012-06-21 09:36:57 -04:00
Kartikaya Gupta
af54e9aaa6 Bug 755971 - Add a nsGenericElement::GetPaddingRectSize to return the size of the padding rect. r=bz 2012-06-21 09:35:31 -04:00
Ed Morley
db2183d3d6 Merge mozilla-central to mozilla-inbound 2012-06-21 08:38:39 +01:00
Ms2ger
0e9e7876a6 Bug 765468 - Use a dictionary for the argument to the XMLHttpRequest constructor; r=bz 2012-06-21 09:21:55 +02:00
Philipp von Weitershausen
74ad92bc08 Bug 763814 - System XHR: Don't leak XMLHttpRequestParameters; r=Ms2ger 2012-06-21 09:21:16 +02:00
Robert O'Callahan
e34310d315 Bug 731293. Address review comments. r=mats
--HG--
extra : rebase_source : ea9186cd545311e82fc12dd4f1170c442e37e7f0
2012-06-21 09:03:54 +08:00
Chris Jones
dd7fb3f7e6 Bug 757137, part 4: Keep the chrome document on the event target chain when mozbrowser is in a chrome document. r=smaug 2012-06-20 12:25:23 -07:00
Chris Jones
9cff6d2611 Bug 757137, part 1: Force mozbrowser frames to be typeContent (whether or not any other mozbrowser features are enabled). r=bz 2012-06-20 12:25:22 -07:00
Justin Lebar
070a4d787f Bug 763593 - In nsImageLoadingContent, lock the current request while switching in a pending request. r=joe,bz 2012-06-20 13:43:06 -04:00
Bobby Holley
2942dab9a8 Bug 765168 - Remove js context parameter from XHR.send call chain. r=smaug 2012-06-20 12:18:39 +02:00
Bobby Holley
4e5a9a98f5 Bug 765168 - Remove the dependency of XHR::send on a cx parameter. r=smaug
Given the new bindings, I think this is dead code anyway modulo the pref.
2012-06-20 12:18:39 +02:00
Mike Hommey
e1f994d15f Merge last PGO green changeset from mozilla-inbound to mozilla-central 2012-06-20 10:53:31 +02:00
Robert Longson
be75994ded Backout most of Bug 467498 - crashtest failure on windows 2012-06-19 17:49:47 +01:00
Robert Longson
30fbb12128 Bug 467498 - Second level of use is not live to changes. r=dholbert
--HG--
rename : layout/reftests/svg/dynamic-use-nested-01.svg => layout/reftests/svg/dynamic-use-nested-01a.svg
rename : layout/reftests/svg/dynamic-use-nested-01.svg => layout/reftests/svg/dynamic-use-nested-01b.svg
2012-06-19 15:58:39 +01:00
Mike Hommey
f600664217 Bug 616262 - Avoid cycle collection participant global variables adding static initializers. r=smaug,r=mccr8,r=Waldo 2012-06-04 08:30:26 +02:00
Jignesh Kakadiya
2584092191 Bug 763861 - Assign a flag in nsINode to say whether the node is content; r=ehsan 2012-06-18 23:47:35 -04:00
Ehsan Akhgari
aef7f91aa1 Bug 758992 - Make the classes which use the XPCOM nsISupports implementation macros final, to avoid the warning about deleting using a pointer to a base class with virtual functions and no virtual dtor (content parts); r=bzbarsky
--HG--
extra : rebase_source : e25a064995914ca4f7b1db16b5725eb440d3e531
2012-06-18 22:30:09 -04:00
Aryeh Gregor
5e33b7294c Bug 765799 - Uninitialized variable use in nsRange::InsertNode; r=smaug 2012-06-19 16:17:37 +03:00
Aryeh Gregor
67f9002049 Bug 764400 - Move various nsIContent methods to nsINode; r=mounir 2012-06-14 09:47:03 +03:00
Ryan VanderMeulen
a9079cbdbe Merge m-c to inbound. 2012-06-17 08:25:16 -04:00
Aryeh Gregor
69be0adeef Followup bug 412257 - Fix now-incorrect test description; r=Ms2ger 2012-06-17 12:35:42 +03:00
Ms2ger
a94b52ec1f Bug 762003 - Remove nsDocument::NodeType / nsDocument::NodeName; r=jst 2012-06-17 10:11:16 +02:00
Boris Zbarsky
cd8eb435f9 Bug 764591. Handle removals of kids of document fragments being inserted under a separate scriptblocker, just like we do with the single-node insert case, so their XBL binding teardown happens before insert. r=smaug 2012-06-15 17:59:05 -04:00
Boris Zbarsky
e9f438db41 Bug 764104. Avoid collisions with C++ reserved words by using initial-caps for WebIDL enum values. r=peterv 2012-06-15 16:25:51 -04:00
Ed Morley
35dfac289e Merge mozilla-central to mozilla-inbound 2012-06-15 15:18:20 +01:00
Mike Hommey
2536fb188a Backout changeset a81526647059 and 560c492f81ad (bug 616262) because of Windows Moth perma-orange 2012-06-15 15:50:24 +02:00
Ed Morley
9ef4312c8c Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-06-15 13:32:55 +01:00
Bobby Holley
bb38fbaa32 Bug 764389 - Update compartment principals on inner window reuse and on document.write. r=bz 2012-06-15 08:31:27 +02:00
Nathan Froyd
630362934d Bug 752952 - account for nsIDocument's property tables in about:memory; r=njn,f=smaug 2012-06-15 00:10:08 -04:00
Ed Morley
6851f5438e Merge mozilla-central to mozilla-inbound 2012-06-15 14:04:37 +01:00
Aryeh Gregor
d27416ea02 Bug 412257 - Allow createComment("--"); r=bz 2012-06-15 15:13:14 +03:00
Aryeh Gregor
ff97767fe5 Bug 763869 part 4 - Use nsIContent* in nsContentIterator where possible; r=bz 2012-06-14 09:47:03 +03:00
Aryeh Gregor
e3b427f6f3 Bug 763869 part 3 - Make aIndexes param optional; r=bz 2012-06-14 09:47:03 +03:00
Aryeh Gregor
1f87c8de60 Bug 763869 part 2 - Clean up nsContentIterator.cpp; r=bz 2012-06-14 09:47:03 +03:00
Aryeh Gregor
6c78c4dd14 Bug 763869 part 1 - Remove useless NodeHasChildren helper function; r=bz 2012-06-14 09:47:03 +03:00
Mike Hommey
3acf5d646d Bug 616262 - Avoid cycle collection participant global variables adding static initializers. r=smaug,r=mccr8,r=Waldo 2012-06-04 08:30:26 +02:00
Olli Pettay
87b1256e32 Bug 734015 - Slow down parsing of web pages in background tabs, r=hsivonen 2012-06-14 21:00:05 +03:00
Robert Lickenbrock
dede1348c8 Bug 756367 - Reset animation of image requests when they become the current request instead of when they finish loading. r=bz 2012-06-13 21:12:37 -04:00
Ryan VanderMeulen
9eb2db5d07 Merge m-c to inbound. 2012-06-14 18:45:40 -04:00
Jim Mathies
d0b684c0ba Bug 764355 - Add a new edge swipe simple gesture and add a click count value to existing tap gestures for Win8. r=felipe 2012-06-14 12:40:12 -05:00
Aryeh Gregor
16302fd2e9 Bug 543645 - Clean up nsContentSubtreeIterator (fixing a hang while we're at it); r=bz 2012-06-12 11:45:09 +03:00
Peter Van der Beken
794b8397b5 Fix for bug 734503 (Add new DOM binding for TouchList). r=jst.
--HG--
extra : rebase_source : 332bf497cd68c9ea5c8a443c64c2884d4e18d2ea
2012-05-03 19:01:49 +02:00
Henri Sivonen
3800ba18ca Bug 750096. r=bzbarsky. 2012-06-14 09:14:47 +03:00
Ehsan Akhgari
a95b6edeea Bug 722872 - Part 1: Add nsITransferable::Init(nsILoadContext*), enforce that it's called in debug builds, and add nsIDOMDocument* arguments to nsIClipboardHelper methods; r=roc
This patch does the following:

* It adds nsITransferable::Init(nsILoadContext*).  The load context
  might be null, which means that the transferable is non-private, but
  if it's non-null, we extract the boolean value for the privacy mode
  and store it in the transferable.
* It adds checks in debug builds to make sure that Init is always
  called, in form of fatal assertions.
* It adds nsIDOMDocument* agruments to nsIClipboardHelper methods which
  represent the document that the string is coming from.
  nsIClipboardHelper implementation internally gets the nsILoadContext
  from that and passes it on to the transferable upon creation.  The
  reason that I did this was that nsIClipboardHelper is supposed to be a
  high-level helper, and in most of its call sites, we have easy access
  to a document object.
* It modifies all of the call sites of the above interfaces according to
  this change.
* It adds a GetLoadContext helper to nsIDocument to help with changing
  the call sites.
2012-04-16 22:14:01 -04:00
Aryeh Gregor
03a80fe6da Bug 766845 part 2 - Make CloneRange() return already_AddRefed<nsRange>; r=smaug 2012-06-25 14:44:11 +03:00
Kartikaya Gupta
ed7f268354 Bug 766937 - Add scrollLeftMax/scrollTopMax properties to DOM elements. r=roc 2012-06-26 22:30:14 -07:00
Justin Lebar
13518ec124 Bug 742944 - Part 4: Handle window.open in <iframe mozbrowser>. r=bz, cjones
--HG--
extra : rebase_source : 4c16c86c5be230af22eea89dfb5f893b7c6091dd
2012-06-12 18:01:25 -04:00
Sid Stamm
7ae666a35f bug 761655 - Support for multiple X-Frame-Options policies (multiple headers or comma in header value). r=jst 2012-06-11 09:17:35 -07:00
Boris Zbarsky
332924a065 Bug 736695 part 3. Tear down XBL bindings off a scriptrunner when unbinding nodes. r=smaug 2012-06-11 18:22:26 -04:00
Boris Zbarsky
8c315e097e Bug 736695 part 2. Use separate mutation observer batches and script blockers for the removal of newChild from its parent and the other mutations we do during an insert. r=smaug 2012-06-11 18:22:25 -04:00
Boris Zbarsky
6c3036f82a Bug 736695 part 1. Rearrange node insertion/replacement such that we remove the newChild from its parent before removing the refChild, if we need to remove refChild. r=smaug 2012-06-11 18:22:19 -04:00
Nathan Froyd
21b0f8399f Bug 674922 - report per-frame-type numbers in about:memory; r=njn,roc 2012-06-06 13:29:16 -04:00
Aryeh Gregor
c38d8e4218 Bug 763283 part 3 - Change nsINode::AsElement from NS_ASSERTION to MOZ_ASSERT; r=mounir 2012-06-11 18:07:49 +03:00
Aryeh Gregor
bd2dec6adf Bug 763283 part 1 - Add new nsINode::AsContent() and nsINode::IsContent() methods; r=mounir 2012-06-10 15:39:21 +03:00
Ed Morley
7d13aab294 Backout 61fd66629c4f, 7c8121f8d3af & 2a2e9cf8fd41 (bug 539356), e31a5e6545d3 (bug 761884), 85fa80bd9792, a284ccb25b83, 2865904db9fc, 34e07b09c426, e9b3d41e0360, cef00ebcd6c8, f943b729ac14 & 783f298401b6 (bug 539356), 330a086f1570 (bug 741682), d80219c8842c (bug 739671), e8c96b4fd4da, 313af486e68d, 0adc41ff56dc, 0cd288a38085, f1d43208825c, 4859876972f3, eec8ef3ebe48, f7f29fcd1845, 6079b229d306, f23c3a7e7ce0, 9824458a41e2 & 6748b5496059 (bug 539356) for mochitest-4 orange & talos regressions on multiple platforms 2012-06-11 10:08:32 +01:00
Matt Woodrow
5076b975a0 Bug 539356 - Part 9 - Implement DLBI. r=roc,bz,jwatt
* * *
Bug 539356 - Part 9a - Add new display list invalidation API to nsDisplayItem and implement it. r=roc
* * *
Bug 539356 - Part 9b - Add new frame invalidation API. r=roc
* * *
Bug 539356 - Part 9c - Remove old invalidation code. r=bz
* * *
Bug 539356 - Part 9d - Make SVG support the new invalidation model. r=jwatt
* * *
Bug 539356 - Part 9e - FrameLayerBuilder changes for display list invalidation. r=roc
* * *
Bug 539356 - Part 9f - Compute the invalid area of the layer tree and pass this to the widget. r=roc
* * *
Bug 539356 - Part 9g - Modify MozAfterPaint code to work with the new invalidation model. r=roc
2012-06-11 16:45:30 +12:00
Ryan VanderMeulen
846a6a41bf Merge m-c to inbound 2012-06-10 17:59:00 -04:00
Olli Pettay
94414ed431 Bug 761613 - Merge nsIPrivateDOMEvent to nsIDOMEvent, r=jst 2012-06-10 21:14:30 +03:00
David Zbarsky
a756414b41 Bug 0: fix bustage r=bustage 2012-06-09 15:45:01 -07:00
Jignesh Kakadiya
05c4596cae Bug 744157 - Return nsICSSDeclaration from Element::GetSMILOverrideStyle 2012-06-09 15:19:25 -07:00