Now that scoped stylesheets are no longer supported, it doesn't make sense to
include a specific copy of an HTMLTooltip stylesheet in the tooltip container.
Nothing guarantees that a given stylesheet won't be loaded more than once so
having a single one-shot import in tooltips.css is more appropriate.
MozReview-Commit-ID: 690pGNQdnwy
Scoped stylesheets will stop being supported for chrome content per Bug 1345702.
Update the selectors in the stylesheets so that they can easily be loaded without the
scope attribute.
MozReview-Commit-ID: FV4tWD4SlYA
Keyboard navigation was broken because we introduced private columns that are never displayed (for compound primary keys) and were not equipped to deal with hidden key columns.
This change gets the first visible column, whether it is private or not so that we no longer have to worry about hidden key columns.
The small change to the keyboard test ensures that the private column is hidden so the test will fail if this feature is broken again.
MozReview-Commit-ID: IB7efHsflGU
storage-search.html:
- Switched to use cookies.
browser_storage_search.js:
- Use a little destructuring.
- Hide all but name and value columns.
- Run search tests with both columns visible.
- Hide the value column.
- Run search tests with only the name column visible.
MozReview-Commit-ID: JKeRLWfhpFb
If a reply comes from source-map-url-service but the tooltip has already
been destroyed, don't try to emit the event-tooltip-source-map-ready
event.
MozReview-Commit-ID: EKrT7V4qLJq
This changeset makes the classname variables-view-scope no longer able to
receive the focus. When tabbing through the variables view, going from the
variables-view-scope to the first variables-view-variable item has no
visual impact as their container occupy the same space.
Having to TAB twice without providing user feedback feels buggy.
MozReview-Commit-ID: It4EOV45A40
Changlist:
- Added Jim Palmer's well proven natural sort algorithm.
- Added natural sort license (MIT).
- Use natural sort everywhere inside TableWidget.js wherever we use .sort()
- Changed browser_storage_overflow.js so that the test is faster and more maintainable. The test now also tests column sorting (ascending and descending).
- Use natural sort everywhere inside storage.js wherever we need to slice the array. Without natural sort here we get e.g. row-1, row-10, row-100, row-2 etc.
MozReview-Commit-ID: FUY7pcLIYml
This patch is generated by the following sed script:
find . ! -wholename '*/.hg*' -type f \( -iname '*.html' -o -iname '*.xhtml' -o -iname '*.xul' -o -iname '*.js' \) -exec sed -i -e 's/\(\(text\|application\)\/javascript\);version=1.[0-9]/\1/g' {} \;
MozReview-Commit-ID: AzhtdwJwVNg