Граф коммитов

21682 Коммитов

Автор SHA1 Сообщение Дата
Ehsan Akhgari b1994ec7bb Bug 722981 - Flush the media cache when the last private browsing window is closed; r=roc 2012-04-16 23:16:47 -04:00
Ed Morley 0d5915835c Merge last PGO-green changeset of mozilla-inbound to mozilla-central a=merge 2012-04-17 17:47:09 -07:00
Olli Pettay 639bc8865b Bug 743178, CORS may keep XHR alive too long, r=bz, a=tracking-firefox14+ 2012-04-17 23:55:40 +03:00
Daniel Holbert 12b7bbd274 Bug 744464: Fix incorrect bounds-check of unsigned value in nsPlainTextSerializer::AppendElementEnd. r=smaug 2012-04-17 09:55:50 -07:00
Marco Bonardo e2d27a92bb Merge last green PGO from inbound to central 2012-04-17 15:31:58 +02:00
Henri Sivonen f809f0bb17 Bug 744366 - Assert about old readyState before readyState transitions. r=bzbarsky. 2012-04-17 09:41:49 +03:00
David Humphrey (:humph) 4d13548380 Bug 745266 - Operator precedence is wrong in nsEventStateManager::PreHandleEvent. r=smaug 2012-04-16 14:29:14 -07:00
Daniel Holbert 2c7e6d7bd5 Backout f59dff115daa because it landed with the wrong bug number 2012-04-17 09:53:47 -07:00
Aryeh Gregor 3bdac8e24b Bug 205485 - execCommand("backcolor") should work the same as execCommand("hilitecolor"); r=ehsan 2012-04-17 18:37:40 +03:00
Aryeh Gregor a6656684c1 Bug 702948 - Add telemetry to count how many ranges are detached; r=smaug 2012-04-17 17:36:22 +03:00
Benoit Jacob b3b05df356 Bug 732233 - Explicitly enforce spec in uniform setters - r=jgilbert 2012-04-16 15:56:12 -04:00
Marco Bonardo f4ba575127 Merge central and inbound 2012-04-17 15:33:51 +02:00
Tanvi Vyas 68b566d19a bug 570505 - fix csp to avoid creating strings from URIs and un-hose test_bug558431. r=dveditz 2012-04-17 06:16:05 -07:00
Jeff Muizelaar bb3c40904f Bug 745818. Fix crashtest bustage. a=bustage
Disable the test added in 3b31c3121e98 as it still crashes
in lots of places.

--HG--
extra : rebase_source : 31274e7ac05dae017615a18f1601c219b4f0b4a9
2012-04-23 17:55:56 -04:00
Jeff Muizelaar a99a32ae57 Bug 743499. Handle negative sizes in CG backend. r=bas, a=akeybl
I didn't realize Sizes could be negative when originally writing this code.
2012-04-23 17:09:57 -04:00
Jeff Muizelaar bd3abd3e05 Bug 745818. Ignore invalid cairo surfaces. r=bas, a=blassey
With bug 686453, we're not really supposed to get NULL surfaces
anymore. Instead we get Invalid ones that we should still ignore.

--HG--
extra : rebase_source : eee8213c897c01508815a810436d1e04e133f752
2012-04-23 17:03:36 -04:00
Nicholas Nethercote 43f329dbbd Bug 744311 (part 1) - Preliminary whitespace and code order changes. r=jlebar.
--HG--
extra : rebase_source : f700733d8aa1aed1ae1f9206b4ee9063f9a03341
2012-04-09 22:52:33 -07:00
Nicholas Nethercote 59ad4345e7 Bug 747803 - Remove NS_SIZE_IN_HEAP. r=bz. 2012-04-19 14:15:23 +10:00
David Keeler b78f828476 Bug 743429 - channelType can also be binary/octet-stream in nsObjectLoadingContent::OnStartRequest. r=joshmoz 2012-04-11 15:38:43 -07:00
Ehsan Akhgari 3b1c4ed726 Bug 748216 - Avoid dynamic allocation of nsHTMLTextAreaElement::mState; r=smaug 2012-04-24 00:19:26 -04:00
Robert Longson c8cc0fe2ef Bug 736031 - getBBox returns incorrect results with empty containers. r=jwatt 2012-04-16 09:23:48 +01:00
Matthew Gregan 2152e9f321 Bug 742154 - Work around media crashtest shutdown hang in cubeb_winmm. r=cpearce 2012-04-16 15:00:40 +12:00
Matthew Gregan 71f3aee6c9 Bug 723793 - Lazily initialize libcubeb on first use. r=roc 2012-04-16 15:00:12 +12:00
Josh Aas ba978dff01 Bug 745241: Clean up some plugin stream functions. r=bsmedberg 2012-04-15 17:34:01 -04:00
Benoit Jacob b7aa678078 Bug 734657 - Upgrade ANGLE to r1042 - no review
The upstream is at:
  http://code.google.com/p/angleproject/

This update allows to pass all conformance tests on Windows with ANGLE renderer; also fixes 2 crashes (see dependent bugs).
2012-04-15 15:05:00 -04:00
Ms2ger 66a517cac0 Bug 743438 - Move some style rule functions from nsIContent to Element; r=mounir sr=bz 2012-04-14 15:09:19 +02:00
Ms2ger dfc44fcf97 Bug 742837 - Remove dead code and cleanup around nsDOMScriptObjectFactory; r=bz 2012-04-14 15:03:16 +02:00
Ms2ger 7da9360bae Bug 688415 - Outparamdel nsDocument::GetRadioGroup; r=volkmar 2012-04-14 14:57:06 +02:00
Alessandro Decina 7280dac94a Bug 422540 - GStreamer backend for audio/video decoding. r=cdouble, a=npotb 2012-04-18 18:33:13 -04:00
Ehsan Akhgari 5a344fa323 Merge mozilla-central and mozilla-inbound; a=me 2012-04-18 16:26:35 -04:00
Jonathan Kew 7279366fca bug 745699 - canvas2d rendering context needs to call gfxFontGroup::UpdateFontList() before MakeTextRun() to ensure user font generation is up to date. r=roc a=blassey 2012-04-18 20:56:19 +01:00
Jared Wein 523a51a655 Bug 711618 - Platform changes for click-to-play permissions. r=josh a=blassey 2012-04-18 11:40:55 -07:00
Mounir Lamouri ba3c780c1e Backout 23a0762a0dd6 because of bustage. a=backout 2012-04-18 19:02:54 +02:00
Mounir Lamouri 48940b859d Bug 647665 - Inform the UI that we do not hover a link anymore if the element is removed from the DOM. r=bz a=gavin
--HG--
extra : rebase_source : 107a0d9d6af593e668243d3ac3a1126c485ec910
2012-04-18 18:06:16 +02:00
Aryeh Gregor 17fb537275 Bug 738385 part 2 - queryCommand*() should not throw for commands that don't support them; r=ehsan 2012-04-06 10:42:54 +03:00
Aryeh Gregor 988c464a01 Bug 738385 part 1 - Refactor some editing logic in nsHTMLDocument.cpp; r=ehsan 2012-04-17 13:18:08 +03:00
Aryeh Gregor ad53b6dceb Bug 433662 part 2 - Make Range.insertNode insert the node into the range even when the range is collapsed 2012-04-01 08:02:21 -04:00
Aryeh Gregor df14059409 Bug 433662 part 1 - Clean up nsRange::InsertNode; r=smaug 2012-04-01 07:50:31 -04:00
David Keeler 7cae35a0d1 Bug 739575 - Prioritize click-to-play over alternate content in nsObjectLoadingContent::GetPluginSupport. r=josh 2012-04-26 16:25:21 -07:00
Daniel Holbert 69ed633fc7 Bug 749229: Remove unnecessary assertion about unsigned value being >=0, in nsEventSource::SetReconnectionTimeout. r=smaug 2012-04-26 09:42:28 -07:00
Masatoshi Kimura 473d12ee2a Bug 745498 - Add testcases for DOM4 exception types. r=sicking 2012-04-26 09:42:26 -07:00
Alice Lieutier 87c98a3c26 Bug 748243 - Move test_bug514437.html and test_bug588683-*.html to content/html/content/tests/forms/. r=mounir
--HG--
rename : content/html/content/test/test_bug588683-1.html => content/html/content/test/forms/test_form_attribute-1.html
rename : content/html/content/test/test_bug588683-2.html => content/html/content/test/forms/test_form_attribute-2.html
rename : content/html/content/test/test_bug588683-3.html => content/html/content/test/forms/test_form_attribute-3.html
rename : content/html/content/test/test_bug588683-4.html => content/html/content/test/forms/test_form_attribute-4.html
rename : content/html/content/test/test_bug514437.html => content/html/content/test/forms/test_progress_element.html
2012-04-26 11:39:57 +02:00
Jeff Muizelaar 0b43adf098 Bug 726352. Move SAMPLE_LABEL from nsEventListenerManager::HandleEventInternal r=smaug
This moves it to nsEventDispatcher::Dispatch which is not as hot.

--HG--
extra : rebase_source : 93005aaf4b341047d8512ebbda7de5d7e7433b1d
2012-04-16 14:43:06 -04:00
David Humphrey (:humph) c5f313f06d Bug 745255 - Operator precedence is wrong in nsEventStateManager::PreHandleEvent. r=smaug 2012-04-16 14:29:14 -07:00
Daniel Holbert 0d30757e43 Bug 745272: Replace comparison of unsigned value >=0 with a useful comparison. r=humph r=cpearce 2012-04-16 14:29:14 -07:00
David Anderson 94ccb204aa Remove simple JS_FrameIterator use from content, DOM, and caps (bug 744617, r=mrbkap).
--HG--
extra : rebase_source : 003a5285b549845d47c9298606d737620db5bb3d
2012-04-16 12:30:00 -07:00
Shriram Kunchanapalli 86b1d55b6f Bug 150073 - Remove nsCRT:: in nsCRT::strlen(const char *). r=dougt 2012-02-18 19:17:01 +05:30
Masayuki Nakano 41de116362 Bug 166240 part.8 Add tests for KeyboardEvent.location (synthesized events) r=smaug, sr=jst 2012-05-03 17:35:02 +09:00
Masayuki Nakano 30ba20191d Bug 166240 part.1 Add D3E KeyboardEvent.location r=smaug, sr=jst 2012-05-03 17:35:01 +09:00
Jonathan Kew 738ec7908f bug 307039 - implement Greek-specific uppercasing for text-transform & small-caps. r=past 2012-05-03 08:57:18 +01:00
Jonathan Kew 45c6f08978 bug 751129 - ensure the font list is updated if necessary before accessing metrics. r=roc 2012-05-03 08:56:26 +01:00
Aryeh Gregor dcd5141c54 Bug 746915 part 1 - Move editing-related tests to editor/ directories; r=ehsan
--HG--
rename : content/html/content/test/test_bug408231.html => editor/libeditor/base/tests/test_bug408231.html
rename : content/html/document/test/test_bug742261.html => editor/libeditor/base/tests/test_bug742261.html
rename : content/html/document/test/test_bug404320.html => editor/libeditor/html/tests/test_bug404320.html
rename : content/html/document/test/test_bug468353.html => editor/libeditor/html/tests/test_bug468353.html
rename : layout/reftests/bugs/388980-1-ref.html => layout/reftests/editor/388980-1-ref.html
rename : layout/reftests/bugs/388980-1.html => layout/reftests/editor/388980-1.html
2012-05-03 10:09:44 +03:00
Jason Orendorff 674e87f181 Bug 738617 - Revert changeset 6d139ebc0f43 (bug 730139). Reserving let breaks some web sites. r=Waldo, a=mfinkle. 2012-04-18 15:07:11 -05:00
Mounir Lamouri 40949b4915 Bug 647665 - Inform the UI that we do not hover a link anymore if the element is removed from the DOM. r=bz a=gavin 2012-04-19 12:20:34 +02:00
Steve Fink f7e9952e1d Bug 730208 - UnmarkGray the global object held by nsXULPDGlobalObject to avoid it getting used to create black -> gray edges. r=smaug
--HG--
extra : rebase_source : 08ec063f13679b0a0a32c1b56415f6192a657280
2012-03-20 21:29:47 -07:00
Scott Downe ecda88f40f Bug 677122 - Update start/end times of mediafragment URL on hashchanges r=bz
--HG--
extra : rebase_source : 91fa2211dbc4c9c839f22fcb086e0b3a1a0cfef6
2012-04-24 19:49:31 -04:00
Mark Capella 260d060e01 Bug 744332 - Remove nsXULPrototypeScript::ScriptObjectHolder::mLangID. r=jst, f=Ms2ger 2012-04-24 18:31:28 -04:00
Josh Aas f4efac55ef Bug 745842: Clean up plugin stream listener creation. r=jst 2012-04-24 16:25:21 -04:00
Simon Montagu 9235b950bd bug 738101 - Use the new mozilla::unicode::GetIdentifierModification instead of the old ccmap in IsDefaultIgnorable. This is the last client for precompiled ccmaps, so remove the infrastructure for them at the same time. r=jfkthame 2012-04-18 21:54:54 -07:00
L. David Baron eb7f5463a7 Remove unneeded getting of window and DOMWindowUtils so that GetViewportInfo can still return correct information while page is displayed during navigation away from it. (Bug 737621) r=sjohnson 2012-04-25 16:33:42 -07:00
Jonathan Watt bbd2635d4e Bug 745352 - Remove broken include paths from content Makefile.in files. r=dholbert. 2012-01-19 15:36:53 +00:00
Masatoshi Kimura 7a414c7e1e Bug 743575 - Try to get line number if at all possible when reporting warnings to the error console. r=mrbkap 2012-04-13 13:57:05 -04:00
Robert Longson 1187a6d7fd Bug 743444 - Lighting Filter clipped when kernelUnitLength specified. r=roc 2012-04-13 08:01:55 +01:00
Jeff Walden e868abd4e1 Bug 714260 - Implement FloatingPoint.h to consolidate all IEEE-754 floating point operations in a single location. r=dmandelin for the js bits, r=Ms2ger for mfbt and the core bits 2012-01-23 03:43:16 -08:00
Mark Capella bb0cb90d39 Bug 740688 - Use uintptr_t instead of PRUword, and intptr_t instead of PRWord. r=jwalden
--HG--
extra : rebase_source : 648a581323d2c2893df780f71fe34dadcc4bbaab
2012-04-11 17:17:44 -07:00
Gregory Szorc 02176ef199 Merge mozilla-central into inbound 2012-04-11 18:51:10 -07:00
Matt Brubeck 3ac83335b1 Merge last green changeset from inbound to mozilla-central 2012-04-11 08:52:07 -07:00
Olli Pettay 8b443bebd8 Bug 742482 - Add support for MutationObserver.takeRecords(), r=sicking 2012-04-11 08:24:18 +03:00
Ehsan Akhgari c1d35d7eaf Merge the latest green changeset from mozilla-inbound into mozilla-central 2012-04-10 16:00:30 -04:00
Olli Pettay 8f2430443f Bug 742636 - Keep observed node alive during microtask if there are transient observers, r=sicking 2012-04-10 22:01:14 +03:00
Daniel Holbert f7c5cf82fa Bug 742565: Cast known-to-be-nonnegative integer val to unsigned, to fix build warnings in nsRange.cpp. r=smaug 2012-04-10 00:45:59 -07:00
Henri Sivonen 914678b308 Bug 741384 - Change MOZ_NOT_REACHED added in bug 732343 to MOZ_ASSERT(false). r=smaug. 2012-04-10 10:02:31 +03:00
Matias Juntunen 4faa4b5907 Bug 743475 - Patch to fix the wrong template parameters in call to WebGLBuffer::FindMaxElementInSubArray - r=jgilbert 2012-04-09 19:51:29 -07:00
Masatoshi Kimura c54adf09f2 Bug 743574 - Deprecate DOMException.code. r=sicking 2012-04-11 17:55:23 -04:00
Masatoshi Kimura 51238f18b9 Bug 743049 - Part 2: Use the new API from NS_ScriptErrorReporter to get an error type name. r=jst 2012-04-11 17:55:22 -04:00
Masatoshi Kimura 7706cbe7a8 Bug 730161 - Replace IDBDatabaseException and FileException with DOMException. r=sicking 2012-04-11 17:55:21 -04:00
David Humphrey (:humph) e40fc0740c Bug 633602 - Implement Pointer Lock (Mouse Lock) API. r=roc,smaug 2012-04-11 17:55:21 -04:00
Matt Brubeck 840bca261e Back out 14715fd6b81c (bug 677122) because of frequent failures in its test 2012-04-11 08:39:58 -07:00
Andrew McCreight 6acb272d26 Bug 744297 - initialize return value in nsXULPrototypeElement::Deserialize. r=bz 2012-04-11 07:48:14 -07:00
Jared Wein 3fb7686724 Bug 713487 - Move TopLevelImageDocument.css and TopLevelVideoDocument.css to toolkit/themes. r=roc,dao 2012-04-10 16:03:41 -07:00
Scott Downe 6f97512de5 Bug 677122 - Update start/end times of mediafragment URL on hashchanges. r=bz 2012-04-11 07:49:20 -04:00
Abhishek Bhatnagar 09998c87c1 Bug 620164 - Remove CheckedInt and Muloverflow from nsTheoraState::MaxKeyframeOffset. r=cpearce 2012-04-11 07:44:28 -04:00
Mark Capella ea01acd86f Bug 652635 - Fallback missing @longdesc to aria-describedby pointing to <a href>, r=surkov, jonas 2012-04-11 15:16:00 +09:00
Ms2ger 9ae4350b73 Merge m-c to m-i. 2012-04-09 09:32:28 +02:00
Daniel Holbert 8525205768 Bug 369560 followup: Soften language in unusual-but-innocuous NS_WARNING for XBL docs with no root element. r=bz 2012-04-08 18:37:41 -07:00
Kyle Huey 5e3fddb58d Back out Bug 679230 due to Android reftest failures. 2012-04-07 10:36:49 -07:00
Kyle Huey 2732cf7774 Bug 697230: Part 3 - Make style images block onload. r=bz 2012-04-07 09:00:27 -07:00
Kyle Huey b579ded900 Bug 697230: Part 2 - Push onload blocking logic down into imagelib. r=joe sr=bz 2012-04-07 09:00:04 -07:00
Kyle Huey dd495263dd Bug 697230: Part 1 - Centralize style image observers. r=bz 2012-04-07 08:58:41 -07:00
Olli Pettay 38f6c3951b Bug 743199 - Unmark Document's and Window's ELM, r=mccr8 2012-04-07 10:12:03 +03:00
Jacek Caban bcc36a72c4 Bug 742357 - Use macros to declare nsIMutationObserver functions in nsMutationReceiver r=smaug 2012-04-06 11:12:59 +02:00
Aryeh Gregor 58500691c7 Bug 742261 - Remove useless queryCommandText/execCommandShowHelp methods; r=ehsan 2012-04-04 15:30:33 +03:00
Boris Zbarsky ee79d7d84b Bug 742549. Add a .crossOrigin IDL property. r=sicking
Note that the content attribute is crossorigin (lowercase) in SVG, hence the need to have different
content and IDL property names in the test.
2012-04-05 22:24:42 -04:00
Boris Zbarsky 89af98f875 Bug 741266. document.open with 3 or more arguments should invoke the scriptable version of window.open, not the noscript one. r=jst 2012-04-06 17:12:41 -04:00
Marco Bonardo 41864ff3a8 Backout d83c1ffb7397 (bug 741266) due to Windows M1 failures 2012-04-07 01:34:28 +02:00
Boris Zbarsky bb8e5969a5 Bug 741266. document.open with 3 or more arguments should invoke the scriptable version of window.open, not the noscript one. r=jst 2012-04-06 17:12:41 -04:00
Ehsan Akhgari 4ad7aec644 Merge mozilla-inbound and mozilla-central 2012-04-10 16:01:39 -04:00
Benoit Jacob 9a8b846bd4 Bug 743813 - fix build bustage due to signedness warning in WARNINGS_AS_ERRORS dir - no review 2012-04-10 12:23:23 -04:00
Benoit Jacob 401a30de2c Bug 743813 - Fix the warnings generated by WebGL activeTexture - r=jgilbert 2012-04-10 11:51:30 -04:00
Benoit Jacob b1ec60fb23 Bug 686735 - 1/2 - Implement no-gfx-driver-workarounds mode - r=joe,ajuma,jgilbert
Part 1: introduce the gfx.work-around-driver-bugs preference and handle most existing workarounds
2012-04-10 11:49:10 -04:00
Mark Capella cd7e385481 Bug 741580 - Remove nsXULPrototype Element mScriptTypeID, r=ms2ger,jst 2012-04-05 12:20:44 -07:00
Ehsan Akhgari 2a534262e3 Merge mozilla-inbound and mozilla-central 2012-04-05 13:41:51 -04:00
Ehsan Akhgari 7430c20bc8 Merge the last green PGO changeset from mozilla-inbound to mozilla-central 2012-04-05 13:40:53 -04:00
Boris Zbarsky a25824bd5d Bug 742030. When cloning nodes with inline style, preserve the inline style string. r=sicking 2012-04-05 13:14:54 -04:00
Alexander Surkov 01482115ce Bug 741398 - make ARIA state map extensible, r=tbsaunde 2012-04-06 01:23:30 +09:00
Jeff Gilbert fbaf6cb6c4 Bug 685156 - webgl.hint() must accept GENERATE_MIPMAP_HINT - r=bjacob 2012-04-04 18:57:35 -07:00
Olli Pettay c8590c4f62 Bug 742371 - Remove MutationReceiver from MutationObserver when the target is deleted, r=sicking 2012-04-04 20:36:40 +03:00
Olli Pettay f6ad7172e0 Bug 742237, MutationObserver crashes during GC, r=sicking 2012-04-04 18:11:57 +03:00
Marco Bonardo 30c673af46 Merge last green PGO from inbound to central 2012-04-04 13:36:36 +02:00
Olli Pettay 76b8cd7f71 Bug 742183 - Handle MicroTasks correctly with showModalDialog, r=sicking 2012-04-04 09:23:45 +03:00
Olli Pettay 5ecdf9457c Bug 742190 - Leak with MozMutationObserver, r=sicking 2012-04-04 09:22:16 +03:00
Marco Bonardo 415f421dbb Merge central and inbound 2012-04-03 14:36:57 +02:00
Ms2ger 03768e8823 Bug 738760 - Move nsContentUtils::GetContextAndScope into nsDocument.cpp; r=sicking 2012-04-03 09:25:39 +02:00
Ms2ger 3ca758f544 Bug 737122 - Attr nodes shouldn't have children; r=sicking 2012-04-03 09:25:39 +02:00
Ms2ger 5b2f043624 Bug 738759 - Add nsContentUtils::CheckSameOrigin overload taking two nsINodes; r=jst 2012-04-03 09:25:38 +02:00
Ms2ger 72052fc803 Bug 741223 - MutationObserver cleanup; r=smaug 2012-04-03 09:25:38 +02:00
Ms2ger f72d8ff462 Bug 741218 - Don't crash when loading a page with content-type application/json; r=hsivonen 2012-04-03 09:25:38 +02:00
Henri Sivonen 6f3ab1156e Bug 739537 - No longer drop leading space from the plain text clipboard flavor when exporting both HTML and plain text to clipboard. r=smaug. 2012-04-03 09:44:15 +03:00
David Mandelin 5ba7813e72 Bug 737780: fix compartments in nsFrameScriptExecutor::LoadFrameScriptInternal, r=luke 2012-04-02 19:09:34 -07:00
Nicholas Nethercote 6ca9f23930 Bug 711895 - Tweak the warning options used for GCC builds (3rd attempt). r=waldo,derf,khuey,mhommey.
--HG--
extra : rebase_source : 20540c9b838ee3be6cb0847c1b90fdc3bd44059d
2012-03-21 22:21:16 -07:00
Ryan VanderMeulen 503ea93a8c Backout 17deb5f61b4d (bug 150073) due to build bustage. a=shouldausedtryfirst 2012-04-03 20:22:42 -04:00
Masatoshi Kimura 17a428d27a Bug 738912 - Part 2: Add tests. r=sicking 2012-04-03 20:08:28 -04:00
Matt Brubeck 2c4e2f7b62 Merge last green changeset from inbound to mozilla-central 2012-04-02 10:41:37 -07:00
Kyle Huey 932deadfc1 Bug 741163: Add a rather important null check. r=me 2012-04-01 04:02:58 -07:00
Ed Morley 18b9148c4f Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-03-31 22:41:59 +01:00
Olli Pettay c7a649ab35 Bug 641821, MutationObserver, r=sicking
--HG--
extra : rebase_source : a680c883b22976edf38eea23fb516215e081084f
2012-03-31 09:30:13 -07:00
Benoit Jacob 89480a0b03 Bug 737182 - drop WebGL cube map workaround, now that we have it handled in GLContext - r=jrmuizel 2012-03-31 12:48:32 -04:00
Ed Morley a53f040854 Merge mozilla-central to mozilla-inbound 2012-03-31 15:28:55 +01:00
Henri Sivonen dc86834ec3 Bug 731896 - Export plain text from the DOM selection directly without an intermediate HTML serialization. r=smaug. 2012-03-31 17:10:34 +03:00
Henri Sivonen e1c9589023 Bug 732343 - Defend HTML document loading against extensions causing bogus use of the old HTML parser. r=smaug. 2012-03-31 17:10:34 +03:00
Ms2ger bfc7667f02 Bug 741048: Remove gfxAtoms. r=roc 2012-03-30 23:08:46 -07:00
Dave Townsend dfa7430e83 Backing out changeset 432c4be058b5 which landed with no bug. 2012-03-30 22:23:24 -07:00
Peter Van der Beken 986a597943 Undo accidental mode change to webgl-conformance-tests.html. No bug. 2012-03-30 22:04:54 -07:00
Peter Van der Beken ed510d3506 Fix for bug 740069 (Generate JS bindings in C++ with a python script for DOM objects on the main thread and in workers. Infrastructure and new bindings for XMLHttpRequest). Patch by bent/bz/bholley/jst/khuey/peterv, r=bent/bz/bholley/jlebar/khuey/peterv/sicking/smaug.
--HG--
rename : js/xpconnect/tests/mochitest/test_bug462428.html => dom/bindings/test/test_lookupGetter.html
2012-03-30 21:42:20 -07:00
Christopher De Cairos b40034d6f4 Bug 736400 - Make each decoder Clone() method check if its mimetype is enabled. r=cpearce 2012-03-30 20:52:07 -04:00
Olli Pettay a443e6067c Bug 734151 - remove new lines from the class in the CC log, r=bsmedberg
--HG--
extra : rebase_source : a7d7add386834baaea8769f398431a0c9c4c1a96
2012-03-30 09:38:00 -07:00
Marco Bonardo 932988efc9 Merge central to inbound 2012-03-30 12:27:55 +02:00
Ms2ger 6c9f342a36 No bug - Remove an always-true check. 2012-03-29 23:12:55 +02:00
Ms2ger 339ed99017 Bug 738761 - Remove nsIScriptTimeoutHandler::GetScriptVersion and pass JSVersion to nsIScriptContext::EvaluateString; r=jst 2012-03-29 23:09:13 +02:00
Ms2ger 0c27c0fd25 Bug 738996 - Remove agnostic Hold/DropScriptObject nsContentUtils functions; r=mrbkap 2012-03-29 23:09:11 +02:00
Ms2ger 2754f9e3ff Bug 738654 - Part b: RemoveChildAt can't fail; r=sicking 2012-03-29 23:09:07 +02:00
Ms2ger 9df73a304c Bug 738654 - Part a: doRemoveChildAt can't fail; r=sicking 2012-03-29 23:09:06 +02:00
Ms2ger 7482ecf3b8 Bug 738608 - Introduce nsINode::Length(); r=smaug 2012-03-29 23:09:04 +02:00
Ms2ger 4827357dcf No bug - Remove gfxAtoms; r=roc 2012-03-29 23:08:43 +02:00
Jonathan Kew 8312896bc4 bug 740477 - handle Dutch-specific capitalization of the ij digraph. r=smontagu 2012-03-30 17:37:46 -07:00
Peter Van der Beken af493c9840 Fix for bug 740855 (Make tests that try to get XHR.channel use SpecialPowers). r=bz, bent.
--HG--
extra : rebase_source : 1278ff2158cd8138ebe3570a2d8f45cec8233d1c
2012-03-30 09:38:19 -07:00
Matias Juntunen 368977644f Bug 729048 - Part 4: Replace calls to nsParserService::CheckQName with nsContentUtils::CheckQName in txXMLUtils.h. r=hsivonen 2012-03-29 17:31:40 -04:00
Matias Juntunen 9f2f5d2bad Bug 729048 - Part 3: Replace call to nsParserService::CheckQName with nsContentUtils::CheckQName in nsXULDocument.cpp. r=hsivonen 2012-03-29 17:31:40 -04:00
Matias Juntunen 6bfeaa8a5a Bug 729048 - Part 2: Replace calls to nsParserService::CheckQName with nsContentUtils::CheckQName in nsDocument.cpp. r=hsivonen 2012-03-29 17:31:40 -04:00
Matias Juntunen fa81c26f58 Bug 729048 - Part 1: Move nsParserService::CheckQName to nsContentUtils and change calls within nsContentUtils to use nsContentUtils::CheckQName instead. r=hsivonen 2012-03-29 17:31:40 -04:00
Peter Van der Beken 208cff3073 Fix for bug 740467 (Make test_XHR_timeout.js use addEventListener(..., obj, ...) instead of on* = obj). r=khuey.
--HG--
extra : rebase_source : e5039bfd291e3955282ff63f3ac5c0ab2869279a
2012-03-29 11:16:31 -07:00
Irving Reid fc6142736f Bug 738662 - Add tracing/warning information to help debug XUL overlay problems. r=bz,enn 2012-03-26 15:40:52 -04:00
Doug Turner 8ff6eda08e Bug 740252 - EventListenerManager disables various things in RemoveEventListener even if there can be still listeners. r=smaug 2012-03-29 10:23:27 -07:00
Chris Pearce c3c6b8c99e Bug 736342 - Defer media cache writes and block moves to a non-main thread. r=roc 2012-03-28 13:04:26 +13:00
Chris Pearce a4302efd2e Bug 736342 - Add AsyncBlockWriter, which defers file writes to another thread. r=roc 2012-03-28 13:04:20 +13:00
Phil Ringnalda 16b8634b73 Back out b00bf7f3869c (bug 737976) for apparently causing mochitest-1 leaks on a CLOSED TREE 2012-03-28 22:43:09 -07:00
Phil Ringnalda 9b1872fcc9 Back out 0cb85ff0f764 (bug 738568), 9949bb092303 (bug 730209), 095fd525afa7 (bug 729924), dcf8929a8115 (bug 633602) because of widely scattered and unclear bustage on a CLOSED TREE 2012-03-28 22:37:46 -07:00
Andrew McCreight 980ef286d3 Bug 738700 - unmark wrapped gray objects from nsISupports. r=smaug 2012-03-28 21:51:46 -07:00
Chris Pearce 6f604f18e9 Bug 741052 - Null check nsMediaCache::mFileCache in nsMediaCache destructor. r=roc 2012-04-02 10:34:11 +12:00
Mark Capella 62db5d9389 Bug 738380 - Remove nsINode::{GetScriptTypeID, SetScriptTypeID}, nsIScriptContext::GetScriptTypeID, nsIScriptRuntime::GetScriptTypeID; r=jst 2012-04-01 14:47:48 +02:00
Aryeh Gregor e4b9c89381 Bug 719533 - Range.extractContents() shouldn't modify the DOM if the range contains a doctype; r=smaug 2012-04-01 07:45:35 -04:00
Kyle Huey 33073664dc Bug 737976: Remove nsINodeInfo. rs=bent 2012-03-28 19:07:37 -07:00
David Humphrey 012b498c6b Bug 633602 - Implement Pointer Lock (Mouse Lock) API. r=roc, smaug 2012-03-28 21:00:14 -04:00
Nathan Froyd 8c5b9206cd Bug 739962 - fix -Wunused-but-set-variable warnings in content; r=bent 2012-03-28 09:14:33 -04:00
Peter Van der Beken ffde1d1745 Bug 732377. Add the API for the new DOM bindings to XMLHttpRequest. r=bzbarsky 2012-03-26 08:38:06 -07:00
Justin Lebar a3a4cffe1f Bug 736688 - Part 6: Add BrowserElementAPI.js, implementing loadstart, loadend, locationchange, and the window.{top,parent,frameElement} override for <iframe mozbrowser>. r=smaug
--HG--
extra : rebase_source : 7ed3e56bbf06d97a9b0127eecf87128c5389a1b1
2012-03-28 11:36:50 -07:00
Justin Lebar 1c274793d6 Bug 736688 - Part 4: Remove mozbrowser code from nsGenericHTMLFrameElement (undoes changes from bug 710231). r=smaug
--HG--
extra : rebase_source : 3bcc94bca02c4c39fb987c27555ed698c44fe61d
2012-03-28 11:36:04 -07:00
Jared Wein ab34b8f798 Bug 730318 - Implement a way for chrome js to enumerate the plugin objects on a page for activation. r=khuey 2012-03-28 08:53:56 -07:00
Margaret Leibovic fa221a7566 Bug 739048 - Check to see if a plugin is unsupported before making it click-to-play. r=josh 2012-03-27 15:01:46 -07:00
Henri Sivonen e6a2a996e5 Bug 701361 - Add a telemetry probe for finding out how commonly multipart XHR is used on the Web. r=smaug. 2012-03-28 10:33:18 +03:00
Henri Sivonen c47e91dbfa Bug 717180 - Ignore document.write after window.location. r=smaug. 2012-03-28 08:17:53 +03:00
Ryan VanderMeulen 47c4df35c2 Backed out changeset 389eee1cce65 (bug 677122) due to bustage. 2012-03-27 20:04:33 -04:00
Scott Downe 68367edb87 Bug 677122 - Update start/end times of mediafragment URL on hashchanges. r=bz 2012-03-27 19:17:35 -04:00
Jared Wein 726d85a760 Backed out changeset 8e42ba558f07 (bug 730318) CLOSED TREE 2012-03-27 15:23:53 -07:00
Avi Halachmi (:avih) b7b27a33a2 Bug 737758: Part 2: Address Windows abnormality (identify _faked_ pixel scrolls) [r=jmathies] 2012-03-26 13:34:10 +02:00
Avi Halachmi (:avih) 5d73a5eeb8 Bug 737758: part 1: Propagate mouse wheel event origin from ESM [r=roc] 2012-03-26 11:50:30 +02:00
Andrew McCreight f2c42df8ce Bug 740185 - mark safe JS context black. r=smaug 2012-03-30 10:22:29 -07:00
Peter Van der Beken c24b07dfb1 Backout cfd6bf0fe1e9 as it includes an unwanted chunk
--HG--
extra : rebase_source : 9143a7752d7327a1c7693f9ad34ab02a25339aa6
2012-03-30 09:53:50 -07:00
Peter Van der Beken 2988a3a81e Fix for bug 740855 (Make tests that try to get XHR.channel use SpecialPowers). r=bz.
--HG--
extra : rebase_source : a80dc66eff61a2d669dbbaaa1d081106798fd9dc
2012-03-30 09:38:19 -07:00
Shriram Kunchanapalli dcbb9c3017 Bug 150073 - Remove nsCRT:: in nsCRT::strlen. f=sgautherie, r=dougt 2012-02-18 19:17:01 +05:30
Jeff Gilbert 9c6c3991f0 Bug 738126 - Enforce spec for webgl.generateMipmap, and zero is not PoT - r=bjacob 2012-04-03 16:42:06 -07:00
Rafael Ávila de Espíndola 60e79c044a Bug 739674 - test_tmpl_storage_bad_parameters_2.xul (and others) don't close their database. r=enndeakin. 2012-04-03 17:12:31 -04:00
Mounir Lamouri 7dce10b04f Bug 741250 - Fix "ASSERTION: Item in list without parent". r=bz 2012-04-03 17:37:15 +02:00
Aryeh Gregor 770ebbde43 Bug 738440 - Support queryCommandState("stylewithcss"); r=ehsan 2012-03-23 15:03:42 -04:00
Aryeh Gregor 29e4320467 Bug 737087 - Fire error event on <script> load failure per spec/other browsers; r=sicking 2012-03-20 14:21:33 -04:00
Wes Johnston 553dd5ca61 Bug 741666 - Fix copying touchEvents if someone holds a reference. r=smaug 2012-04-04 10:08:53 -07:00
Doug Turner c7eec92703 Bug 742376 - DisableDevice is being called with types that are not known device sensors. r=smaug 2012-04-04 09:26:12 -07:00
Doug Turner ffe6eab00e Bug 742395 - restrict device sensor events to windows. r=smaug 2012-04-04 09:26:12 -07:00
Makoto Kato 9c9e8ca686 Bug 737966 - Evaluating nsIXMLHttpRequest.responseText throws on certain parsing errors. r=sicking 2012-04-04 20:59:02 +09:00
Marco Bonardo 10bda00159 Merge central to inbound 2012-04-04 13:39:52 +02:00
Igor Bukanov 2d04a4fe3d Bug 737365 - stop using the cx during finalization, part 1.
This part changes the signatures for various finalization API to take
not JSContext* but rather either JSFreeOp structure or its
library-private counterpart FreeOp. These structures wrap parameters
that are passed to the finalizers removing most of explicit dependencies
on JSContext in the finalization code.
2012-03-19 15:34:55 +01:00
Veeraya Pupatwibul 344b2b1753 Bug 741333 - Remove PRBool/PR_TRUE/PR_FALSE that crept in r=Ms2ger 2012-04-04 11:15:10 +02:00
Boris Zbarsky 2299a42041 Bug 742217. Reduce the use of nested namespaces in our binding code. r=peterv,bent
In the new setup, all per-interface DOM binding files are exported into
mozilla/dom.  General files not specific to an interface are also exported into
mozilla/dom.

In terms of namespaces, most things now live in mozilla::dom.  Each interface
Foo that has generated code has a mozilla::dom::FooBinding namespace for said
generated code (and possibly a mozilla::bindings::FooBinding_workers if there's
separate codegen for workers).

IDL enums are a bit weird: since the name of the enum and the names of its
entries all end up in the same namespace, we still generate a C++ namespace
with the name of the IDL enum type with "Values" appended to it, with a
::valuelist inside for the actual C++ enum.  We then typedef
EnumFooValues::valuelist to EnumFoo.  That makes it a bit more difficult to
refer to the values, but means that values from different enums don't collide
with each other.

The enums with the proto and constructor IDs in them now live under the
mozilla::dom::prototypes and mozilla::dom::constructors namespaces respectively.
Again, this lets us deal sanely with the whole "enum value names are flattened
into the namespace the enum is in" deal.

The main benefit of this setup (and the reason "Binding" got appended to the
per-interface namespaces) is that this way "using mozilla::dom" should Just
Work for consumers and still allow C++ code to sanely use the IDL interface
names for concrete classes, which is fairly desirable.

--HG--
rename : dom/bindings/Utils.cpp => dom/bindings/BindingUtils.cpp
rename : dom/bindings/Utils.h => dom/bindings/BindingUtils.h
2012-05-03 00:35:38 -04:00
Tom Schuster 886fac49f9 Bug 711843 - Update JSAPI for typed arrays, remove uses of jstypedarray.h outside the engine [r=Waldo,bz,Ms2ger,bholley,bjacob,philikon,evilpie,bent,yourmama] [a=mfinkle thanks to gkw] 2012-01-14 09:43:00 -08:00
Ryan VanderMeulen b0b9f6af4c Back out 149a80dafcb8 (bug 686913) due to build failures. a=YUNoTry? 2012-04-21 17:48:31 -04:00
Matthew Schranz 43713e6cef Bug 686913 - HTMLProgressElement and HTMLMeterElement should not be form controls. r=mounir, a=mfinkle 2012-04-21 17:35:42 -04:00
Jonathan Kew 14d5a8ace4 bug 745780 - update harfbuzz code to upstream commit 3cde23664fbbe9cd2ac1b8fd5eb2ea288309cc9c (2012-04-17). r=jdaggett a=mfinkle 2012-04-21 22:24:39 +01:00
Benoit Jacob 6dd2beeefb Bug 736481 - 7/7 - ForceLoseContext should not do anything on already lost context awaiting event - no review, a=blocking-fennec
Sorry for this little no-review patch. I meant to roll this into another of the patches for review and apparently forgot. It's 3 lines and quite trivial.
2012-04-21 16:48:22 -04:00
Benoit Jacob ee033720c1 Bug 736481 - 6/7 - WebGL lost context handling: check if we still have a canvas - r=jgilbert, a=blocking-fennec 2012-04-21 16:48:22 -04:00
Benoit Jacob 25d2a90234 Bug 736481 - 5/7 - make memory-pressure observer lifetime match WebGL context lifetime - r=jgilbert, a=blocking-fennec 2012-04-21 16:48:22 -04:00