Commit Graph

4753 Commits

Author SHA1 Message Date
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
Jignesh Kakadiya
2f9b3165ba Bug 751785 - Make Selection.toString() API use DOMString instead of wstring 2012-06-09 15:15:12 -07:00
Jignesh Kakadiya
1318639248 Bug 762182 - Remove unused variable 'rootElement' in nsScriptLoader.cpp. r=Ms2ger 2012-06-09 14:22:42 -04:00
Ryan VanderMeulen
caebb33c05 Merge m-c to inbound 2012-06-09 14:22:32 -04:00
Olli Pettay
4fb227aead Bug 756277 - XMLHttpRequest started from Cc['@mozilla.org/xmlextras/xmlhttprequest;1'] ends up bound to some random window, r=bz
--HG--
extra : rebase_source : 480dbf41846fee3362697cb0bf537281f35845e0
2012-06-08 23:45:13 +03:00
Nathan Froyd
f544123f1c Bug 747509 - include document ID and styled links tables in about:memory; r=njn 2012-06-07 20:31:00 -04:00
Ehsan Akhgari
541f19c90a Bug 762345 - Skip all the QIing stuff in the TreeMatchContext constructor if possible; r=bzbarsky 2012-06-07 15:19:56 -04:00
Robert O'Callahan
a5c6b246c7 Bug 731293. Walk frame tree to find the right element/node for elementFromPoint and nodesFromRect. r=mats 2012-06-09 00:31:23 +12:00
Mounir Lamouri
80843c1556 Bug 762434 - Allow any element to be labelable. r=bz 2012-06-07 20:41:23 +02:00
Brian Hackett
f156f0f759 Remove race condition from test for bug 518104, bug 761872. r=bz 2012-06-07 14:56:29 -07:00
Andrew McCreight
9152e14841 Bug 754478 - clean up cycle collector JS tracing callbacks. r=bent 2012-05-15 09:56:39 -07:00
Aryeh Gregor
8e7de01930 Bug 762862 - Rename nsTypedSelection to mozilla::Selection; r=ehsan
--HG--
rename : layout/generic/nsTypedSelection.h => layout/generic/Selection.h
2012-06-08 17:20:55 +03:00
Philipp von Weitershausen
9118053b0e Bug 692677 - Relax same-origin XHR restrictions for privileged applications. r=sicking
--HG--
extra : rebase_source : 9e8e8cf2e03b6f3d148503d92630ee898bf835bb
2012-06-07 11:28:33 -07:00
Alexander Surkov
00e61410f2 Bug 760774 - switch ARIA role map to atoms, r=tbsaunde, sr=neil 2012-06-08 01:23:33 +09:00
Aryeh Gregor
a9cd8feaa1 Bug 757771 part 4 - Create new nsContentUtils::GetSelectionInTextControl method; r=ehsan 2012-06-07 18:00:58 +03:00
Aryeh Gregor
f138398d88 Bug 757771 part 1 - Make NS_NewContentIterator and friends infallible; r=bz 2012-06-04 20:42:00 +03:00
Andrew Quartey
86768eb44d Bug 445516 - Support for auto-generated=true text attribute on list bullets, r=tbsaunde 2012-06-07 21:49:21 +09:00
Jason Orendorff
31a1022fa0 Bug 753542 - Add prefs to enable/disable E4X (javascript.options.xml.content and .chrome). r=bsmedberg, sr=jst. 2012-06-06 21:52:14 -05:00
Nathan Froyd
bd8ece9a84 Bug 760831 - split out per-node type stats in about:memory; r=njn, bz 2012-06-05 10:49:48 -04:00
Ed Morley
8e3f4a6794 Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-06-06 09:20:35 +01:00
Ms2ger
9959e5ffee Bug 761120 - Disallow inserting a text node as child of a document; r=bz 2012-06-06 09:42:06 +02:00
Ms2ger
33a16fe510 Bug 761020 - Add nsIDocument::GetDocumentType(); r=mounir 2012-06-06 09:41:20 +02:00
Ms2ger
f696a656cc Bug 760156 - Cleanup LOCAL_INCLUDES in content/media/; r=sicking
This patch makes it possible to include nsGenericHTMLElement.h without adding
to LOCAL_INCLUDES.
2012-06-06 09:40:02 +02:00
Ms2ger
201de433a3 Bug 758670 - Use stdint types instead of stdin ones in dom; r=mounir 2012-06-06 09:22:06 +02:00
Geoff Lankow
552f02f3f1 Merge m-c to m-i 2012-06-06 15:13:51 +12:00
Geoff Lankow
1214b72681 Bug 749930 - Replace uses of nsILocalFile with nsIFile (compiled code only); r=bsmedberg 2012-06-06 14:08:30 +12:00
Peter Van der Beken
03bfb0f33a Fix for bug 743666 (Add back deprecated XHR.onuploadprogress). r=bzbarsky 2012-06-04 21:29:56 -04:00
David Zbarsky
fd086e43bf Bug 591467 - Implement HTML5 Microdata API r=bz 2012-06-04 16:49:57 -07:00
Jason Duell
f8b592b73f Bug 695636 - Update close steps to adhere to WS spec. r=smaug 2012-06-04 16:38:32 -07:00
L. David Baron
6570cc2a66 Restore application of font size inflation to radios and checkboxes. (Bug 757937) r=roc 2012-06-04 16:26:30 -07:00
Ralph Giles
cdb2dd1a25 Bug 760795 - Remove MOZ_MEDIA protection on GkAtoms - r=bz
Remove the #ifdef MOZ_MEDIA conditionalization on media-
related nsGkAtoms. Saving the small amount of space
associated with these isn't worth the trouble of maintaining
the list.
2012-06-04 15:23:22 -07:00
David Keeler
78f210e744 Bug 749455 - Use mContentType for click-to-play plugins in nsObjectLoadingContent::OnStartRequest. r=josh 2012-04-27 17:01:07 -07:00
Mounir Lamouri
37f8a1732a Bug 761531 - Make mError part of FileIOObject's CC. r=smaug 2012-06-05 15:02:04 +02:00
Sid Stamm
94bb501bd7 Bug 634773 - fix CSPSourceList.equals so 'none' and * are not equal. r=jst 2012-05-23 16:35:37 -07:00
Nils Maier
8aaf80e805 Bug 760265: Add identifying information to frame script compartments. r=bz.
--HG--
extra : rebase_source : 5b7d05cbe7d8ebd9e3ce4fd2d7f4dc7084edfcb0
2012-06-03 22:38:15 -07:00
Jan Varga
f5f6531fb7 Bug 726593 - Implement FileHandle. r=bent 2012-06-03 18:33:52 +02:00
Mats Palmgren
65b7aa4ce6 Bug 759789 - Don't move on to the next test (or finishing) until we get all expected non-optional 'loadend' events. r=smaug 2012-06-01 20:52:37 +02:00
Mats Palmgren
33abde7902 Bug 759757 - Make sure SimpleTest.finish runs after the last test is finished. r=philor 2012-06-01 20:52:37 +02:00
Boris Zbarsky
1ead997ef4 Bug 748266. Switch the WebGL canvas context to new DOM bindings. r=peterv 2012-05-31 14:16:48 -04:00
Ed Morley
d522af1b80 Merge mozilla-central to mozilla-inbound 2012-06-01 16:58:27 +01:00
Ed Morley
c8248fce4b Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-06-01 15:27:36 +01:00
Olli Pettay
00a95f40b2 Bug 744830 - Implement fast serializer for innerHTML/outerHTML, p=jdm+smaug, r=hsivonen 2012-06-01 12:59:16 +03:00
Ed Morley
a0f902dbd7 Merge mozilla-central to mozilla-inbound 2012-06-01 01:12:32 +01:00
Mounir Lamouri
0fd51b287f Bug 760164 - Remove some useless message data passed to BrowserElement events. r=jlebar 2012-06-01 11:43:34 +02:00
Mats Palmgren
d3384a8022 Bug 759788 - Keep the plugin instance owner alive for the duration of DoStopPlugin so that everything gets cleaned up correctly, r=bsmedberg 2012-05-31 08:44:10 -04:00
Boris Zbarsky
19d2fed0a9 Backed out changeset f96e0f078b49 (bug 748266) because the test suite is bogus and we're failing a crashtest too. 2012-05-31 16:20:49 -04:00
Boris Zbarsky
1dbd12b802 Bug 748266. Switch the WebGL canvas context to new DOM bindings. r=peterv 2012-05-31 14:16:48 -04:00
Bobby Holley
8a078b54cb Bug 760070 - Make the __exposedProps__ warning appear as an error. r=bz 2012-05-31 16:28:09 +02:00
Jason Orendorff
d0e13c7d3f Bug 753885 - Part 2: Add JSOPTION_ALLOW_XML, making E4X support optional per-context. r=Waldo. 2012-05-30 15:05:59 -05:00
Jason Orendorff
a03f10d77d Bug 753885 - Part 1: Rename JSOPTION_XML to JSOPTION_MOAR_XML, and other cleanups. r=Waldo. 2012-05-30 15:05:58 -05:00
Gervase Markham
638c878b13 Bug 759095 - upgrade license to MPL 2, and other licensing cleanups.
--HG--
extra : rebase_source : da55a4937383eda2baf7c9a362501da8ee664146
2012-05-29 16:52:43 +01:00
Boris Zbarsky
4da2b3d7c1 Bug 743906 part 2. Use Optional<> for optional arguments that don't have default values. r=peterv 2012-05-29 23:45:18 -04:00
Robert O'Callahan
30d91531c8 Bug 757262. Try bailing out of plugin instantiation if we're in an inactive document. r=josh 2012-05-30 01:13:36 +12:00
Ed Morley
4f5e842e4d Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-05-28 14:13:56 +01:00
Olli Pettay
21a0239f65 Bug 758401 - Add a way to get message manager from docshell, r=jst 2012-05-28 12:27:25 +03:00
Alexander Surkov
7104229b2b Bug 757757 - Add dexpcomed version of GetAnonymousElementByAttribute, r=tbsaunde, bz 2012-05-28 13:52:53 +09:00
Kyle Huey
22022a0f39 Merge m-c to b-s. 2012-05-26 14:22:26 -07:00
Mats Palmgren
24ade09d2a Bug 719117 - Use down-cast instead of separate member with correct type. r=roc 2012-05-26 02:43:44 +02:00
Mats Palmgren
c941bd0537 Bug 719117 - Fix bug 724781 by preventing reentry to DoStopPlugin with a flag. part 2/2, r=bsmedberg 2012-05-26 00:34:11 +02:00
Mats Palmgren
51d26059a3 Bug 719117 - Backout bug 724781. part 1/2, r=bsmedberg 2012-05-26 00:34:11 +02:00
Kyle Huey
8aee605205 Bug 757284: Restore Blob.mozSlice, with a deprecation warning. r=sicking 2012-05-25 11:44:38 -07:00
Ms2ger
2d6f04146c Merge m-c to m-i. 2012-05-25 11:15:32 +02:00
Ms2ger
52d75b2704 Bug 756896 - Don't include xpcprivate.h in FileIOObject.cpp; r=khuey 2012-05-25 09:18:31 +02:00
Boris Zbarsky
8f33a1bf10 Bug 749864. Codegen for typed array and arraybuffer arguments. r=peterv 2012-05-25 01:07:03 -04:00
Bobby Holley
0639533b11 Bug 758563 - Warn when __exposedProps__ is missing. r=bz 2012-05-25 18:42:40 +02:00
Ed Morley
cd9f362b03 Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-05-24 15:48:20 +01:00
Olli Pettay
d92eb17245 Bug 757700, make sure attr modification type is set, r=sicking
--HG--
extra : rebase_source : ed2b2cc803cbd494b33a4e343efee9bd76f7e54a
2012-05-24 13:31:35 +03:00
Alexander Surkov
05d6b0b663 Bug 757670 - make nsIPresShell::GetLinkLocation faster, r=bz, tbsaunde 2012-05-24 15:57:16 +09:00
Ryan VanderMeulen
88e2886376 Backout 8cf563a575fd (bug 734015) due to random Moth orange. 2012-05-23 19:27:40 -04:00
Olli Pettay
aae9ef2d6f Bug 734015 - Try to slow down parsing of web pages in background tabs, r=hsivonen 2012-05-23 15:55:13 +03:00
Olli Pettay
3a99713780 Bug 749920 - Unprefix MozMutationObserver and add a warning about use of mutation events, r=sicking 2012-05-23 13:45:14 +03:00
Doug Turner
f4e1e809f4 Bug 717103 - Implement Device Storage. r=sicking 2012-05-21 09:18:30 -07:00
Alexander Surkov
1ea076a4d7 Bug 756383 - make nsHTMLAnchorElement::IsHTMLFocusable faster, r=bz 2012-05-23 12:03:32 +09:00
Jignesh Kakadiya
52cc718b84 Bug 756576 - nsDOMAttributeMap::Init should be removed. r=bsmedberg 2012-05-22 20:21:45 -04:00
Jonathan Hage
3257e722c0 Bug 673759 - Remove namedspace value overriding, part 2. r=karlt 2012-05-22 20:21:44 -04:00
Peter Van der Beken
5e88453bf6 Fix for bug 741263 (Paris bindings constructors shouldn't abuse reserved identifiers). r=bz.
--HG--
extra : rebase_source : cec6a0ffc58f3d7d262dc9658d52aac424ec715a
2012-04-26 22:57:33 +02:00
Chris Pearce
4a0dcd015a Bug 757296 - Replace windows line endings with unix line endings in nsDocument.cpp. r=line-endings 2012-05-22 12:38:34 +12:00
Doug Turner
d66dfa7486 Bug 673586 - Implement lastModifiedDate property for the File interface. Type followup r=mounir 2012-05-21 15:26:54 -07:00
Doug Turner
52a3ef54a0 Bug 673586 - Implement lastModifiedDate property for the File interface. r=mounir 2012-05-21 15:11:56 -07:00
julian.reschke@gmx.de
a492595d68 Bug 663057 - support RFC2231/5987 encoding for title parameter in HTTP link header fields. r=hsivonen 2012-05-21 06:31:00 -07:00
Chris Pearce
643d598f69 Bug 756992 - Only show fullscreen warning/UI when crossing domain boundaries or when document isn't approved. r=smaug 2012-05-22 08:43:36 +12:00
Chris Pearce
a462b79857 Bug 753546 part 3 - Record fullscreen approval in nsDocument flag. r=smaug 2012-05-22 08:43:36 +12:00
Chris Pearce
3587615bcf Bug 753546 Part 1 - Make nsDocument listen for 'fullscreen-approved' notification rather than 'perm-changed' to signal fullscreen approved. r=smaug 2012-05-22 08:43:36 +12:00
Ed Morley
7bdae23f76 Backout 027ed1748c81 (bug 740485) for M3 orange 2012-05-21 19:36:43 +01:00
Doug Turner
23116ffc7c Bug 740485 - Implement Device Storage. r=sicking 2012-05-21 09:18:30 -07:00
Gervase Markham
87620f5676 Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Shawn Landden
9090ce4940 Bug 747257 - Part 1: Load .mp4 files in a document wrapper. r=rillian
When compiled with --enable-gstreamer, use a document loader for video/mp4,
and associate that type with the decoder in nsHTMLMediaElement.

Bug 422540 fix lets gstreamer render h.264 videos from within webpages with
<video>, however to view these files when loaded directly we need to recognize
their Content-Type.
2012-05-17 17:19:21 -07:00
Kyle Machulis
d33a38a819 Bug 742044 - Create BluetoothManager object for managing multiple adapters and firmware loading; r=bent 2012-05-23 21:02:23 -07:00
Kyle Machulis
9d208f726a Backing out Bug 742044 - Bustage on B2G 2012-05-23 18:27:53 -07:00
Kyle Machulis
c4a1fa5a03 Bug 742044 - Create BluetoothManager object for managing multiple adapters and firmware loading; r=bent 2012-05-23 18:21:05 -07:00
Kyle Machulis
1f76f17d72 Backing out Bug 742044 - contained extra patches for another bug 2012-05-23 18:18:24 -07:00
Kyle Machulis
a3821f7a1b Bug 742044 - Create BluetoothManager object for managing multiple adapters and firmware loading; r=bent 2012-05-23 18:06:36 -07:00
Ryan VanderMeulen
ad5057d319 Merge m-c to inbound 2012-05-23 19:35:05 -04:00
Neil Deakin
994d3d4070 Bug 757485, remove nsIXBLService and use nsXBLService directly, r=bz 2012-05-23 14:46:04 -04:00
Sid Stamm
643bfbcc0b Bug 612391 - Convert CSP violation reporting from XHR to nsIUploadChannel. r=jonas 2012-05-23 16:00:42 -07:00
Ehsan Akhgari
529306539d Bug 688438 - Fix the IME code to handle text controls correctly when checking for IME status; r=bzbarsky 2012-05-24 17:49:44 -04:00
Benjamin Smedberg
2187798a40 Bug 734847 part 2 - treewide changes resulting from the default-infallibility of hashtables; either remove useless result checks, or use the fallible version of APIs, depending on context, r=jlebar
--HG--
extra : rebase_source : 844b008c5167e6ca39a7ba9eeec8b30672938704
2012-05-18 13:30:49 -04:00
Benjamin Smedberg
d66580991f Bug 755323 - Uploading large files with DOM File or FileReader will abort the browser from string OOM part 1 (ignoring the data: URI case for now), r=bz
--HG--
extra : rebase_source : 1f8dc688f869f307c5f33ea844ca98020380343e
2012-05-18 12:42:01 -04:00
Henri Sivonen
e7f0fbb03a Bug 753278 - Make document.open() after aborting the parser a no-op. r=smaug. 2012-05-18 15:06:28 +03:00
Ms2ger
faa0b8ae7d Merge m-c to m-i. 2012-05-18 13:32:20 +02:00
Robert Longson
b2c0e30df6 Bug 528332 - Implement non-scaling-stroke vector-effect. Part 2 - SVG changes r=dholbert 2012-05-18 09:34:25 +01:00
Ms2ger
896f9b9ace Bug 756073 - Remove xpcprivate.h include from nsGenericElement.cpp; r=bholley 2012-05-18 10:29:40 +02:00
Ms2ger
3b577015ad Bug 755200 - Simplify SetSelectionAroundHeadChildren; r=ehsan 2012-05-18 10:29:39 +02:00
Ms2ger
79e49f2965 Bug 750053 - Part a: Add nsISelection::Collapsed(); r=smaug 2012-05-18 10:29:39 +02:00
Ms2ger
495c4878c8 Bug 361460 - nsDocumentFragment::QI should not fall through to nsGenericElement::QI; r=sicking 2012-05-18 10:29:38 +02:00
Masatoshi Kimura
f61723f6fb Bug 752402 - Support ArrayBufferView as a member of blobParts parameter. r=sicking 2012-05-17 17:53:44 -04:00
Jason Duell
87a4ee092b Bug 748580 - websockets: omit close code when none passed to close(). r=mcmanus 2012-05-17 10:56:56 -07:00
Robert Longson
a067109b15 Bug 512525 - Implement SVG Fragment Identifier parsing and animation hyperlinking - Part 2 main implementation. r=jwatt 2012-05-17 11:02:41 +01:00
Jason Duell
9037c34d93 Bug 753179 - Websockets: never send 1005 close code on the network. r=smaug 2012-05-16 17:09:42 -07:00
Jason Duell
a4a8ae0b9a Backed out changeset c567e28272d5: wrong bug # 2012-05-16 17:06:43 -07:00
Jason Duell
9e2b38b887 Bug 748580: Do not reply to server close with 1005/1006/1015 as close code. r=smaug 2012-05-16 17:05:06 -07:00
Doug Turner
8313ba6d13 Bug 751663 - Implement new device proximity like event that fires only when the screen is close to the user's face. r=smaug 2012-05-16 13:27:54 -07:00
Brian R. Bondy
5a6ca4a3a1 Bug 137450 - Fixed bug with end context not being included in HTML Format. r=bz 2012-05-16 12:39:54 -04:00
lwz
32d78b6bbb Bug 137450 - Problem copying and pasting a table from a web page to excel. r=bz 2012-05-16 12:39:54 -04:00
Justin Lebar
30fbdf20b2 Bug 755320 - Make <iframe remote=true> work (the remote part should be ignored; it's just a normal iframe). r=smaug 2012-05-16 01:28:57 -04:00
Justin Lebar
505d34a3ac Bug 755001 - Allow <iframe mozbrowser> to be explicitly in- or out-of-process. r=smaug 2012-05-16 01:28:56 -04:00
Ed Morley
09132a48b2 Backout f177646e2aa2 (bug 755320), 1bae327de007 (bug 755001) for test_browserFrame7.html M3 failures 2012-05-15 18:38:50 +01:00
Benoit Jacob
6598b33e08 Bug 732875 - 8/8 - move CheckedInt to MFBT, enable unit tests in mfbt/tests - r=jwalden
--HG--
rename : xpcom/ds/CheckedInt.h => mfbt/CheckedInt.h
2012-05-14 15:50:20 -04:00
Justin Lebar
b9c6be98de Bug 755320 - Make <iframe remote=true> work (the remote part should be ignored; it's just a normal iframe). r=smaug 2012-05-15 12:36:43 -04:00
Justin Lebar
0a35198be0 Bug 755001 - Allow <iframe mozbrowser> to be explicitly in- or out-of-process. r=smaug 2012-05-15 12:36:33 -04:00
Ehsan Akhgari
46b9cd51f7 Merge mozilla-central into mozilla-inbound 2012-05-24 14:52:27 -04:00
Josh Matthews
c78ac89a1d Bug 722845 - Part 5: Disable offline cache entries for private channels. r=mayhemer 2012-05-24 16:31:54 +01:00
Alexandre Poirot
b4a491a91f Bug 682305 - nsXMLHttpRequest::Send fails with mChannel being implemented in JS. r=sicking 2012-05-10 19:58:48 +01:00
Blake Kaplan
557af2f0e7 Backed out changeset ad106d37ee43. The bug number in the changeset was wrong. 2012-05-15 12:03:01 +02:00
Alexandre Poirot
f2ad750bab Bug 736046 - nsXMLHttpRequest::Send fails with mChannel being implemented in JS r=sicking
--HG--
extra : rebase_source : 447999d425cb6a405c287fecdcfc7810676ea3b9
2012-05-10 19:58:48 +01:00
Robert O'Callahan
2bbcb226e2 Bug 754556. Ensure that setting scroll positions in CSS pixels doesn't unexpectedly move the scroll position, especially not in the wrong direction. r=matspal
If the current scroll position is fractional, e.g. y=N.4 CSS pixels, and something tries to read the
position in CSS pixels and scroll to that position (e.g. calling window.scrollTo(0, rootElem.scrollTop),
or equivalently window.scrollBy(0, 0)), it can actually end up scrolling backwards. So create a new
method nsIScrollableFrame::ScrollToCSSPixels which ensures that scrolling to a CSS pixel offset tries to
preserve the current fractional scroll position if that's possible, and if that's not possible at least does
not allow the scroll position to move in the wrong direction.
2012-05-15 17:58:09 +12:00
Ryan VanderMeulen
21d08d0adc Backout 449229be3db1 (bug 749455) to fix reftest failures. r=TrySchmy 2012-05-14 20:32:00 -04:00
David Keeler
f01f5458db Bug 749455 - Use mContentType for click-to-play plugins in nsObjectLoadingContent::OnStartRequest. r=josh 2012-04-27 17:01:07 -07:00
Ed Morley
d38b916352 Backout 345ae68f15f4, b3b40121ac8d, 0d18b7a246d7, 9dbb6064ab58, dee9d7fa8eb6, 63eec6bfa948, 323c6be7cfe8 & f4aac7523a48 (bug 732875) for compilation failures 2012-05-14 21:05:24 +01:00
Benoit Jacob
43d4449b09 Bug 732875 - 8/8 - move CheckedInt to MFBT, enable unit tests in mfbt/tests - r=jwalden
--HG--
rename : xpcom/ds/CheckedInt.h => mfbt/CheckedInt.h
2012-05-14 15:50:20 -04:00
Matt Brubeck
d9a57e0763 Bug 754759 [leave open] - Mark 752226-1.html or 752226-2.html as asserting randomly [r=Ms2ger] 2012-05-14 08:30:20 -07:00
Andrew McCreight
4915a0b128 Bug 754151 - add macros for basic wrappercached cycle collected classes. r=smaug 2012-05-14 08:24:03 -07:00
Matt Brubeck
e67f46f75f Merge mozilla-central and mozilla-inbound 2012-05-13 08:27:03 -07:00
Ms2ger
e25ca3b08c Bug 752226 - Tests. r=evilpie 2012-05-11 17:46:54 +02:00
Tom Schuster
889e3a0487 Bug 752226 - Remove any use of JSVAL_IS_OBJECT. r=luke,Ms2ger 2012-05-11 17:46:26 +02:00
Mihai Sucan
0b9ab83152 Bug 673148 - (async-webconsole) Fix nsFrameMessageManager crasher; r=smaug 2012-05-04 19:45:03 +03:00
Olli Pettay
84d5ebb475 Bug 754089 - remote mozbrowser's messagemanager shouldn't have parent, r=jlebar 2012-05-11 10:47:40 +03:00
Joe Drew
f71f46752d Merge last PGO-clean cset from inbound to central. 2012-05-10 21:25:37 -04:00
Mounir Lamouri
18041509b8 Bug 753978 - Be able to know if a window is part of an application. r=jlebar 2012-05-10 17:56:21 -07:00
Benjamin Smedberg
d1c11dffe5 Bug 737164 part C - switch various in-tree callers which are using fallible strings to keep using them
--HG--
extra : rebase_source : f5b42ba1f5745b256ba4e4ca67c883696904f9c1
2012-05-08 13:55:24 -04:00
Ed Morley
4c4c3cfd18 Backout 9b0fcaacb788 & bf3fef257e68 (bug 752226) for mochitest-other orange 2012-05-11 18:25:52 +01:00
Ms2ger
c1fa3cfc6e Bug 752226 - Tests. r=evilpie
--HG--
extra : rebase_source : 7a0d155ab7d7898ca4c96b86ae6f706172c7c71f
2012-05-11 17:46:54 +02:00
Tom Schuster
6e0861373a Bug 752226 - Remove any use of JSVAL_IS_OBJECT. r=luke,Ms2ger
--HG--
extra : rebase_source : edf2077f8b8bad1970eab6ebe9996e761d4e596c
2012-05-11 17:46:26 +02:00
Oleg Romashin
01f49c7c7b Bug 681192. Part 5: Make various DOM scroll APIs --- scrollTop, scrollLeft, window.scrollTo, scrollBox.scrollTo, scrollBox.scrollToLine, scrollBox.scrollBy --- use an appropriate allowed scroll destination range. r=roc,r=matspal
--HG--
extra : rebase_source : 83ee44530c67229686ec0dce3628da83e0e93438
2012-02-07 12:24:15 -08:00
Ehren Metcalfe
db8f0e31ca Bug 751035 - Remove various unused nsHTML*Element related methods. r=jst 2012-05-09 18:55:56 -04:00
Ehsan Akhgari
2be6b796b2 Bug 612128 - Prevent the editor from modifying nodes which are not under an editing host; r=roc,bzbarsky
This patch ensures that the NODE_IS_EDITABLE flag is only set on nodes living
under an editing host.  Things like text controls which used to have that flag
previously will not have it any more.  The flag would be set on their anonymous
div node instead.  Note that if text controls actually fall under an editing
host, they will get the NODE_IS_EDITABLE flag.

This patch also makes nsHTMLEditor::IsEditable return sane results (text nodes
are always considered to be editable).
2010-11-16 15:45:49 -05:00
Nathan Froyd
b55f7f45cf Bug 747508 - Count PresContexts in about:memory; r=njn 2012-05-07 16:09:11 -04:00
Mark Capella
cce7855327 Bug 749367 - script type=texttemplate content parsed as JavaScript (+E4X), r=jst, f=ms2ger, mbrubeck, jdm 2012-05-09 07:24:24 -07:00
Chris Pearce
eed556a49b Bug 746885 part 1 - Make pointer lock requests wait until fullscreen is approved before being granted. r=smaug 2012-05-09 09:47:20 +12:00
Chris Pearce
69fad75f3b Bug 716107 part 4 - Dispatch MozEnteredDomFullscreen to document which requests fullscreen. r=smaug 2012-05-09 09:47:19 +12:00
Chris Pearce
cad06a23d5 Bug 716107 part 3 - Don't dispatch 'MozShowFullScreenWarning' event upon keypress in DOM fullscreen mode. r=smaug 2012-05-09 09:47:18 +12:00
Chris Pearce
43c670b220 Bug 716107 part 2 - Remove full-screen-api.key-input-restricted keys pref. r=smaug 2012-05-09 09:47:18 +12:00
Justin Lebar
cdc2cdd948 Bug 749018 - Make OOP <iframe mozbrowser> pass current browser frame tests. r=smaug,cjones
--HG--
extra : rebase_source : f15018bf2c9427a0d6e8d44da348d8d7d1693219
2012-05-08 09:20:35 -07:00
Aryeh Gregor
3c77c5664c Bug 700538 part 2 - Make methods that return editing hosts return dom::Element* instead of nsIContent*; r=ehsan 2012-05-06 10:53:11 +03:00
Jared Wein
c9e5477a25 Bug 748701 - Followup: typo fix, forgot to set rv. r=me 2012-05-07 14:15:22 -07:00
Simon Montagu
6f401a70e8 Test for word-break in 16-bit text as well as 8-bit. Bug 249159 r=jfkthame 2012-05-07 12:18:23 -07:00
Makoto Kato
3ffb4bf799 Bug 249159 - Part 1 Add word-break interface to nsILineBreaker. r=smontagu 2012-05-07 12:18:23 -07:00
Boris Zbarsky
fa88b9861d Bug 749485. Switch new DOM bindings to using a struct for keeping track of failures for fallible methods. r=peterv,bent
ErrorResult is in a separate header file so it can be included from all over the
place without having to pull in mozilla/dom/Utils.h and all the xpconnect gunk
that needs.
2012-05-05 21:15:11 -04:00
Phil Ringnalda
d3adeb4433 Back out 1907bf7e6d7c (bug 749485) for build bustage 2012-05-05 20:33:59 -07:00
Boris Zbarsky
cc67ef4fb6 Bug 749485. Switch new DOM bindings to using a struct for keeping track of failures for fallible methods. r=peterv,bent
ErrorResult is in a separate header file so it can be included from all over the
place without having to pull in mozilla/dom/Utils.h and all the xpconnect gunk
that needs.
2012-05-05 21:15:11 -04:00
Ms2ger
9f3641f0f6 Bug 751323 - Cleanup nsHTMLEditRules::RemoveEmptyNodes(); r=ehsan 2012-05-05 11:00:06 +02:00
Ms2ger
9a5ae693e0 Bug 741245 - Remove nsresult return value from nsXPConnect::GetSafeJSContext(); r=bholley 2012-05-05 11:00:05 +02:00
Olli Pettay
585c02c8bd Bug 561664 - document.activeElement should never return native anonymous content, r=enndeakin 2012-05-04 17:41:49 +03:00
Doug Turner
9eaa2d7486 Bug 738465 - implement device light sensor. r=smaug 2012-05-02 09:43:45 -07:00
Doug Turner
f158836867 Bug 738131 - implement device proximity. r=smaug
* * *
Bug 738131 - implement device proximity. gonk implementation. r=mwu
2012-05-02 09:43:45 -07:00
Daniel Holbert
7b162634e7 Bug 750370: Fix incorrect bounds-check for unsigned value nsRadioGroupStruct::mRequiredRadioCount. r=mounir 2012-05-03 18:54:39 -07:00
Andrew McCreight
e9753b7090 Bug 744103, part 3 - Change NoteRoot to NoteJSRoot and NoteNativeRoot. r=smaug 2012-05-03 12:28:11 -07:00
Andrew McCreight
38b851ba07 Bug 744103, part 2 - Change NoteScriptChild to NoteJSChild. r=smaug 2012-05-03 12:28:10 -07:00
Ed Morley
2d35fc9b56 Merge mozilla-central to mozilla-inbound 2012-05-03 20:13:41 +01:00
Jared Wein
55d0a6cf81 Bug 748701 - Crash in nsObjectLoadingContent::IsPluginEnabledForType. r=joshmoz 2012-05-03 12:31:29 -04:00
Olli Pettay
23e1d57c14 Bug 751561 - Call forgetSkippable at least twice before CC, r=mccr8
--HG--
extra : rebase_source : 7434eb9be0bbdfd7fe44e1aeced9698d6c0627e1
2012-05-03 19:17:01 +03:00
Bobby Holley
b7e05a0784 Bug 750859 - remove unused (or seldom-used) PrivilegeManager functions. r=bz 2012-05-02 23:57:34 +02:00
Masatoshi Kimura
c0d9bc2d8d Bug 750023 - Add a null check in nsXMLHttpRequest::CreatePartialBlob. r=smaug 2012-04-30 15:49:15 -07:00
Andrew McCreight
c7b15dad64 Bug 737075 - unmark gray strongly held observers implemented in JS. r=bsmedberg, smaug 2012-04-30 12:01:11 -07:00
Robert O'Callahan
1fe7590d18 Bug 664918. Part 0: Refactor nsMediaCache's handling of principals into a helper method in nsContentUtils. r=bzbarsky 2012-04-30 15:11:00 +12:00
Ryan VanderMeulen
b7a26726b2 Merge m-c to m-i 2012-04-29 16:35:05 -04:00
Ed Morley
0183a7123f Merge mozilla-central to mozilla-inbound 2012-04-27 17:57:52 +01:00
Aryeh Gregor
5ac3b1b2c3 Bug 748725 - nsINode::GetParentElement() should return dom::Element*; r=smaug 2012-04-27 16:21:12 +03:00
Ed Morley
fb66bff90a Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-04-27 12:52:26 +01:00
Olli Pettay
8ddef242ff Backout Bug 747675 to see if it has caused startup crashes 2012-04-27 13:37:55 +03:00
Phil Ringnalda
fe946c3539 Merge m-c to m-i 2012-04-26 21:40:59 -07:00
Olli Pettay
5bb9c161f6 Bug 747675, try to decrease max forgetSkippable times, r=mccr8 2012-04-25 16:43:18 +03:00
Ed Morley
eb2b16513c Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-04-26 13:46:02 +01:00
Kyle Huey
e87571c44e Merge m-i to m-c. 2012-04-25 20:22:53 -07:00
Justin Lebar
736f94b4ef Bug 714861 - Run <iframe mozbrowser> in a separate process (disabled by default). r=cjones,bz,tn,smaug 2012-04-25 12:35:58 -04:00
Ed Morley
2666b058b1 Backout 949cb1977ef9 (bug 714861) for build bustage 2012-04-25 16:51:31 +01:00
Justin Lebar
e59845cd83 Bug 714861 - Run <iframe mozbrowser> in a separate process (disabled by default). r=cjones,bz,tn,smaug 2012-04-25 11:29:28 -04:00
Olli Pettay
083b3ec440 Bug 740063 - Add nsINode::AsDOMNode(), r=jst
--HG--
extra : rebase_source : a838243c11e212ec419df1dd1a219e955c4edc2d
2012-04-25 16:47:30 +03:00
Olli Pettay
035e6ba78f Bug 747675, try to decrease max forgetSkippable times, r=mccr8
--HG--
extra : rebase_source : 1378eaedd2c24ec8ccb37506d71858087925bf10
2012-04-25 16:43:18 +03:00
Aryeh Gregor
874f428261 Bug 702948 - Make Range.detach() a no-op; r=smaug 2012-04-25 15:03:48 +03:00
Masayuki Nakano
e089b336f8 Bug 630811 part.2 Replace nsInputEvent::isShift, nsInputEvent::isControl, nsInputEvent::isAlt and nsInputEvent::isMeta r=smaug 2012-04-25 12:00:02 +09:00
Ehsan Akhgari
c7d143b9fa Merge mozilla-central into mozilla-inbound 2012-04-24 21:29:44 -04:00
Aryeh Gregor
d9fb0a3314 Bug 480647 part 2 - Move ParseLegacyFontSize to nsContentUtils so editor/ can use it; r=bz 2012-04-24 13:57:23 +03:00
Ed Morley
352ceec39d Merge from mozilla-central 2012-04-24 11:46:16 +01:00
Aryeh Gregor
c7d23199c4 Bug 599983 part 2 - Don't emit or process _moz_dirty more than necessary; r=ehsan,bz 2012-04-24 09:06:11 +03:00
Serge Gautherie
0de2062243 Bug 744663. (Cv1) Use 'test' pre instead of redundant 'log' pre, Improve on-screen logging. r=smaug.
(a=test-only)
2012-04-24 03:02:33 +02:00
Serge Gautherie
d5db47c735 Bug 744663. (Bv1) Inline finishWSTest(), Use executeSoon() between sub-tests, Improve message contents, Receive "end" messages too, Add an additional forcegc(), Nits. r=smaug.
(a=test-only)
2012-04-24 03:01:35 +02:00
Serge Gautherie
57059c57c4 Bug 744663. (Av1) Improve documentation and logs, Nits. r=smaug.
(a=test-only)
2012-04-24 03:00:43 +02:00
Ehsan Akhgari
fec480dc6c Merge mozilla-central into birch 2012-04-22 16:10:35 -04:00
Ehsan Akhgari
f46cd86f86 Bug 747516 - Admit mozilla::dom::Link into a weight loss program; r=bz 2012-04-20 17:48:54 -04:00
Phil Ringnalda
017e6a2601 Back out dd82458147fd (bug 714861) for mochitest-3 failures and Linux mochitest-chrome leaks 2012-04-19 20:06:34 -07:00
Justin Lebar
ceda947d1e Bug 714861 - Run <iframe mozbrowser> in a separate process (disabled by default). r=cjones,bz,tn,smaug 2012-04-20 09:54:43 +10:00
Nicholas Nethercote
76a872e30a Bug 747803 - Remove NS_SIZE_IN_HEAP. r=bz. 2012-04-19 14:15:23 +10:00
David Keeler
42c3843cfa Bug 743429 - channelType can also be binary/octet-stream in nsObjectLoadingContent::OnStartRequest. r=joshmoz 2012-04-11 15:38:43 -07:00
Ehsan Akhgari
54b7d07b21 Merge mozilla-central and mozilla-inbound; a=me 2012-04-18 16:26:35 -04:00
Jared Wein
f13f9d18eb Bug 711618 - Platform changes for click-to-play permissions. r=josh a=blassey 2012-04-18 11:40:55 -07:00